llvm::RegisterMCRegInfo

Helper template for registering a target register info implementation.

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

template<class MCRegisterInfoImpl>
struct RegisterMCRegInfo;

Description

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); }

Member Functions

NameDescription
RegisterMCRegInfo [constructor]Register MCRegisterInfoImpl as the MCRegisterInfo for target T.