xref: /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/R600MachineFunctionInfo.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc //===-- R600MachineFunctionInfo.h - R600 Machine Function Info ----*- C++ -*-=//
2f4a2713aSLionel Sambuc //
3f4a2713aSLionel Sambuc //                     The LLVM Compiler Infrastructure
4f4a2713aSLionel Sambuc //
5f4a2713aSLionel Sambuc // This file is distributed under the University of Illinois Open Source
6f4a2713aSLionel Sambuc // License. See LICENSE.TXT for details.
7f4a2713aSLionel Sambuc //
8f4a2713aSLionel Sambuc //===----------------------------------------------------------------------===//
9f4a2713aSLionel Sambuc //
10f4a2713aSLionel Sambuc /// \file
11f4a2713aSLionel Sambuc //===----------------------------------------------------------------------===//
12f4a2713aSLionel Sambuc 
13*0a6a1f1dSLionel Sambuc #ifndef LLVM_LIB_TARGET_R600_R600MACHINEFUNCTIONINFO_H
14*0a6a1f1dSLionel Sambuc #define LLVM_LIB_TARGET_R600_R600MACHINEFUNCTIONINFO_H
15f4a2713aSLionel Sambuc 
16f4a2713aSLionel Sambuc #include "AMDGPUMachineFunction.h"
17f4a2713aSLionel Sambuc #include "llvm/ADT/BitVector.h"
18f4a2713aSLionel Sambuc #include "llvm/CodeGen/SelectionDAG.h"
19f4a2713aSLionel Sambuc #include <vector>
20f4a2713aSLionel Sambuc 
21f4a2713aSLionel Sambuc namespace llvm {
22f4a2713aSLionel Sambuc 
23f4a2713aSLionel Sambuc class R600MachineFunctionInfo : public AMDGPUMachineFunction {
24*0a6a1f1dSLionel Sambuc   void anchor() override;
25f4a2713aSLionel Sambuc public:
26f4a2713aSLionel Sambuc   R600MachineFunctionInfo(const MachineFunction &MF);
27f4a2713aSLionel Sambuc   SmallVector<unsigned, 4> LiveOuts;
28f4a2713aSLionel Sambuc   std::vector<unsigned> IndirectRegs;
29f4a2713aSLionel Sambuc   unsigned StackSize;
30f4a2713aSLionel Sambuc };
31f4a2713aSLionel Sambuc 
32f4a2713aSLionel Sambuc } // End llvm namespace
33f4a2713aSLionel Sambuc 
34*0a6a1f1dSLionel Sambuc #endif
35