1 //===-- MipsSERegisterInfo.h - Mips32/64 Register Information ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains the Mips32/64 implementation of the TargetRegisterInfo
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_MIPS_MIPSSEREGISTERINFO_H
16 #define LLVM_LIB_TARGET_MIPS_MIPSSEREGISTERINFO_H
18 #include "MipsRegisterInfo.h"
21 class MipsSEInstrInfo;
23 class MipsSERegisterInfo : public MipsRegisterInfo {
25 MipsSERegisterInfo(const MipsSubtarget &Subtarget);
27 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
29 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override;
31 const TargetRegisterClass *intRegClass(unsigned Size) const override;
34 void eliminateFI(MachineBasicBlock::iterator II, unsigned OpNo,
35 int FrameIndex, uint64_t StackSize,
36 int64_t SPOffset) const override;
39 } // end namespace llvm