Home
last modified time | relevance | path

Searched refs:AddrOrErr (Results 1 – 19 of 19) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp60 if (auto AddrOrErr = Sym.getAddress()) in lookup() local
61 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
63 return AddrOrErr.takeError(); in lookup()
69 if (auto AddrOrErr = Sym.getAddress()) in lookup() local
70 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
72 return AddrOrErr.takeError(); in lookup()
DRuntimeDyld.cpp288 if (auto AddrOrErr = I->getAddress()) in loadObjectImpl() local
289 Addr = *AddrOrErr; in loadObjectImpl()
291 return AddrOrErr.takeError(); in loadObjectImpl()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp98 ErrorOr<uint64_t> AddrOrErr = Sym.getAddress(); in NotifyObjectEmitted() local
99 if (AddrOrErr.getError()) in NotifyObjectEmitted()
101 uint64_t Addr = *AddrOrErr; in NotifyObjectEmitted()
132 ErrorOr<uint64_t> AddrOrErr = I->getAddress(); in NotifyFreeingObject() local
133 if (AddrOrErr.getError()) in NotifyFreeingObject()
135 uint64_t Addr = *AddrOrErr; in NotifyFreeingObject()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp102 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in NotifyObjectEmitted() local
103 if (!AddrOrErr) in NotifyObjectEmitted()
105 uint64_t Addr = *AddrOrErr; in NotifyObjectEmitted()
158 Expected<uint64_t> AddrOrErr = I->getAddress(); in NotifyFreeingObject() local
159 if (!AddrOrErr) in NotifyFreeingObject()
161 uint64_t Addr = *AddrOrErr; in NotifyFreeingObject()
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp133 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in NotifyObjectEmitted() local
134 if (!AddrOrErr) { in NotifyObjectEmitted()
136 consumeError(AddrOrErr.takeError()); in NotifyObjectEmitted()
139 uint64_t Addr = *AddrOrErr; in NotifyObjectEmitted()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp136 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in NotifyObjectEmitted() local
137 if (!AddrOrErr) { in NotifyObjectEmitted()
139 consumeError(AddrOrErr.takeError()); in NotifyObjectEmitted()
142 uint64_t Addr = *AddrOrErr; in NotifyObjectEmitted()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h403 if (auto AddrOrErr = Sym.getAddress()) { in findSymbolAddress() local
404 RetAddr = *AddrOrErr; in findSymbolAddress()
407 return mapError(AddrOrErr.takeError()); in findSymbolAddress()
424 if (auto AddrOrErr = Sym.getAddress()) { in findSymbolAddressIn() local
425 RetAddr = *AddrOrErr; in findSymbolAddressIn()
428 return mapError(AddrOrErr.takeError()); in findSymbolAddressIn()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetClient.h125 if (auto AddrOrErr = Client.reserveMem(Id, CodeSize, CodeAlign)) in reserveAllocationSpace() local
126 Unmapped.back().RemoteCodeAddr = *AddrOrErr; in reserveAllocationSpace()
129 assert(!AddrOrErr.takeError() && "Failed reserving remote memory."); in reserveAllocationSpace()
139 if (auto AddrOrErr = Client.reserveMem(Id, RODataSize, RODataAlign)) in reserveAllocationSpace() local
140 Unmapped.back().RemoteRODataAddr = *AddrOrErr; in reserveAllocationSpace()
143 assert(!AddrOrErr.takeError() && "Failed reserving remote memory."); in reserveAllocationSpace()
153 if (auto AddrOrErr = Client.reserveMem(Id, RWDataSize, RWDataAlign)) in reserveAllocationSpace() local
154 Unmapped.back().RemoteRWDataAddr = *AddrOrErr; in reserveAllocationSpace()
157 assert(!AddrOrErr.takeError() && "Failed reserving remote memory."); in reserveAllocationSpace()
DOrcRemoteTargetServer.h176 auto AddrOrErr = T->requestCompile(static_cast<TargetAddress>( in reenter() local
179 assert(AddrOrErr && "Compile request failed"); in reenter()
180 return *AddrOrErr; in reenter()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DKaleidoscopeJIT.h131 if (auto AddrOrErr = Remote.getSymbolAddress(Name)) in addModule()
132 return RuntimeDyld::SymbolInfo(*AddrOrErr, in addModule()
135 logAllUnhandledErrors(AddrOrErr.takeError(), errs(), in addModule()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DExecutionUtils.h151 if (auto AddrOrErr = CtorDtorSym.getAddress()) { in runViaLayer() local
153 reinterpret_cast<CtorDtorTy>(static_cast<uintptr_t>(*AddrOrErr)); in runViaLayer()
156 return AddrOrErr.takeError(); in runViaLayer()
DRemoteObjectLayer.h261 auto AddrOrErr = SI->second.getAddress(); in handleMaterializeRemoteSymbol() local
264 if (AddrOrErr) in handleMaterializeRemoteSymbol()
265 return *AddrOrErr; in handleMaterializeRemoteSymbol()
267 return teeLog(AddrOrErr.takeError()); in handleMaterializeRemoteSymbol()
DOrcRemoteTargetServer.h151 auto AddrOrErr = T->requestCompile(static_cast<JITTargetAddress>( in reenter() local
154 assert(AddrOrErr && "Compile request failed"); in reenter()
155 return *AddrOrErr; in reenter()
DOrcRemoteTargetClient.h630 if (auto AddrOrErr = callB<mem::ReserveMem>(Id, Size, Align)) in reserveMem() local
631 return *AddrOrErr; in reserveMem()
633 ES.reportError(AddrOrErr.takeError()); in reserveMem()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp263 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in NotifyObjectEmitted() local
264 if (!AddrOrErr) { in NotifyObjectEmitted()
265 consumeError(AddrOrErr.takeError()); in NotifyObjectEmitted()
268 uint64_t Addr = *AddrOrErr; in NotifyObjectEmitted()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp325 if (auto AddrOrErr = Sym.getAddress()) in getSymbolAddress() local
326 return *AddrOrErr; in getSymbolAddress()
328 report_fatal_error(AddrOrErr.takeError()); in getSymbolAddress()
613 if (auto AddrOrErr = Sym.getAddress()) in getPointerToNamedFunction() local
615 static_cast<uintptr_t>(*AddrOrErr)); in getPointerToNamedFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp358 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in printLineInfoForInput() local
359 if (!AddrOrErr) { in printLineInfoForInput()
361 consumeError(AddrOrErr.takeError()); in printLineInfoForInput()
364 uint64_t Addr = *AddrOrErr; in printLineInfoForInput()
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp352 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in printLineInfoForInput() local
353 if (!AddrOrErr) { in printLineInfoForInput()
355 consumeError(AddrOrErr.takeError()); in printLineInfoForInput()
358 uint64_t Addr = *AddrOrErr; in printLineInfoForInput()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp236 if (auto AddrOrErr = I->getAddress()) in loadObjectImpl() local
237 Addr = *AddrOrErr; in loadObjectImpl()
239 return AddrOrErr.takeError(); in loadObjectImpl()