diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-31 23:41:32 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-31 23:41:32 +0000 |
commit | 8589010e3d1d5a902992a5039cffa9d4116982c5 (patch) | |
tree | 821547f383ee6052158f69c0fe79b31511da2efb /lib/Target/Mips/MipsSERegisterInfo.h | |
parent | cdb3ba71ce550c5a41c84c3678225a39d6f0a414 (diff) | |
download | external_llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.zip external_llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.tar.gz external_llvm-8589010e3d1d5a902992a5039cffa9d4116982c5.tar.bz2 |
Add definitions of two subclasses of MipsRegisterInfo, Mips16RegisterInfo and
MipsSERegisterInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSERegisterInfo.h')
-rw-r--r-- | lib/Target/Mips/MipsSERegisterInfo.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSERegisterInfo.h b/lib/Target/Mips/MipsSERegisterInfo.h new file mode 100644 index 0000000..e92f170 --- /dev/null +++ b/lib/Target/Mips/MipsSERegisterInfo.h @@ -0,0 +1,35 @@ +//===-- MipsSERegisterInfo.h - Mips32/64 Register Information ---*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file contains the Mips32/64 implementation of the TargetRegisterInfo +// class. +// +//===----------------------------------------------------------------------===// + +#ifndef MIPSSEREGISTERINFO_H +#define MIPSSEREGISTERINFO_H + +#include "MipsRegisterInfo.h" + +namespace llvm { + +class MipsSERegisterInfo : public MipsRegisterInfo { +public: + MipsSERegisterInfo(const MipsSubtarget &Subtarget, + const TargetInstrInfo &TII); + +private: + virtual void eliminateFI(MachineBasicBlock::iterator II, unsigned OpNo, + int FrameIndex, uint64_t StackSize, + int64_t SPOffset) const; +}; + +} // end namespace llvm + +#endif |