diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-31 09:59:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-31 09:59:14 +0000 |
commit | 36c29dbbeede86ef94e67ef7e5858f190ae0b83a (patch) | |
tree | f651b15ef406e70df9a08cab49c4071e11cb100c | |
parent | f24d879520a615a03f19ced3c7491f7b51934d1c (diff) |
New pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15367 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/Passes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index c0a3a14020..866d07ff43 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/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. |