LLVM  3.7.0
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;
28  const uint32_t *getCallPreservedMask(const MachineFunction &MF,
29  CallingConv::ID CC) const override;
30 
31  const uint32_t* getRTCallPreservedMask(CallingConv::ID CC) const;
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 
43  RegScavenger *RS = nullptr) const;
44 
45  // Debug information queries.
46  unsigned getFrameRegister(const MachineFunction &MF) const override;
47 };
48 
49 } // end namespace llvm
50 
51 #endif
BitVector getReservedRegs(const MachineFunction &MF) const override
unsigned getFrameRegister(const MachineFunction &MF) const override
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
const uint32_t * getRTCallPreservedMask(CallingConv::ID CC) const
const uint32_t * getCallPreservedMask(const MachineFunction &MF, CallingConv::ID CC) const override
bundle_iterator< MachineInstr, instr_iterator > iterator
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
Code Generation virtual methods...
void processFunctionBeforeFrameFinalized(MachineFunction &MF, RegScavenger *RS=nullptr) const
const TargetRegisterClass * getPointerRegClass(const MachineFunction &MF, unsigned Kind) const override
const ARM::ArchExtKind Kind
void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override