LLVM 20.0.0git
|
RegisterMCCodeEmitter - Helper template for registering a target specific machine code emitter, for use in the target initialization function. More...
#include "llvm/MC/TargetRegistry.h"
Public Member Functions | |
RegisterMCCodeEmitter (Target &T) | |
RegisterMCCodeEmitter - Helper template for registering a target specific machine code emitter, for use in the target initialization function.
Usage:
extern "C" void LLVMInitializeFooMCCodeEmitter() { extern Target TheFooTarget; RegisterMCCodeEmitter<FooCodeEmitter> X(TheFooTarget); }
Definition at line 1331 of file TargetRegistry.h.
|
inline |
Definition at line 1332 of file TargetRegistry.h.
References Allocator, and llvm::TargetRegistry::RegisterMCCodeEmitter().