Home
last modified time | relevance | path

Searched refs:Syms (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Object/
DSymbolSizeTest.cpp18 std::vector<SymEntry> Syms{ in TEST() local
28 array_pod_sort(Syms.begin(), Syms.end(), compareAddress); in TEST()
30 for (unsigned I = 0, N = Syms.size(); I < N - 1; ++I) { in TEST()
31 EXPECT_LE(Syms[I].Address, Syms[I + 1].Address); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DSymbolSize.cpp45 auto Syms = E->symbols(); in computeSymbolSizes() local
46 if (Syms.begin() == Syms.end()) in computeSymbolSizes()
47 Syms = E->getDynamicSymbolIterators(); in computeSymbolSizes()
48 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes()
DIRSymtab.cpp87 std::vector<storage::Symbol> Syms; member
128 Mod.Begin = Syms.size(); in addModule()
129 Mod.End = Syms.size() + Msymtab.symbols().size(); in addModule()
183 Syms.emplace_back(); in addSymbol()
184 storage::Symbol &Sym = Syms.back(); in addSymbol()
314 writeRange(Hdr.Symbols, Syms); in build()
/external/llvm/lib/Object/
DSymbolSize.cpp51 auto Syms = E->symbols(); in computeSymbolSizes() local
52 if (Syms.begin() == Syms.end()) in computeSymbolSizes()
53 Syms = E->getDynamicSymbolIterators(); in computeSymbolSizes()
54 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp129 std::vector<Elf_Sym> &Syms, unsigned SymbolBinding);
274 std::vector<Elf_Sym> Syms; in initSymtabSectionHeader() local
279 Syms.push_back(Sym); in initSymtabSectionHeader()
291 addSymbols(Doc.Symbols.Local, Syms, ELF::STB_LOCAL); in initSymtabSectionHeader()
292 addSymbols(Doc.Symbols.Global, Syms, ELF::STB_GLOBAL); in initSymtabSectionHeader()
293 addSymbols(Doc.Symbols.Weak, Syms, ELF::STB_WEAK); in initSymtabSectionHeader()
297 makeArrayRef(Syms)); in initSymtabSectionHeader()
298 SHeader.sh_size = arrayDataSize(makeArrayRef(Syms)); in initSymtabSectionHeader()
316 std::vector<Elf_Sym> &Syms, in addSymbols() argument
336 Syms.push_back(Symbol); in addSymbols()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineModuleInfo.cpp183 std::vector<MCSymbol*> *Syms = Entry.Symbols.get<std::vector<MCSymbol*>*>(); in UpdateForDeletedBlock() local
185 for (unsigned i = 0, e = Syms->size(); i != e; ++i) { in UpdateForDeletedBlock()
186 MCSymbol *Sym = (*Syms)[i]; in UpdateForDeletedBlock()
198 delete Syms; in UpdateForDeletedBlock()
237 std::vector<MCSymbol*> *Syms =OldEntry.Symbols.get<std::vector<MCSymbol*>*>(); in UpdateForRAUWBlock() local
238 SymList->insert(SymList->end(), Syms->begin(), Syms->end()); in UpdateForRAUWBlock()
239 delete Syms; in UpdateForRAUWBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2elf.cpp150 std::vector<Elf_Sym> &Syms, unsigned SymbolBinding,
318 std::vector<Elf_Sym> Syms; in initSymtabSectionHeader() local
323 Syms.push_back(Sym); 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()
341 makeArrayRef(Syms)); in initSymtabSectionHeader()
342 SHeader.sh_size = arrayDataSize(makeArrayRef(Syms)); in initSymtabSectionHeader()
424 std::vector<Elf_Sym> &Syms, in addSymbols() argument
448 Syms.push_back(Symbol); in addSymbols()
/external/clang/lib/StaticAnalyzer/Checkers/
DExprInspectionChecker.cpp187 const MarkedSymbolsTy &Syms = State->get<MarkedSymbols>(); in checkDeadSymbols() local
188 for (auto I = Syms.begin(), E = Syms.end(); I != E; ++I) { in checkDeadSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/
DLTO.h366 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
378 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
383 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
/external/llvm/tools/dsymutil/
DMachOUtils.cpp180 unsigned Syms = 0; in transferSymbols() local
190 ++Syms; in transferSymbols()
197 ++Syms; in transferSymbols()
200 return Syms; in transferSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DMachOUtils.cpp195 unsigned Syms = 0; in transferSymbols() local
205 ++Syms; in transferSymbols()
212 ++Syms; in transferSymbols()
215 return Syms; in transferSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTO.cpp421 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes() argument
427 for (const InputFile::Symbol &Sym : Syms) { in addModuleToGlobalRes()
583 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO() argument
631 for (const InputFile::Symbol &Sym : Syms) { in addRegularLTO()
722 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addThinLTO() argument
730 for (const InputFile::Symbol &Sym : Syms) { in addThinLTO()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DELF.h246 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms,
297 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, in getSectionIndex() argument
302 Sym, Syms.begin(), ShndxTable); in getSectionIndex()
/external/boringssl/src/util/
Dread_symbols.go202 for _, sym := range f.Symtab.Syms {
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DELFDumper.cpp291 Elf_Sym_Range Syms(nullptr, nullptr); in printSymbolsHelper() local
294 Syms = dynamic_symbols(); in printSymbolsHelper()
302 Syms = unwrapOrError(Obj->symbols(DotSymtabSec)); in printSymbolsHelper()
306 if (Syms.begin() == Syms.end()) in printSymbolsHelper()
309 for (const auto &Sym : Syms) in printSymbolsHelper()
310 ELFDumperStyle->printSymbol(Obj, &Sym, Syms.begin(), StrTable, IsDynamic); in printSymbolsHelper()
582 ListScope Syms(W, "Symbols"); in printVersionSymbolSection() local
764 Elf_Sym_Range Syms = unwrapOrError(Obj->symbols(DotSymtabSec)); in getStaticSymbolName() local
765 if (Index >= Syms.size()) in getStaticSymbolName()
767 const Elf_Sym *Sym = &Syms[Index]; in getStaticSymbolName()
[all …]
/external/llvm/tools/llvm-readobj/
DELFDumper.cpp250 Elf_Sym_Range Syms(nullptr, nullptr); in printSymbolsHelper() local
253 Syms = dynamic_symbols(); in printSymbolsHelper()
261 Syms = Obj->symbols(DotSymtabSec); in printSymbolsHelper()
265 if (Syms.begin() == Syms.end()) in printSymbolsHelper()
268 for (const auto &Sym : Syms) in printSymbolsHelper()
269 ELFDumperStyle->printSymbol(Obj, &Sym, Syms.begin(), StrTable, IsDynamic); in printSymbolsHelper()
512 ListScope Syms(W, "Symbols"); in printVersionSymbolSection() local
1830 Elf_Sym_Range Syms = dynamic_symbols(); in printGnuHashTable() local
1831 unsigned NumSyms = std::distance(Syms.begin(), Syms.end()); in printGnuHashTable()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1967 std::vector<MCSymbol*> Syms = MMI->getAddrLabelSymbolToEmit(BB); in EmitBasicBlockStart() local
1969 for (unsigned i = 0, e = Syms.size(); i != e; ++i) in EmitBasicBlockStart()
1970 OutStreamer.EmitLabel(Syms[i]); in EmitBasicBlockStart()