Helper template for registering a target instruction analyzer implementation.
Declared in <llvm/MC/TargetRegistry.h>
struct RegisterMCInstrAnalysisFn;
This invokes the specified function to do the construction. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrAnalysisFn X(TheFooTarget, TheFunction); }
| Name | Description |
|---|---|
RegisterMCInstrAnalysisFn [constructor] | Register constructor Fn as the MCInstrAnalysis for target T. |