LLVM
8.0.1
lib
Target
Mips
MipsSERegisterInfo.h
Go to the documentation of this file.
1
//===-- MipsSERegisterInfo.h - Mips32/64 Register Information ---*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// This file contains the Mips32/64 implementation of the TargetRegisterInfo
11
// class.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_LIB_TARGET_MIPS_MIPSSEREGISTERINFO_H
16
#define LLVM_LIB_TARGET_MIPS_MIPSSEREGISTERINFO_H
17
18
#include "
MipsRegisterInfo.h
"
19
20
namespace
llvm
{
21
class
MipsSEInstrInfo;
22
23
class
MipsSERegisterInfo
:
public
MipsRegisterInfo
{
24
public
:
25
MipsSERegisterInfo
();
26
27
bool
requiresRegisterScavenging
(
const
MachineFunction
&MF)
const override
;
28
29
bool
requiresFrameIndexScavenging
(
const
MachineFunction
&MF)
const override
;
30
31
const
TargetRegisterClass
*
intRegClass
(
unsigned
Size
)
const override
;
32
33
private
:
34
void
eliminateFI(
MachineBasicBlock::iterator
II,
unsigned
OpNo,
35
int
FrameIndex
, uint64_t StackSize,
36
int64_t SPOffset)
const override
;
37
};
38
39
}
// end namespace llvm
40
41
#endif
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::MachineFunction
Definition:
MachineFunction.h:226
llvm::MipsSERegisterInfo::MipsSERegisterInfo
MipsSERegisterInfo()
Definition:
MipsSERegisterInfo.cpp:42
llvm::MipsSERegisterInfo
Definition:
MipsSERegisterInfo.h:23
llvm::MachineInstrBundleIterator< MachineInstr >
llvm::TargetRegisterClass
Definition:
TargetRegisterInfo.h:45
llvm::MipsSERegisterInfo::requiresRegisterScavenging
bool requiresRegisterScavenging(const MachineFunction &MF) const override
Definition:
MipsSERegisterInfo.cpp:45
llvm::MipsRegisterInfo
Definition:
MipsRegisterInfo.h:28
llvm::MipsSERegisterInfo::intRegClass
const TargetRegisterClass * intRegClass(unsigned Size) const override
Return GPR register class.
Definition:
MipsSERegisterInfo.cpp:55
llvm::ISD::FrameIndex
Definition:
ISDOpcodes.h:62
Size
uint32_t Size
Definition:
Profile.cpp:47
MipsRegisterInfo.h
llvm::MipsSERegisterInfo::requiresFrameIndexScavenging
bool requiresFrameIndexScavenging(const MachineFunction &MF) const override
Definition:
MipsSERegisterInfo.cpp:50
Generated on Sun Dec 20 2020 13:57:23 for LLVM by
1.8.13