Home
last modified time | relevance | path

Searched refs:JITEvaluatedSymbol (Results 1 – 22 of 22) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.h61 JITEvaluatedSymbol FooSym =
62 JITEvaluatedSymbol(FooAddr, JITSymbolFlags::Exported);
63 JITEvaluatedSymbol BarSym =
64 JITEvaluatedSymbol(BarAddr, JITSymbolFlags::Exported);
65 JITEvaluatedSymbol BazSym =
66 JITEvaluatedSymbol(BazAddr, JITSymbolFlags::Exported);
67 JITEvaluatedSymbol QuxSym =
68 JITEvaluatedSymbol(QuxAddr, JITSymbolFlags::Exported);
DCompileOnDemandLayerTest.cpp39 JITEvaluatedSymbol findStub(StringRef Name, bool ExportedStubsOnly) override { in findStub()
43 JITEvaluatedSymbol findPointer(StringRef Name) override { in findPointer()
DLegacyAPIInteropTest.cpp75 JITEvaluatedSymbol FooSym(0xdeadbeef, JITSymbolFlags::Exported); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DLLJIT.h44 Error defineAbsolute(StringRef Name, JITEvaluatedSymbol Address);
56 Expected<JITEvaluatedSymbol> lookupLinkerMangled(VSO &V, StringRef Name);
60 Expected<JITEvaluatedSymbol> lookupLinkerMangled(StringRef Name) { in lookupLinkerMangled()
65 Expected<JITEvaluatedSymbol> lookup(VSO &V, StringRef UnmangledName) { in lookup()
70 Expected<JITEvaluatedSymbol> lookup(StringRef UnmangledName) { in lookup()
DIndirectionUtils.h191 virtual JITEvaluatedSymbol findStub(StringRef Name, bool ExportedStubsOnly) = 0;
194 virtual JITEvaluatedSymbol findPointer(StringRef Name) = 0;
229 JITEvaluatedSymbol findStub(StringRef Name, bool ExportedStubsOnly) override { in findStub()
238 auto StubSymbol = JITEvaluatedSymbol(StubTargetAddr, I->second.second); in findStub()
244 JITEvaluatedSymbol findPointer(StringRef Name) override { in findPointer()
253 return JITEvaluatedSymbol(PtrTargetAddr, I->second.second); in findPointer()
DExecutionUtils.h230 JITEvaluatedSymbol searchOverrides(const std::string &Name) { in searchOverrides()
233 return JITEvaluatedSymbol(I->second, JITSymbolFlags::Exported); in searchOverrides()
DOrcRemoteTargetClient.h360 JITEvaluatedSymbol findStub(StringRef Name, bool ExportedStubsOnly) override { in findStub()
366 auto StubSymbol = JITEvaluatedSymbol(getStubAddr(Key), Flags); in findStub()
372 JITEvaluatedSymbol findPointer(StringRef Name) override { in findPointer()
378 return JITEvaluatedSymbol(getPtrAddr(Key), Flags); in findPointer()
DCore.h51 using SymbolMap = std::map<SymbolStringPtr, JITEvaluatedSymbol>;
496 void resolve(const SymbolStringPtr &Name, JITEvaluatedSymbol Sym);
762 Expected<JITEvaluatedSymbol> lookup(const VSOList &VSOs, SymbolStringPtr Name);
DRTDyldObjectLinkingLayer.h129 StringMap<JITEvaluatedSymbol> SymbolTable;
254 std::make_pair(*SymbolName, JITEvaluatedSymbol(0, Flags))); in buildInitialSymbolTable()
DLegacy.h145 Query.resolve(S, JITEvaluatedSymbol(*Addr, Sym.getFlags())); in lookupWithLegacyFn()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h157 class JITEvaluatedSymbol {
159 JITEvaluatedSymbol() = default;
162 JITEvaluatedSymbol(std::nullptr_t) {} in JITEvaluatedSymbol() function
165 JITEvaluatedSymbol(JITTargetAddress Address, JITSymbolFlags Flags) in JITEvaluatedSymbol() function
205 JITSymbol(JITEvaluatedSymbol Sym) in JITSymbol()
295 using LookupResult = std::map<StringRef, JITEvaluatedSymbol>;
DRuntimeDyld.h190 JITEvaluatedSymbol getSymbol(StringRef Name) const;
197 std::map<StringRef, JITEvaluatedSymbol> getSymbolTable() const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h502 JITEvaluatedSymbol getSymbol(StringRef Name) const { in getSymbol()
519 return JITEvaluatedSymbol(TargetAddr, SymEntry.getFlags()); in getSymbol()
522 std::map<StringRef, JITEvaluatedSymbol> getSymbolTable() const { in getSymbolTable()
523 std::map<StringRef, JITEvaluatedSymbol> Result; in getSymbolTable()
531 JITEvaluatedSymbol(SectionAddr + KV.second.getOffset(), KV.second.getFlags()); in getSymbolTable()
DJITSymbol.cpp61 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
70 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
DRuntimeDyld.cpp996 StringMap<JITEvaluatedSymbol> ExternalSymbolMap; in resolveExternalSymbols()
1196 JITEvaluatedSymbol RuntimeDyld::getSymbol(StringRef Name) const { in getSymbol()
1202 std::map<StringRef, JITEvaluatedSymbol> RuntimeDyld::getSymbolTable() const { in getSymbolTable()
1204 return std::map<StringRef, JITEvaluatedSymbol>(); in getSymbolTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DExecutionUtils.cpp201 JITEvaluatedSymbol(toTargetAddress(&DSOHandleOverride), in enable()
204 JITEvaluatedSymbol(toTargetAddress(&CXAAtExitOverride), in enable()
232 NewSymbols[Name] = JITEvaluatedSymbol( in operator ()()
DLLJIT.cpp25 Error LLJIT::defineAbsolute(StringRef Name, JITEvaluatedSymbol Sym) { in defineAbsolute()
41 Expected<JITEvaluatedSymbol> LLJIT::lookupLinkerMangled(VSO &V, in lookupLinkerMangled()
DCore.cpp48 raw_ostream &operator<<(raw_ostream &OS, const JITEvaluatedSymbol &Sym) { in operator <<()
512 JITEvaluatedSymbol Sym) { in resolve()
835 ResolutionMap[KV.first] = JITEvaluatedSymbol( in materialize()
901 std::make_pair(KV.first, JITEvaluatedSymbol(0, NewFlags))); in defineMaterializing()
958 SymI->second = JITEvaluatedSymbol(SymI->second.getAddress(), in replace()
1058 I->second = JITEvaluatedSymbol(Sym.getAddress(), ResolvedFlags); in resolve()
1547 std::make_pair(KV.first, JITEvaluatedSymbol(0, NewFlags))); in defineImpl()
1666 Expected<JITEvaluatedSymbol> lookup(const VSOList &VSOs, SymbolStringPtr Name) { in lookup()
DOrcMCJITReplacement.h177 Query->resolve(S, JITEvaluatedSymbol(*Addr, Sym.getFlags())); in lookup()
190 Query->resolve(S, JITEvaluatedSymbol(*Addr, Sym2.getFlags())); in lookup()
DIndirectionUtils.cpp37 Result[Name] = JITEvaluatedSymbol(Compile(), JITSymbolFlags::Exported); in materialize()
DOrcCBindingsStack.h156 Query->resolve(S, JITEvaluatedSymbol(*Addr, Sym.getFlags())); in lookup()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dsimple_orc_jit.cc159 llvm::JITEvaluatedSymbol symbol_info(reinterpret_cast<uint64_t>(func_addr), in ResolveRuntimeSymbol()