From e9d767aa75e25961a951b2e37681487f57c8622f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 31 Jul 2004 09:59:14 +0000 Subject: New pass llvm-svn: 15367 --- llvm/include/llvm/CodeGen/Passes.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'llvm/include') diff --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h index c0a3a14..866d07f 100644 --- a/llvm/include/llvm/CodeGen/Passes.h +++ b/llvm/include/llvm/CodeGen/Passes.h @@ -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. -- cgit v1.1