Lines Matching refs:srcNode
417 Node *srcNode = getNode(inEdge.id); in getIncomingMemRefAccesses() local
419 if (srcNode->getStoreOpCount(memref) > 0) in getIncomingMemRefAccesses()
882 auto *srcNode = mdg->getNode(srcId); in hasNonAffineUsersOnThePath() local
891 if (srcNode->op->isBeforeInBlock(op) && op->isBeforeInBlock(dstNode->op)) { in hasNonAffineUsersOnThePath()
916 auto *srcNode = mdg->getNode(srcId); in hasNonAffineUsersOnThePath() local
918 srcNode->op->walk([&](Operation *op) { in hasNonAffineUsersOnThePath()
1423 auto *srcNode = mdg->getNode(srcId); in fuseProducerConsumerNodes() local
1425 if (!isa<AffineForOp>(srcNode->op)) in fuseProducerConsumerNodes()
1431 auto srcStoreOp = mdg->getUniqueOutgoingStore(srcNode); in fuseProducerConsumerNodes()
1437 for (auto *op : srcNode->stores) { in fuseProducerConsumerNodes()
1462 mdg->writesToLiveInOrEscapingMemrefs(srcNode->id); in fuseProducerConsumerNodes()
1471 if (mdg->getIncomingMemRefAccesses(srcNode->id, memref) > 0 || in fuseProducerConsumerNodes()
1477 if (mdg->getOutEdgeCount(srcNode->id, memref) > maxSrcUserCount) in fuseProducerConsumerNodes()
1483 mdg->getFusedLoopNestInsertionPoint(srcNode->id, dstNode->id); in fuseProducerConsumerNodes()
1487 auto srcAffineForOp = cast<AffineForOp>(srcNode->op); in fuseProducerConsumerNodes()
1547 mdg->updateEdges(srcNode->id, dstNode->id, memref, in fuseProducerConsumerNodes()
1607 if (writesToLiveInOrOut || mdg->canRemoveNode(srcNode->id)) { in fuseProducerConsumerNodes()
1608 mdg->removeNode(srcNode->id); in fuseProducerConsumerNodes()
1609 srcNode->op->erase(); in fuseProducerConsumerNodes()
1615 if (mdg->outEdges.count(srcNode->id) > 0) { in fuseProducerConsumerNodes()
1617 mdg->outEdges[srcNode->id]; in fuseProducerConsumerNodes()