Deleted Added
full compact
XCoreMachineFunctionInfo.h (193574) XCoreMachineFunctionInfo.h (205218)
1//====- XCoreMachineFuctionInfo.h - XCore 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//===----------------------------------------------------------------------===//

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

26/// XCoreFunctionInfo - This class is derived from MachineFunction private
27/// XCore target-specific information for each MachineFunction.
28class XCoreFunctionInfo : public MachineFunctionInfo {
29private:
30 bool UsesLR;
31 int LRSpillSlot;
32 int FPSpillSlot;
33 int VarArgsFrameIndex;
1//====- XCoreMachineFuctionInfo.h - XCore 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//===----------------------------------------------------------------------===//

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

26/// XCoreFunctionInfo - This class is derived from MachineFunction private
27/// XCore target-specific information for each MachineFunction.
28class XCoreFunctionInfo : public MachineFunctionInfo {
29private:
30 bool UsesLR;
31 int LRSpillSlot;
32 int FPSpillSlot;
33 int VarArgsFrameIndex;
34 std::vector<std::pair<unsigned, CalleeSavedInfo> > SpillLabels;
34 std::vector<std::pair<MCSymbol*, CalleeSavedInfo> > SpillLabels;
35
36public:
37 XCoreFunctionInfo() :
38 UsesLR(false),
39 LRSpillSlot(0),
40 FPSpillSlot(0),
41 VarArgsFrameIndex(0) {}
42

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

55 bool getUsesLR() const { return UsesLR; }
56
57 void setLRSpillSlot(int off) { LRSpillSlot = off; }
58 int getLRSpillSlot() const { return LRSpillSlot; }
59
60 void setFPSpillSlot(int off) { FPSpillSlot = off; }
61 int getFPSpillSlot() const { return FPSpillSlot; }
62
35
36public:
37 XCoreFunctionInfo() :
38 UsesLR(false),
39 LRSpillSlot(0),
40 FPSpillSlot(0),
41 VarArgsFrameIndex(0) {}
42

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

55 bool getUsesLR() const { return UsesLR; }
56
57 void setLRSpillSlot(int off) { LRSpillSlot = off; }
58 int getLRSpillSlot() const { return LRSpillSlot; }
59
60 void setFPSpillSlot(int off) { FPSpillSlot = off; }
61 int getFPSpillSlot() const { return FPSpillSlot; }
62
63 std::vector<std::pair<unsigned, CalleeSavedInfo> >&getSpillLabels() {
63 std::vector<std::pair<MCSymbol*, CalleeSavedInfo> > &getSpillLabels() {
64 return SpillLabels;
65 }
66};
67} // End llvm namespace
68
69#endif // XCOREMACHINEFUNCTIONINFO_H
64 return SpillLabels;
65 }
66};
67} // End llvm namespace
68
69#endif // XCOREMACHINEFUNCTIONINFO_H