1 //===-- MipsSERegisterInfo.h - Mips32/64 Register Information ---*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains the Mips32/64 implementation of the TargetRegisterInfo
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_MIPS_MIPSSEREGISTERINFO_H
15 #define LLVM_LIB_TARGET_MIPS_MIPSSEREGISTERINFO_H
17 #include "MipsRegisterInfo.h"
20 class MipsSEInstrInfo;
22 class MipsSERegisterInfo : public MipsRegisterInfo {
26 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
28 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override;
30 const TargetRegisterClass *intRegClass(unsigned Size) const override;
33 void eliminateFI(MachineBasicBlock::iterator II, unsigned OpNo,
34 int FrameIndex, uint64_t StackSize,
35 int64_t SPOffset) const override;
38 } // end namespace llvm