aboutsummaryrefslogtreecommitdiff
path: root/llvm/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-31 09:59:14 +0000
committerChris Lattner <sabre@nondot.org>2004-07-31 09:59:14 +0000
commite9d767aa75e25961a951b2e37681487f57c8622f (patch)
treea4ddc3b0d34b7fa3177efd49f7fe33b1a3d015c7 /llvm/include
parent7e7739c431f65a9cb3ca246efb9e7becbe8ddbb5 (diff)
downloadllvm-e9d767aa75e25961a951b2e37681487f57c8622f.zip
llvm-e9d767aa75e25961a951b2e37681487f57c8622f.tar.gz
llvm-e9d767aa75e25961a951b2e37681487f57c8622f.tar.bz2
New pass
llvm-svn: 15367
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/Passes.h6
1 files changed, 6 insertions, 0 deletions
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.