/external/llvm-project/llvm/unittests/Object/ |
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()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | IncludeFixer.cpp | 139 const SymbolSlab &Syms = **Symbols; in fixIncompleteType() local 141 if (!Syms.empty()) { in fixIncompleteType() 142 auto &Matched = *Syms.begin(); in fixIncompleteType() 145 Fixes = fixesForSymbols(Syms); in fixIncompleteType() 150 std::vector<Fix> IncludeFixer::fixesForSymbols(const SymbolSlab &Syms) const { in fixesForSymbols() 173 for (const auto &Sym : Syms) { in fixesForSymbols() 402 if (llvm::Optional<const SymbolSlab *> Syms = fuzzyFindCached(Req)) in fixUnresolvedName() local 403 return fixesForSymbols(**Syms); in fixUnresolvedName() 426 auto Syms = std::move(Matches).build(); in fuzzyFindCached() local 427 auto E = FuzzyFindCache.try_emplace(ReqStr, std::move(Syms)); in fuzzyFindCached() [all …]
|
/external/llvm/lib/Object/ |
D | SymbolSize.cpp | 51 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/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | SymbolSize.cpp | 44 auto Syms = E->symbols(); in computeSymbolSizes() local 45 if (Syms.begin() == Syms.end()) in computeSymbolSizes() 46 Syms = E->getDynamicSymbolIterators(); in computeSymbolSizes() 47 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes()
|
D | IRSymtab.cpp | 86 std::vector<storage::Symbol> Syms; member 129 Mod.Begin = Syms.size(); in addModule() 130 Mod.End = Syms.size() + Msymtab.symbols().size(); in addModule() 198 Syms.emplace_back(); in addSymbol() 199 storage::Symbol &Sym = Syms.back(); in addSymbol() 329 writeRange(Hdr.Symbols, Syms); in build()
|
/external/llvm-project/llvm/lib/Object/ |
D | SymbolSize.cpp | 50 auto Syms = E->symbols(); in computeSymbolSizes() local 51 if (Syms.begin() == Syms.end()) in computeSymbolSizes() 52 Syms = E->getDynamicSymbolIterators(); in computeSymbolSizes() 53 for (ELFSymbolRef Sym : Syms) in computeSymbolSizes()
|
D | IRSymtab.cpp | 86 std::vector<storage::Symbol> Syms; member 129 Mod.Begin = Syms.size(); in addModule() 130 Mod.End = Syms.size() + Msymtab.symbols().size(); in addModule() 198 Syms.emplace_back(); in addSymbol() 199 storage::Symbol &Sym = Syms.back(); in addSymbol() 333 writeRange(Hdr.Symbols, Syms); in build()
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeFunctionSymbol.cpp | 103 CVSymbolArray Syms = ModS->getSymbolArray(); in findInlineFramesByVA() local 109 auto Start = Syms.at(RecordOffset); in findInlineFramesByVA() 110 auto End = Syms.at(Sym.End); in findInlineFramesByVA() 128 End = Syms.at(IS.End); in findInlineFramesByVA() 133 Start = Syms.at(IS.End); in findInlineFramesByVA()
|
D | DbiModuleDescriptorBuilder.cpp | 157 for (ArrayRef<uint8_t> Syms : Symbols) { in commit() 158 if (auto EC = SymbolWriter.writeBytes(Syms)) in commit()
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 129 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-10.0/llvm/lib/ProfileData/ |
D | SampleProf.cpp | 219 SortedList.insert(SortedList.begin(), Syms.begin(), Syms.end()); in write() 235 SortedList.insert(SortedList.begin(), Syms.begin(), Syms.end()); in dump()
|
/external/llvm-project/llvm/lib/ProfileData/ |
D | SampleProf.cpp | 270 SortedList.insert(SortedList.begin(), Syms.begin(), Syms.end()); in write() 286 SortedList.insert(SortedList.begin(), Syms.begin(), Syms.end()); in dump()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 650 Syms.insert(Name); 653 Syms.insert(Name.copy(Allocator)); 656 bool contains(StringRef Name) { return Syms.count(Name); } 659 for (auto Sym : List.Syms) 663 unsigned size() { return Syms.size(); } 677 DenseSet<StringRef> Syms;
|
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
D | OrcV2CBindings.cpp | 240 LLVMOrcAbsoluteSymbols(LLVMOrcCSymbolMapPairs Syms, size_t NumPairs) { in LLVMOrcAbsoluteSymbols() argument 245 if (Syms[I].Sym.Flags.GenericFlags & LLVMJITSymbolGenericFlagsExported) in LLVMOrcAbsoluteSymbols() 247 if (Syms[I].Sym.Flags.GenericFlags & LLVMJITSymbolGenericFlagsWeak) in LLVMOrcAbsoluteSymbols() 250 Flags.getTargetFlags() = Syms[I].Sym.Flags.TargetFlags; in LLVMOrcAbsoluteSymbols() 252 SM[OrcV2CAPIHelper::retainSymbolStringPtr(unwrap(Syms[I].Name))] = in LLVMOrcAbsoluteSymbols() 253 JITEvaluatedSymbol(Syms[I].Sym.Address, Flags); in LLVMOrcAbsoluteSymbols()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ExprInspectionChecker.cpp | 187 const MarkedSymbolsTy &Syms = State->get<MarkedSymbols>(); in checkDeadSymbols() local 188 for (auto I = Syms.begin(), E = Syms.end(); I != E; ++I) { in checkDeadSymbols()
|
/external/llvm-project/llvm/include/llvm/ProfileData/ |
D | SampleProf.h | 877 Syms.insert(Name); 880 Syms.insert(Name.copy(Allocator)); 883 bool contains(StringRef Name) { return Syms.count(Name); } 886 for (auto Sym : List.Syms) 890 unsigned size() { return Syms.size(); } 904 DenseSet<StringRef> Syms;
|
/external/llvm-project/llvm/include/llvm/LTO/ |
D | LTO.h | 407 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, 419 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, 424 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/ |
D | LTO.h | 400 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, 412 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, 417 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | DbiModuleDescriptorBuilder.cpp | 158 for (ArrayRef<uint8_t> Syms : Symbols) { in commit() 159 if (auto EC = SymbolWriter.writeBytes(Syms)) in commit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELF.h | 281 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 336 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, in getSectionIndex() argument 341 Sym, Syms.begin(), ShndxTable); in getSectionIndex() 649 uint64_t Syms = SymTable.sh_size / sizeof(Elf_Sym); in getSHNDXTable() local 650 if (V.size() != Syms) in getSHNDXTable() 653 Twine(Syms)); in getSHNDXTable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/ |
D | XCOFFObjectWriter.cpp | 71 SmallVector<Symbol, 1> Syms; member 339 WrapperMap[ContainingCsect]->Syms.emplace_back(XSym); in executePostLayoutBinding() 573 for (const auto &Sym : Csect.Syms) in writeSymbolTable() 628 for (auto &Sym : Csect.Syms) { in assignAddressesAndIndices()
|
/external/llvm/tools/dsymutil/ |
D | MachOUtils.cpp | 180 unsigned Syms = 0; in transferSymbols() local 190 ++Syms; in transferSymbols() 197 ++Syms; in transferSymbols() 200 return Syms; in transferSymbols()
|
/external/llvm-project/llvm/tools/dsymutil/ |
D | MachOUtils.cpp | 202 unsigned Syms = 0; in transferSymbols() local 212 ++Syms; in transferSymbols() 219 ++Syms; in transferSymbols() 222 return Syms; in transferSymbols()
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | FileIndex.cpp | 88 auto Syms = Collector.takeSymbols(); in indexSymbols() local 96 IsIndexMainAST ? "file" : "preamble", FileName, Version, Syms.size(), in indexSymbols() 97 Syms.bytes(), Refs.size(), Refs.numRefs(), Refs.bytes(), in indexSymbols() 99 return std::make_tuple(std::move(Syms), std::move(Refs), in indexSymbols()
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ELF.h | 300 Expected<uint32_t> getSectionIndex(const Elf_Sym &Sym, Elf_Sym_Range Syms, 354 ELFFile<ELFT>::getSectionIndex(const Elf_Sym &Sym, Elf_Sym_Range Syms, in getSectionIndex() argument 359 getExtendedSymbolTableIndex<ELFT>(Sym, &Sym - Syms.begin(), ShndxTable); in getSectionIndex() 696 uint64_t Syms = SymTable.sh_size / sizeof(Elf_Sym); in getSHNDXTable() local 697 if (V.size() != Syms) in getSHNDXTable() 700 Twine(Syms)); in getSHNDXTable()
|