LLVM API Documentation

llvm::RegisterTarget< TargetMachineImpl > Struct Template Reference

#include <TargetMachineRegistry.h>

Inheritance diagram for llvm::RegisterTarget< TargetMachineImpl >:

Inheritance graph
[legend]
Collaboration diagram for llvm::RegisterTarget< TargetMachineImpl >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RegisterTarget (const char *Name, const char *ShortDesc)

Detailed Description

template<class TargetMachineImpl>
struct llvm::RegisterTarget< TargetMachineImpl >

RegisterTarget - This class is used to make targets automatically register themselves with the tool they are linked. Targets should define an instance of this and implement the static methods described in the TargetMachine comments. The type 'TargetMachineImpl' should provide a constructor with two parameters:

Definition at line 81 of file TargetMachineRegistry.h.


Constructor & Destructor Documentation

template<class TargetMachineImpl>
llvm::RegisterTarget< TargetMachineImpl >::RegisterTarget ( const char *  Name,
const char *  ShortDesc 
) [inline]

Definition at line 82 of file TargetMachineRegistry.h.


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