LLVM API Documentation

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

#include <TargetRegistry.h>

Public Member Functions

 RegisterMCCodeGenInfo (Target &T)
 

Detailed Description

template<class MCCodeGenInfoImpl>
struct llvm::RegisterMCCodeGenInfo< MCCodeGenInfoImpl >

RegisterMCCodeGenInfo - Helper template for registering a target codegen info implementation. This invokes the static "Create" method on the class to actually do the construction. Usage:

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCCodeGenInfo<FooMCCodeGenInfo> X(TheFooTarget); }

Definition at line 889 of file TargetRegistry.h.

Constructor & Destructor Documentation

template<class MCCodeGenInfoImpl >
llvm::RegisterMCCodeGenInfo< MCCodeGenInfoImpl >::RegisterMCCodeGenInfo ( Target T)
inline

Definition at line 890 of file TargetRegistry.h.

References llvm::TargetRegistry::RegisterMCCodeGenInfo().


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