[llvm-commits] CVS: llvm/include/llvm/CodeGen/Passes.h

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 31 02:59:24 PDT 2004



Changes in directory llvm/include/llvm/CodeGen:

Passes.h updated: 1.17 -> 1.18

---
Log message:

New pass


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

Index: llvm/include/llvm/CodeGen/Passes.h
diff -u llvm/include/llvm/CodeGen/Passes.h:1.17 llvm/include/llvm/CodeGen/Passes.h:1.18
--- llvm/include/llvm/CodeGen/Passes.h:1.17	Wed Jul 21 03:24:35 2004
+++ llvm/include/llvm/CodeGen/Passes.h	Sat Jul 31 04:59:14 2004
@@ -80,6 +80,12 @@
   ///
   FunctionPass *createPrologEpilogCodeInserter();
 
+  /// BranchFolding Pass - This pass performs machine code CFG based
+  /// optimizations to delete branches to branches, eliminate branches to
+  /// successor blocks (creating fall throughs), and eliminating branches over
+  /// branches.
+  FunctionPass *createBranchFoldingPass();
+
   /// MachineCodeDeletion Pass - This pass deletes all of the machine code for
   /// the current function, which should happen after the function has been
   /// emitted to a .s file or to memory.





More information about the llvm-commits mailing list