diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:41:23 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2013-04-08 18:41:23 +0000 |
commit | 4a16efa3e43e35f0cc9efe3a67f620f0017c3d36 (patch) | |
tree | 06099edc18d30894081a822b756f117cbe0b8207 /lib/Target/R600/SIMachineFunctionInfo.h | |
parent | 482e7bddf617ae804dc47133cb07eb4aa81e45de (diff) |
Diffstat (limited to 'lib/Target/R600/SIMachineFunctionInfo.h')
-rw-r--r-- | lib/Target/R600/SIMachineFunctionInfo.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/Target/R600/SIMachineFunctionInfo.h b/lib/Target/R600/SIMachineFunctionInfo.h new file mode 100644 index 0000000000000..6da9f7f9a14d5 --- /dev/null +++ b/lib/Target/R600/SIMachineFunctionInfo.h @@ -0,0 +1,33 @@ +//===- 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_ + +#include "AMDGPUMachineFunction.h" + +namespace llvm { + +/// This class keeps track of the SPI_SP_INPUT_ADDR config register, which +/// tells the hardware which interpolation parameters to load. +class SIMachineFunctionInfo : public AMDGPUMachineFunction { +public: + SIMachineFunctionInfo(const MachineFunction &MF); + unsigned PSInputAddr; +}; + +} // End namespace llvm + + +#endif //_SIMACHINEFUNCTIONINFO_H_ |