Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.cpp102 OnAllocatedFunction OnAllocated) { in allocate() argument
107 return OnAllocated(Pages.takeError()); in allocate()
111 [this, BL = std::move(BL), OnAllocated = std::move(OnAllocated)]( in allocate()
115 return OnAllocated(std::move(SerializationErr)); in allocate()
118 return OnAllocated(AllocAddr.takeError()); in allocate()
120 completeAllocation(*AllocAddr, std::move(BL), std::move(OnAllocated)); in allocate()
144 ExecutorAddr AllocAddr, BasicLayout BL, OnAllocatedFunction OnAllocated) { in completeAllocation() argument
166 return OnAllocated(std::move(Err)); in completeAllocation()
168 OnAllocated(std::make_unique<InFlightAlloc>(*this, BL.getGraph(), AllocAddr, in completeAllocation()
H A DMapperJITLinkMemoryManager.cpp63 OnAllocatedFunction OnAllocated) { in allocate() argument
69 OnAllocated(SegsSizes.takeError()); in allocate()
76 OnAllocated = std::move(OnAllocated)]( in allocate()
80 return OnAllocated(Result.takeError()); in allocate()
117 OnAllocated(std::move(Err)); in allocate()
121 OnAllocated(std::make_unique<InFlightAlloc>(*this, G, Result->Start, in allocate()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp336 OnAllocatedFunction OnAllocated) { in allocate() argument
340 OnAllocated(make_error<StringError>("Page size is not a power of 2", in allocate()
351 OnAllocated(SegsSizes.takeError()); in allocate()
358 OnAllocated(make_error<JITLinkError>( in allocate()
385 OnAllocated(errorCodeToError(EC)); in allocate()
433 OnAllocated(std::move(Err)); in allocate()
437 OnAllocated(std::make_unique<IPInFlightAlloc>(*this, G, std::move(BL), in allocate()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DEPCGenericJITLinkMemoryManager.h43 OnAllocatedFunction OnAllocated) override;
58 OnAllocatedFunction OnAllocated);
H A DMapperJITLinkMemoryManager.h40 OnAllocatedFunction OnAllocated) override;
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h155 /// If the initial allocation is successful then the OnAllocated function will
157 /// is unsuccessful then the OnAllocated function will be called with an
160 OnAllocatedFunction OnAllocated) = 0;
369 OnAllocatedFunction OnAllocated) override;