LLVM API Documentation

Public Member Functions
llvm::RegisterMCCodeGenInfo< MCCodeGenInfoImpl > Struct Template Reference

#include <TargetRegistry.h>

List of all members.

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 890 of file TargetRegistry.h.


Constructor & Destructor Documentation

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

Definition at line 891 of file TargetRegistry.h.


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