blob: 6da9f7f9a14d5c5e1f9dec17635d603dd8da9753 [file] [log] [blame]
Tom Stellardf98f2ce2012-12-11 21:25:42 +00001//===- 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
Vincent Lejeune88524e32013-04-01 21:47:53 +000018#include "AMDGPUMachineFunction.h"
Tom Stellardf98f2ce2012-12-11 21:25:42 +000019
20namespace 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.
Vincent Lejeune88524e32013-04-01 21:47:53 +000024class SIMachineFunctionInfo : public AMDGPUMachineFunction {
Tom Stellardf98f2ce2012-12-11 21:25:42 +000025public:
Tom Stellardf98f2ce2012-12-11 21:25:42 +000026 SIMachineFunctionInfo(const MachineFunction &MF);
Christian Konigcc226402013-03-07 09:04:14 +000027 unsigned PSInputAddr;
Tom Stellardf98f2ce2012-12-11 21:25:42 +000028};
29
30} // End namespace llvm
31
32
33#endif //_SIMACHINEFUNCTIONINFO_H_