LLVM API Documentation

Public Member Functions
llvm::RegisterAsmPrinter< AsmPrinterImpl > Struct Template Reference

#include <TargetRegistry.h>

List of all members.

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 1126 of file TargetRegistry.h.


Constructor & Destructor Documentation

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

Definition at line 1127 of file TargetRegistry.h.


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