2012-12-11 21:25:42 +00:00
|
|
|
//===- 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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
/// \file
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef SIMACHINEFUNCTIONINFO_H_
|
|
|
|
#define SIMACHINEFUNCTIONINFO_H_
|
|
|
|
|
2013-04-01 21:47:53 +00:00
|
|
|
#include "AMDGPUMachineFunction.h"
|
2012-12-11 21:25:42 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
/// This class keeps track of the SPI_SP_INPUT_ADDR config register, which
|
|
|
|
/// tells the hardware which interpolation parameters to load.
|
2013-04-01 21:47:53 +00:00
|
|
|
class SIMachineFunctionInfo : public AMDGPUMachineFunction {
|
2012-12-11 21:25:42 +00:00
|
|
|
public:
|
|
|
|
SIMachineFunctionInfo(const MachineFunction &MF);
|
2013-03-07 09:04:14 +00:00
|
|
|
unsigned PSInputAddr;
|
2012-12-11 21:25:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End namespace llvm
|
|
|
|
|
|
|
|
|
|
|
|
#endif //_SIMACHINEFUNCTIONINFO_H_
|