Helper template for registering a target instruction info implementation.
Declared in <llvm/MC/TargetRegistry.h>
template<class MCInstrInfoImpl>
struct RegisterMCInstrInfo;
This invokes the static "Create" method on the class to actually do the construction. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrInfo<FooMCInstrInfo> X(TheFooTarget); }
| Name | Description |
|---|---|
RegisterMCInstrInfo [constructor] | Register MCInstrInfoImpl as the MCInstrInfo for target T. |