llvm::RegisterMCInstrInfo

Helper template for registering a target instruction info implementation.

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

template<class MCInstrInfoImpl>
struct RegisterMCInstrInfo;

Description

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

Member Functions

NameDescription
RegisterMCInstrInfo [constructor]Register MCInstrInfoImpl as the MCInstrInfo for target T.