diff options
-rw-r--r-- | polly/include/polly/ScopInfo.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h index 0bcc87ca264..e298b96af19 100644 --- a/polly/include/polly/ScopInfo.h +++ b/polly/include/polly/ScopInfo.h @@ -1931,6 +1931,14 @@ public: const ScopArrayInfo *getScopArrayInfo(Value *BasePtr, ScopArrayInfo::MemoryKind Kind); + /// @brief Invalidate ScopArrayInfo object for base address. + /// + /// @param BasePtr The base pointer of the ScopArrayInfo object to invalidate. + /// @param Kind The Kind of the ScopArrayInfo object. + void invalidateScopArrayInfo(Value *BasePtr, ScopArrayInfo::MemoryKind Kind) { + ScopArrayInfoMap.erase(std::make_pair(BasePtr, Kind)); + } + void setContext(isl_set *NewContext); /// @brief Align the parameters in the statement to the scop context |