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/Support/TargetRegistry.h:1011

Templates

MCInstrAnalysisImpl

Method Overview

Methods

ΒΆRegisterMCInstrAnalysis<MCInstrAnalysisImpl>(
    llvm::Target& T)

Declared at: llvm/include/llvm/Support/TargetRegistry.h:1012

Parameters

llvm::Target& T