ScopDetection: Move implementation of function from header to .cpp file

llvm-svn: 131246
This commit is contained in:
Tobias Grosser 2011-05-12 21:33:28 +00:00
parent e91b54cc56
commit a806606aaa
2 changed files with 6 additions and 4 deletions

View File

@ -247,10 +247,7 @@ public:
/// @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.

View File

@ -624,6 +624,11 @@ void polly::ScopDetection::verifyAnalysis() const {
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>();