From 8a4c25dd7e9002ab7a2821753bcae1ff6af2ca1c Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 8 May 2012 11:33:05 -0400 Subject: radeon/llvm: Use a custom inserter to lower RESERVE_REG --- .../drivers/radeon/R600MachineFunctionInfo.h | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/gallium/drivers/radeon/R600MachineFunctionInfo.h (limited to 'src/gallium/drivers/radeon/R600MachineFunctionInfo.h') 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 + +namespace llvm { + +class R600MachineFunctionInfo : public MachineFunctionInfo { + +public: + R600MachineFunctionInfo(const MachineFunction &MF); + std::vector ReservedRegs; + +}; + +} // End llvm namespace + +#endif //R600MACHINEFUNCTIONINFO_H -- cgit v1.2.3