struct RegisterMCInstrAnalysis
Declaration
template <class MCInstrAnalysisImpl>
struct RegisterMCInstrAnalysis { /* full declaration omitted */ };Description
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: extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrAnalysis <FooMCInstrAnalysis > X(TheFooTarget); }
Declared at: llvm/include/llvm/MC/TargetRegistry.h:1218
Templates
- MCInstrAnalysisImpl
Method Overview
- private static llvm::MCInstrAnalysis * Allocator(const llvm::MCInstrInfo * Info)
- public RegisterMCInstrAnalysis<MCInstrAnalysisImpl>(llvm::Target & T)
Methods
¶static llvm::MCInstrAnalysis* Allocator(
const llvm::MCInstrInfo* Info)
static llvm::MCInstrAnalysis* Allocator(
const llvm::MCInstrInfo* Info)Declared at: llvm/include/llvm/MC/TargetRegistry.h:1224
Parameters
- const llvm::MCInstrInfo* Info
¶RegisterMCInstrAnalysis<MCInstrAnalysisImpl>(
llvm::Target& T)
RegisterMCInstrAnalysis<MCInstrAnalysisImpl>(
llvm::Target& T)Declared at: llvm/include/llvm/MC/TargetRegistry.h:1219
Parameters
- llvm::Target& T