Helper template for registering a target register info implementation.
Declared in <llvm/MC/TargetRegistry.h>
template<class MCRegisterInfoImpl>
struct RegisterMCRegInfo;
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); }
| Name | Description |
|---|---|
RegisterMCRegInfo [constructor] | Register MCRegisterInfoImpl as the MCRegisterInfo for target T. |