Home
last modified time | relevance | path

Searched refs:Strtab (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/subzero/unittest/
DIceELFSectionTest.cpp24 void CheckStringTablePermLayout(const ELFStringTableSection &Strtab) { in CheckStringTablePermLayout() argument
25 size_t pop_index = Strtab.getIndex("pop"); in CheckStringTablePermLayout()
27 size_t lollipop_index = Strtab.getIndex("lollipop"); in CheckStringTablePermLayout()
29 size_t lipop_index = Strtab.getIndex("lipop"); in CheckStringTablePermLayout()
31 size_t pops_index = Strtab.getIndex("pops"); in CheckStringTablePermLayout()
33 size_t unpop_index = Strtab.getIndex("unpop"); in CheckStringTablePermLayout()
35 size_t popular_index = Strtab.getIndex("popular"); in CheckStringTablePermLayout()
37 size_t strtab_index = Strtab.getIndex(".strtab"); in CheckStringTablePermLayout()
39 size_t shstrtab_index = Strtab.getIndex(".shstrtab"); in CheckStringTablePermLayout()
41 size_t symtab_index = Strtab.getIndex(".symtab"); in CheckStringTablePermLayout()
[all …]
/external/llvm-project/llvm/include/llvm/Object/
DIRSymtab.h57 StringRef get(StringRef Strtab) const { in get()
58 return {Strtab.data() + Offset, Size}; in get()
233 StringRef Symtab, Strtab; variable
241 StringRef str(storage::Str S) const { return S.get(Strtab); } in str()
255 Reader(StringRef Symtab, StringRef Strtab) : Symtab(Symtab), Strtab(Strtab) { in Reader() argument
364 SmallVector<char, 0> Symtab, Strtab; member
DIRObjectFile.h80 SmallVector<char, 0> Symtab, Strtab; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DIRSymtab.h56 StringRef get(StringRef Strtab) const { in get()
57 return {Strtab.data() + Offset, Size}; in get()
232 StringRef Symtab, Strtab; variable
240 StringRef str(storage::Str S) const { return S.get(Strtab); } in str()
254 Reader(StringRef Symtab, StringRef Strtab) : Symtab(Symtab), Strtab(Strtab) { in Reader() argument
363 SmallVector<char, 0> Symtab, Strtab; member
DIRObjectFile.h80 SmallVector<char, 0> Symtab, Strtab; member
/external/llvm-project/llvm/lib/Object/
DIRObjectFile.cpp153 F.Strtab = std::move(FCOrErr->Strtab); in readIRSymtab()
DIRSymtab.cpp373 FC.Strtab.resize(StrtabBuilder.getSize()); in upgrade()
374 StrtabBuilder.write((uint8_t *)FC.Strtab.data()); in upgrade()
377 {FC.Strtab.data(), FC.Strtab.size()}}; in upgrade()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DIRObjectFile.cpp152 F.Strtab = std::move(FCOrErr->Strtab); in readIRSymtab()
DIRSymtab.cpp369 FC.Strtab.resize(StrtabBuilder.getSize()); in upgrade()
370 StrtabBuilder.write((uint8_t *)FC.Strtab.data()); in upgrade()
373 {FC.Strtab.data(), FC.Strtab.size()}}; in upgrade()
/external/llvm-project/llvm/include/llvm/Bitcode/
DBitcodeReader.h66 StringRef Strtab; variable
93 StringRef getStrtab() const { return Strtab; } in getStrtab()
DBitcodeWriter.h69 void copyStrtab(StringRef Strtab);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
DBitcodeReader.h63 StringRef Strtab; variable
90 StringRef getStrtab() const { return Strtab; } in getStrtab()
DBitcodeWriter.h69 void copyStrtab(StringRef Strtab);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp421 BitcodeReaderBase(BitstreamCursor Stream, StringRef Strtab) in BitcodeReaderBase() argument
422 : Stream(std::move(Stream)), Strtab(Strtab) { in BitcodeReaderBase()
428 StringRef Strtab; member in __anonab29aeb30311::BitcodeReaderBase
476 if (Record[0] + Record[1] > Strtab.size()) in readNameFromStrtab()
478 return {StringRef(Strtab.data() + Record[0], Record[1]), Record.slice(2)}; in readNameFromStrtab()
570 BitcodeReader(BitstreamCursor Stream, StringRef Strtab,
811 ModuleSummaryIndexBitcodeReader(BitstreamCursor Stream, StringRef Strtab,
857 BitcodeReader::BitcodeReader(BitstreamCursor Stream, StringRef Strtab, in BitcodeReader() argument
860 : BitcodeReaderBase(std::move(Stream), Strtab), Context(Context), in BitcodeReader()
3189 NewGV->setPartition(StringRef(Strtab.data() + Record[14], Record[15])); in parseGlobalVarRecord()
[all …]
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp420 BitcodeReaderBase(BitstreamCursor Stream, StringRef Strtab) in BitcodeReaderBase() argument
421 : Stream(std::move(Stream)), Strtab(Strtab) { in BitcodeReaderBase()
427 StringRef Strtab; member in __anona132453f0311::BitcodeReaderBase
475 if (Record[0] + Record[1] > Strtab.size()) in readNameFromStrtab()
477 return {StringRef(Strtab.data() + Record[0], Record[1]), Record.slice(2)}; in readNameFromStrtab()
569 BitcodeReader(BitstreamCursor Stream, StringRef Strtab,
813 ModuleSummaryIndexBitcodeReader(BitstreamCursor Stream, StringRef Strtab,
861 BitcodeReader::BitcodeReader(BitstreamCursor Stream, StringRef Strtab, in BitcodeReader() argument
864 : BitcodeReaderBase(std::move(Stream), Strtab), Context(Context), in BitcodeReader()
3252 NewGV->setPartition(StringRef(Strtab.data() + Record[14], Record[15])); in parseGlobalVarRecord()
[all …]
/external/llvm-project/llvm/include/llvm/LTO/
DLTO.h114 SmallVector<char, 0> Strtab; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/
DLTO.h114 SmallVector<char, 0> Strtab; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp136 const StringTableBuilder &Strtab);
530 const StringTableBuilder &Strtab) { in toELFSymbols() argument
544 Symbol.st_name = Strtab.getOffset(ELFYAML::dropUniqueSuffix(Sym.Name)); in toELFSymbols()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp4420 std::vector<char> Strtab; in writeStrtab() local
4422 Strtab.resize(StrtabBuilder.getSize()); in writeStrtab()
4423 StrtabBuilder.write((uint8_t *)Strtab.data()); in writeStrtab()
4426 {Strtab.data(), Strtab.size()}); in writeStrtab()
4431 void BitcodeWriter::copyStrtab(StringRef Strtab) { in copyStrtab() argument
4432 writeBlob(bitc::STRTAB_BLOCK_ID, bitc::STRTAB_BLOB, Strtab); in copyStrtab()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTO.cpp456 File->Strtab = std::move(FOrErr->Strtab); in create()
/external/llvm-project/llvm/lib/ObjectYAML/
DELFEmitter.cpp206 const StringTableBuilder &Strtab);
818 const StringTableBuilder &Strtab) { in toELFSymbols() argument
832 Symbol.st_name = Strtab.getOffset(ELFYAML::dropUniqueSuffix(Sym.Name)); in toELFSymbols()
/external/llvm-project/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp4535 std::vector<char> Strtab; in writeStrtab() local
4537 Strtab.resize(StrtabBuilder.getSize()); in writeStrtab()
4538 StrtabBuilder.write((uint8_t *)Strtab.data()); in writeStrtab()
4541 {Strtab.data(), Strtab.size()}); in writeStrtab()
4546 void BitcodeWriter::copyStrtab(StringRef Strtab) { in copyStrtab() argument
4547 writeBlob(bitc::STRTAB_BLOCK_ID, bitc::STRTAB_BLOB, Strtab); in copyStrtab()
/external/llvm-project/llvm/lib/LTO/
DLTO.cpp469 File->Strtab = std::move(FOrErr->Strtab); in create()