struct RegisterMCInstrInfoFn

Declaration

struct RegisterMCInstrInfoFn { /* full declaration omitted */ };

Description

RegisterMCInstrInfoFn - Helper template for registering a target instruction info implementation. This invokes the specified function to do the construction. Usage: extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrInfoFn X(TheFooTarget, TheFunction); }

Declared at: llvm/include/llvm/MC/TargetRegistry.h:1204

Method Overview

Methods

ΒΆRegisterMCInstrInfoFn(
    llvm::Target& T,
    Target::MCInstrInfoCtorFnTy Fn)

Declared at: llvm/include/llvm/MC/TargetRegistry.h:1205

Parameters

llvm::Target& T
Target::MCInstrInfoCtorFnTy Fn