LLVM API Documentation

llvm::RegisterTarget< TargetMachineImpl > Struct Template Reference

#include <TargetMachineRegistry.h>

Collaboration diagram for llvm::RegisterTarget< TargetMachineImpl >:
[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 78 of file TargetMachineRegistry.h.


Constructor & Destructor Documentation

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

Definition at line 79 of file TargetMachineRegistry.h.


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