Home
last modified time | relevance | path

Searched refs:arrayRefFromStringRef (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/llvm/unittests/Support/
H A DCRCTest.cpp23 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 DCompressionTest.cpp29 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 DPDBFileBuilder.cpp182 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 DYAML.h76 BinaryRef(StringRef Data) : Data(arrayRefFromStringRef(Data)) {} in BinaryRef()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolID.cpp17 auto Hash = llvm::SHA1::hash(llvm::arrayRefFromStringRef(USR)); in SymbolID()
H A DSerialization.cpp195 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 DDecompressor.cpp60 return compression::zlib::uncompress(arrayRefFromStringRef(SectionData), in decompress()
H A DMinidump.cpp112 ArrayRef<uint8_t> Data = arrayRefFromStringRef(Source.getBuffer()); in create()
H A DELFObjectFile.cpp651 arrayRefFromStringRef(*PltContents), in getPltAddresses()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILWriterPass.cpp70 ConstantDataArray::get(M.getContext(), arrayRefFromStringRef(Data)); in runOnModule()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Doffload2yaml.cpp34 Member.Content = arrayRefFromStringRef(OB.getImage()); in populateYAML()
H A Darchive2yaml.cpp75 C.Content = arrayRefFromStringRef(Buffer.take_front(Size)); in dump()
/llvm-project-15.0.7/llvm/lib/Support/
H A DBinaryStreamWriter.cpp57 return writeBytes(arrayRefFromStringRef(Str)); in writeFixedString()
H A DDataExtractor.cpp198 ArrayRef<uint8_t> Bytes = arrayRefFromStringRef(Data); in getLEB128()
/llvm-project-15.0.7/llvm/unittests/MC/
H A DDwarfLineTables.cpp63 EXPECT_EQ(ExpectedEncoding, arrayRefFromStringRef(Buffer)); in verifyEncoding()
H A DDwarfLineTableHeaders.cpp157 arrayRefFromStringRef(Contents.slice(0, ExpectedEncoding.size())), in verifyDebugLineContents()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DStringExtras.h63 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 DMinidump.h171 return arrayRefFromStringRef(Data.getBuffer()); in getData()
/llvm-project-15.0.7/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp53 compression::zlib::compress(arrayRefFromStringRef(FilenamesStr), in write()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp213 File.allocateArray(arrayRefFromStringRef(cast<TextContentStream>(S).Text)); in layout()
/llvm-project-15.0.7/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp49 uint32_t CRC32 = llvm::crc32(arrayRefFromStringRef(LinkTarget->getBuffer())); in createGnuDebugLinkSectionContents()
/llvm-project-15.0.7/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h103 : BitcodeBytes(arrayRefFromStringRef(BitcodeBytes)) {} in SimpleBitstreamCursor()
/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOReader.cpp294 arrayRefFromStringRef(MachOObj.getData().substr(LC.dataoff, LC.datasize)); in readLinkData()
/llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/lib/
H A DFileAnalysis.cpp467 ArrayRef<uint8_t> SectionBytes = arrayRefFromStringRef(*Contents); in parseCodeSections()
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp624 arrayRefFromStringRef(unwrapOrError(Section.getContents(), FileName)); in disassemble()

12