summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Scalar.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-18 05:20:32 +0000
committerChris Lattner <sabre@nondot.org>2004-04-18 05:20:32 +0000
commit4c174a7bbaf3ecba6473b8a5dd49e0b4fc8f1c96 (patch)
treef335d4f61a3fbdfca11cd2a86dd497f7566f6e51 /include/llvm/Transforms/Scalar.h
parent83bf2880c37e62bc17570ffbd95d7081a9d30c2c (diff)
downloadllvm-4c174a7bbaf3ecba6473b8a5dd49e0b4fc8f1c96.tar.gz
llvm-4c174a7bbaf3ecba6473b8a5dd49e0b4fc8f1c96.tar.bz2
llvm-4c174a7bbaf3ecba6473b8a5dd49e0b4fc8f1c96.tar.xz
Add prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Scalar.h')
-rw-r--r--include/llvm/Transforms/Scalar.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 7acc7a6a12..b34b1222be 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -131,14 +131,20 @@ Pass *createInstructionCombiningPass();
//===----------------------------------------------------------------------===//
//
-// LICM - This pass is a simple natural loop based loop invariant code motion
-// pass.
+// LICM - This pass is a loop invariant code motion and memory promotion pass.
//
FunctionPass *createLICMPass();
//===----------------------------------------------------------------------===//
//
+// LoopUnroll - This pass is a simple loop unrolling pass.
+//
+FunctionPass *createLoopUnrollPass();
+
+
+//===----------------------------------------------------------------------===//
+//
// 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: