aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Scalar.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-01 06:25:24 +0000
committerChris Lattner <sabre@nondot.org>2008-05-01 06:25:24 +0000
commitfd1cbbe9cfeddab8ec99a9325c1e87311609c0a3 (patch)
tree97c06df8a7a6e2792fdf3f9523324af2afc839d3 /include/llvm/Transforms/Scalar.h
parent2facbddb76e68fcc4d842174859506ca1584604c (diff)
Delete the IPO simplify-libcalls and completely reimplement it as
a FunctionPass. This makes it simpler, fixes dozens of bugs, adds a couple of minor features, and shrinks is considerably: from 2214 to 1437 lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Scalar.h')
-rw-r--r--include/llvm/Transforms/Scalar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 1098405014..f350a513e5 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -323,6 +323,12 @@ FunctionPass *createMemCpyOptPass();
// can prove are dead.
//
LoopPass *createLoopDeletionPass();
+
+//===----------------------------------------------------------------------===//
+//
+/// createSimplifyLibCallsPass - This pass optimizes specific calls to
+/// specific well-known (library) functions.
+FunctionPass *createSimplifyLibCallsPass();
//===----------------------------------------------------------------------===//
//