diff options
Diffstat (limited to 'polly/lib/Analysis/ScopDetection.cpp')
| -rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index cf71b8905ed..bfc9a99ff86 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -1493,13 +1493,6 @@ bool ScopDetection::runOnFunction(llvm::Function &F) { return false; } -bool ScopDetection::isNonAffineSubRegion(const Region *SubR, - const Region *ScopR) const { - const DetectionContext *DC = getDetectionContext(ScopR); - assert(DC && "ScopR is no valid region!"); - return DC->NonAffineSubRegionSet.count(SubR); -} - const ScopDetection::DetectionContext * ScopDetection::getDetectionContext(const Region *R) const { auto DCMIt = DetectionContextMap.find(getBBPairForRegion(R)); @@ -1508,27 +1501,6 @@ ScopDetection::getDetectionContext(const Region *R) const { return &DCMIt->second; } -const ScopDetection::BoxedLoopsSetTy * -ScopDetection::getBoxedLoops(const Region *R) const { - const DetectionContext *DC = getDetectionContext(R); - assert(DC && "ScopR is no valid region!"); - return &DC->BoxedLoopsSet; -} - -const MapInsnToMemAcc * -ScopDetection::getInsnToMemAccMap(const Region *R) const { - const DetectionContext *DC = getDetectionContext(R); - assert(DC && "ScopR is no valid region!"); - return &DC->InsnToMemAcc; -} - -const InvariantLoadsSetTy * -ScopDetection::getRequiredInvariantLoads(const Region *R) const { - const DetectionContext *DC = getDetectionContext(R); - assert(DC && "ScopR is no valid region!"); - return &DC->RequiredILS; -} - const RejectLog *ScopDetection::lookupRejectionLog(const Region *R) const { const DetectionContext *DC = getDetectionContext(R); return DC ? &DC->Log : nullptr; |

