LLVM 20.0.0git
|
RegisterMCInstrAnalysis - Helper template for registering a target instruction analyzer implementation. More...
#include "llvm/MC/TargetRegistry.h"
Public Member Functions | |
RegisterMCInstrAnalysis (Target &T) | |
RegisterMCInstrAnalysis - Helper template for registering a target instruction analyzer implementation.
This invokes the static "Create" method on the class to actually do the construction. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrAnalysis<FooMCInstrAnalysis> X(TheFooTarget); }
Definition at line 1148 of file TargetRegistry.h.
|
inline |
Definition at line 1149 of file TargetRegistry.h.
References Allocator, and llvm::TargetRegistry::RegisterMCInstrAnalysis().