LLVM 20.0.0git
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/MC/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 1311 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterAsmPrinter()

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

Definition at line 1312 of file TargetRegistry.h.

References Allocator, and llvm::TargetRegistry::RegisterAsmPrinter().


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