summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIMachineFunctionInfo.h
blob: 68097b44c52e0ab6f483f19fbeeed762029bd69e (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
28
29
30
31
32
33
34
35
36
37
38
//===- SIMachineFunctionInfo.h - SIMachineFunctionInfo interface -*- C++ -*-==//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// SIMachineFunctionInfo is used to keep track of the spi_sp_input_addr config
// register, which is to tell the hardware which interpolation parameters to
// load.
//
//===----------------------------------------------------------------------===//


#ifndef _SIMACHINEFUNCTIONINFO_H_
#define _SIMACHINEFUNCTIONINFO_H_

#include "llvm/CodeGen/MachineFunction.h"

namespace llvm {

class SIMachineFunctionInfo : public MachineFunctionInfo {

  private:

  public:
    SIMachineFunctionInfo(const MachineFunction &MF);
    unsigned SPIPSInputAddr;
    unsigned ShaderType;

};

} // End namespace llvm


#endif //_SIMACHINEFUNCTIONINFO_H_