Nick Lewycky | f7a3c50 | 2010-09-07 18:14:24 +0000 | [diff] [blame] | 1 | //===-- PTXTargetMachine.h - Define TargetMachine for PTX -------*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file declares the PTX specific subclass of TargetMachine. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| 14 | #ifndef PTX_TARGET_MACHINE_H |
| 15 | #define PTX_TARGET_MACHINE_H |
| 16 | |
| 17 | #include "llvm/Target/TargetMachine.h" |
| 18 | |
| 19 | namespace llvm { |
| 20 | class PTXTargetMachine : public LLVMTargetMachine { |
| 21 | public: |
| 22 | PTXTargetMachine(const Target &T, const std::string &TT, |
| 23 | const std::string &FS); |
| 24 | }; // class PTXTargetMachine |
| 25 | } // namespace llvm |
| 26 | |
| 27 | #endif // PTX_TARGET_MACHINE_H |