LLVM  6.0.0svn
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 "llvm/Support/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 951 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCInstrInfo()

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

Definition at line 952 of file TargetRegistry.h.

References Allocator, and llvm::TargetRegistry::RegisterMCInstrInfo().


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