Home
last modified time | relevance | path

Searched refs:BasicSymbolRef (Results 1 – 25 of 40) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DModuleSymbolTable.cpp66 CollectAsmSymbols(*M, [this](StringRef Name, BasicSymbolRef::Flags Flags) { in addModule()
127 function_ref<void(StringRef, BasicSymbolRef::Flags)> AsmSymbol) { in CollectAsmSymbols()
135 uint32_t Res = BasicSymbolRef::SF_Executable; in CollectAsmSymbols()
140 Res |= BasicSymbolRef::SF_Global; in CollectAsmSymbols()
146 Res |= BasicSymbolRef::SF_Undefined; in CollectAsmSymbols()
147 Res |= BasicSymbolRef::SF_Global; in CollectAsmSymbols()
150 Res |= BasicSymbolRef::SF_Weak; in CollectAsmSymbols()
151 Res |= BasicSymbolRef::SF_Global; in CollectAsmSymbols()
154 Res |= BasicSymbolRef::SF_Weak; in CollectAsmSymbols()
155 Res |= BasicSymbolRef::SF_Undefined; in CollectAsmSymbols()
[all …]
DIRSymtab.cpp208 if (Flags & object::BasicSymbolRef::SF_Undefined) in addSymbol()
210 if (Flags & object::BasicSymbolRef::SF_Weak) in addSymbol()
212 if (Flags & object::BasicSymbolRef::SF_Common) in addSymbol()
214 if (Flags & object::BasicSymbolRef::SF_Indirect) in addSymbol()
216 if (Flags & object::BasicSymbolRef::SF_Global) in addSymbol()
218 if (Flags & object::BasicSymbolRef::SF_FormatSpecific) in addSymbol()
220 if (Flags & object::BasicSymbolRef::SF_Executable) in addSymbol()
227 if (Flags & object::BasicSymbolRef::SF_Undefined) in addSymbol()
251 if (Flags & object::BasicSymbolRef::SF_Common) { in addSymbol()
271 if ((Flags & object::BasicSymbolRef::SF_Weak) && in addSymbol()
[all …]
DIRObjectFile.cpp59 return basic_symbol_iterator(BasicSymbolRef(Ret, this)); in symbol_begin()
66 return basic_symbol_iterator(BasicSymbolRef(Ret, this)); in symbol_end()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DSymbolicFile.h99 class BasicSymbolRef {
122 BasicSymbolRef() = default;
123 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner);
125 bool operator==(const BasicSymbolRef &Other) const;
126 bool operator<(const BasicSymbolRef &Other) const;
139 using basic_symbol_iterator = content_iterator<BasicSymbolRef>;
181 inline BasicSymbolRef::BasicSymbolRef(DataRefImpl SymbolP, in BasicSymbolRef() function
185 inline bool BasicSymbolRef::operator==(const BasicSymbolRef &Other) const {
189 inline bool BasicSymbolRef::operator<(const BasicSymbolRef &Other) const {
193 inline void BasicSymbolRef::moveNext() { in moveNext()
[all …]
DObjectFile.h129 class SymbolRef : public BasicSymbolRef {
144 SymbolRef(const BasicSymbolRef &B) : BasicSymbolRef(B) { in SymbolRef()
145 assert(isa<ObjectFile>(BasicSymbolRef::getObject())); in SymbolRef()
177 const BasicSymbolRef &P = basic_symbol_iterator::operator *();
182 const BasicSymbolRef &P = basic_symbol_iterator::operator *();
343 : BasicSymbolRef(SymbolP, Owner) {} in SymbolRef()
374 const SymbolicFile *O = BasicSymbolRef::getObject(); in getObject()
DCOFFImportFile.h53 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin()
59 return BasicSymbolRef(Symb, this); in symbol_end()
DModuleSymbolTable.h59 function_ref<void(StringRef, object::BasicSymbolRef::Flags)> AsmSymbol);
/external/llvm/include/llvm/Object/
DSymbolicFile.h86 class BasicSymbolRef {
108 BasicSymbolRef() : OwningObject(nullptr) { } in BasicSymbolRef() function
109 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner);
111 bool operator==(const BasicSymbolRef &Other) const;
112 bool operator<(const BasicSymbolRef &Other) const;
125 typedef content_iterator<BasicSymbolRef> basic_symbol_iterator;
173 inline BasicSymbolRef::BasicSymbolRef(DataRefImpl SymbolP, in BasicSymbolRef() function
177 inline bool BasicSymbolRef::operator==(const BasicSymbolRef &Other) const {
181 inline bool BasicSymbolRef::operator<(const BasicSymbolRef &Other) const {
185 inline void BasicSymbolRef::moveNext() { in moveNext()
[all …]
DObjectFile.h115 class SymbolRef : public BasicSymbolRef {
119 SymbolRef() : BasicSymbolRef() {} in SymbolRef()
131 SymbolRef(const BasicSymbolRef &B) : BasicSymbolRef(B) { in SymbolRef()
132 assert(isa<ObjectFile>(BasicSymbolRef::getObject())); in SymbolRef()
164 const BasicSymbolRef &P = basic_symbol_iterator::operator *();
169 const BasicSymbolRef &P = basic_symbol_iterator::operator *();
309 : BasicSymbolRef(SymbolP, Owner) {} in SymbolRef()
340 const SymbolicFile *O = BasicSymbolRef::getObject(); in getObject()
DCOFFImportFile.h51 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin_impl()
57 return BasicSymbolRef(Symb, this); in symbol_end_impl()
DModuleSummaryIndexObjectFile.h55 return basic_symbol_iterator(BasicSymbolRef()); in symbol_begin_impl()
59 return basic_symbol_iterator(BasicSymbolRef()); in symbol_end_impl()
DIRObjectFile.h70 function_ref<void(StringRef, BasicSymbolRef::Flags)> AsmUndefinedRefs);
/external/llvm/lib/Object/
DIRObjectFile.cpp42 [this](StringRef Name, BasicSymbolRef::Flags Flags) { in IRObjectFile()
51 function_ref<void(StringRef, BasicSymbolRef::Flags)> AsmUndefinedRefs) { in CollectAsmUndefinedRefs()
102 uint32_t Res = BasicSymbolRef::SF_None; in CollectAsmUndefinedRefs()
107 Res |= BasicSymbolRef::SF_Global; in CollectAsmUndefinedRefs()
113 Res |= BasicSymbolRef::SF_Undefined; in CollectAsmUndefinedRefs()
114 Res |= BasicSymbolRef::SF_Global; in CollectAsmUndefinedRefs()
117 Res |= BasicSymbolRef::SF_Weak; in CollectAsmUndefinedRefs()
118 Res |= BasicSymbolRef::SF_Global; in CollectAsmUndefinedRefs()
121 AsmUndefinedRefs(Key, BasicSymbolRef::Flags(Res)); in CollectAsmUndefinedRefs()
230 uint32_t Res = BasicSymbolRef::SF_None; in getSymbolFlags()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp32 llvm::JITSymbolFlags::fromObjectSymbol(const object::BasicSymbolRef &Symbol) { in fromObjectSymbol()
34 if (Symbol.getFlags() & object::BasicSymbolRef::SF_Weak) in fromObjectSymbol()
36 if (Symbol.getFlags() & object::BasicSymbolRef::SF_Common) in fromObjectSymbol()
38 if (Symbol.getFlags() & object::BasicSymbolRef::SF_Exported) in fromObjectSymbol()
44 const object::BasicSymbolRef &Symbol) { in fromObjectSymbol()
46 if (Symbol.getFlags() & object::BasicSymbolRef::SF_Thumb) in fromObjectSymbol()
/external/llvm/include/llvm/ExecutionEngine/
DJITSymbolFlags.h76 flagsFromObjectSymbol(const object::BasicSymbolRef &Symbol) { in flagsFromObjectSymbol()
78 if (Symbol.getFlags() & object::BasicSymbolRef::SF_Weak) in flagsFromObjectSymbol()
80 if (Symbol.getFlags() & object::BasicSymbolRef::SF_Exported) in flagsFromObjectSymbol()
/external/llvm/include/llvm/LTO/legacy/
DLTOModule.h173 void addPotentialUndefinedSymbol(const object::BasicSymbolRef &Sym,
181 void addDefinedDataSymbol(const object::BasicSymbolRef &Sym);
185 void addDefinedFunctionSymbol(const object::BasicSymbolRef &Sym);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h35 class BasicSymbolRef; variable
130 static JITSymbolFlags fromObjectSymbol(const object::BasicSymbolRef &Symbol);
151 const object::BasicSymbolRef &Symbol);
/external/llvm/lib/LTO/
DLTOModule.cpp348 void LTOModule::addDefinedDataSymbol(const object::BasicSymbolRef &Sym) { in addDefinedDataSymbol()
409 void LTOModule::addDefinedFunctionSymbol(const object::BasicSymbolRef &Sym) { in addDefinedFunctionSymbol()
548 void LTOModule::addPotentialUndefinedSymbol(const object::BasicSymbolRef &Sym, in addPotentialUndefinedSymbol()
581 if (Flags & object::BasicSymbolRef::SF_FormatSpecific) in parseSymbols()
584 bool IsUndefined = Flags & object::BasicSymbolRef::SF_Undefined; in parseSymbols()
596 else if (Flags & object::BasicSymbolRef::SF_Global) in parseSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DLayer.cpp85 if (!(Sym.getFlags() & object::BasicSymbolRef::SF_Undefined) && in BasicObjectLayerMaterializationUnit()
86 (Sym.getFlags() & object::BasicSymbolRef::SF_Exported)) { in BasicObjectLayerMaterializationUnit()
DRTDyldObjectLinkingLayer.cpp124 if (!(Sym.getFlags() & object::BasicSymbolRef::SF_Global)) { in emit()
/external/llvm/tools/llvm-readobj/
DCOFFImportDumper.cpp45 for (const object::BasicSymbolRef &Sym : File->symbols()) { in dumpCOFFImportFile()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DCOFFImportDumper.cpp51 for (const object::BasicSymbolRef &Sym : File->symbols()) { in dumpCOFFImportFile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp457 M, [&](StringRef Name, object::BasicSymbolRef::Flags Flags) { in buildModuleSummaryIndex()
459 if (Flags & (object::BasicSymbolRef::SF_Weak | in buildModuleSummaryIndex()
460 object::BasicSymbolRef::SF_Global)) in buildModuleSummaryIndex()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOModule.cpp569 if (Flags & object::BasicSymbolRef::SF_FormatSpecific) in parseSymbols()
572 bool IsUndefined = Flags & object::BasicSymbolRef::SF_Undefined; in parseSymbols()
585 else if (Flags & object::BasicSymbolRef::SF_Global) in parseSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/
Dllvm-nm.cpp261 BasicSymbolRef Sym;
1124 static unsigned getNsectInMachO(MachOObjectFile &Obj, BasicSymbolRef Sym) { in getNsectInMachO()
1162 for (BasicSymbolRef Sym : Symbols) { in dumpSymbolNamesFromObject()
1277 S.Sym = BasicSymbolRef(); in dumpSymbolNamesFromObject()
1371 U.Sym = BasicSymbolRef(); in dumpSymbolNamesFromObject()
1434 B.Sym = BasicSymbolRef(); in dumpSymbolNamesFromObject()
1495 L.Sym = BasicSymbolRef(); in dumpSymbolNamesFromObject()
1558 W.Sym = BasicSymbolRef(); in dumpSymbolNamesFromObject()
1634 F.Sym = BasicSymbolRef(); in dumpSymbolNamesFromObject()

12