Lines Matching defs:analysis
10 // that requires more analysis than what can be supported by regular
63 /// Note: This is a best-effort analysis that will eventually be replaced by a
64 /// proper "is same allocation" analysis. This function may return "false" even
83 static bool potentiallyAliasesMemref(BufferOriginAnalysis &analysis,
89 analysis.isSameAllocation(other, memref);
114 /// afterwards. Because we require an alias analysis, this pattern cannot be
134 BufferOriginAnalysis &analysis)
135 : OpRewritePattern<DeallocOp>(context), analysis(analysis) {}
153 analysis.isSameAllocation(retained, memref);
168 analysis.isSameAllocation(retained, memref);
213 BufferOriginAnalysis &analysis;
235 BufferOriginAnalysis &analysis)
236 : OpRewritePattern<DeallocOp>(context), analysis(analysis) {}
243 if (potentiallyAliasesMemref(analysis, deallocOp.getMemrefs(),
271 BufferOriginAnalysis &analysis;
304 BufferOriginAnalysis &analysis)
305 : OpRewritePattern<DeallocOp>(context), analysis(analysis) {}
321 if (potentiallyAliasesMemref(analysis, otherMemrefs, memref)) {
359 BufferOriginAnalysis &analysis;
388 BufferOriginAnalysis &analysis)
389 : OpRewritePattern<DeallocOp>(context), analysis(analysis) {}
404 analysis.isSameAllocation(retained, memref);
412 // TODO: once our alias analysis is powerful enough we can remove the
420 analysis.isSameAllocation(retained, extractOp.getOperand());
441 BufferOriginAnalysis &analysis;
459 BufferOriginAnalysis analysis(getOperation());
465 analysis);