summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/include/polly/ScopInfo.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h
index d584e262b31..5ff5683698f 100644
--- a/polly/include/polly/ScopInfo.h
+++ b/polly/include/polly/ScopInfo.h
@@ -1752,9 +1752,6 @@ private:
/// Add parameter constraints to @p C that imply a non-empty domain.
__isl_give isl_set *addNonEmptyDomainConstraints(__isl_take isl_set *C) const;
- /// Simplify the SCoP representation
- void simplifySCoP(bool AfterHoisting);
-
/// Return the access for the base ptr of @p MA if any.
MemoryAccess *lookupBasePtrAccess(MemoryAccess *MA);
@@ -2443,6 +2440,13 @@ public:
///
/// @return true if @p Schedule contains extension nodes.
static bool containsExtensionNode(__isl_keep isl_schedule *Schedule);
+
+ /// Simplify the SCoP representation.
+ ///
+ /// @param AfterHoisting Whether it is called after invariant load hoisting.
+ /// When true, also removes statements without
+ /// side-effects.
+ void simplifySCoP(bool AfterHoisting);
};
/// Print Scop scop to raw_ostream O.
OpenPOWER on IntegriCloud