LLVM 22.0.0git
|
RegisterMCRegInfo - Helper template for registering a target register info implementation. More...
#include "llvm/MC/TargetRegistry.h"
Public Member Functions | |
RegisterMCRegInfo (Target &T) |
RegisterMCRegInfo - Helper template for registering a target register info implementation.
This invokes the static "Create" method on the class to actually do the construction. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCRegInfo<FooMCRegInfo> X(TheFooTarget); }
Definition at line 1241 of file TargetRegistry.h.
|
inline |
Definition at line 1242 of file TargetRegistry.h.
References llvm::TargetRegistry::RegisterMCRegInfo(), and T.