LLVM 20.0.0git
Public Member Functions | List of all members
llvm::RegisterMCAsmInfoFn Struct Reference

RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation. More...

#include "llvm/MC/TargetRegistry.h"

Public Member Functions

 RegisterMCAsmInfoFn (Target &T, Target::MCAsmInfoCtorFnTy Fn)
 

Detailed Description

RegisterMCAsmInfoFn - Helper template for registering a target assembly info implementation.

This invokes the specified function to do the construction. Usage:

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCAsmInfoFn X(TheFooTarget, TheFunction); }

Definition at line 1070 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCAsmInfoFn()

llvm::RegisterMCAsmInfoFn::RegisterMCAsmInfoFn ( Target T,
Target::MCAsmInfoCtorFnTy  Fn 
)
inline

Definition at line 1071 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCAsmInfo().


The documentation for this struct was generated from the following file: