| /llvm-project-15.0.7/llvm/unittests/Object/ |
| H A D | SymbolSizeTest.cpp | 17 std::vector<SymEntry> Syms{ in TEST() local 27 array_pod_sort(Syms.begin(), Syms.end(), compareAddress); in TEST() 29 for (unsigned I = 0, N = Syms.size(); I < N - 1; ++I) { in TEST() 30 EXPECT_LE(Syms[I].Address, Syms[I + 1].Address); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | IncludeFixer.cpp | 284 const SymbolSlab &Syms = **Symbols; in fixIncompleteType() local 286 if (!Syms.empty()) { in fixIncompleteType() 287 auto &Matched = *Syms.begin(); in fixIncompleteType() 290 Fixes = fixesForSymbols(Syms); in fixIncompleteType() 318 for (const auto &Sym : Syms) { in fixesForSymbols() 561 return fixesForSymbols(**Syms); in fixUnresolvedName() 584 auto Syms = std::move(Matches).build(); in fuzzyFindCached() local 605 auto Syms = std::move(Matches).build(); in lookupCached() local 608 if (!Syms.empty()) { in lookupCached() 609 auto &Matched = *Syms.begin(); in lookupCached() [all …]
|
| H A D | IncludeFixer.h | 55 std::vector<Fix> fixesForSymbols(const SymbolSlab &Syms) const;
|
| H A D | FindSymbols.cpp | 630 std::vector<DocumentSymbol> Syms = DocumentOutline(AST).build(); in collectDocSymbols() local 634 return Syms; in collectDocSymbols() 644 Root.children = std::move(Syms); in collectDocSymbols()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeFunctionSymbol.cpp | 107 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 D | SymbolCache.cpp | 358 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()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | SymbolSize.cpp | 54 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 D | IRSymtab.cpp | 95 std::vector<storage::Symbol> Syms; member 151 Mod.Begin = Syms.size(); in addModule() 152 Mod.End = Syms.size() + Msymtab.symbols().size(); in addModule() 221 Syms.emplace_back(); in addSymbol() 222 storage::Symbol &Sym = Syms.back(); in addSymbol() 356 writeRange(Hdr.Symbols, Syms); in build()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | DbiModuleDescriptorBuilder.h | 39 explicit SymbolListWrapper(ArrayRef<uint8_t> Syms) in SymbolListWrapper() 40 : SymPtr(const_cast<uint8_t *>(Syms.data())), SymSize(Syms.size()), in SymbolListWrapper()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | OrcV2CBindings.cpp | 186 JITSymbolFlags Flags = toJITSymbolFlags(Syms[I].Sym.Flags); in toSymbolMap() 187 SM[OrcV2CAPIHelper::moveToSymbolStringPtr(unwrap(Syms[I].Name))] = in toSymbolMap() 188 JITEvaluatedSymbol(Syms[I].Sym.Address, Flags); in toSymbolMap() 448 const char *Name, void *Ctx, LLVMOrcCSymbolFlagsMapPairs Syms, in LLVMOrcCreateCustomMaterializationUnit() argument 456 toJITSymbolFlags(Syms[I].Flags); in LLVMOrcCreateCustomMaterializationUnit() 465 LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs) { in LLVMOrcAbsoluteSymbols() argument 466 SymbolMap SM = toSymbolMap(Syms, NumPairs); in LLVMOrcAbsoluteSymbols() 569 LLVMOrcCSymbolFlagsMapPairs Syms, size_t NumSyms) { in LLVMOrcMaterializationResponsibilityDefineMaterializing() argument 573 toJITSymbolFlags(Syms[I].Flags); in LLVMOrcMaterializationResponsibilityDefineMaterializing() 589 SymbolNameSet Syms; in LLVMOrcMaterializationResponsibilityDelegate() local [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 389 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, 401 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, 406 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | SampleProf.cpp | 442 std::vector<StringRef> SortedList(Syms.begin(), Syms.end()); in write() 457 std::vector<StringRef> SortedList(Syms.begin(), Syms.end()); in dump()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | FileIndex.cpp | 91 auto Syms = Collector.takeSymbols(); in indexSymbols() local 99 IsIndexMainAST ? "file" : "preamble", FileName, Version, Syms.size(), in indexSymbols() 100 Syms.bytes(), Refs.size(), Refs.numRefs(), Refs.bytes(), in indexSymbols() 102 return std::make_tuple(std::move(Syms), std::move(Refs), in indexSymbols()
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | MachOUtils.cpp | 204 unsigned Syms = 0; in transferSymbols() local 214 ++Syms; in transferSymbols() 221 ++Syms; in transferSymbols() 224 return Syms; in transferSymbols()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 1286 Syms.insert(Name); 1289 Syms.insert(Name.copy(Allocator)); 1292 bool contains(StringRef Name) { return Syms.count(Name); } 1295 for (auto Sym : List.Syms) 1299 unsigned size() { return Syms.size(); } 1313 DenseSet<StringRef> Syms;
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | Orc.h | 655 const char *Name, void *Ctx, LLVMOrcCSymbolFlagsMapPairs Syms, 683 LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs);
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/ |
| H A D | LRGraph.cpp | 141 auto ToNames = [&](llvm::ArrayRef<SymbolID> Syms) { in dump() argument 143 for (auto SID : Syms) in dump()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | ELF.h | 370 Expected<uint32_t> getSectionIndex(const Elf_Sym &Sym, Elf_Sym_Range Syms, 430 ELFFile<ELFT>::getSectionIndex(const Elf_Sym &Sym, Elf_Sym_Range Syms, in getSectionIndex() argument 435 getExtendedSymbolTableIndex<ELFT>(Sym, &Sym - Syms.begin(), ShndxTable); in getSectionIndex() 1133 uint64_t Syms = SymTable.sh_size / sizeof(Elf_Sym); in getSHNDXTable() local 1134 if (V.size() != Syms) in getSHNDXTable() 1137 Twine(Syms)); in getSHNDXTable()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 392 const MarkedSymbolsTy &Syms = State->get<MarkedSymbols>(); in checkDeadSymbols() local 394 for (auto I = Syms.begin(), E = Syms.end(); I != E; ++I) { in checkDeadSymbols()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 276 auto &Syms = BlockSymsI->second; in dump() local 277 for (auto *Sym : Syms) in dump()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | XCOFFObjectWriter.cpp | 88 SmallVector<Symbol, 1> Syms; member 494 Csect->Syms.emplace_back(XSym); in executePostLayoutBinding() 904 for (const auto &Sym : Csect.Syms) in writeSymbolTable() 1037 for (auto &Sym : Csect.Syms) { in assignAddressesAndIndices()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | LTO.cpp | 534 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes() argument 541 for (const InputFile::Symbol &Sym : Syms) { in addModuleToGlobalRes() 711 LTO::addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addRegularLTO() argument 760 for (const InputFile::Symbol &Sym : Syms) { in addRegularLTO() 893 Error LTO::addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, in addThinLTO() argument 901 for (const InputFile::Symbol &Sym : Syms) { in addThinLTO()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | CodeCompleteTests.cpp | 3431 std::vector<Symbol> Syms = {func("xxx"), func("a::xxx"), func("ns::b::xxx"), in TEST() local 3444 Syms); in TEST() 3462 Syms, Opts); in TEST() 3480 Syms, Opts); in TEST() 3494 Syms, Opts); in TEST() 3695 std::vector<Symbol> Syms = {conceptSym("same_as")}; in TEST() local 3697 ASSERT_THAT(completions(TU, P, Syms).Completions, in TEST() 3704 EXPECT_THAT(completions(TU, P, Syms).Completions, in TEST()
|
| H A D | BackgroundIndexTests.cpp | 224 auto Syms = runFuzzyFind(Idx, "common"); in TEST_F() local 225 EXPECT_THAT(Syms, UnorderedElementsAre(named("common"))); in TEST_F() 226 auto Common = *Syms.begin(); in TEST_F()
|
| /llvm-project-15.0.7/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink.cpp | 410 std::vector<Symbol *> Syms(S->symbols().begin(), S->symbols().end()); in dumpSectionContents() local 411 llvm::sort(Syms, [](const Symbol *LHS, const Symbol *RHS) { in dumpSectionContents() 415 orc::ExecutorAddr NextAddr(Syms.front()->getAddress().getValue() & in dumpSectionContents() 417 for (auto *Sym : Syms) { in dumpSectionContents()
|