|
LLVM
3.7.0
|
RegisterMCSubtargetInfo - Helper template for registering a target subtarget info implementation. More...
#include <TargetRegistry.h>
Public Member Functions | |
| RegisterMCSubtargetInfo (Target &T) | |
RegisterMCSubtargetInfo - Helper template for registering a target subtarget info implementation.
This invokes the static "Create" method on the class to actually do the construction. Usage:
extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCSubtargetInfo<FooMCSubtargetInfo> X(TheFooTarget); }
Definition at line 1055 of file TargetRegistry.h.
|
inline |
Definition at line 1056 of file TargetRegistry.h.
References llvm::TargetRegistry::RegisterMCSubtargetInfo().
1.8.6