Home
last modified time | relevance | path

Searched refs:Strtab (Results 1 – 12 of 12) 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DIRSymtab.h57 StringRef get(StringRef Strtab) const { in get()
58 return {Strtab.data() + Offset, Size}; in get()
229 StringRef Symtab, Strtab; variable
236 StringRef str(storage::Str S) const { return S.get(Strtab); } in str()
250 Reader(StringRef Symtab, StringRef Strtab) : Symtab(Symtab), Strtab(Strtab) { in Reader() argument
348 SmallVector<char, 0> Symtab, Strtab; member
DIRObjectFile.h82 SmallVector<char, 0> Symtab, Strtab; member
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2elf.cpp151 const StringTableBuilder &Strtab);
312 auto &Strtab = IsStatic ? DotStrtab : DotDynstr; in initSymtabSectionHeader() local
328 Strtab.add(Sym.Name); in initSymtabSectionHeader()
330 Strtab.add(Sym.Name); in initSymtabSectionHeader()
332 Strtab.add(Sym.Name); in initSymtabSectionHeader()
333 Strtab.finalize(); in initSymtabSectionHeader()
335 addSymbols(Symbols.Local, Syms, ELF::STB_LOCAL, Strtab); in initSymtabSectionHeader()
336 addSymbols(Symbols.Global, Syms, ELF::STB_GLOBAL, Strtab); in initSymtabSectionHeader()
337 addSymbols(Symbols.Weak, Syms, ELF::STB_WEAK, Strtab); in initSymtabSectionHeader()
426 const StringTableBuilder &Strtab) { in addSymbols() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DIRSymtab.cpp354 FC.Strtab.resize(StrtabBuilder.getSize()); in upgrade()
355 StrtabBuilder.write((uint8_t *)FC.Strtab.data()); in upgrade()
358 {FC.Strtab.data(), FC.Strtab.size()}}; in upgrade()
DIRObjectFile.cpp152 F.Strtab = std::move(FCOrErr->Strtab); in readIRSymtab()
/external/swiftshader/third_party/llvm-7.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-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp379 BitcodeReaderBase(BitstreamCursor Stream, StringRef Strtab) in BitcodeReaderBase() argument
380 : Stream(std::move(Stream)), Strtab(Strtab) { in BitcodeReaderBase()
386 StringRef Strtab; member in __anon9d94210d0311::BitcodeReaderBase
434 if (Record[0] + Record[1] > Strtab.size()) in readNameFromStrtab()
436 return {StringRef(Strtab.data() + Record[0], Record[1]), Record.slice(2)}; in readNameFromStrtab()
527 BitcodeReader(BitstreamCursor Stream, StringRef Strtab,
731 ModuleSummaryIndexBitcodeReader(BitstreamCursor Stream, StringRef Strtab,
774 BitcodeReader::BitcodeReader(BitstreamCursor Stream, StringRef Strtab, in BitcodeReader() argument
777 : BitcodeReaderBase(std::move(Stream), Strtab), Context(Context), in BitcodeReader()
4817 BitstreamCursor Cursor, StringRef Strtab, ModuleSummaryIndex &TheIndex, in ModuleSummaryIndexBitcodeReader() argument
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/
DLTO.h93 SmallVector<char, 0> Strtab; variable
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp4124 std::vector<char> Strtab; in writeStrtab() local
4126 Strtab.resize(StrtabBuilder.getSize()); in writeStrtab()
4127 StrtabBuilder.write((uint8_t *)Strtab.data()); in writeStrtab()
4130 {Strtab.data(), Strtab.size()}); in writeStrtab()
4135 void BitcodeWriter::copyStrtab(StringRef Strtab) { in copyStrtab() argument
4136 writeBlob(bitc::STRTAB_BLOCK_ID, bitc::STRTAB_BLOB, Strtab); in copyStrtab()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTO.cpp389 File->Strtab = std::move(FOrErr->Strtab); in create()