• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 /// \file
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_LIB_TARGET_AMDGPU_R600MACHINEFUNCTIONINFO_H
14 #define LLVM_LIB_TARGET_AMDGPU_R600MACHINEFUNCTIONINFO_H
15 
16 #include "AMDGPUMachineFunction.h"
17 #include "llvm/CodeGen/SelectionDAG.h"
18 #include <vector>
19 
20 namespace llvm {
21 
22 class R600MachineFunctionInfo final : public AMDGPUMachineFunction {
23   void anchor() override;
24 public:
25   R600MachineFunctionInfo(const MachineFunction &MF);
26   SmallVector<unsigned, 4> LiveOuts;
27   std::vector<unsigned> IndirectRegs;
28   unsigned StackSize;
29 };
30 
31 } // End llvm namespace
32 
33 #endif
34