struct RegisterMCInstrInfo
Declaration
template <class MCInstrInfoImpl>
struct RegisterMCInstrInfo { /* full declaration omitted */ };Description
RegisterMCInstrInfo - Helper template for registering a target instruction info implementation. This invokes the static "Create" method on the class to actually do the construction. Usage: extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCInstrInfo <FooMCInstrInfo > X(TheFooTarget); }
Declared at: llvm/include/llvm/MC/TargetRegistry.h:1187
Templates
- MCInstrInfoImpl
Method Overview
- private static llvm::MCInstrInfo * Allocator()
- public RegisterMCInstrInfo<MCInstrInfoImpl>(llvm::Target & T)
Methods
¶static llvm::MCInstrInfo* Allocator()
static llvm::MCInstrInfo* Allocator()Declared at: llvm/include/llvm/MC/TargetRegistry.h:1193
¶RegisterMCInstrInfo<MCInstrInfoImpl>(
llvm::Target& T)
RegisterMCInstrInfo<MCInstrInfoImpl>(
llvm::Target& T)Declared at: llvm/include/llvm/MC/TargetRegistry.h:1188
Parameters
- llvm::Target& T