LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::RegisterMCRegInfo< MCRegisterInfoImpl > Struct Template Reference

#include <TargetRegistry.h>

Public Member Functions

 RegisterMCRegInfo (Target &T)
 

Detailed Description

template<class MCRegisterInfoImpl>
struct llvm::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 990 of file TargetRegistry.h.

Constructor & Destructor Documentation

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

Definition at line 991 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCRegInfo().


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