R600/SI: add some more instruction flags
[oota-llvm.git] / lib / Target / R600 / SIMachineFunctionInfo.h
1 //===- SIMachineFunctionInfo.h - SIMachineFunctionInfo interface -*- 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 /// \file
11 //
12 //===----------------------------------------------------------------------===//
13
14
15 #ifndef SIMACHINEFUNCTIONINFO_H_
16 #define SIMACHINEFUNCTIONINFO_H_
17
18 #include "llvm/CodeGen/MachineFunction.h"
19
20 namespace llvm {
21
22 /// This class keeps track of the SPI_SP_INPUT_ADDR config register, which
23 /// tells the hardware which interpolation parameters to load.
24 class SIMachineFunctionInfo : public MachineFunctionInfo {
25 public:
26   SIMachineFunctionInfo(const MachineFunction &MF);
27   unsigned SPIPSInputAddr;
28   unsigned ShaderType;
29 };
30
31 } // End namespace llvm
32
33
34 #endif //_SIMACHINEFUNCTIONINFO_H_