llvm::RegisterMCInstrAnalysisFn

Helper template for registering a target instruction analyzer implementation.

Synopsis

Declared in <llvm/MC/TargetRegistry.h>

struct RegisterMCInstrAnalysisFn;

Description

This invokes the specified function to do the construction. Usage:

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrAnalysisFn X(TheFooTarget, TheFunction); }

Member Functions

NameDescription
RegisterMCInstrAnalysisFn [constructor]Register constructor Fn as the MCInstrAnalysis for target T.