LLVM API Documentation

Public Member Functions
llvm::RegisterMCSubtargetInfo< MCSubtargetInfoImpl > Struct Template Reference

#include <TargetRegistry.h>

List of all members.

Public Member Functions

 RegisterMCSubtargetInfo (Target &T)

Detailed Description

template<class MCSubtargetInfoImpl>
struct llvm::RegisterMCSubtargetInfo< MCSubtargetInfoImpl >

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

extern "C" void LLVMInitializeFooTarget() { extern Target TheFooTarget; RegisterMCSubtargetInfo<FooMCSubtargetInfo> X(TheFooTarget); }

Definition at line 1024 of file TargetRegistry.h.


Constructor & Destructor Documentation

template<class MCSubtargetInfoImpl >
llvm::RegisterMCSubtargetInfo< MCSubtargetInfoImpl >::RegisterMCSubtargetInfo ( Target T) [inline]

Definition at line 1025 of file TargetRegistry.h.


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