Go to the documentation of this file.
13 #ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_ALLOCATIONACTIONS_H
14 #define LLVM_EXECUTIONENGINE_ORC_SHARED_ALLOCATIONACTIONS_H
101 #endif // LLVM_EXECUTIONENGINE_ORC_SHARED_ALLOCATIONACTIONS_H
This is an optimization pass for GlobalISel generic memory operations.
Specialize to describe how to serialize/deserialize to/from the given concrete type.
This currently compiles esp xmm0 movsd esp eax eax esp ret We should use not the dag combiner This is because dagcombine2 needs to be able to see through the X86ISD::Wrapper which DAGCombine can t really do The code for turning x load into a single vector load is target independent and should be moved to the dag combiner The code for turning x load into a vector load can only handle a direct load from a global or a direct load from the stack It should be generalized to handle any load from P
Output char buffer with overflow check.
static size_t size(const AllocActionCallPair &AAP)
size_t numDeallocActions(const AllocActions &AAs)
Returns the number of deallocaton actions in the given AllocActions array.
WrapperFunctionCall Dealloc
Tagged union holding either a T or a Error.
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...
static bool deserialize(SPSInputBuffer &IB, AllocActionCallPair &AAP)
SPSTuple< SPSWrapperFunctionCall, SPSWrapperFunctionCall > SPSAllocActionCallPair
Expected< std::vector< WrapperFunctionCall > > runFinalizeActions(AllocActions &AAs)
Run finalize actions.
WrapperFunctionCall Finalize
Error runDeallocActions(ArrayRef< WrapperFunctionCall > DAs)
Run deallocation actions.
Represents a serialized wrapper function call.
A pair of WrapperFunctionCalls, one to be run at finalization time, one to be run at deallocation tim...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
std::vector< AllocActionCallPair > AllocActions
A vector of allocation actions to be run for this allocation.
SPSArgList< SPSTagTs... > AsArgList
Convenience typedef of the corresponding arg list.
Lightweight error class with error context and mandatory checking.
static bool serialize(SPSOutputBuffer &OB, const AllocActionCallPair &AAP)
A utility class for serializing to a blob from a variadic list.