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