/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/ |
D | RemoteObjectLayerTest.cpp | 45 return AddObject(std::move(Obj), SymTab); in addObject() 49 if (SymTab.count(H)) in removeObject() 56 for (auto KV : SymTab) { in findSymbol() 67 auto LI = SymTab.find(H); in findSymbolIn() 68 if (LI != SymTab.end()) in findSymbolIn() 75 if (SymTab.count(H)) in emitAndFinalize() 83 SymbolLookupTable SymTab; member in __anon756ccbbb0111::MockObjectLayer 132 MockObjectLayer::SymbolLookupTable &SymTab) { in TEST() argument 186 MockObjectLayer::SymbolLookupTable &SymTab) in TEST() 240 MockObjectLayer::SymbolLookupTable &SymTab) { in TEST() argument [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceELFObjectWriter.cpp | 95 SymTab = createSection<ELFSymbolTableSection>(SymTabName, SHT_SYMTAB, 0, in ELFObjectWriter() 97 SymTab->createNullSymbol(NullSection, &Ctx); in ELFObjectWriter() 193 SymTab->setNumber(CurSectionNumber++); in assignSectionNumbersInfo() 194 SymTab->setNameStrIndex(ShStrTab->getIndex(SymTab->getName())); in assignSectionNumbersInfo() 195 AllSections.push_back(SymTab); in assignSectionNumbersInfo() 201 SymTab->setLinkNum(StrTab->getNumber()); in assignSectionNumbersInfo() 202 SymTab->setInfoNum(SymTab->getNumLocals()); in assignSectionNumbersInfo() 204 assignRelLinkNum(SymTab->getNumber(), RelTextSections); in assignSectionNumbersInfo() 205 assignRelLinkNum(SymTab->getNumber(), RelDataSections); in assignSectionNumbersInfo() 206 assignRelLinkNum(SymTab->getNumber(), RelRODataSections); in assignSectionNumbersInfo() [all …]
|
D | IceELFSection.h | 238 ELFSymbolTableSection *SymTab); 246 void writeData(ELFStreamer &Str, const ELFSymbolTableSection *SymTab); 358 const ELFSymbolTableSection *SymTab) { in writeData() argument 362 Symbol = SymTab->getNullSymbol(); in writeData() 367 Symbol = SymTab->findSymbol(Name); in writeData()
|
D | IceELFSection.cpp | 72 ELFSymbolTableSection *SymTab) { in addRelocations() argument 84 if (const ELFSym *Sym = SymTab->findSymbol(F.symbol())) { in addRelocations()
|
D | IceELFObjectWriter.h | 124 ELFSymbolTableSection *SymTab; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | IRObjectFile.cpp | 33 SymTab.addModule(M.get()); in IRObjectFile() 48 SymTab.printSymbolName(OS, getSym(Symb)); in printSymbolName() 53 return SymTab.getSymbolFlags(getSym(Symb)); in getSymbolFlags() 58 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data()); in symbol_begin() 64 Ret.p = reinterpret_cast<uintptr_t>(SymTab.symbols().data() + in symbol_end() 65 SymTab.symbols().size()); in symbol_end()
|
D | ModuleSymbolTable.cpp | 64 SymTab.push_back(&GV); in addModule() 67 SymTab.push_back(new (AsmSymbols.Allocate()) AsmSymbol(Name, Flags)); in addModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 39 const Elf_Shdr *SymTab); 46 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, 52 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 96 const Elf_Shdr *SymTab) { in getSymbolName() argument 102 auto ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in getSymbolName() 249 ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol() argument 256 Expected<StringRef> SymbolNameOrErr = getSymbolName(Sym, StrTable, SymTab); in dumpSymbol() 261 auto ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol() 279 const Elf_Shdr *SymTab, in dumpRelocation() argument 285 auto SymOrErr = Obj.getRelocationSymbol(Rel, SymTab); in dumpRelocation() [all …]
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 31 std::error_code dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, 37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab, 175 ELFDumper<ELFT>::dumpSymbol(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in dumpSymbol() argument 187 ErrorOr<const Elf_Shdr *> ShdrOrErr = Obj.getSection(Sym, SymTab, ShndxTable); in dumpSymbol() 205 const Elf_Shdr *SymTab, in dumpRelocation() argument 211 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab); in dumpRelocation() 212 ErrorOr<const Elf_Shdr *> StrTabSec = Obj.getSection(SymTab->sh_link); in dumpRelocation() 285 const Elf_Shdr *SymTab = *SymTabOrErr; in dumpRelSection() local 289 if (std::error_code EC = dumpRelocation(&*RI, SymTab, R)) in dumpRelSection() 309 const Elf_Shdr *SymTab = *SymTabOrErr; in dumpRelaSection() local [all …]
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 97 const Elf_Shdr *SymTab) const; 189 const Elf_Shdr *SymTab, 196 const Elf_Shdr *SymTab, 217 const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getExtendedSymbolTableIndex() argument 219 return getExtendedSymbolTableIndex(Sym, symbol_begin(SymTab), ShndxTable); in getExtendedSymbolTableIndex() 235 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getSection() argument 239 return getSection(getExtendedSymbolTableIndex(Sym, SymTab, ShndxTable)); in getSection() 307 const Elf_Shdr *SymTab) const { in getRelocationSymbol() argument 311 return getEntry<Elf_Sym>(SymTab, Index); in getRelocationSymbol()
|
D | ELFObjectFile.h | 219 const Elf_Shdr *SymTab) const; 412 const Elf_Shdr *SymTab = *EF.getSection(Symb.d.a); in getSymbolAddress() local 416 EF.getSection(ESym, SymTab, ShndxTable); in getSymbolAddress() 535 const Elf_Shdr *SymTab) const { in getSymbolSection() argument 536 ErrorOr<const Elf_Shdr *> ESecOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolSection() 553 const Elf_Shdr *SymTab = *EF.getSection(Symb.d.a); in getSymbolSection() local 554 return getSymbolSection(Sym, SymTab); in getSymbolSection() 798 const Elf_Shdr *SymTab = DotSymtabSec; in symbol_end_impl() local 799 if (!SymTab) in symbol_end_impl() 801 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym)); in symbol_end_impl() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | ModuleSymbolTable.h | 42 std::vector<Symbol> SymTab; variable 46 ArrayRef<Symbol> symbols() const { return SymTab; } in symbols()
|
D | ELFObjectFile.h | 244 const Elf_Shdr *SymTab) const; 489 const Elf_Shdr *SymTab = *SymTabOrErr; in getSymbolAddress() local 492 auto SectionOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolAddress() 620 const Elf_Shdr *SymTab) const { in getSymbolSection() argument 621 auto ESecOrErr = EF.getSection(ESym, SymTab, ShndxTable); in getSymbolSection() 641 const Elf_Shdr *SymTab = *SymTabOrErr; in getSymbolSection() local 642 return getSymbolSection(Sym, SymTab); in getSymbolSection() 957 const Elf_Shdr *SymTab = DotSymtabSec; in symbol_end() local 958 if (!SymTab) in symbol_end() 960 DataRefImpl Sym = toDRI(SymTab, SymTab->sh_size / sizeof(Elf_Sym)); in symbol_end() [all …]
|
D | ELF.h | 123 const Elf_Shdr *SymTab) const; 249 const Elf_Shdr *SymTab, 314 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab, in getSection() argument 316 auto SymsOrErr = symbols(SymTab); in getSection() 425 const Elf_Shdr *SymTab) const { in getRelocationSymbol() argument 429 return getEntry<Elf_Sym>(SymTab, Index); in getRelocationSymbol()
|
D | IRObjectFile.h | 34 ModuleSymbolTable SymTab; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTOModule.cpp | 49 SymTab.addModule(Mod.get()); in LTOModule() 342 SymTab.printSymbolName(OS, Sym); in addDefinedDataSymbol() 400 SymTab.printSymbolName(OS, Sym); in addDefinedFunctionSymbol() 540 SymTab.printSymbolName(OS, Sym); in addPotentialUndefinedSymbol() 566 for (auto Sym : SymTab.symbols()) { in parseSymbols() 568 uint32_t Flags = SymTab.getSymbolFlags(Sym); in parseSymbols() 578 SymTab.printSymbolName(OS, Sym); in parseSymbols()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ELFWriter.cpp | 765 ELFSection &SymTab = getSymbolTableSection(); in EmitRelocations() local 766 RelSec.Link = SymTab.SectionIdx; in EmitRelocations() 965 ELFSection &SymTab = getSymbolTableSection(); in EmitSymbolTable() local 966 SymTab.Align = TEW->getPrefELFAlignment(); in EmitSymbolTable() 969 SymTab.Link = getStringTableSection().SectionIdx; in EmitSymbolTable() 972 SymTab.EntSize = TEW->getSymTabEntrySize(); in EmitSymbolTable() 982 EmitSymbol(SymTab, Sym); in EmitSymbolTable() 995 SymTab.Info = FirstNonLocalSymbol; in EmitSymbolTable() 996 SymTab.Size = SymTab.size(); in EmitSymbolTable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.h | 413 void setSymTab(SymbolTableSection *SymTab) { Symbols = SymTab; } in setSymTab() argument 500 void setSymTab(SymTabType *SymTab) { Symbols = SymTab; } in setSymTab() argument 535 const SymbolTableSection *SymTab = nullptr; variable 547 void setSymTab(const SymbolTableSection *SymTabSec) { SymTab = SymTabSec; } in setSymTab() 639 void initSymbolTable(SymbolTableSection *SymTab);
|
D | Object.cpp | 465 this->Link = SymTab->Index; in finalize() 673 auto SymTab = SecTable.template getSectionOfType<SymbolTableSection>( in initGroupSection() local 679 auto Sym = SymTab->getSymbolByIndex(GroupSec->Info); in initGroupSection() 683 GroupSec->setSymTab(SymTab); in initGroupSection() 702 void ELFBuilder<ELFT>::initSymbolTable(SymbolTableSection *SymTab) { in initSymbolTable() argument 703 const Elf_Shdr &Shdr = *unwrapOrError(ElfFile.getSection(SymTab->Index)); in initSymbolTable() 713 if (SymTab->getShndxTable() == nullptr) in initSymbolTable() 718 *unwrapOrError(ElfFile.getSection(SymTab->getShndxTable()->Index)); in initSymbolTable() 744 SymTab->addSymbol(Name, Sym.getBinding(), Sym.getType(), DefSection, in initSymbolTable() 820 auto &SymTab = Obj.addSection<SymbolTableSection>(); in makeSection() local [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Function.h | 87 ValueSymbolTable *SymTab; ///< Symbol table of args/instructions 349 inline ValueSymbolTable &getValueSymbolTable() { return *SymTab; } 350 inline const ValueSymbolTable &getValueSymbolTable() const { return *SymTab; }
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 578 InstrProfSymtab *SymTab) { in remapValue() argument 579 if (!SymTab) in remapValue() 583 return SymTab->getFunctionHashFromAddress(Value); in remapValue() 670 InstrProfSymtab *SymTab) { in deserializeTo() argument 676 Record.addValueData(Kind, VSite, ValueData, ValueDataCount, SymTab); in deserializeTo() 710 InstrProfSymtab *SymTab) { in deserializeTo() argument 716 VR->deserializeTo(Record, SymTab); in deserializeTo()
|
/external/llvm/include/llvm/IR/ |
D | Function.h | 57 ValueSymbolTable *SymTab; ///< Symbol table of args/instructions 498 inline ValueSymbolTable &getValueSymbolTable() { return *SymTab; } 499 inline const ValueSymbolTable &getValueSymbolTable() const { return *SymTab; }
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Function.h | 65 SymTab; ///< Symbol table of args/instructions variable 523 inline ValueSymbolTable *getValueSymbolTable() { return SymTab.get(); } in getValueSymbolTable() 525 return SymTab.get(); in getValueSymbolTable()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Function.h | 77 SymTab; ///< Symbol table of args/instructions variable 634 inline ValueSymbolTable *getValueSymbolTable() { return SymTab.get(); } in getValueSymbolTable() 636 return SymTab.get(); in getValueSymbolTable()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Function.cpp | 168 SymTab = new ValueSymbolTable(); in Function() 191 delete SymTab; in ~Function()
|