Home
last modified time | relevance | path

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

12

/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-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp76 if (auto AddrOrErr = Sym.getAddress()) in lookup() local
77 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
79 OnResolved(AddrOrErr.takeError()); in lookup()
88 if (auto AddrOrErr = Sym.getAddress()) in lookup() local
89 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
91 OnResolved(AddrOrErr.takeError()); in lookup()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DObjectFileTransformer.cpp89 Expected<uint64_t> AddrOrErr = Sym.getValue(); in convert() local
90 if (!AddrOrErr) in convert()
92 return AddrOrErr.takeError(); in convert()
95 !Gsym.IsValidTextAddress(*AddrOrErr) || in convert()
96 Gsym.hasFunctionInfoForAddress(*AddrOrErr)) in convert()
111 FunctionInfo(*AddrOrErr, size, Gsym.insertString(*Name, NoCopy))); in convert()
/external/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp101 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in notifyObjectLoaded() local
102 if (!AddrOrErr) in notifyObjectLoaded()
104 uint64_t Addr = *AddrOrErr; in notifyObjectLoaded()
157 Expected<uint64_t> AddrOrErr = I->getAddress(); in notifyFreeingObject() local
158 if (!AddrOrErr) in notifyFreeingObject()
160 uint64_t Addr = *AddrOrErr; in notifyFreeingObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp101 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in notifyObjectLoaded() local
102 if (!AddrOrErr) in notifyObjectLoaded()
104 uint64_t Addr = *AddrOrErr; in notifyObjectLoaded()
157 Expected<uint64_t> AddrOrErr = I->getAddress(); in notifyFreeingObject() local
158 if (!AddrOrErr) in notifyFreeingObject()
160 uint64_t Addr = *AddrOrErr; in notifyFreeingObject()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp114 if (auto AddrOrErr = Sym.getAddress()) in lookup() local
115 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
117 OnResolved(AddrOrErr.takeError()); in lookup()
126 if (auto AddrOrErr = Sym.getAddress()) in lookup() local
127 Result[Symbol] = JITEvaluatedSymbol(*AddrOrErr, Sym.getFlags()); in lookup()
129 OnResolved(AddrOrErr.takeError()); in lookup()
/external/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp264 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in notifyObjectLoaded() local
265 if (!AddrOrErr) { in notifyObjectLoaded()
266 consumeError(AddrOrErr.takeError()); in notifyObjectLoaded()
271 Address.Address = *AddrOrErr; in notifyObjectLoaded()
281 {*AddrOrErr, SectionIndex}, Size, FileLineInfoKind::AbsoluteFilePath); in notifyObjectLoaded()
283 NotifyDebug(*AddrOrErr, Lines); in notifyObjectLoaded()
284 NotifyCode(Name, *AddrOrErr, Size); in notifyObjectLoaded()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/PerfJITEvents/
DPerfJITEventListener.cpp264 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in notifyObjectLoaded() local
265 if (!AddrOrErr) { in notifyObjectLoaded()
266 consumeError(AddrOrErr.takeError()); in notifyObjectLoaded()
271 Address.Address = *AddrOrErr; in notifyObjectLoaded()
281 {*AddrOrErr, SectionIndex}, Size, FileLineInfoKind::AbsoluteFilePath); in notifyObjectLoaded()
283 NotifyDebug(*AddrOrErr, Lines); in notifyObjectLoaded()
284 NotifyCode(Name, *AddrOrErr, Size); in notifyObjectLoaded()
/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-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp135 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in notifyObjectLoaded() local
136 if (!AddrOrErr) { in notifyObjectLoaded()
138 consumeError(AddrOrErr.takeError()); in notifyObjectLoaded()
141 uint64_t Addr = *AddrOrErr; in notifyObjectLoaded()
/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-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h396 if (auto AddrOrErr = Sym.getAddress()) in findSymbolAddress() local
397 return *AddrOrErr; in findSymbolAddress()
399 return AddrOrErr.takeError(); in findSymbolAddress()
414 if (auto AddrOrErr = Sym.getAddress()) in findSymbolAddressIn() local
415 return *AddrOrErr; in findSymbolAddressIn()
417 return 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DExecutionUtils.h131 if (auto AddrOrErr = CtorDtorSym.getAddress()) { in runViaLayer() local
133 reinterpret_cast<CtorDtorTy>(static_cast<uintptr_t>(*AddrOrErr)); in runViaLayer()
136 return AddrOrErr.takeError(); in runViaLayer()
DRemoteObjectLayer.h256 auto AddrOrErr = SI->second.getAddress(); in handleMaterializeRemoteSymbol() local
259 if (AddrOrErr) in handleMaterializeRemoteSymbol()
260 return *AddrOrErr; in handleMaterializeRemoteSymbol()
262 return teeLog(AddrOrErr.takeError()); in handleMaterializeRemoteSymbol()
DOrcRemoteTargetServer.h150 auto AddrOrErr = T->requestCompile(static_cast<JITTargetAddress>( in reenter() local
153 assert(AddrOrErr && "Compile request failed"); in reenter()
154 return *AddrOrErr; in reenter()
DOrcRemoteTargetClient.h654 if (auto AddrOrErr = callB<mem::ReserveMem>(Id, Size, Align)) in reserveMem() local
655 return *AddrOrErr; in reserveMem()
657 ES.reportError(AddrOrErr.takeError()); in reserveMem()
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp264 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in notifyObjectLoaded() local
265 if (!AddrOrErr) { in notifyObjectLoaded()
267 consumeError(AddrOrErr.takeError()); in notifyObjectLoaded()
270 uint64_t Addr = *AddrOrErr; in notifyObjectLoaded()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp324 if (auto AddrOrErr = Sym.getAddress()) in getSymbolAddress() local
325 return *AddrOrErr; in getSymbolAddress()
327 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/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp330 if (auto AddrOrErr = Sym.getAddress()) in getSymbolAddress() local
331 return *AddrOrErr; in getSymbolAddress()
333 report_fatal_error(AddrOrErr.takeError()); in getSymbolAddress()
619 if (auto AddrOrErr = Sym.getAddress()) in getPointerToNamedFunction() local
621 static_cast<uintptr_t>(*AddrOrErr)); in getPointerToNamedFunction()
/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/
DFileAnalysis.cpp562 auto AddrOrErr = Sym.getAddress(); in parseSymbolTable() local
563 if (!AddrOrErr) in parseSymbolTable()
564 consumeError(AddrOrErr.takeError()); in parseSymbolTable()
566 TrapOnFailFunctionAddresses.insert(*AddrOrErr); in parseSymbolTable()
/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-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h152 auto AddrOrErr = T->requestCompile(static_cast<JITTargetAddress>( in reenter() local
155 assert(AddrOrErr && "Compile request failed"); in reenter()
156 return *AddrOrErr; in reenter()
/external/llvm-project/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp437 Expected<uint64_t> AddrOrErr = Sym.getAddress(); in printLineInfoForInput() local
438 if (!AddrOrErr) { in printLineInfoForInput()
440 consumeError(AddrOrErr.takeError()); in printLineInfoForInput()
443 uint64_t Addr = *AddrOrErr; in printLineInfoForInput()

12