aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-21 20:04:15 +0000
committerChris Lattner <sabre@nondot.org>2002-05-21 20:04:15 +0000
commitb8bcb086f7d4a74c40661c5c18134533a3f69fc9 (patch)
tree89ea165fbce243120812c97b2fcd2c713081f753 /include
parent069667c8bbc70fd5cc9b6841a19b39e6d58b9cca (diff)
downloadexternal_llvm-b8bcb086f7d4a74c40661c5c18134533a3f69fc9.zip
external_llvm-b8bcb086f7d4a74c40661c5c18134533a3f69fc9.tar.gz
external_llvm-b8bcb086f7d4a74c40661c5c18134533a3f69fc9.tar.bz2
Expose CFG simplification pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Scalar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 898b604..5161ac7 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -153,6 +153,14 @@ Pass *createReassociatePass();
//===----------------------------------------------------------------------===//
//
+// CFG Simplification - Merge basic blocks, eliminate unreachable blocks,
+// simplify terminator instructions, etc...
+//
+Pass *createCFGSimplificationPass();
+
+
+//===----------------------------------------------------------------------===//
+//
// These functions removes symbols from functions and modules.
//
Pass *createSymbolStrippingPass();