[llvm-commits] [polly] r131246 - in /polly/trunk: include/polly/ScopDetection.h lib/Analysis/ScopDetection.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Thu May 12 14:33:29 PDT 2011
Author: grosser
Date: Thu May 12 16:33:28 2011
New Revision: 131246
URL: http://llvm.org/viewvc/llvm-project?rev=131246&view=rev
Log:
ScopDetection: Move implementation of function from header to .cpp file
Modified:
polly/trunk/include/polly/ScopDetection.h
polly/trunk/lib/Analysis/ScopDetection.cpp
Modified: polly/trunk/include/polly/ScopDetection.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopDetection.h?rev=131246&r1=131245&r2=131246&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopDetection.h (original)
+++ polly/trunk/include/polly/ScopDetection.h Thu May 12 16:33:28 2011
@@ -247,10 +247,7 @@
/// @brief Remove a region and its children from valid region set.
///
/// @param R The region to remove.
- void forgetScop(const Region &R) {
- assert(isMaxRegionInScop(R) && "R is not a Scop!");
- ValidRegions.erase(&R);
- }
+ void forgetScop(const Region &R);
/// @brief Mark the function as invalid so we will not extract any scop from
/// the function.
Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=131246&r1=131245&r2=131246&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Thu May 12 16:33:28 2011
@@ -624,6 +624,11 @@
verifyRegion(**I);
}
+void ScopDetection::forgetScop(const Region &R) {
+ assert(isMaxRegionInScop(R) && "R is not a Scop!");
+ ValidRegions.erase(&R);
+}
+
void ScopDetection::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<DominatorTree>();
AU.addRequired<PostDominatorTree>();
More information about the llvm-commits
mailing list