New pass
authorChris Lattner <sabre@nondot.org>
Sat, 31 Jul 2004 09:59:14 +0000 (09:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 31 Jul 2004 09:59:14 +0000 (09:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15367 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/Passes.h

index c0a3a14020c3287313fb46997c1956afdc122e49..866d07ff4371a7c1dbca849b64523ce09db779f5 100644 (file)
@@ -80,6 +80,12 @@ namespace llvm {
   ///
   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.