llvm::RegisterTarget< TargetMachineImpl > Struct Template Reference
#include <TargetMachineRegistry.h>
List of all members.
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:
- const Module& M: the module that is being compiled:
- const std::string& FS: target-specific string describing target flavour.
Definition at line 78 of file TargetMachineRegistry.h.
Constructor & Destructor Documentation
template<class TargetMachineImpl>
The documentation for this struct was generated from the following file: