Home | History | Annotate | Download | only in radeon
      1 //===-- R600MachineFunctionInfo.h - R600 Machine Function Info ----*- 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 // R600MachineFunctionInfo is used for keeping track of which registers have
     11 // been reserved by the llvm.AMDGPU.reserve.reg intrinsic.
     12 //
     13 //===----------------------------------------------------------------------===//
     14 
     15 #ifndef R600MACHINEFUNCTIONINFO_H
     16 #define R600MACHINEFUNCTIONINFO_H
     17 
     18 #include "llvm/CodeGen/MachineFunction.h"
     19 #include <vector>
     20 
     21 namespace llvm {
     22 
     23 class R600MachineFunctionInfo : public MachineFunctionInfo {
     24 
     25 public:
     26   R600MachineFunctionInfo(const MachineFunction &MF);
     27   std::vector<unsigned> ReservedRegs;
     28 
     29 };
     30 
     31 } // End llvm namespace
     32 
     33 #endif //R600MACHINEFUNCTIONINFO_H
     34