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 | e9d767aa75e25961a951b2e37681487f57c8622f (patch) | |
| tree | a4ddc3b0d34b7fa3177efd49f7fe33b1a3d015c7 | |
| parent | 7e7739c431f65a9cb3ca246efb9e7becbe8ddbb5 (diff) | |
| download | bcm5719-llvm-e9d767aa75e25961a951b2e37681487f57c8622f.tar.gz bcm5719-llvm-e9d767aa75e25961a951b2e37681487f57c8622f.zip | |
New pass
llvm-svn: 15367
| -rw-r--r-- | llvm/include/llvm/CodeGen/Passes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/Passes.h b/llvm/include/llvm/CodeGen/Passes.h index c0a3a14020c..866d07ff437 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. |

