Changes in directory llvm/include/llvm/CodeGen:

MachineBasicBlock.h updated: 1.64 -> 1.65
---
Log message:

Move ReplaceUsesOfBlockWith() out of BranchFolding into a MachineBasicBlock 
general facility.

---
Diffs of the changes:  (+4 -0)

 MachineBasicBlock.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/CodeGen/MachineBasicBlock.h
diff -u llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.64 
llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.65
--- llvm/include/llvm/CodeGen/MachineBasicBlock.h:1.64  Thu May 17 18:58:52 2007
+++ llvm/include/llvm/CodeGen/MachineBasicBlock.h       Mon Jun  4 01:41:17 2007
@@ -246,6 +246,10 @@
     Insts.splice(where, Other->Insts, From, To);
   }
 
+  /// ReplaceUsesOfBlockWith - Given a machine basic block that branched to
+  /// 'Old', change the code and CFG so that it branches to 'New' instead.
+  void ReplaceUsesOfBlockWith(MachineBasicBlock *Old, MachineBasicBlock *New);
+
   // Debugging methods.
   void dump() const;
   void print(std::ostream &OS) const;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to