LLVM  8.0.1
Public Member Functions | List of all members
RegisterMCRegInfo< MCRegisterInfoImpl > Struct Template Reference

RegisterMCRegInfo - Helper template for registering a target register info implementation. More...

#include "llvm/Support/TargetRegistry.h"

Public Member Functions

 RegisterMCRegInfo (Target &T)
 

Detailed Description

template<class MCRegisterInfoImpl>
struct RegisterMCRegInfo< MCRegisterInfoImpl >

RegisterMCRegInfo - Helper template for registering a target register info implementation.

This invokes the static "Create" method on the class to actually do the construction. Usage:

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCRegInfo<FooMCRegInfo> X(TheFooTarget); }

Definition at line 1035 of file TargetRegistry.h.

Constructor & Destructor Documentation

◆ RegisterMCRegInfo()

template<class MCRegisterInfoImpl >
RegisterMCRegInfo< MCRegisterInfoImpl >::RegisterMCRegInfo ( Target &  T)
inline

Definition at line 1036 of file TargetRegistry.h.

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


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