LLVM 19.0.0git
Classes | Namespaces | Typedefs | Functions
AllocationActions.h File Reference
#include "llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h"
#include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h"
#include "llvm/Support/Memory.h"
#include <vector>

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::SPSAllocActionCallPair = SPSTuple< SPSWrapperFunctionCall, SPSWrapperFunctionCall >
 

Functions

size_t llvm::orc::shared::numDeallocActions (const AllocActions &AAs)
 Returns the number of deallocaton actions in the given AllocActions array.
 
Expected< std::vector< WrapperFunctionCall > > llvm::orc::shared::runFinalizeActions (AllocActions &AAs)
 Run finalize actions.
 
Error llvm::orc::shared::runDeallocActions (ArrayRef< WrapperFunctionCall > DAs)
 Run deallocation actions.