/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | IndirectionUtils.h | 53 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 …]
|
D | OrcRemoteTargetRPCAPI.h | 62 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 …]
|
D | OrcRemoteTargetClient.h | 234 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 …]
|
D | OrcRemoteTargetServer.h | 52 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 …]
|
D | OrcABISupport.h | 43 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,
|
D | ExecutionUtils.h | 208 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;
|
D | GlobalMappingLayer.h | 59 void setGlobalMapping(const std::string &Name, JITTargetAddress Addr) { in setGlobalMapping() 106 std::map<std::string, JITTargetAddress> SymbolTable;
|
D | RTDyldObjectLinkingLayer.h | 66 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()
|
D | CompileOnDemandLayer.h | 335 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()
|
D | RemoteObjectLayer.h | 102 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()
|
D | ObjectTransformLayer.h | 96 JITTargetAddress TargetAddr) { in mapSectionAddress()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/ |
D | JITSymbol.h | 40 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/ |
D | OrcTestCommon.cpp | 18 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;
|
D | OrcTestCommon.h | 57 static const JITTargetAddress FooAddr = 1U; 58 static const JITTargetAddress BarAddr = 2U; 59 static const JITTargetAddress BazAddr = 3U; 60 static const JITTargetAddress QuxAddr = 4U;
|
D | GlobalMappingLayerTest.cpp | 47 static_cast<JITTargetAddress>(0x4567)) in TEST() 54 static_cast<JITTargetAddress>(0x0123)) in TEST()
|
D | CompileOnDemandLayerTest.cpp | 30 Error createStub(StringRef StubName, JITTargetAddress InitAddr, in createStub() 47 Error updatePointer(StringRef Name, JITTargetAddress NewAddr) override { in updatePointer()
|
D | ObjectTransformLayerTest.cpp | 136 llvm::JITTargetAddress TargetAddr) { in mapSectionAddress() 143 llvm::JITTargetAddress TargetAddr) { in expectMapSectionAddress() 162 llvm::JITTargetAddress MockTargetAddress; 239 llvm::JITTargetAddress MockAddress = 255; in TEST()
|
D | LegacyAPIInteropTest.cpp | 113 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/ |
D | OrcCBindingsStack.h | 266 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()
|
D | IndirectionUtils.cpp | 58 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()
|
D | CompileOnDemandLayer.cpp | 246 std::map<SymbolStringPtr, std::pair<JITTargetAddress, JITSymbolFlags>> in emit() 272 [BodyName, &TargetVSO, &ES]() -> JITTargetAddress { in emit()
|
D | RTDyldObjectLinkingLayer.cpp | 167 VModuleKey K, const void *LocalAddress, JITTargetAddress TargetAddr) const { in mapSectionAddress()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | KaleidoscopeJIT.h | 175 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/ |
D | KaleidoscopeJIT.h | 89 JITTargetAddress getSymbolAddress(const std::string Name) { in getSymbolAddress()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | KaleidoscopeJIT.h | 162 JITTargetAddress SymAddr = cantFail(Sym.getAddress()); in addFunctionAST()
|