aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/SIMachineFunctionInfo.h
blob: 46a021f361303429cc2345d4a8c1c3034d60bb73 (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
//===- 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 spi_ps_input_addr;

};

} // End namespace llvm


#endif //_SIMACHINEFUNCTIONINFO_H_