LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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_TARGET_MSP430REGISTERINFO_H
15 #define LLVM_TARGET_MSP430REGISTERINFO_H
16 
18 
19 #define GET_REGINFO_HEADER
20 #include "MSP430GenRegisterInfo.inc"
21 
22 namespace llvm {
23 
24 class TargetInstrInfo;
25 class MSP430TargetMachine;
26 
28 private:
30 
31  /// StackAlign - Default stack alignment.
32  ///
33  unsigned StackAlign;
34 public:
36 
37  /// Code Generation virtual methods...
38  const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
39 
40  BitVector getReservedRegs(const MachineFunction &MF) const;
41  const TargetRegisterClass*
42  getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const;
43 
45  int SPAdj, unsigned FIOperandNum,
46  RegScavenger *RS = NULL) const;
47 
48  // Debug information queries.
49  unsigned getFrameRegister(const MachineFunction &MF) const;
50 };
51 
52 } // end namespace llvm
53 
54 #endif // LLVM_TARGET_MSP430REGISTERINFO_H
void eliminateFrameIndex(MachineBasicBlock::iterator II, int SPAdj, unsigned FIOperandNum, RegScavenger *RS=NULL) const
bundle_iterator< MachineInstr, instr_iterator > iterator
BitVector getReservedRegs(const MachineFunction &MF) const
unsigned getFrameRegister(const MachineFunction &MF) const
const TargetRegisterClass * getPointerRegClass(const MachineFunction &MF, unsigned Kind=0) const
MSP430RegisterInfo(MSP430TargetMachine &tm)
const uint16_t * getCalleeSavedRegs(const MachineFunction *MF=0) const
Code Generation virtual methods...