13#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_ALLOCATIONACTIONS_H 
   14#define LLVM_EXECUTIONENGINE_ORC_SHARED_ALLOCATIONACTIONS_H 
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
 
Lightweight error class with error context and mandatory checking.
 
Tagged union holding either a T or a Error.
 
Output char buffer with overflow check.
 
static bool deserialize(SPSInputBuffer &IB, AllocActionCallPair &AAP)
 
static bool serialize(SPSOutputBuffer &OB, const AllocActionCallPair &AAP)
 
static size_t size(const AllocActionCallPair &AAP)
 
Specialize to describe how to serialize/deserialize to/from the given concrete type.
 
SPSArgList< SPSTagTs... > AsArgList
 
Represents a serialized wrapper function call.
 
std::vector< AllocActionCallPair > AllocActions
A vector of allocation actions to be run for this allocation.
 
size_t numDeallocActions(const AllocActions &AAs)
Returns the number of deallocaton actions in the given AllocActions array.
 
LLVM_ABI Error runDeallocActions(ArrayRef< WrapperFunctionCall > DAs)
Run deallocation actions.
 
LLVM_ABI Expected< std::vector< WrapperFunctionCall > > runFinalizeActions(AllocActions &AAs)
Run finalize actions.
 
SPSTuple< SPSWrapperFunctionCall, SPSWrapperFunctionCall > SPSAllocActionCallPair
 
This is an optimization pass for GlobalISel generic memory operations.
 
auto count_if(R &&Range, UnaryPredicate P)
Wrapper function around std::count_if to count the number of times an element satisfying a given pred...
 
A pair of WrapperFunctionCalls, one to be run at finalization time, one to be run at deallocation tim...
 
WrapperFunctionCall Dealloc
 
WrapperFunctionCall Finalize