LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::RegisterMCAsmInfoFn Struct Reference

#include <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 874 of file TargetRegistry.h.

Constructor & Destructor Documentation

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

Definition at line 875 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCAsmInfo().


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