LLVM  8.0.1
Public Member Functions | List of all members
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 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 1165 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterAsmPrinter()

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

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