Deleted Added
full compact
MSP430MachineFunctionInfo.h (193574) MSP430MachineFunctionInfo.h (200581)
1//===- MSP430MachineFuctionInfo.h - MSP430 machine function info -*- 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//===----------------------------------------------------------------------===//

--- 11 unchanged lines hidden (view full) ---

20
21/// MSP430MachineFunctionInfo - This class is derived from MachineFunction and
22/// contains private MSP430 target-specific information for each MachineFunction.
23class MSP430MachineFunctionInfo : public MachineFunctionInfo {
24 /// CalleeSavedFrameSize - Size of the callee-saved register portion of the
25 /// stack frame in bytes.
26 unsigned CalleeSavedFrameSize;
27
1//===- MSP430MachineFuctionInfo.h - MSP430 machine function info -*- 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//===----------------------------------------------------------------------===//

--- 11 unchanged lines hidden (view full) ---

20
21/// MSP430MachineFunctionInfo - This class is derived from MachineFunction and
22/// contains private MSP430 target-specific information for each MachineFunction.
23class MSP430MachineFunctionInfo : public MachineFunctionInfo {
24 /// CalleeSavedFrameSize - Size of the callee-saved register portion of the
25 /// stack frame in bytes.
26 unsigned CalleeSavedFrameSize;
27
28 /// ReturnAddrIndex - FrameIndex for return slot.
29 int ReturnAddrIndex;
30
28public:
29 MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
30
31 explicit MSP430MachineFunctionInfo(MachineFunction &MF)
31public:
32 MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
33
34 explicit MSP430MachineFunctionInfo(MachineFunction &MF)
32 : CalleeSavedFrameSize(0) {}
35 : CalleeSavedFrameSize(0), ReturnAddrIndex(0) {}
33
34 unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
35 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
36
37 unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
38 void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
39
40 int getRAIndex() const { return ReturnAddrIndex; }
41 void setRAIndex(int Index) { ReturnAddrIndex = Index; }
36};
37
38} // End llvm namespace
39
40#endif
42};
43
44} // End llvm namespace
45
46#endif