[llvm-commits] CVS: llvm/lib/Target/X86/X86RegisterInfo.h

Chris Lattner lattner at cs.uiuc.edu
Tue Dec 24 23:07:02 PST 2002


Changes in directory llvm/lib/Target/X86:

X86RegisterInfo.h updated: 1.11 -> 1.12

---
Log message:

Adjustments to match new simpler spill interface


---
Diffs of the changes:

Index: llvm/lib/Target/X86/X86RegisterInfo.h
diff -u llvm/lib/Target/X86/X86RegisterInfo.h:1.11 llvm/lib/Target/X86/X86RegisterInfo.h:1.12
--- llvm/lib/Target/X86/X86RegisterInfo.h:1.11	Mon Dec 16 22:19:17 2002
+++ llvm/lib/Target/X86/X86RegisterInfo.h	Tue Dec 24 23:06:43 2002
@@ -14,27 +14,23 @@
 struct X86RegisterInfo : public MRegisterInfo {
   X86RegisterInfo();
 
-  MachineBasicBlock::iterator
-  storeReg2RegOffset(MachineBasicBlock &MBB,
-                     MachineBasicBlock::iterator MBBI,
-                     unsigned DestReg, unsigned SrcReg, 
-                     unsigned ImmOffset, unsigned dataSize) const;
+  void storeReg2RegOffset(MachineBasicBlock &MBB,
+			  MachineBasicBlock::iterator &MBBI,
+			  unsigned SrcReg, unsigned DestReg, unsigned ImmOffset,
+			  const TargetRegisterClass *RC) const;
 
-  MachineBasicBlock::iterator
-  loadRegOffset2Reg(MachineBasicBlock &MBB,
-                    MachineBasicBlock::iterator MBBI,
-                    unsigned DestReg, unsigned SrcReg,
-                    unsigned ImmOffset, unsigned dataSize) const;
+  void loadRegOffset2Reg(MachineBasicBlock &MBB,
+			 MachineBasicBlock::iterator &MBBI,
+			 unsigned DestReg, unsigned SrcReg, unsigned ImmOffset,
+			 const TargetRegisterClass *RC) const;
 
-  MachineBasicBlock::iterator
-  moveReg2Reg(MachineBasicBlock &MBB,
-              MachineBasicBlock::iterator MBBI,
-              unsigned DestReg, unsigned SrcReg, unsigned dataSize) const;
+  void moveReg2Reg(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
+		   unsigned DestReg, unsigned SrcReg,
+		   const TargetRegisterClass *RC) const;
 
-  MachineBasicBlock::iterator
-  moveImm2Reg(MachineBasicBlock &MBB,
-              MachineBasicBlock::iterator MBBI,
-              unsigned DestReg, unsigned Imm, unsigned dataSize) const;
+  void moveImm2Reg(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
+		   unsigned DestReg, unsigned Imm,
+		   const TargetRegisterClass *RC) const;
 
   unsigned getFramePointer() const;
   unsigned getStackPointer() const;





More information about the llvm-commits mailing list