diff options
author | Tom Stellard <[email protected]> | 2012-05-08 11:33:05 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-08 15:47:46 -0400 |
commit | 8a4c25dd7e9002ab7a2821753bcae1ff6af2ca1c (patch) | |
tree | ae8937d37db47fd29e2ace1d1bc4e45b4585ca65 /src/gallium/drivers/radeon/R600MachineFunctionInfo.h | |
parent | 94e797d0faed18dfa80bcce7a6d03ef369b6a820 (diff) |
radeon/llvm: Use a custom inserter to lower RESERVE_REG
Diffstat (limited to 'src/gallium/drivers/radeon/R600MachineFunctionInfo.h')
-rw-r--r-- | src/gallium/drivers/radeon/R600MachineFunctionInfo.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600MachineFunctionInfo.h b/src/gallium/drivers/radeon/R600MachineFunctionInfo.h new file mode 100644 index 00000000000..e7a42614a6a --- /dev/null +++ b/src/gallium/drivers/radeon/R600MachineFunctionInfo.h @@ -0,0 +1,32 @@ +//===-- R600MachineFunctionInfo.h - TODO: Add brief description ---*- C++ -*-=// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// TODO: Add full description +// +//===----------------------------------------------------------------------===// + +#ifndef R600MACHINEFUNCTIONINFO_H +#define R600MACHINEFUNCTIONINFO_H + +#include "llvm/CodeGen/MachineFunction.h" +#include <vector> + +namespace llvm { + +class R600MachineFunctionInfo : public MachineFunctionInfo { + +public: + R600MachineFunctionInfo(const MachineFunction &MF); + std::vector<unsigned> ReservedRegs; + +}; + +} // End llvm namespace + +#endif //R600MACHINEFUNCTIONINFO_H |