Go to the documentation of this file.
16 #ifndef LLVM_PASSREGISTRY_H
17 #define LLVM_PASSREGISTRY_H
30 struct PassRegistrationListener;
48 std::vector<std::unique_ptr<const PassInfo>> ToFree;
49 std::vector<PassRegistrationListener *> Listeners;
76 PassInfo &Registeree,
bool isDefault,
77 bool ShouldFree =
false);
97 #endif // LLVM_PASSREGISTRY_H
This is an optimization pass for GlobalISel generic memory operations.
struct LLVMOpaquePassRegistry * LLVMPassRegistryRef
void enumerateWith(PassRegistrationListener *L)
enumerateWith - Enumerate the registered passes, calling the provided PassRegistrationListener's pass...
PassInfo class - An instance of this class exists for every pass known by the system,...
#define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref)
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
void removeRegistrationListener(PassRegistrationListener *L)
removeRegistrationListener - Unregister a PassRegistrationListener so that it no longer receives pass...
PassRegistrationListener class - This class is meant to be derived from by clients that are intereste...
StringRef - Represent a constant reference to a string, i.e.
void addRegistrationListener(PassRegistrationListener *L)
addRegistrationListener - Register the given PassRegistrationListener to receive passRegistered() cal...
const PassInfo * getPassInfo(const void *TI) const
getPassInfo - Look up a pass' corresponding PassInfo, indexed by the pass' type identifier (&MyPass::...
void registerAnalysisGroup(const void *InterfaceID, const void *PassID, PassInfo &Registeree, bool isDefault, bool ShouldFree=false)
registerAnalysisGroup - Register an analysis group (or a pass implementing
void registerPass(const PassInfo &PI, bool ShouldFree=false)
registerPass - Register a pass (by means of its PassInfo) with the registry.