blob: c447b8747851f65dd21d10dd10cf2c2317cc575c [file] [log] [blame]
Nick Lewyckyf7a3c502010-09-07 18:14:24 +00001//===-- 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
19namespace 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