1 //===-- R600MachineFunctionInfo.h - R600 Machine Function Info ----*- 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 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
13 #ifndef R600MACHINEFUNCTIONINFO_H
14 #define R600MACHINEFUNCTIONINFO_H
16 #include "llvm/CodeGen/MachineFunction.h"
17 #include "llvm/CodeGen/SelectionDAG.h"
22 class R600MachineFunctionInfo : public MachineFunctionInfo {
25 R600MachineFunctionInfo(const MachineFunction &MF);
26 std::vector<unsigned> ReservedRegs;
28 bool HasLinearInterpolation;
29 bool HasPerspectiveInterpolation;
31 unsigned GetIJLinearIndex() const;
32 unsigned GetIJPerspectiveIndex() const;
36 } // End llvm namespace
38 #endif //R600MACHINEFUNCTIONINFO_H