summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopInfo.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2017-08-30 13:04:39 +0000
committerMichael Kruse <llvm@meinersbur.de>2017-08-30 13:04:39 +0000
commitf6eb3a2ed26ca318cb5dc85554b2b1be01c50c00 (patch)
tree0b434f288f6a510f7839b7bb3957eaa91345c60f /polly/lib/Analysis/ScopInfo.cpp
parent860870b7b0de15d667a9954bed9dba0fa381e4a3 (diff)
downloadbcm5719-llvm-f6eb3a2ed26ca318cb5dc85554b2b1be01c50c00.tar.gz
bcm5719-llvm-f6eb3a2ed26ca318cb5dc85554b2b1be01c50c00.zip
[ScopBuilder/ScopInfo] Move and inline Scop::init into ScopBuilder::buildScop. NFC.
The method is only needed in the SCoP building phase, and doesn't need to be part of the general API. llvm-svn: 312114
Diffstat (limited to 'polly/lib/Analysis/ScopInfo.cpp')
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 813a569499f..8c35531facd 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -203,11 +203,6 @@ static cl::opt<std::string> UserContextStr(
cl::desc("Provide additional constraints on the context parameters"),
cl::init(""), cl::cat(PollyCategory));
-static cl::opt<bool> DetectReductions("polly-detect-reductions",
- cl::desc("Detect and exploit reductions"),
- cl::Hidden, cl::ZeroOrMore,
- cl::init(true), cl::cat(PollyCategory));
-
static cl::opt<bool>
IslOnErrorAbort("polly-on-isl-error-abort",
cl::desc("Abort if an isl error is encountered"),
@@ -1796,17 +1791,6 @@ ScopStmt::ScopStmt(Scop &parent, isl::map SourceRel, isl::map TargetRel,
ScopStmt::~ScopStmt() = default;
-void ScopStmt::init(LoopInfo &LI) {
- assert(!Domain && "init must be called only once");
-
- buildDomain();
- collectSurroundingLoops();
- buildAccessRelations();
-
- if (DetectReductions)
- checkForReductions();
-}
-
/// Collect loads which might form a reduction chain with @p StoreMA.
///
/// Check if the stored value for @p StoreMA is a binary operator with one or
OpenPOWER on IntegriCloud