LLVM 22.0.0git
AllocationActions.h File Reference

Go to the source code of this file.

Classes

struct  llvm::orc::shared::AllocActionCallPair
 A pair of WrapperFunctionCalls, one to be run at finalization time, one to be run at deallocation time. More...
class  llvm::orc::shared::SPSSerializationTraits< SPSAllocActionCallPair, AllocActionCallPair >

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::orc
namespace  llvm::orc::shared

Typedefs

using llvm::orc::shared::AllocActions = std::vector<AllocActionCallPair>
 A vector of allocation actions to be run for this allocation.
using llvm::orc::shared::OnRunFinalizeActionsCompleteFn
using llvm::orc::shared::OnRunDeallocActionsComeleteFn = unique_function<void(Error)>
using llvm::orc::shared::SPSAllocActionCallPair

Functions

size_t llvm::orc::shared::numDeallocActions (const AllocActions &AAs)
 Returns the number of deallocaton actions in the given AllocActions array.
LLVM_ABI void llvm::orc::shared::runFinalizeActions (AllocActions &AAs, OnRunFinalizeActionsCompleteFn OnComplete)
 Run finalize actions.
LLVM_ABI void llvm::orc::shared::runDeallocActions (ArrayRef< WrapperFunctionCall > DAs, OnRunDeallocActionsComeleteFn OnComplete)
 Run deallocation actions.