Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeFunctionSymbol.cpp107 CVSymbolArray Syms = ModS->getSymbolArray(); in findInlineFramesByVA() local
113 auto Start = Syms.at(RecordOffset); in findInlineFramesByVA()
114 auto End = Syms.at(Sym.End); in findInlineFramesByVA()
132 End = Syms.at(IS.End); in findInlineFramesByVA()
137 Start = Syms.at(IS.End); in findInlineFramesByVA()
H A DSymbolCache.cpp358 CVSymbolArray Syms = ExpectedModS->getSymbolArray(); in findFunctionSymbolBySectOffset() local
361 for (auto I = Syms.begin(), E = Syms.end(); I != E; ++I) { in findFunctionSymbolBySectOffset()
379 I = Syms.at(PS.End); in findFunctionSymbolBySectOffset()
/freebsd/contrib/llvm-project/llvm/tools/lli/
H A DForwardingMemoryManager.h108 if (auto Syms = DylibMgr.lookup(H, R)) { in findSymbol() local
109 if (Syms->size() != 1) in findSymbol()
112 return JITSymbol(Syms->front().getAddress().getValue(), in findSymbol()
113 Syms->front().getFlags()); in findSymbol()
115 return Syms.takeError(); in findSymbol()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp54 auto Syms = E->symbols(); in computeSymbolSizes() local
55 if (Syms.empty()) in computeSymbolSizes()
56 Syms = E->getDynamicSymbolIterators(); in computeSymbolSizes()
57 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes()
H A DIRSymtab.cpp93 std::vector<storage::Symbol> Syms; member
149 Mod.Begin = Syms.size(); in addModule()
150 Mod.End = Syms.size() + Msymtab.symbols().size(); in addModule()
231 Syms.emplace_back(); in addSymbol()
232 storage::Symbol &Sym = Syms.back(); in addSymbol()
368 writeRange(Hdr.Symbols, Syms); in build()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiModuleDescriptorBuilder.h40 explicit SymbolListWrapper(ArrayRef<uint8_t> Syms) in SymbolListWrapper()
41 : SymPtr(const_cast<uint8_t *>(Syms.data())), SymSize(Syms.size()), in SymbolListWrapper()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFStreamer.cpp478 auto &Syms = Asm.getSymbols(); in finish() local
479 const size_t NumSyms = Syms.size(); in finish()
488 if (Syms.size() != NumSyms) { in finish()
490 Syms.truncate(NumSyms); in finish()
492 for (auto [I, Sym] : llvm::enumerate(Syms)) { in finish()
500 for (auto [I, Sym] : llvm::enumerate(Syms)) { in finish()
512 Syms = std::move(NewSyms); in finish()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DOrcV2CBindings.cpp162 static SymbolMap toSymbolMap(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs) { in toSymbolMap() argument
165 JITSymbolFlags Flags = toJITSymbolFlags(Syms[I].Sym.Flags); in toSymbolMap()
166 SM[unwrap(Syms[I].Name).moveToSymbolStringPtr()] = { in toSymbolMap()
167 ExecutorAddr(Syms[I].Sym.Address), Flags}; in toSymbolMap()
426 const char *Name, void *Ctx, LLVMOrcCSymbolFlagsMapPairs Syms, in LLVMOrcCreateCustomMaterializationUnit() argument
433 SFM[unwrap(Syms[I].Name).moveToSymbolStringPtr()] = in LLVMOrcCreateCustomMaterializationUnit()
434 toJITSymbolFlags(Syms[I].Flags); in LLVMOrcCreateCustomMaterializationUnit()
443 LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs) { in LLVMOrcAbsoluteSymbols() argument
444 SymbolMap SM = toSymbolMap(Syms, NumPairs); in LLVMOrcAbsoluteSymbols()
556 LLVMOrcCSymbolFlagsMapPairs Syms, size_t NumSyms) { in LLVMOrcMaterializationResponsibilityDefineMaterializing() argument
[all …]
H A DCore.cpp91 for (auto &[JD, Syms] : *this->Symbols) in FailedToMaterialize()
96 for (auto &[JD, Syms] : *Symbols) in ~FailedToMaterialize()
295 for (auto &[JD, Syms] : QueryRegistrations) in detach()
296 JD->detachQueryHelper(*this, Syms); in detach()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProf.cpp435 std::vector<StringRef> SortedList(Syms.begin(), Syms.end()); in write()
450 std::vector<StringRef> SortedList(Syms.begin(), Syms.end()); in dump()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h541 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
553 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
558 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DOrc.h673 const char *Name, void *Ctx, LLVMOrcCSymbolFlagsMapPairs Syms,
701 LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs);
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1532 Syms.insert(Name);
1535 Syms.insert(Name.copy(Allocator));
1538 bool contains(StringRef Name) { return Syms.count(Name); }
1541 for (auto Sym : List.Syms)
1545 unsigned size() { return Syms.size(); }
1559 DenseSet<StringRef> Syms;
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h487 Expected<uint32_t> getSectionIndex(const Elf_Sym &Sym, Elf_Sym_Range Syms,
565 ELFFile<ELFT>::getSectionIndex(const Elf_Sym &Sym, Elf_Sym_Range Syms, in getSectionIndex() argument
570 getExtendedSymbolTableIndex<ELFT>(Sym, &Sym - Syms.begin(), ShndxTable); in getSectionIndex()
1276 uint64_t Syms = SymTable.sh_size / sizeof(Elf_Sym); in getSHNDXTable() local
1277 if (V.size() != Syms) in getSHNDXTable()
1280 Twine(Syms)); in getSHNDXTable()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp333 auto &Syms = BlockSymsI->second; in dump() local
334 for (auto *Sym : Syms) in dump()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp520 Elf_Sym_Range Syms(nullptr, nullptr); in getSymtabAndStrtab() local
531 Syms = *SymsOrErr; in getSymtabAndStrtab()
535 return {Syms, StrTable}; in getSymtabAndStrtab()
543 Elf_Sym_Range Syms(nullptr, nullptr); in printSymbolsHelper() local
548 Syms = dynamic_symbols(); in printSymbolsHelper()
549 Entries = Syms.size(); in printSymbolsHelper()
551 std::tie(Syms, StrTable) = getSymtabAndStrtab(); in printSymbolsHelper()
554 if (Syms.empty()) in printSymbolsHelper()
560 llvm::any_of(Syms, [](const Elf_Sym &S) { return S.st_other & ~0x3; }); in printSymbolsHelper()
569 for (const Elf_Sym &Sym : Syms) in printSymbolsHelper()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp630 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes() argument
636 for (const InputFile::Symbol &Sym : Syms) { in addModuleToGlobalRes()
843 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO() argument
901 for (const InputFile::Symbol &Sym : Syms) { in addRegularLTO()
1035 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addThinLTO() argument
1039 for (const InputFile::Symbol &Sym : Syms) { in addThinLTO()
1061 for (const InputFile::Symbol &Sym : Syms) { in addThinLTO()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DExprInspectionChecker.cpp391 const MarkedSymbolsTy &Syms = State->get<MarkedSymbols>(); in checkDeadSymbols() local
393 for (SymbolRef Sym : Syms) { in checkDeadSymbols()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp87 SmallVector<Symbol, 1> Syms; member
626 Csect->Syms.emplace_back(XSym); in executePostLayoutBinding()
1213 for (const auto &Sym : Csect.Syms) in writeSymbolTable()
1462 for (auto &Sym : Csect.Syms) { in assignAddressesAndIndices()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1304 for (auto &[GUID, Syms] : Index) {
1306 llvm::append_range(Symbols, Syms);
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1028 std::vector<Elf_Sym> Syms = in initSymtabSectionHeader() local
1030 SHeader.sh_size = Syms.size() * sizeof(Elf_Sym); in initSymtabSectionHeader()
1031 CBA.write((const char *)Syms.data(), SHeader.sh_size); in initSymtabSectionHeader()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1685 auto EmitForMD = [&](const MDNode &MD, ArrayRef<const MCSymbol *> Syms, in emitPCSections()
1707 const MCSymbol *Prev = Syms.front(); in emitPCSections()
1708 for (const MCSymbol *Sym : Syms) { in emitPCSections()