| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | CRCTest.cpp | 23 EXPECT_EQ(0x414FA339U, llvm::crc32(arrayRefFromStringRef( in TEST() 28 EXPECT_EQ(0xCBF43926U, llvm::crc32(arrayRefFromStringRef("123456789"))); in TEST() 44 EXPECT_EQ(0x00000000U, llvm::crc32(arrayRefFromStringRef(""))); in TEST()
|
| H A D | CompressionTest.cpp | 29 zlib::compress(arrayRefFromStringRef(Input), Compressed, Level); in testZlibCompression() 68 zstd::compress(arrayRefFromStringRef(Input), Compressed, Level); in testZstdCompression()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | PDBFileBuilder.cpp | 182 CRC.update(arrayRefFromStringRef(IS.Content->getBuffer())); in finalizeMsfLayout() 265 arrayRefFromStringRef(IS.Content->getBuffer()))); in commitInjectedSources() 298 if (auto EC = NSW.writeBytes(arrayRefFromStringRef(NSE.second))) in commit()
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | YAML.h | 76 BinaryRef(StringRef Data) : Data(arrayRefFromStringRef(Data)) {} in BinaryRef()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolID.cpp | 17 auto Hash = llvm::SHA1::hash(llvm::arrayRefFromStringRef(USR)); in SymbolID()
|
| H A D | Serialization.cpp | 195 llvm::compression::zlib::compress(llvm::arrayRefFromStringRef(RawTable), in finalize() 238 llvm::arrayRefFromStringRef(R.rest()), UncompressedStorage, in readStringTable()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | Decompressor.cpp | 60 return compression::zlib::uncompress(arrayRefFromStringRef(SectionData), in decompress()
|
| H A D | Minidump.cpp | 112 ArrayRef<uint8_t> Data = arrayRefFromStringRef(Source.getBuffer()); in create()
|
| H A D | ELFObjectFile.cpp | 651 arrayRefFromStringRef(*PltContents), in getPltAddresses()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILWriterPass.cpp | 70 ConstantDataArray::get(M.getContext(), arrayRefFromStringRef(Data)); in runOnModule()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | offload2yaml.cpp | 34 Member.Content = arrayRefFromStringRef(OB.getImage()); in populateYAML()
|
| H A D | archive2yaml.cpp | 75 C.Content = arrayRefFromStringRef(Buffer.take_front(Size)); in dump()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | BinaryStreamWriter.cpp | 57 return writeBytes(arrayRefFromStringRef(Str)); in writeFixedString()
|
| H A D | DataExtractor.cpp | 198 ArrayRef<uint8_t> Bytes = arrayRefFromStringRef(Data); in getLEB128()
|
| /llvm-project-15.0.7/llvm/unittests/MC/ |
| H A D | DwarfLineTables.cpp | 63 EXPECT_EQ(ExpectedEncoding, arrayRefFromStringRef(Buffer)); in verifyEncoding()
|
| H A D | DwarfLineTableHeaders.cpp | 157 arrayRefFromStringRef(Contents.slice(0, ExpectedEncoding.size())), in verifyDebugLineContents()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringExtras.h | 63 inline ArrayRef<uint8_t> arrayRefFromStringRef(StringRef Input) { in arrayRefFromStringRef() function 189 return toHex(arrayRefFromStringRef(Input), LowerCase);
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | Minidump.h | 171 return arrayRefFromStringRef(Data.getBuffer()); in getData()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingWriter.cpp | 53 compression::zlib::compress(arrayRefFromStringRef(FilenamesStr), in write()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | MinidumpEmitter.cpp | 213 File.allocateArray(arrayRefFromStringRef(cast<TextContentStream>(S).Text)); in layout()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 49 uint32_t CRC32 = llvm::crc32(arrayRefFromStringRef(LinkTarget->getBuffer())); in createGnuDebugLinkSectionContents()
|
| /llvm-project-15.0.7/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamReader.h | 103 : BitcodeBytes(arrayRefFromStringRef(BitcodeBytes)) {} in SimpleBitstreamCursor()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOReader.cpp | 294 arrayRefFromStringRef(MachOObj.getData().substr(LC.dataoff, LC.datasize)); in readLinkData()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/lib/ |
| H A D | FileAnalysis.cpp | 467 ArrayRef<uint8_t> SectionBytes = arrayRefFromStringRef(*Contents); in parseCodeSections()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | ProfiledBinary.cpp | 624 arrayRefFromStringRef(unwrapOrError(Section.getContents(), FileName)); in disassemble()
|