Go to the documentation of this file.
14 #ifndef LLVM_CODEGEN_REGALLOCREGISTRY_H
15 #define LLVM_CODEGEN_REGALLOCREGISTRY_H
29 template <
class SubClass>
49 return static_cast<SubClass *
>(
Registry.getList());
69 MachinePassRegistry<RegisterRegAlloc::FunctionPassCtor>
74 #endif // LLVM_CODEGEN_REGALLOCREGISTRY_H
static void setDefault(FunctionPassCtor C)
This is an optimization pass for GlobalISel generic memory operations.
RegisterRegAllocBase(const char *N, const char *D, FunctionPassCtor C)
(vector float) vec_cmpeq(*A, *B) C
MachinePassRegistryNode - Machine pass node stored in registration list.
static void setListener(MachinePassRegistryListener< FunctionPassCtor > *L)
static MachinePassRegistry< FunctionPassCtor > Registry
RegisterRegAlloc's global Registry tracks allocator registration.
RegisterRegAlloc(const char *N, const char *D, FunctionPassCtor C)
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
FunctionPass *(*)() FunctionPassCtor
static FunctionPassCtor getDefault()
static SubClass * getList()
SubClass * getNext() const
RegisterRegAllocBase class - Track the registration of register allocators.
A global registry used in conjunction with static constructors to make pluggable components (like tar...
A static registration template.
MachinePassRegistryNode * getNext() const
FunctionPass class - This class is used to implement most global optimizations.