Tom Stellard | f98f2ce | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 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 | |
Tom Stellard | c0b0c67 | 2013-02-06 17:32:29 +0000 | [diff] [blame] | 16 | #include "llvm/ADT/BitVector.h" |
Tom Stellard | f98f2ce | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 17 | #include "llvm/CodeGen/SelectionDAG.h" |
Vincent Lejeune | 88524e3 | 2013-04-01 21:47:53 +0000 | [diff] [blame] | 18 | #include "AMDGPUMachineFunction.h" |
Tom Stellard | f98f2ce | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 19 | #include <vector> |
| 20 | |
| 21 | namespace llvm { |
| 22 | |
Vincent Lejeune | 88524e3 | 2013-04-01 21:47:53 +0000 | [diff] [blame] | 23 | class R600MachineFunctionInfo : public AMDGPUMachineFunction { |
Tom Stellard | f98f2ce | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 24 | public: |
| 25 | R600MachineFunctionInfo(const MachineFunction &MF); |
Jakob Stoklund Olesen | a499d2b | 2013-02-05 17:53:52 +0000 | [diff] [blame] | 26 | SmallVector<unsigned, 4> LiveOuts; |
Tom Stellard | c0b0c67 | 2013-02-06 17:32:29 +0000 | [diff] [blame] | 27 | std::vector<unsigned> IndirectRegs; |
Tom Stellard | f98f2ce | 2012-12-11 21:25:42 +0000 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | } // End llvm namespace |
| 31 | |
| 32 | #endif //R600MACHINEFUNCTIONINFO_H |