Helper template for registering a target instruction analyzer implementation.
Synopsis
Declared in <llvm/MC/TargetRegistry.h>
template<class MCInstrAnalysisImpl>
struct RegisterMCInstrAnalysis;
Description
This invokes the static "Create" method on the class to actually do the construction. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrAnalysis<FooMCInstrAnalysis> X(TheFooTarget); }
Member Functions
Name |
Description |
|
Register MCInstrAnalysisImpl as the MCInstrAnalysis for target |
Created with MrDocs