LLVM  8.0.1
MSP430RegisterInfo.h
Go to the documentation of this file.
1 //===-- MSP430RegisterInfo.h - MSP430 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 MSP430 implementation of the MRegisterInfo class.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_LIB_TARGET_MSP430_MSP430REGISTERINFO_H
15 #define LLVM_LIB_TARGET_MSP430_MSP430REGISTERINFO_H
16 
18 
19 #define GET_REGINFO_HEADER
20 #include "MSP430GenRegisterInfo.inc"
21 
22 namespace llvm {
23 
25 public:
27 
28  /// Code Generation virtual methods...
29  const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
30 
31  BitVector getReservedRegs(const MachineFunction &MF) const override;
32  const TargetRegisterClass*
34  unsigned Kind = 0) const override;
35 
37  int SPAdj, unsigned FIOperandNum,
38  RegScavenger *RS = nullptr) const override;
39 
40  // Debug information queries.
41  unsigned getFrameRegister(const MachineFunction &MF) const override;
42 };
43 
44 } // end namespace llvm
45 
46 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
unsigned getFrameRegister(const MachineFunction &MF) const override
void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=nullptr) const override
const MCPhysReg * getCalleeSavedRegs(const MachineFunction *MF) const override
Code Generation virtual methods...
uint16_t MCPhysReg
An unsigned integer type large enough to represent all physical registers, but not necessarily virtua...
BitVector getReservedRegs(const MachineFunction &MF) const override
const unsigned Kind
const TargetRegisterClass * getPointerRegClass(const MachineFunction &MF, unsigned Kind=0) const override