Home | History | Annotate | Download | only in radeon
      1 //===- 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 // SIMachineFunctionInfo is used to keep track of the spi_sp_input_addr config
     11 // register, which is to tell the hardware which interpolation parameters to
     12 // load.
     13 //
     14 //===----------------------------------------------------------------------===//
     15 
     16 
     17 #ifndef _SIMACHINEFUNCTIONINFO_H_
     18 #define _SIMACHINEFUNCTIONINFO_H_
     19 
     20 #include "llvm/CodeGen/MachineFunction.h"
     21 
     22 namespace llvm {
     23 
     24 class SIMachineFunctionInfo : public MachineFunctionInfo {
     25 
     26   private:
     27 
     28   public:
     29     SIMachineFunctionInfo(const MachineFunction &MF);
     30     unsigned spi_ps_input_addr;
     31 
     32 };
     33 
     34 } // End namespace llvm
     35 
     36 
     37 #endif //_SIMACHINEFUNCTIONINFO_H_
     38