Home
last modified time | relevance | path

Searched refs:OnAllocated (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.cpp103 OnAllocatedFunction OnAllocated) { in allocate() argument
108 return OnAllocated(Pages.takeError()); in allocate()
112 [this, BL = std::move(BL), OnAllocated = std::move(OnAllocated)]( in allocate()
116 return OnAllocated(std::move(SerializationErr)); in allocate()
119 return OnAllocated(AllocAddr.takeError()); in allocate()
121 completeAllocation(*AllocAddr, std::move(BL), std::move(OnAllocated)); in allocate()
145 ExecutorAddr AllocAddr, BasicLayout BL, OnAllocatedFunction OnAllocated) { in completeAllocation() argument
167 return OnAllocated(std::move(Err)); in completeAllocation()
169 OnAllocated(std::make_unique<InFlightAlloc>(*this, BL.getGraph(), AllocAddr, in completeAllocation()
H A DMapperJITLinkMemoryManager.cpp62 OnAllocatedFunction OnAllocated) { in allocate() argument
68 OnAllocated(SegsSizes.takeError()); in allocate()
74 OnAllocated(make_error<JITLinkError>( in allocate()
82 [this, &G, BL = std::move(BL), OnAllocated = std::move(OnAllocated)]( in allocate()
85 return OnAllocated(Result.takeError()); in allocate()
114 OnAllocated(std::move(Err)); in allocate()
118 OnAllocated(std::make_unique<InFlightAlloc>(*this, G, Result->Start, in allocate()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp311 OnAllocatedFunction OnAllocated) { in allocate() argument
315 OnAllocated(make_error<StringError>("Page size is not a power of 2", in allocate()
326 OnAllocated(SegsSizes.takeError()); in allocate()
333 OnAllocated(make_error<JITLinkError>( in allocate()
360 OnAllocated(errorCodeToError(EC)); in allocate()
408 OnAllocated(std::move(Err)); in allocate()
412 OnAllocated(std::make_unique<IPInFlightAlloc>(*this, G, std::move(BL), in allocate()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.h43 OnAllocatedFunction OnAllocated) override;
58 OnAllocatedFunction OnAllocated);
H A DMapperJITLinkMemoryManager.h38 OnAllocatedFunction OnAllocated) override;
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h160 OnAllocatedFunction OnAllocated) = 0;
365 OnAllocatedFunction OnAllocated) override;
/llvm-project-15.0.7/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp471 OnAllocatedFunction OnAllocated) override { in allocate() argument
539 OnAllocated(SegsSizes.takeError()); in allocate()
548 OnAllocated(make_error<StringError>( in allocate()
610 OnAllocated(std::move(Err)); in allocate()
614 OnAllocated(std::unique_ptr<InProcessMemoryManager::InFlightAlloc>( in allocate()