summaryrefslogtreecommitdiff
path: root/lib/Target/PTX/PTXTargetMachine.h
blob: c447b8747851f65dd21d10dd10cf2c2317cc575c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//===-- PTXTargetMachine.h - Define TargetMachine for PTX -------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file declares the PTX specific subclass of TargetMachine.
//
//===----------------------------------------------------------------------===//

#ifndef PTX_TARGET_MACHINE_H
#define PTX_TARGET_MACHINE_H

#include "llvm/Target/TargetMachine.h"

namespace llvm {
  class PTXTargetMachine : public LLVMTargetMachine {
    public:
      PTXTargetMachine(const Target &T, const std::string &TT,
                       const std::string &FS);
  }; // class PTXTargetMachine
} // namespace llvm

#endif // PTX_TARGET_MACHINE_H