aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-10 22:44:16 +0000
committerChris Lattner <sabre@nondot.org>2002-05-10 22:44:16 +0000
commit0fe215350770dff3158fe596dfea471af290e8bb (patch)
tree8c4fe9afcade670378f6d31e6adea91522ff4847 /include
parentfe8f5b5ad79d20f0f62dae3d40dcd17734f94e13 (diff)
downloadexternal_llvm-0fe215350770dff3158fe596dfea471af290e8bb.zip
external_llvm-0fe215350770dff3158fe596dfea471af290e8bb.tar.gz
external_llvm-0fe215350770dff3158fe596dfea471af290e8bb.tar.bz2
Add prototype for LICM pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2612 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 b649dee..898b604 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -98,6 +98,14 @@ Pass *createInstructionCombiningPass();
//===----------------------------------------------------------------------===//
//
+// LICM - This pass is a simple natural loop based loop invariant code motion
+// pass.
+//
+Pass *createLICMPass();
+
+
+//===----------------------------------------------------------------------===//
+//
// PiNodeInsertion - This pass inserts single entry Phi nodes into basic blocks
// that are preceeded by a conditional branch, where the branch gives
// information about the operands of the condition. For example, this C code: