LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::RegisterAsmPrinter< AsmPrinterImpl > Struct Template Reference

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

#include "llvm/Support/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 1145 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterAsmPrinter()

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

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