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:
Declared in <llvm/MC/TargetRegistry.h>
template<class MCInstrAnalysisImpl>
struct RegisterMCInstrAnalysis;
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrAnalysis<FooMCInstrAnalysis> X(TheFooTarget); }
| Name | Description |
|---|---|
RegisterMCInstrAnalysis [constructor] | Construct from Target |