]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - contrib/llvm/lib/Target/R600/R600MachineFunctionInfo.h
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / contrib / llvm / lib / Target / R600 / R600MachineFunctionInfo.h
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 R600MACHINEFUNCTIONINFO_H
14 #define R600MACHINEFUNCTIONINFO_H
15
16 #include "AMDGPUMachineFunction.h"
17 #include "llvm/ADT/BitVector.h"
18 #include "llvm/CodeGen/SelectionDAG.h"
19 #include <vector>
20
21 namespace llvm {
22
23 class R600MachineFunctionInfo : public AMDGPUMachineFunction {
24   virtual void anchor();
25 public:
26   R600MachineFunctionInfo(const MachineFunction &MF);
27   SmallVector<unsigned, 4> LiveOuts;
28   std::vector<unsigned> IndirectRegs;
29   unsigned StackSize;
30 };
31
32 } // End llvm namespace
33
34 #endif //R600MACHINEFUNCTIONINFO_H