summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopDetection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
-rw-r--r--polly/lib/Analysis/ScopDetection.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index 5cc333624a4..c4bb5153240 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -1380,14 +1380,14 @@ void ScopDetection::emitMissedRemarks(const Function &F) {
}
}
-/// @brief Enum for coloring BBs in Region.
-///
-/// WHITE - Unvisited BB in DFS walk.
-/// GREY - BBs which are currently on the DFS stack for processing.
-/// BLACK - Visited and completely processed BB.
-enum Color { WHITE, GREY, BLACK };
-
bool ScopDetection::isReducibleRegion(Region &R, DebugLoc &DbgLoc) const {
+ /// @brief Enum for coloring BBs in Region.
+ ///
+ /// WHITE - Unvisited BB in DFS walk.
+ /// GREY - BBs which are currently on the DFS stack for processing.
+ /// BLACK - Visited and completely processed BB.
+ enum Color { WHITE, GREY, BLACK };
+
BasicBlock *REntry = R.getEntry();
BasicBlock *RExit = R.getExit();
// Map to match the color of a BasicBlock during the DFS walk.
OpenPOWER on IntegriCloud