summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorJunjie Gu <jgu222@gmail.com>2011-04-13 16:15:29 +0000
committerJunjie Gu <jgu222@gmail.com>2011-04-13 16:15:29 +0000
commit7c3b4593b578b0a77ce8c7a86017dcebaf746fea (patch)
tree61905a4839e8d57289822fe9d3f4b8ce73e11a4c /llvm/include
parent7cb41d787dc5b7b1cd2ad73db50ec44f8e68d549 (diff)
downloadbcm5719-llvm-7c3b4593b578b0a77ce8c7a86017dcebaf746fea.tar.gz
bcm5719-llvm-7c3b4593b578b0a77ce8c7a86017dcebaf746fea.zip
Passing unroll parameters (unroll-count, threshold, and partial unroll) via LoopUnroll class's ctor. Doing so
will allow multiple context with different loop unroll parameters to run. This is a minor change and no effect on existing application. llvm-svn: 129449
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Transforms/Scalar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h
index 8d5ed44cff3..de46a8d9840 100644
--- a/llvm/include/llvm/Transforms/Scalar.h
+++ b/llvm/include/llvm/Transforms/Scalar.h
@@ -128,7 +128,7 @@ Pass *createLoopInstSimplifyPass();
//
// LoopUnroll - This pass is a simple loop unrolling pass.
//
-Pass *createLoopUnrollPass();
+Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1);
//===----------------------------------------------------------------------===//
//
OpenPOWER on IntegriCloud