diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 13:54:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 13:54:10 +0000 |
commit | 63faed5b8e4f2755f127fcb8aa440480c0649327 (patch) | |
tree | 19c69a04768629f2d440944b71cbe90adae0b615 /lib/Target/SystemZ/SystemZMachineFunctionInfo.h | |
parent | d4c8b5d2e851b0e8a063c6bf8543a4823a26c15a (diff) |
Diffstat (limited to 'lib/Target/SystemZ/SystemZMachineFunctionInfo.h')
-rw-r--r-- | lib/Target/SystemZ/SystemZMachineFunctionInfo.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/lib/Target/SystemZ/SystemZMachineFunctionInfo.h b/lib/Target/SystemZ/SystemZMachineFunctionInfo.h deleted file mode 100644 index fd6e330344b6..000000000000 --- a/lib/Target/SystemZ/SystemZMachineFunctionInfo.h +++ /dev/null @@ -1,51 +0,0 @@ -//==- SystemZMachineFuctionInfo.h - SystemZ machine function info -*- C++ -*-=// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file declares SystemZ-specific per-machine-function information. -// -//===----------------------------------------------------------------------===// - -#ifndef SYSTEMZMACHINEFUNCTIONINFO_H -#define SYSTEMZMACHINEFUNCTIONINFO_H - -#include "llvm/CodeGen/MachineFunction.h" - -namespace llvm { - -/// SystemZMachineFunctionInfo - This class is derived from MachineFunction and -/// contains private SystemZ target-specific information for each MachineFunction. -class SystemZMachineFunctionInfo : public MachineFunctionInfo { - /// CalleeSavedFrameSize - Size of the callee-saved register portion of the - /// stack frame in bytes. - unsigned CalleeSavedFrameSize; - - /// LowReg - Low register of range of callee-saved registers to store. - unsigned LowReg; - - /// HighReg - High register of range of callee-saved registers to store. - unsigned HighReg; -public: - SystemZMachineFunctionInfo() : CalleeSavedFrameSize(0) {} - - explicit SystemZMachineFunctionInfo(MachineFunction &MF) - : CalleeSavedFrameSize(0) {} - - unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; } - void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; } - - unsigned getLowReg() const { return LowReg; } - void setLowReg(unsigned Reg) { LowReg = Reg; } - - unsigned getHighReg() const { return HighReg; } - void setHighReg(unsigned Reg) { HighReg = Reg; } -}; - -} // End llvm namespace - -#endif |