LLVM  8.0.1
Public Member Functions | List of all members
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 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 971 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCInstrInfo()

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

Definition at line 972 of file TargetRegistry.h.

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


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