LLVM  3.7.0
Public Member Functions | List of all members
llvm::RegisterMCInstrInfo< MCInstrInfoImpl > Struct Template Reference

RegisterMCInstrInfo - Helper template for registering a target instruction info implementation. More...

#include <TargetRegistry.h>

Public Member Functions

 RegisterMCInstrInfo (Target &T)
 

Detailed Description

template<class MCInstrInfoImpl>
struct llvm::RegisterMCInstrInfo< MCInstrInfoImpl >

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); }

Definition at line 958 of file TargetRegistry.h.

Constructor & Destructor Documentation

template<class MCInstrInfoImpl >
llvm::RegisterMCInstrInfo< MCInstrInfoImpl >::RegisterMCInstrInfo ( Target T)
inline

Definition at line 959 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCInstrInfo().


The documentation for this struct was generated from the following file: