LLVM 20.0.0git
|
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) | |
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.
|
inline |
Definition at line 1312 of file TargetRegistry.h.
References Allocator, and llvm::TargetRegistry::RegisterAsmPrinter().