LLVM API Documentation

llvm::RegisterAsmInfo< TargetAsmInfoImpl > Struct Template Reference

#include <TargetRegistry.h>

List of all members.

Public Member Functions

 RegisterAsmInfo (Target &T)


Detailed Description

template<class TargetAsmInfoImpl>
struct llvm::RegisterAsmInfo< TargetAsmInfoImpl >

RegisterAsmInfo - Helper template for registering a target assembly info implementation. This invokes the static "Create" method on the class to actually do the construction. Usage:

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterAsmInfo<FooTargetAsmInfo> X(TheFooTarget); }

Definition at line 346 of file TargetRegistry.h.


Constructor & Destructor Documentation

template<class TargetAsmInfoImpl>
llvm::RegisterAsmInfo< TargetAsmInfoImpl >::RegisterAsmInfo ( Target &  T  )  [inline]

Definition at line 347 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterAsmInfo().


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