Vincent Lejeune | 88524e3 | 2013-04-01 21:47:53 +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 AMDGPUMACHINEFUNCTION_H |
| 14 | #define AMDGPUMACHINEFUNCTION_H |
| 15 | |
| 16 | #include "llvm/CodeGen/MachineFunction.h" |
| 17 | |
| 18 | namespace llvm { |
| 19 | |
| 20 | class AMDGPUMachineFunction : public MachineFunctionInfo { |
| 21 | private: |
| 22 | static const char *ShaderTypeAttribute; |
| 23 | public: |
| 24 | AMDGPUMachineFunction(const MachineFunction &MF); |
| 25 | unsigned ShaderType; |
| 26 | }; |
| 27 | |
| 28 | } |
| 29 | #endif // AMDGPUMACHINEFUNCTION_H |