Home
last modified time | relevance | path

Searched refs:SymbolName (Results 1 – 25 of 131) sorted by relevance

123456

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcError.cpp83 DuplicateDefinition::DuplicateDefinition(std::string SymbolName) in DuplicateDefinition() argument
84 : SymbolName(std::move(SymbolName)) {} in DuplicateDefinition()
91 OS << "Duplicate definition of symbol '" << SymbolName << "'"; in log()
95 return SymbolName; in getSymbolName()
98 JITSymbolNotFound::JITSymbolNotFound(std::string SymbolName) in JITSymbolNotFound() argument
99 : SymbolName(std::move(SymbolName)) {} in JITSymbolNotFound()
108 OS << "Could not find symbol '" << SymbolName << "'"; in log()
112 return SymbolName; in getSymbolName()
DOrcCBindings.cpp36 const char *SymbolName) { in LLVMOrcGetMangledSymbol() argument
38 std::string Mangled = J.mangle(SymbolName); in LLVMOrcGetMangledSymbol()
110 const char *SymbolName) { in LLVMOrcGetSymbolAddress() argument
112 return J.findSymbolAddress(*RetAddr, SymbolName, true); in LLVMOrcGetSymbolAddress()
118 const char *SymbolName) { in LLVMOrcGetSymbolAddressIn() argument
120 return J.findSymbolAddressIn(*RetAddr, H, SymbolName, true); in LLVMOrcGetSymbolAddressIn()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDynamicLibrary.cpp139 void *SearchForAddressOfSpecialSymbol(const char *SymbolName) { in SearchForAddressOfSpecialSymbol() argument
140 return DoSearch(SymbolName); // DynamicLibrary.inc in SearchForAddressOfSpecialSymbol()
144 void DynamicLibrary::AddSymbol(StringRef SymbolName, void *SymbolValue) { in AddSymbol() argument
146 (*ExplicitSymbols)[SymbolName] = SymbolValue; in AddSymbol()
174 void *DynamicLibrary::getAddressOfSymbol(const char *SymbolName) { in getAddressOfSymbol() argument
177 return HandleSet::DLSym(Data, SymbolName); in getAddressOfSymbol()
180 void *DynamicLibrary::SearchForAddressOfSymbol(const char *SymbolName) { in SearchForAddressOfSymbol() argument
186 StringMap<void *>::iterator i = ExplicitSymbols->find(SymbolName); in SearchForAddressOfSymbol()
194 if (void *Ptr = OpenedHandles->Lookup(SymbolName, SearchOrder)) in SearchForAddressOfSymbol()
199 return llvm::SearchForAddressOfSpecialSymbol(SymbolName); in SearchForAddressOfSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp566 Rel.SymbolName = nullptr; in findPPC64TOCSection()
972 if (Value.SymbolName) in processSimpleRelocation()
973 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
1014 if (Value.SymbolName) { in resolveAArch64ShortBranch()
1015 auto Loc = GlobalSymbolTable.find(Value.SymbolName); in resolveAArch64ShortBranch()
1079 if (Value.SymbolName) { in resolveAArch64Branch()
1080 addRelocationForSymbol(REmovz_g3, Value.SymbolName); in resolveAArch64Branch()
1081 addRelocationForSymbol(REmovk_g2, Value.SymbolName); in resolveAArch64Branch()
1082 addRelocationForSymbol(REmovk_g1, Value.SymbolName); in resolveAArch64Branch()
1083 addRelocationForSymbol(REmovk_g0, Value.SymbolName); in resolveAArch64Branch()
[all …]
DRuntimeDyldImpl.h197 const char *SymbolName; variable
200 SymbolName(nullptr) {} in RelocationValueRef()
204 Addend == Other.Addend && SymbolName == Other.SymbolName &&
216 return SymbolName < Other.SymbolName;
413 void addRelocationForSymbol(const RelocationEntry &RE, StringRef SymbolName);
DRuntimeDyldChecker.cpp830 StringRef FileName, StringRef SectionName, StringRef SymbolName, in getStubAddrFor() argument
844 auto StubOffsetItr = SymbolStubs.find(SymbolName); in getStubAddrFor()
847 ("Stub for symbol '" + SymbolName + "' not found. " in getStubAddrFor()
848 "If '" + SymbolName + "' is an internal symbol this " in getStubAddrFor()
909 std::string SymbolName = ""; in registerStubMap() local
911 if (StubMapEntry.first.SymbolName) in registerStubMap()
912 SymbolName = StubMapEntry.first.SymbolName; in registerStubMap()
921 SymbolName = GSTEntry.first(); in registerStubMap()
927 if (SymbolName != "") in registerStubMap()
928 Stubs[FileName][SectionName].StubOffsets[SymbolName] = in registerStubMap()
/external/boringssl/src/util/fipstools/delocate/
Ddelocate.peg30 GlobalDirective <- (".global" / ".globl") WS SymbolName
43 … (Offset / LocalSymbol / SymbolName / Dot) WS? Operator WS? (Offset / LocalSymbol / SymbolName) /
45 SymbolName Offset /
46 SymbolName TCMarker?
53 Label <- (LocalSymbol / LocalLabel / SymbolName) ':'
54 SymbolName <- [[A-Z._]][[A-Z.0-9$_]]*
76 SymbolRef <- (Offset* '+')? (LocalSymbol / SymbolName) Offset* ('@' Section Offset*)?
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp443 StringRef demanglePE32ExternCFunc(StringRef SymbolName) { in demanglePE32ExternCFunc() argument
445 char Front = SymbolName.empty() ? '\0' : SymbolName[0]; in demanglePE32ExternCFunc()
447 SymbolName = SymbolName.drop_front(); in demanglePE32ExternCFunc()
451 size_t AtPos = SymbolName.rfind('@'); in demanglePE32ExternCFunc()
453 std::all_of(SymbolName.begin() + AtPos + 1, SymbolName.end(), in demanglePE32ExternCFunc()
455 SymbolName = SymbolName.substr(0, AtPos); in demanglePE32ExternCFunc()
460 if (SymbolName.endswith("@")) in demanglePE32ExternCFunc()
461 SymbolName = SymbolName.drop_back(); in demanglePE32ExternCFunc()
463 return SymbolName; in demanglePE32ExternCFunc()
DSymbolizableObjectFile.cpp165 StringRef SymbolName = *SymbolNameOrErr; in addSymbol() local
167 if (Module->isMachO() && !SymbolName.empty() && SymbolName[0] == '_') in addSymbol()
168 SymbolName = SymbolName.drop_front(); in addSymbol()
173 M.insert(std::make_pair(SD, SymbolName)); in addSymbol()
/external/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp433 StringRef demanglePE32ExternCFunc(StringRef SymbolName) { in demanglePE32ExternCFunc() argument
435 char Front = SymbolName.empty() ? '\0' : SymbolName[0]; in demanglePE32ExternCFunc()
437 SymbolName = SymbolName.drop_front(); in demanglePE32ExternCFunc()
441 size_t AtPos = SymbolName.rfind('@'); in demanglePE32ExternCFunc()
443 std::all_of(SymbolName.begin() + AtPos + 1, SymbolName.end(), in demanglePE32ExternCFunc()
445 SymbolName = SymbolName.substr(0, AtPos); in demanglePE32ExternCFunc()
450 if (SymbolName.endswith("@")) in demanglePE32ExternCFunc()
451 SymbolName = SymbolName.drop_back(); in demanglePE32ExternCFunc()
453 return SymbolName; in demanglePE32ExternCFunc()
DSymbolizableObjectFile.cpp148 StringRef SymbolName = *SymbolNameOrErr; in addSymbol() local
150 if (Module->isMachO() && SymbolName.size() > 0 && SymbolName[0] == '_') in addSymbol()
151 SymbolName = SymbolName.drop_front(); in addSymbol()
156 M.insert(std::make_pair(SD, SymbolName)); in addSymbol()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcError.h48 DuplicateDefinition(std::string SymbolName);
53 std::string SymbolName;
60 JITSymbolNotFound(std::string SymbolName);
65 std::string SymbolName;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp792 Rel.SymbolName = nullptr; in findPPC64TOCSection()
1161 if (Value.SymbolName) in processSimpleRelocation()
1162 addRelocationForSymbol(RE, Value.SymbolName); in processSimpleRelocation()
1262 Value.SymbolName = TargetName.data(); in processRelocationRef()
1269 if (!Value.SymbolName) in processRelocationRef()
1270 Value.SymbolName = ""; in processRelocationRef()
1316 if (Value.SymbolName) { in processRelocationRef()
1317 addRelocationForSymbol(REmovz_g3, Value.SymbolName); in processRelocationRef()
1318 addRelocationForSymbol(REmovk_g2, Value.SymbolName); in processRelocationRef()
1319 addRelocationForSymbol(REmovk_g1, Value.SymbolName); in processRelocationRef()
[all …]
DRuntimeDyldImpl.h182 const char *SymbolName; variable
184 SymbolName(nullptr) {} in RelocationValueRef()
188 Addend == Other.Addend && SymbolName == Other.SymbolName;
197 return SymbolName < Other.SymbolName;
376 void addRelocationForSymbol(const RelocationEntry &RE, StringRef SymbolName);
DRuntimeDyldChecker.cpp813 StringRef FileName, StringRef SectionName, StringRef SymbolName, in getStubAddrFor() argument
827 auto StubOffsetItr = SymbolStubs.find(SymbolName); in getStubAddrFor()
830 ("Stub for symbol '" + SymbolName + "' not found. " in getStubAddrFor()
831 "If '" + SymbolName + "' is an internal symbol this " in getStubAddrFor()
883 std::string SymbolName = ""; in registerStubMap() local
885 if (StubMapEntry.first.SymbolName) in registerStubMap()
886 SymbolName = StubMapEntry.first.SymbolName; in registerStubMap()
895 SymbolName = GSTEntry.first(); in registerStubMap()
901 if (SymbolName != "") in registerStubMap()
902 Stubs[FileName][SectionName].StubOffsets[SymbolName] = in registerStubMap()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindings.cpp36 const char *SymbolName) { in LLVMOrcGetMangledSymbol() argument
38 std::string Mangled = J.mangle(SymbolName); in LLVMOrcGetMangledSymbol()
91 const char *SymbolName) { in LLVMOrcGetSymbolAddress() argument
93 auto Sym = J.findSymbol(SymbolName, true); in LLVMOrcGetSymbolAddress()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.h34 virtual void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) = 0;
54 void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override;
90 void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override;
DAMDGPUTargetStreamer.cpp224 void AMDGPUTargetAsmStreamer::EmitAMDGPUSymbolType(StringRef SymbolName, in EmitAMDGPUSymbolType() argument
229 OS << "\t.amdgpu_hsa_kernel " << SymbolName << '\n' ; in EmitAMDGPUSymbolType()
319 void AMDGPUTargetELFStreamer::EmitAMDGPUSymbolType(StringRef SymbolName, in EmitAMDGPUSymbolType() argument
322 getStreamer().getContext().getOrCreateSymbol(SymbolName)); in EmitAMDGPUSymbolType()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dhsa-metadata-from-llvm-ir-full.ll27 ; CHECK-NEXT: SymbolName: 'test_char@kd'
64 ; CHECK-NEXT: SymbolName: 'test_ushort2@kd'
99 ; CHECK-NEXT: SymbolName: 'test_int3@kd'
134 ; CHECK-NEXT: SymbolName: 'test_ulong4@kd'
169 ; CHECK-NEXT: SymbolName: 'test_half8@kd'
204 ; CHECK-NEXT: SymbolName: 'test_float16@kd'
239 ; CHECK-NEXT: SymbolName: 'test_double16@kd'
274 ; CHECK-NEXT: SymbolName: 'test_pointer@kd'
310 ; CHECK-NEXT: SymbolName: 'test_image@kd'
346 ; CHECK-NEXT: SymbolName: 'test_sampler@kd'
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUTargetStreamer.h55 virtual void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) = 0;
92 void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override;
132 void EmitAMDGPUSymbolType(StringRef SymbolName, unsigned Type) override;
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AMDGPU/
Dhsa.s44 SymbolName: amd_kernel_code_t_test_all@kd label
46 SymbolName: amd_kernel_code_t_minimal@kd label
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOX86_64.h78 if (Value.SymbolName) in processRelocationRef()
79 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
146 if (Value.SymbolName) in processGOTRelocation()
147 addRelocationForSymbol(GOTRE, Value.SymbolName); in processGOTRelocation()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOX86_64.h78 if (Value.SymbolName) in processRelocationRef()
79 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
146 if (Value.SymbolName) in processGOTRelocation()
147 addRelocationForSymbol(GOTRE, Value.SymbolName); in processGOTRelocation()
DRuntimeDyldMachOARM.h106 if (Value.SymbolName) in processRelocationRef()
107 addRelocationForSymbol(RE, Value.SymbolName); in processRelocationRef()
205 if (Value.SymbolName) in processBranchRelocation()
206 addRelocationForSymbol(StubRE, Value.SymbolName); in processBranchRelocation()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DObjectLinkingLayer.h160 Expected<StringRef> SymbolName = Symbol.getName(); in buildInitialSymbolTable() local
162 if (!SymbolName) { in buildInitialSymbolTable()
163 consumeError(SymbolName.takeError()); in buildInitialSymbolTable()
168 std::make_pair(*SymbolName, RuntimeDyld::SymbolInfo(0, Flags))); in buildInitialSymbolTable()

123456