#include <flang/Optimizer/Analysis/AliasAnalysis.h>
Opt-in cache that amortizes the cost of repeated AliasAnalysis::getModRef queries against an op with HasRecursiveMemoryEffects (e.g. a loop).
◆ clear()
| void fir::AliasAnalysisRecursiveEffectsCache::clear |
( |
| ) |
|
|
inline |
Drop all cached summaries. Call this when the IR inside previously summarized ops has been mutated in a way the cache cannot tolerate.
◆ getSummaryCacheHitsForTesting()
| std::size_t fir::AliasAnalysisRecursiveEffectsCache::getSummaryCacheHitsForTesting |
( |
| ) |
const |
|
inline |
Testing only: cumulative summary lookups that were served from an existing entry (hits) or required buildSummary() (misses).
The documentation for this class was generated from the following files:
- include/flang/Optimizer/Analysis/AliasAnalysis.h
- lib/Optimizer/Analysis/AliasAnalysis.cpp