ScopDetection: Move implementation of function from header to .cpp file
llvm-svn: 131246
This commit is contained in:
parent
e91b54cc56
commit
a806606aaa
|
@ -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.
|
||||
|
|
|
@ -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>();
|
||||
|
|
Loading…
Reference in New Issue