LLVM API Documentation

llvm::RegisterAsmInfoFn Struct Reference

#include <TargetRegistry.h>

List of all members.

Public Member Functions

 RegisterAsmInfoFn (Target &T, Target::AsmInfoCtorFnTy Fn)


Detailed Description

RegisterAsmInfoFn - 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; RegisterAsmInfoFn X(TheFooTarget, TheFunction); }

Definition at line 365 of file TargetRegistry.h.


Constructor & Destructor Documentation

llvm::RegisterAsmInfoFn::RegisterAsmInfoFn ( Target &  T,
Target::AsmInfoCtorFnTy  Fn 
) [inline]

Definition at line 366 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterAsmInfo().


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