Home
last modified time | relevance | path

Searched refs:TargetAddress (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h30 DirectBufferWriter(const char *Src, TargetAddress Dst, uint64_t Size) in DirectBufferWriter()
34 TargetAddress getDst() const { return Dst; } in getDst()
39 TargetAddress Dst;
52 TargetAddress Dst; in deserialize()
123 typedef Function<CallIntVoidId, int32_t(TargetAddress Addr)> CallIntVoid;
126 int32_t(TargetAddress Addr, std::vector<std::string> Args)>
129 typedef Function<CallVoidVoidId, void(TargetAddress FnAddr)> CallVoidVoid;
140 void(TargetAddress Addr, uint32_t Size)>
153 std::tuple<TargetAddress, TargetAddress, uint32_t>(
161 typedef Function<EmitTrampolineBlockId, std::tuple<TargetAddress, uint32_t>()>
[all …]
DIndirectionUtils.h32 typedef std::function<TargetAddress()> CompileFtor;
39 CompileCallbackInfo(TargetAddress Addr, CompileFtor &Compile) in CompileCallbackInfo()
42 TargetAddress getAddress() const { return Addr; } in getAddress()
48 TargetAddress Addr;
55 JITCompileCallbackManager(TargetAddress ErrorHandlerAddress) in JITCompileCallbackManager()
62 TargetAddress executeCompileCallback(TargetAddress TrampolineAddr) { in executeCompileCallback()
89 TargetAddress TrampolineAddr = getAvailableTrampolineAddr(); in getCompileCallback()
95 CompileCallbackInfo getCompileCallbackInfo(TargetAddress TrampolineAddr) { in getCompileCallbackInfo()
106 void releaseCompileCallback(TargetAddress TrampolineAddr) { in releaseCompileCallback()
114 TargetAddress ErrorHandlerAddress;
[all …]
DOrcRemoteTargetServer.h35 typedef std::function<TargetAddress(const std::string &Name)>
121 Expected<TargetAddress> requestCompile(TargetAddress TrampolineAddr) { in requestCompile()
174 static TargetAddress reenter(void *JITTargetAddr, void *TrampolineAddr) { in reenter()
176 auto AddrOrErr = T->requestCompile(static_cast<TargetAddress>( in reenter()
183 Expected<int32_t> handleCallIntVoid(TargetAddress Addr) { in handleCallIntVoid()
195 Expected<int32_t> handleCallMain(TargetAddress Addr, in handleCallMain()
214 Error handleCallVoidVoid(TargetAddress Addr) { in handleCallVoidVoid()
244 Error handleDeregisterEHFrames(TargetAddress TAddr, uint32_t Size) { in handleDeregisterEHFrames()
269 Expected<std::tuple<TargetAddress, TargetAddress, uint32_t>>
284 TargetAddress StubsBase = in handleEmitIndirectStubs()
[all …]
DOrcRemoteTargetClient.h188 TargetAddress NextCodeAddr = ObjAllocs.RemoteCodeAddr; in notifyObjectLoaded()
200 TargetAddress NextRODataAddr = ObjAllocs.RemoteRODataAddr; in notifyObjectLoaded()
213 TargetAddress NextRWDataAddr = ObjAllocs.RemoteRWDataAddr; in notifyObjectLoaded()
392 void setRemoteAddress(TargetAddress RemoteAddr) { in setRemoteAddress()
396 TargetAddress getRemoteAddress() const { return RemoteAddr; } in getRemoteAddress()
402 TargetAddress RemoteAddr = 0;
426 TargetAddress RemoteCodeAddr = 0;
427 TargetAddress RemoteRODataAddr = 0;
428 TargetAddress RemoteRWDataAddr = 0;
453 Error createStub(StringRef StubName, TargetAddress StubAddr, in createStub()
[all …]
DJITSymbol.h27 typedef uint64_t TargetAddress; typedef
33 typedef std::function<TargetAddress()> GetAddressFtor;
41 JITSymbol(TargetAddress Addr, JITSymbolFlags Flags) in JITSymbol()
65 TargetAddress getAddress() { in getAddress()
81 TargetAddress CachedAddr;
DOrcABISupport.h40 typedef TargetAddress (*JITReentryFn)(void *CallbackMgr, void *TrampolineId);
118 typedef TargetAddress (*JITReentryFn)(void *CallbackMgr, void *TrampolineId);
173 typedef TargetAddress(*JITReentryFn)(void *CallbackMgr, void *TrampolineId);
187 typedef TargetAddress(*JITReentryFn)(void *CallbackMgr, void *TrampolineId);
206 typedef TargetAddress (*JITReentryFn)(void *CallbackMgr, void *TrampolineId);
DExecutionUtils.h161 TargetAddress toTargetAddress(PtrTy* P) { in toTargetAddress()
162 return static_cast<TargetAddress>(reinterpret_cast<uintptr_t>(P)); in toTargetAddress()
165 void addOverride(const std::string &Name, TargetAddress Addr) { in addOverride()
169 StringMap<TargetAddress> CXXRuntimeOverrides;
DGlobalMappingLayer.h55 void setGlobalMapping(const std::string &Name, TargetAddress Addr) { in setGlobalMapping()
102 std::map<std::string, TargetAddress> SymbolTable;
DObjectLinkingLayer.h49 TargetAddress TargetAddr) const = 0;
147 TargetAddress TargetAddr) const override { in mapSectionAddress()
325 TargetAddress TargetAddr) { in mapSectionAddress()
DObjectTransformLayer.h86 TargetAddress TargetAddr) { in mapSectionAddress()
DCompileOnDemandLayer.h386 TargetAddress extractAndCompile(CODLogicalDylib &LD, in extractAndCompile()
402 TargetAddress CalledAddr = 0; in extractAndCompile()
408 TargetAddress FnBodyAddr = FnBodySym.getAddress(); in extractAndCompile()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/
DRuntimeDyldChecker.h81 MemoryRegionInfo(StringRef Content, JITTargetAddress TargetAddress) in MemoryRegionInfo() argument
83 TargetAddress(TargetAddress) {} in MemoryRegionInfo()
86 MemoryRegionInfo(uint64_t Size, JITTargetAddress TargetAddress) in MemoryRegionInfo() argument
87 : Size(Size), TargetAddress(TargetAddress) {} in MemoryRegionInfo()
121 void setTargetAddress(JITTargetAddress TargetAddress) { in setTargetAddress() argument
122 assert(!this->TargetAddress && "TargetAddress already set"); in setTargetAddress()
123 this->TargetAddress = TargetAddress; in setTargetAddress()
127 JITTargetAddress getTargetAddress() const { return TargetAddress; } in getTargetAddress()
132 JITTargetAddress TargetAddress = 0; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/
DRuntimeDyldChecker.h81 MemoryRegionInfo(StringRef Content, JITTargetAddress TargetAddress) in MemoryRegionInfo() argument
83 TargetAddress(TargetAddress) {} in MemoryRegionInfo()
86 MemoryRegionInfo(uint64_t Size, JITTargetAddress TargetAddress) in MemoryRegionInfo() argument
87 : Size(Size), TargetAddress(TargetAddress) {} in MemoryRegionInfo()
121 void setTargetAddress(JITTargetAddress TargetAddress) { in setTargetAddress() argument
122 assert(!this->TargetAddress && "TargetAddress already set"); in setTargetAddress()
123 this->TargetAddress = TargetAddress; in setTargetAddress()
127 JITTargetAddress getTargetAddress() const { return TargetAddress; } in getTargetAddress()
132 JITTargetAddress TargetAddress = 0; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachO_x86_64.cpp272 JITTargetAddress TargetAddress = *(const ulittle64_t *)FixupContent; in addRelocations() local
273 if (auto TargetSymbolOrErr = findSymbolByAddress(TargetAddress)) in addRelocations()
277 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
291 JITTargetAddress TargetAddress = in addRelocations() local
293 if (auto TargetSymbolOrErr = findSymbolByAddress(TargetAddress)) in addRelocations()
297 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
305 JITTargetAddress TargetAddress = in addRelocations() local
307 if (auto TargetSymbolOrErr = findSymbolByAddress(TargetAddress)) in addRelocations()
311 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
/external/llvm/unittests/ExecutionEngine/Orc/
DGlobalMappingLayerTest.cpp40 EXPECT_EQ(BarSym.getAddress(), static_cast<TargetAddress>(0x4567)) in TEST()
46 EXPECT_EQ(FooSym2.getAddress(), static_cast<TargetAddress>(0x0123)) in TEST()
DCompileOnDemandLayerTest.cpp29 Error createStub(StringRef StubName, TargetAddress InitAddr, in createStub()
46 Error updatePointer(StringRef Name, TargetAddress NewAddr) override { in updatePointer()
DObjectTransformLayerTest.cpp149 TargetAddress TargetAddr) { in mapSectionAddress()
156 TargetAddress TargetAddr) { in expectMapSectionAddress()
177 TargetAddress MockTargetAddress;
265 TargetAddress MockAddress = 255; in TEST()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h112 static PtrTy fromTargetAddress(orc::TargetAddress Addr) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
116 orc::TargetAddress in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
120 CCInfo.setCompileAction([=]() -> orc::TargetAddress { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
127 orc::TargetAddress Addr) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
133 orc::TargetAddress Addr) { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
DIndirectionUtils.cpp27 TargetAddress ErrorHandlerAddress) { in createLocalCompileCallbackManager()
74 Constant* createIRTypedAddress(FunctionType &FT, TargetAddress Addr) { in createIRTypedAddress()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DMachO_x86_64.cpp284 JITTargetAddress TargetAddress = *(const ulittle64_t *)FixupContent; in addRelocations() local
285 if (auto TargetSymbolOrErr = findSymbolByAddress(TargetAddress)) in addRelocations()
289 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
303 JITTargetAddress TargetAddress = in addRelocations() local
305 if (auto TargetSymbolOrErr = findSymbolByAddress(TargetAddress)) in addRelocations()
309 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
317 JITTargetAddress TargetAddress = in addRelocations() local
319 if (auto TargetSymbolOrErr = findSymbolByAddress(TargetAddress)) in addRelocations()
323 Addend = TargetAddress - TargetSymbol->getAddress(); in addRelocations()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h203 TargetAddress SymAddr = Sym.getAddress(); in addFunctionAST()
218 Error executeRemoteExpr(TargetAddress ExprAddr) { in executeRemoteExpr()
/external/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h280 uint64_t TargetAddress) override { in mapSectionAddress() argument
281 Dyld.mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h282 uint64_t TargetAddress) override { in mapSectionAddress() argument
283 Dyld.mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h281 uint64_t TargetAddress) override { in mapSectionAddress() argument
282 Dyld.mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp104 static PtrTy fromTargetAddress(orc::TargetAddress Addr) { in fromTargetAddress()

123