struct RegisterMCRegInfoFn

Declaration

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

Description

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

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

Method Overview

Methods

ΒΆRegisterMCRegInfoFn(llvm::Target& T,
                    Target::MCRegInfoCtorFnTy Fn)

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

Parameters

llvm::Target& T
Target::MCRegInfoCtorFnTy Fn