Home
last modified time | relevance | path

Searched refs:Symbols (Results 1 – 25 of 206) sorted by relevance

123456789

/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp41 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl() argument
108 if (Symbols.find(ND) != Symbols.end()) in WriteNamedDecl()
131 Symbols.insert(std::make_pair( in WriteNamedDecl()
146 MangledSymbols &Symbols, int RDO) { in HandleDecls() argument
148 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleDecls()
152 MangledSymbols &Symbols, int RDO) { in HandleTemplateSpecializations() argument
154 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
158 MangledSymbols &Symbols, int RDO) { in HandleTemplateSpecializations() argument
160 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
163 bool HandleNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in HandleNamedDecl() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCore.h202 Symbols.reserve(Names.size());
212 Symbols.reserve(Names.size());
224 Symbols.reserve(Names.size());
235 Result.Symbols.reserve(M.size());
246 Symbols.push_back(std::make_pair(std::move(Name), Flags));
252 Symbols.reserve(Symbols.size() + Other.size()); in append()
254 Symbols.push_back(std::move(KV)); in append()
258 bool empty() const { return Symbols.empty(); } in empty()
259 UnderlyingVector::size_type size() const { return Symbols.size(); } in size()
260 iterator begin() { return Symbols.begin(); } in begin()
[all …]
H A DDebugUtils.h39 raw_ostream &operator<<(raw_ostream &OS, const SymbolNameSet &Symbols);
42 raw_ostream &operator<<(raw_ostream &OS, const SymbolNameVector &Symbols);
45 raw_ostream &operator<<(raw_ostream &OS, ArrayRef<SymbolStringPtr> Symbols);
60 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap &Symbols);
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DTapiFile.cpp60 Symbols.emplace_back(StringRef(), Symbol->getName(), getFlags(Symbol), in TapiFile()
65 Symbols.emplace_back(ObjC1ClassNamePrefix, Symbol->getName(), in TapiFile()
68 Symbols.emplace_back(ObjC2ClassNamePrefix, Symbol->getName(), in TapiFile()
70 Symbols.emplace_back(ObjC2MetaClassNamePrefix, Symbol->getName(), in TapiFile()
75 Symbols.emplace_back(ObjC2EHTypePrefix, Symbol->getName(), in TapiFile()
79 Symbols.emplace_back(ObjC2IVarPrefix, Symbol->getName(), getFlags(Symbol), in TapiFile()
91 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in printSymbolName()
92 const Symbol &Sym = Symbols[DRI.d.a]; in printSymbolName()
98 assert(DRI.d.a < Symbols.size() && "Attempt to access symbol out of bounds"); in getSymbolType()
99 return Symbols[DRI.d.a].Type; in getSymbolType()
[all …]
H A DRecordStreamer.cpp18 State &S = Symbols[Symbol.getName()]; in markDefined()
38 State &S = Symbols[Symbol.getName()]; in markGlobal()
57 State &S = Symbols[Symbol.getName()]; in markUsed()
79 return Symbols.begin(); in begin()
82 RecordStreamer::const_iterator RecordStreamer::end() { return Symbols.end(); } in end()
115 auto SI = Symbols.find(Sym->getName()); in emitCommonSymbol()
116 if (SI == Symbols.end()) in emitCommonSymbol()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVSymbolVisitor.cpp70 Error CVSymbolVisitor::visitSymbolStream(const CVSymbolArray &Symbols) { in visitSymbolStream() argument
71 for (auto I : Symbols) { in visitSymbolStream()
78 Error CVSymbolVisitor::visitSymbolStream(const CVSymbolArray &Symbols, in visitSymbolStream() argument
80 for (auto I : Symbols) { in visitSymbolStream()
81 if (auto EC = visitSymbolRecord(I, InitialOffset + Symbols.skew())) in visitSymbolStream()
88 Error CVSymbolVisitor::visitSymbolStreamFiltered(const CVSymbolArray &Symbols, in visitSymbolStreamFiltered() argument
91 return visitSymbolStream(Symbols); in visitSymbolStreamFiltered()
95 if (!Symbols.isOffsetValid(SymbolOffset)) in visitSymbolStreamFiltered()
97 CVSymbol Sym = *Symbols.at(SymbolOffset); in visitSymbolStreamFiltered()
104 for (auto Begin = Symbols.begin(), End = Symbols.end(); Begin != End; in visitSymbolStreamFiltered()
[all …]
H A DSymbolRecordHelpers.cpp85 llvm::codeview::limitSymbolArrayToScope(const CVSymbolArray &Symbols, in limitSymbolArrayToScope() argument
87 CVSymbol Opener = *Symbols.at(ScopeBegin); in limitSymbolArrayToScope()
90 CVSymbol Closer = *Symbols.at(EndOffset); in limitSymbolArrayToScope()
92 return Symbols.substream(ScopeBegin, EndOffset); in limitSymbolArrayToScope()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DRecordVisitor.cpp34 Symbols->addGlobal(SymKind, SymName, GR.getFlags(), Targ); in visitGlobal()
37 Symbols->addGlobal(SymKind, SymName, GR.getFlags(), Targ); in visitGlobal()
43 Symbols->addGlobal(EncodeKind::GlobalSymbol, GR.getName(), GR.getFlags(), in visitGlobal()
54 Symbols->addGlobal(EncodeKind::ObjectiveCInstanceVariable, Name, in addIVars()
62 Symbols->addGlobal(EncodeKind::ObjectiveCClass, ObjCR.getName(), in visitObjCInterface()
65 Symbols->addGlobal(EncodeKind::ObjectiveCClassEHType, ObjCR.getName(), in visitObjCInterface()
71 Symbols->addGlobal(EncodeKind::GlobalSymbol, in visitObjCInterface()
75 Symbols->addGlobal(EncodeKind::GlobalSymbol, in visitObjCInterface()
79 Symbols->addGlobal(EncodeKind::GlobalSymbol, in visitObjCInterface()
H A DSymbolSet.cpp17 auto Result = Symbols.try_emplace(SymbolsMapKey{Kind, Name}, nullptr); in addGlobalImpl()
33 if (auto result = Symbols.lookup({Kind, Name})) in findSymbol()
41 return Symbols.lookup( in findSymbol()
44 return Symbols.lookup( in findSymbol()
46 return Symbols.lookup( in findSymbol()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DCore.cpp83 std::shared_ptr<SymbolDependenceMap> Symbols) in FailedToMaterialize() argument
84 : SSP(std::move(SSP)), Symbols(std::move(Symbols)) { in FailedToMaterialize()
86 assert(!this->Symbols->empty() && "Can not fail to resolve an empty set"); in FailedToMaterialize()
90 for (auto &[JD, Syms] : *this->Symbols) in FailedToMaterialize()
95 for (auto &[JD, Syms] : *Symbols) in ~FailedToMaterialize()
104 OS << "Failed to materialize symbols: " << *Symbols; in log()
127 SymbolNameSet Symbols) in SymbolsNotFound() argument
129 for (auto &Sym : Symbols) in SymbolsNotFound()
130 this->Symbols.push_back(Sym); in SymbolsNotFound()
131 assert(!this->Symbols.empty() && "Can not fail to resolve an empty set"); in SymbolsNotFound()
[all …]
H A DLookupAndRecordAddrs.cpp22 SymbolLookupSet Symbols; in lookupAndRecordAddrs() local
24 Symbols.add(KV.first, LookupFlags); in lookupAndRecordAddrs()
27 K, SearchOrder, std::move(Symbols), SymbolState::Ready, in lookupAndRecordAddrs()
59 SymbolLookupSet Symbols; in lookupAndRecordAddrs() local
61 Symbols.add(KV.first, LookupFlags); in lookupAndRecordAddrs()
63 ExecutorProcessControl::LookupRequest LR(H, Symbols); in lookupAndRecordAddrs()
H A DOrcV2CBindings.cpp153 static SymbolNameSet toSymbolNameSet(LLVMOrcCSymbolsList Symbols) { in toSymbolNameSet() argument
155 Result.reserve(Symbols.Length); in toSymbolNameSet()
156 for (size_t I = 0; I != Symbols.Length; ++I) in toSymbolNameSet()
157 Result.insert(unwrap(Symbols.Symbols[I]).moveToSymbolStringPtr()); in toSymbolNameSet()
179 auto Sym = Pairs[I].Names.Symbols[J]; in toSymbolDependenceMap()
340 LLVMOrcCLookupSet Symbols, size_t SymbolsSize, in LLVMOrcExecutionSessionLookup() argument
344 assert(Symbols && "Symbols cannot be null"); in LLVMOrcExecutionSessionLookup()
354 SLS.add(unwrap(Symbols[I].Name).moveToSymbolStringPtr(), in LLVMOrcExecutionSessionLookup()
355 toSymbolLookupFlags(Symbols[I].LookupFlags)); in LLVMOrcExecutionSessionLookup()
485 auto Symbols = unwrap(MR)->getSymbols(); in LLVMOrcMaterializationResponsibilityGetSymbols() local
[all …]
H A DDebugUtils.cpp149 raw_ostream &operator<<(raw_ostream &OS, const SymbolNameSet &Symbols) { in operator <<() argument
150 return OS << printSequence(Symbols, '{', '}', PrintAll<SymbolStringPtr>()); in operator <<()
153 raw_ostream &operator<<(raw_ostream &OS, const SymbolNameVector &Symbols) { in operator <<() argument
154 return OS << printSequence(Symbols, '[', ']', PrintAll<SymbolStringPtr>()); in operator <<()
157 raw_ostream &operator<<(raw_ostream &OS, ArrayRef<SymbolStringPtr> Symbols) { in operator <<() argument
158 return OS << printSequence(Symbols, '[', ']', PrintAll<SymbolStringPtr>()); in operator <<()
196 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap &Symbols) { in operator <<() argument
197 return OS << printSequence(Symbols, '{', '}', in operator <<()
H A DEPCDynamicLibrarySearchGenerator.cpp32 JITDylibLookupFlags JDLookupFlags, const SymbolLookupSet &Symbols) { in tryToGenerate() argument
34 if (Symbols.empty()) in tryToGenerate()
39 << Symbols << "\n"; in tryToGenerate()
44 for (auto &KV : Symbols) { in tryToGenerate()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DIFSStub.cpp21 Symbols = Stub.Symbols; in IFSStub()
29 Symbols = std::move(Stub.Symbols); in IFSStub()
37 Symbols = Stub.Symbols; in IFSStubTriple()
45 Symbols = Stub.Symbols; in IFSStubTriple()
53 Symbols = std::move(Stub.Symbols); in IFSStubTriple()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DSymbolSet.h88 SymbolsMapType Symbols;
96 size_t size() const { return Symbols.size(); }
139 return {Symbols.begin(), Symbols.end()};
148 make_range<const_symbol_iterator>({Symbols.begin()}, {Symbols.end()}),
158 make_range<const_symbol_iterator>({Symbols.begin()}, {Symbols.end()}),
168 make_range<const_symbol_iterator>({Symbols.begin()}, {Symbols.end()}),
174 bool operator!=(const SymbolSet &O) const { return !(Symbols == O.Symbols); }
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumSymbols.cpp22 std::vector<SymIndexId> Symbols) in NativeEnumSymbols() argument
23 : Symbols(std::move(Symbols)), Index(0), Session(PDBSession) {} in NativeEnumSymbols()
26 return static_cast<uint32_t>(Symbols.size()); in getChildCount()
31 if (N < Symbols.size()) { in getChildAtIndex()
32 return Session.getSymbolCache().getSymbolById(Symbols[N]); in getChildAtIndex()
/freebsd/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp128 StringRef Symbols[2]; in dumpCXXData() member
132 StringRef Symbols[1]; in dumpCXXData() member
136 StringRef Symbols[2]; in dumpCXXData() member
140 StringRef Symbols[1]; in dumpCXXData() member
156 StringRef Symbols[2]; in dumpCXXData() member
239 StringRef *I = std::begin(COL.Symbols), *E = std::end(COL.Symbols); in dumpCXXData()
248 StringRef *I = std::begin(CHD.Symbols), *E = std::end(CHD.Symbols); in dumpCXXData()
264 StringRef *I = std::begin(BCD.Symbols), * in dumpCXXData()
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DIRSymtab.h149 Range<Symbol> Symbols; member
241 ArrayRef<storage::Symbol> Symbols; variable
262 Symbols = range(header().Symbols); in Reader()
355 return {SymbolRef(Symbols.begin(), Symbols.end(), Uncommons.begin(), this), in symbols()
356 SymbolRef(Symbols.end(), Symbols.end(), nullptr, this)}; in symbols()
361 const storage::Symbol *MBegin = Symbols.begin() + M.Begin, in module_symbols()
362 *MEnd = Symbols.begin() + M.End; in module_symbols()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObject.cpp22 Symbols.emplace_back(S); in addSymbols()
28 SymbolMap = DenseMap<size_t, Symbol *>(Symbols.size()); in updateSymbols()
29 for (Symbol &Sym : Symbols) in updateSymbols()
40 llvm::erase_if(Symbols, [ToRemove, &Errs](const Symbol &Sym) { in removeSymbols()
54 for (Symbol &Sym : Symbols) in markSymbols()
105 Symbols, [&RemovedSections, &AssociatedSections](const Symbol &Sym) { in removeSections()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugSymbolsSubsection.h21 : DebugSubsectionRef(DebugSubsectionKind::Symbols) {} in DebugSymbolsSubsectionRef()
24 return S->kind() == DebugSubsectionKind::Symbols; in classof()
38 DebugSymbolsSubsection() : DebugSubsection(DebugSubsectionKind::Symbols) {} in DebugSymbolsSubsection()
40 return S->kind() == DebugSubsectionKind::Symbols; in classof()
H A DCVSymbolVisitor.h31 Error visitSymbolStream(const CVSymbolArray &Symbols);
32 Error visitSymbolStream(const CVSymbolArray &Symbols, uint32_t InitialOffset);
33 Error visitSymbolStreamFiltered(const CVSymbolArray &Symbols,
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DSortJavaScriptImports.cpp91 SmallVector<JsImportedSymbol, 1> Symbols; member
311 !Reference->DefaultImport.empty() || Reference->Symbols.empty() || in mergeModuleReferences()
318 PreviousReference->Symbols.append(Reference->Symbols); in mergeModuleReferences()
334 SmallVector<JsImportedSymbol, 1> Symbols = Reference.Symbols; in appendReference() local
335 stable_sort(Symbols, in appendReference()
339 if (!Reference.SymbolsMerged && Symbols == Reference.Symbols) { in appendReference()
348 if (!Symbols.empty()) { in appendReference()
349 Buffer += getSourceText(Symbols.front().Range); in appendReference()
350 for (const JsImportedSymbol &Symbol : drop_begin(Symbols)) { in appendReference()
426 for (const JsImportedSymbol &Symbol : Reference.Symbols) in parseModuleReferences()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStandardLibrary.cpp58 ArrayRef<const char *> Symbols; in countSymbols() local
66 Symbols = CSymbols; in countSymbols()
75 Symbols = CXXSymbols; in countSymbols()
80 return llvm::DenseSet<StringRef>(Symbols.begin(), Symbols.end()).size(); in countSymbols()
297 NSSymbolMap *Symbols = namespaceSymbols(DC, L); in operator ()() local
298 if (!Symbols) in operator ()()
317 auto It = Symbols->find(Name); in operator ()()
318 if (It == Symbols->end()) in operator ()()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolizableObjectFile.cpp58 std::vector<std::pair<SymbolRef, uint64_t>> Symbols = in create() local
60 for (auto &P : Symbols) in create()
67 if (Symbols.empty()) { in create()
73 std::vector<SymbolDesc> &SS = res->Symbols; in create()
137 Symbols.push_back({SymbolStart, SymbolSize, Export.Name, 0}); in addCoffExportSymbols()
218 Symbols.push_back({SymbolAddress, SymbolSize, SymbolName, ELFSymIdx}); in addSymbol()
238 auto SymbolIterator = llvm::upper_bound(Symbols, SD); in getNameFromSymbolTable()
239 if (SymbolIterator == Symbols.begin()) in getNameFromSymbolTable()
357 for (const SymbolDesc &Sym : Symbols) { in findSymbol()

123456789