llvm::RegisterMCInstrAnalysis

RegisterMCInstrAnalysis - Helper template for registering a target instruction analyzer implementation. This invokes the static "Create" method on the class to actually do the construction. Usage:

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

template<class MCInstrAnalysisImpl>
struct RegisterMCInstrAnalysis;

Description

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrAnalysis<FooMCInstrAnalysis> X(TheFooTarget); }

Member Functions

NameDescription
RegisterMCInstrAnalysis [constructor]Construct from Target