LLVM  8.0.1
SparcRegisterInfo.h
Go to the documentation of this file.
1 //===-- SparcRegisterInfo.h - Sparc Register Information Impl ---*- 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 Sparc implementation of the TargetRegisterInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_SPARC_SPARCREGISTERINFO_H
15 #define LLVM_LIB_TARGET_SPARC_SPARCREGISTERINFO_H
16 
18 
19 #define GET_REGINFO_HEADER
20 #include "SparcGenRegisterInfo.inc"
21 
22 namespace llvm {
25 
26  /// Code Generation virtual methods...
27  const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
29  CallingConv::ID CC) const override;
30 
32 
33  BitVector getReservedRegs(const MachineFunction &MF) const override;
34 
36  unsigned Kind) const override;
37 
39  int SPAdj, unsigned FIOperandNum,
40  RegScavenger *RS = nullptr) const override;
41 
42  unsigned getFrameRegister(const MachineFunction &MF) const override;
43 
44  bool canRealignStack(const MachineFunction &MF) const override;
45 
46 };
47 
48 } // end namespace llvm
49 
50 #endif
BitVector getReservedRegs(const MachineFunction &MF) const override
This class represents lattice values for constants.
Definition: AllocatorList.h:24
unsigned getFrameRegister(const MachineFunction &MF) const override
bool canRealignStack(const MachineFunction &MF) const override
const uint32_t * getRTCallPreservedMask(CallingConv::ID CC) const
const uint32_t * getCallPreservedMask(const MachineFunction &MF, CallingConv::ID CC) const override
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
Code Generation virtual methods...
const TargetRegisterClass * getPointerRegClass(const MachineFunction &MF, unsigned Kind) const override
const unsigned Kind
void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override