Lines Matching refs:srcAccess
175 MemRefAccess srcAccess(srcOp); in isLoopMemoryParallel() local
179 checkMemrefAccessDependence(srcAccess, dstAccess, depth); in isLoopMemoryParallel()
358 static bool srcAppearsBeforeDstInAncestralBlock(const MemRefAccess &srcAccess, in srcAppearsBeforeDstInAncestralBlock() argument
362 getCommonBlockInAffineScope(srcAccess.opInst, dstAccess.opInst); in srcAppearsBeforeDstInAncestralBlock()
368 Operation *srcOp = commonBlock->findAncestorOpInBlock(*srcAccess.opInst); in srcAppearsBeforeDstInAncestralBlock()
609 const MemRefAccess &srcAccess, const MemRefAccess &dstAccess, in checkMemrefAccessDependence() argument
614 LLVM_DEBUG(srcAccess.opInst->dump()); in checkMemrefAccessDependence()
618 if (srcAccess.memref != dstAccess.memref) in checkMemrefAccessDependence()
623 if (!allowRAR && !isa<AffineWriteOpInterface>(srcAccess.opInst) && in checkMemrefAccessDependence()
629 if (getAffineScope(srcAccess.opInst) != getAffineScope(dstAccess.opInst)) in checkMemrefAccessDependence()
631 if (!getCommonBlockInAffineScope(srcAccess.opInst, dstAccess.opInst)) in checkMemrefAccessDependence()
637 if (failed(srcAccess.getAccessRelation(srcRel))) in checkMemrefAccessDependence()
653 !srcAppearsBeforeDstInAncestralBlock(srcAccess, dstAccess)) { in checkMemrefAccessDependence()
704 MemRefAccess srcAccess(srcOp); in getDependenceComponents() local
713 srcAccess, dstAccess, d, /*dependenceConstraints=*/nullptr, in getDependenceComponents()