LLVM API Documentation

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

#include <TargetRegistry.h>

Public Member Functions

 RegisterAsmPrinter (Target &T)
 

Detailed Description

template<class AsmPrinterImpl>
struct llvm::RegisterAsmPrinter< AsmPrinterImpl >

RegisterAsmPrinter - Helper template for registering a target specific assembly printer, for use in the target machine initialization function. Usage:

extern "C" void LLVMInitializeFooAsmPrinter() { extern Target TheFooTarget; RegisterAsmPrinter<FooAsmPrinter> X(TheFooTarget); }

Definition at line 1124 of file TargetRegistry.h.

Constructor & Destructor Documentation

template<class AsmPrinterImpl>
llvm::RegisterAsmPrinter< AsmPrinterImpl >::RegisterAsmPrinter ( Target T)
inline

Definition at line 1125 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterAsmPrinter().


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