1 //===- PTXInstrInfo.h - PTX Instruction Information -------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the PTX implementation of the TargetInstrInfo class.
12 //===----------------------------------------------------------------------===//
14 #ifndef PTX_INSTR_INFO_H
15 #define PTX_INSTR_INFO_H
17 #include "PTXRegisterInfo.h"
18 #include "llvm/Target/TargetInstrInfo.h"
21 class PTXTargetMachine;
23 class PTXInstrInfo : public TargetInstrInfoImpl {
25 const PTXRegisterInfo RI;
29 explicit PTXInstrInfo(PTXTargetMachine &_TM);
31 virtual const PTXRegisterInfo &getRegisterInfo() const { return RI; }
32 }; // class PTXInstrInfo
35 #endif // PTX_INSTR_INFO_H