summaryrefslogtreecommitdiffstats
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
commitb9f60c24d9b511b7ad1e6ff6709c3af61e1ba8d8 (patch)
tree0ae6439def768334479eb7844ea42f61c8e533e7
parent8d206636c28f2445e9366d9e8c091e4ecddd1629 (diff)
downloadbcm5719-llvm-b9f60c24d9b511b7ad1e6ff6709c3af61e1ba8d8.tar.gz
bcm5719-llvm-b9f60c24d9b511b7ad1e6ff6709c3af61e1ba8d8.zip
Add prototype for LICM pass
llvm-svn: 2612
-rw-r--r--llvm/include/llvm/Transforms/Scalar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h
index b649deec108..898b604da94 100644
--- a/llvm/include/llvm/Transforms/Scalar.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud