[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32RegisterInfo.td PPC64RegisterInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 19 12:13:33 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32RegisterInfo.td updated: 1.6 -> 1.7
PPC64RegisterInfo.td updated: 1.5 -> 1.6
---
Log message:
Split RegisterClass 'Methods' into MethodProtos and MethodBodies
---
Diffs of the changes: (+18 -6)
PPC32RegisterInfo.td | 12 +++++++++---
PPC64RegisterInfo.td | 12 +++++++++---
2 files changed, 18 insertions(+), 6 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC32RegisterInfo.td
diff -u llvm/lib/Target/PowerPC/PPC32RegisterInfo.td:1.6 llvm/lib/Target/PowerPC/PPC32RegisterInfo.td:1.7
--- llvm/lib/Target/PowerPC/PPC32RegisterInfo.td:1.6 Fri Aug 19 13:52:55 2005
+++ llvm/lib/Target/PowerPC/PPC32RegisterInfo.td Fri Aug 19 14:13:20 2005
@@ -20,11 +20,17 @@
R30, R29, R28, R27, R26, R25, R24, R23, R22, R21, R20, R19, R18, R17,
R16, R15, R14, R13, R31, R0, R1, LR]>
{
- let Methods = [{
- iterator allocation_order_begin(MachineFunction &MF) const {
+ let MethodProtos = [{
+ iterator allocation_order_begin(MachineFunction &MF) const;
+ iterator allocation_order_end(MachineFunction &MF) const;
+ }];
+ let MethodBodies = [{
+ GPRCClass::iterator
+ GPRCClass::allocation_order_begin(MachineFunction &MF) const {
return begin() + ((TargetAIX == PPCTarget) ? 1 : 0);
}
- iterator allocation_order_end(MachineFunction &MF) const {
+ GPRCClass::iterator
+ GPRCClass::allocation_order_end(MachineFunction &MF) const {
if (hasFP(MF))
return end()-4;
else
Index: llvm/lib/Target/PowerPC/PPC64RegisterInfo.td
diff -u llvm/lib/Target/PowerPC/PPC64RegisterInfo.td:1.5 llvm/lib/Target/PowerPC/PPC64RegisterInfo.td:1.6
--- llvm/lib/Target/PowerPC/PPC64RegisterInfo.td:1.5 Fri Aug 19 13:52:55 2005
+++ llvm/lib/Target/PowerPC/PPC64RegisterInfo.td Fri Aug 19 14:13:20 2005
@@ -20,11 +20,17 @@
R30, R29, R28, R27, R26, R25, R24, R23, R22, R21, R20, R19, R18, R17,
R16, R15, R14, R13, R31, R0, R1, LR]>
{
- let Methods = [{
- iterator allocation_order_begin(MachineFunction &MF) const {
+ let MethodProtos = [{
+ iterator allocation_order_begin(MachineFunction &MF) const;
+ iterator allocation_order_end(MachineFunction &MF) const;
+ }];
+ let MethodBodies = [{
+ GPRCClass::iterator
+ GPRCClass::allocation_order_begin(MachineFunction &MF) const {
return begin() + ((TargetAIX == PPCTarget) ? 1 : 0);
}
- iterator allocation_order_end(MachineFunction &MF) const {
+ GPRCClass::iterator
+ GPRCClass::allocation_order_end(MachineFunction &MF) const {
if (hasFP(MF))
return end()-4;
else
More information about the llvm-commits
mailing list