Home
last modified time | relevance | path

Searched refs:JITTargetAddress (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DIndirectionUtils.h53 using CompileFunction = std::function<JITTargetAddress()>;
59 JITTargetAddress ErrorHandlerAddress) in JITCompileCallbackManager()
66 Expected<JITTargetAddress> getCompileCallback(CompileFunction Compile);
70 JITTargetAddress executeCompileCallback(JITTargetAddress TrampolineAddr);
73 std::vector<JITTargetAddress> AvailableTrampolines;
76 Expected<JITTargetAddress> getAvailableTrampolineAddr() { in getAvailableTrampolineAddr()
82 JITTargetAddress TrampolineAddr = this->AvailableTrampolines.back(); in getAvailableTrampolineAddr()
95 JITTargetAddress ErrorHandlerAddress;
96 std::map<JITTargetAddress, SymbolStringPtr> AddrToSymbol;
108 JITTargetAddress ErrorHandlerAddress) in LocalJITCompileCallbackManager()
[all …]
DOrcRemoteTargetRPCAPI.h62 DirectBufferWriter(const char *Src, JITTargetAddress Dst, uint64_t Size) in DirectBufferWriter()
66 JITTargetAddress getDst() const { return Dst; } in getDst()
71 JITTargetAddress Dst;
125 JITTargetAddress Dst; in deserialize()
175 void(JITTargetAddress Addr, uint32_t Size)> {
183 void(JITTargetAddress Addr, uint32_t Size)> {
196 : public rpc::Function<CallIntVoid, int32_t(JITTargetAddress Addr)> {
204 : public rpc::Function<CallMain, int32_t(JITTargetAddress Addr,
213 : public rpc::Function<CallVoidVoid, void(JITTargetAddress FnAddr)> {
241 : public rpc::Function<ReadMem, std::vector<uint8_t>(JITTargetAddress Src,
[all …]
DOrcRemoteTargetClient.h234 void setRemoteAddress(JITTargetAddress RemoteAddr) { in setRemoteAddress()
238 JITTargetAddress getRemoteAddress() const { return RemoteAddr; } in getRemoteAddress()
244 JITTargetAddress RemoteAddr = 0;
254 JITTargetAddress RemoteCodeAddr = 0;
255 JITTargetAddress RemoteRODataAddr = 0;
256 JITTargetAddress RemoteRWDataAddr = 0;
268 JITTargetAddress NextAddr) { in mapAllocsToRemoteAddrs()
287 JITTargetAddress RemoteSegmentAddr, in copyAndProtect()
322 JITTargetAddress Addr;
340 Error createStub(StringRef StubName, JITTargetAddress StubAddr, in createStub()
[all …]
DOrcRemoteTargetServer.h52 std::function<JITTargetAddress(const std::string &Name)>;
101 Expected<JITTargetAddress> requestCompile(JITTargetAddress TrampolineAddr) { in requestCompile()
149 static JITTargetAddress reenter(void *JITTargetAddr, void *TrampolineAddr) { in reenter()
151 auto AddrOrErr = T->requestCompile(static_cast<JITTargetAddress>( in reenter()
158 Expected<int32_t> handleCallIntVoid(JITTargetAddress Addr) { in handleCallIntVoid()
171 Expected<int32_t> handleCallMain(JITTargetAddress Addr, in handleCallMain()
194 Error handleCallVoidVoid(JITTargetAddress Addr) { in handleCallVoidVoid()
227 Error handleDeregisterEHFrames(JITTargetAddress TAddr, uint32_t Size) { in handleDeregisterEHFrames()
255 Expected<std::tuple<JITTargetAddress, JITTargetAddress, uint32_t>>
271 JITTargetAddress StubsBase = static_cast<JITTargetAddress>( in handleEmitIndirectStubs()
[all …]
DOrcABISupport.h43 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr,
124 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr,
181 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr,
197 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr,
217 using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr,
DExecutionUtils.h208 template <typename PtrTy> JITTargetAddress toTargetAddress(PtrTy *P) { in toTargetAddress()
209 return static_cast<JITTargetAddress>(reinterpret_cast<uintptr_t>(P)); in toTargetAddress()
238 void addOverride(const std::string &Name, JITTargetAddress Addr) { in addOverride()
242 StringMap<JITTargetAddress> CXXRuntimeOverrides;
DGlobalMappingLayer.h59 void setGlobalMapping(const std::string &Name, JITTargetAddress Addr) { in setGlobalMapping()
106 std::map<std::string, JITTargetAddress> SymbolTable;
DRTDyldObjectLinkingLayer.h66 JITTargetAddress TargetAddr) const;
114 JITTargetAddress TargetAddr) const = 0;
224 return [this, Name]() -> Expected<JITTargetAddress> { in getSymbolMaterializer()
235 JITTargetAddress TargetAddr) const override { in mapSectionAddress()
389 JITTargetAddress TargetAddr) { in mapSectionAddress()
DCompileOnDemandLayer.h335 Error updatePointer(std::string FuncName, JITTargetAddress FnBodyAddr) { in updatePointer()
393 auto CompileAction = [this, &LD, LMId, &F]() -> JITTargetAddress { in addLogicalModule()
458 JITTargetAddress StubAddr = in addLogicalModule()
553 Expected<JITTargetAddress>
566 JITTargetAddress CalledAddr = 0; in extractAndCompile()
574 JITTargetAddress FnBodyAddr = *FnBodyAddrOrErr; in extractAndCompile()
DRemoteObjectLayer.h102 Expected<JITTargetAddress>(RemoteSymbolId)> {
159 Expected<JITTargetAddress> materialize() { in materialize()
242 Expected<JITTargetAddress> materializeRemoteSymbol(RemoteSymbolId Id) { in materializeRemoteSymbol()
258 Expected<JITTargetAddress> handleMaterializeRemoteSymbol(RemoteSymbolId Id) { in handleMaterializeRemoteSymbol()
DObjectTransformLayer.h96 JITTargetAddress TargetAddr) { in mapSectionAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DJITSymbol.h40 using JITTargetAddress = uint64_t; variable
165 JITEvaluatedSymbol(JITTargetAddress Address, JITSymbolFlags Flags) in JITEvaluatedSymbol()
172 JITTargetAddress getAddress() const { return Address; } in getAddress()
181 JITTargetAddress Address = 0;
188 using GetAddressFtor = std::function<Expected<JITTargetAddress>()>;
201 JITSymbol(JITTargetAddress Addr, JITSymbolFlags Flags) in JITSymbol()
245 CachedAddr.~JITTargetAddress(); in ~JITSymbol()
262 Expected<JITTargetAddress> getAddress() { in getAddress()
280 JITTargetAddress CachedAddr;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DOrcTestCommon.cpp18 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::FooAddr;
19 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::BarAddr;
20 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::BazAddr;
21 const JITTargetAddress llvm::orc::CoreAPIsBasedStandardTest::QuxAddr;
DOrcTestCommon.h57 static const JITTargetAddress FooAddr = 1U;
58 static const JITTargetAddress BarAddr = 2U;
59 static const JITTargetAddress BazAddr = 3U;
60 static const JITTargetAddress QuxAddr = 4U;
DGlobalMappingLayerTest.cpp47 static_cast<JITTargetAddress>(0x4567)) in TEST()
54 static_cast<JITTargetAddress>(0x0123)) in TEST()
DCompileOnDemandLayerTest.cpp30 Error createStub(StringRef StubName, JITTargetAddress InitAddr, in createStub()
47 Error updatePointer(StringRef Name, JITTargetAddress NewAddr) override { in updatePointer()
DObjectTransformLayerTest.cpp136 llvm::JITTargetAddress TargetAddr) { in mapSectionAddress()
143 llvm::JITTargetAddress TargetAddr) { in expectMapSectionAddress()
162 llvm::JITTargetAddress MockTargetAddress;
239 llvm::JITTargetAddress MockAddress = 255; in TEST()
DLegacyAPIInteropTest.cpp113 constexpr JITTargetAddress FooAddr = 0xdeadbeef; in TEST()
117 constexpr JITTargetAddress BarAddr = 0xcafef00d; in TEST()
126 auto BarMaterializer = [&]() -> Expected<JITTargetAddress> { in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h266 static PtrTy fromTargetAddress(JITTargetAddress Addr) { in fromTargetAddress()
272 createLazyCompileCallback(JITTargetAddress &RetAddr, in createLazyCompileCallback()
275 auto WrappedCallback = [=]() -> JITTargetAddress { in createLazyCompileCallback()
287 JITTargetAddress Addr) { in createIndirectStub()
293 JITTargetAddress Addr) { in setIndirectStubPointer()
397 LLVMOrcErrorCode findSymbolAddress(JITTargetAddress &RetAddr, in findSymbolAddress()
417 LLVMOrcErrorCode findSymbolAddressIn(JITTargetAddress &RetAddr, in findSymbolAddressIn()
DIndirectionUtils.cpp58 Expected<JITTargetAddress>
74 JITTargetAddress JITCompileCallbackManager::executeCompileCallback( in executeCompileCallback()
75 JITTargetAddress TrampolineAddr) { in executeCompileCallback()
112 JITTargetAddress ErrorHandlerAddress) { in createLocalCompileCallbackManager()
176 Constant* createIRTypedAddress(FunctionType &FT, JITTargetAddress Addr) { in createIRTypedAddress()
DCompileOnDemandLayer.cpp246 std::map<SymbolStringPtr, std::pair<JITTargetAddress, JITSymbolFlags>> in emit()
272 [BodyName, &TargetVSO, &ES]() -> JITTargetAddress { in emit()
DRTDyldObjectLinkingLayer.cpp167 VModuleKey K, const void *LocalAddress, JITTargetAddress TargetAddr) const { in mapSectionAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h175 JITTargetAddress SymAddr = cantFail(Sym.getAddress()); in addFunctionAST()
205 Error executeRemoteExpr(JITTargetAddress ExprAddr) { in executeRemoteExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h89 JITTargetAddress getSymbolAddress(const std::string Name) { in getSymbolAddress()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h162 JITTargetAddress SymAddr = cantFail(Sym.getAddress()); in addFunctionAST()

12