Searched refs:cluster_from (Results 1 – 2 of 2) sorted by relevance
356 bool MergeClusters(Cluster* cluster_from, Cluster* cluster_to) { in MergeClusters() argument357 int from = cluster_from->cycles_graph_node_id(); in MergeClusters()368 cluster_from->Merge(cluster_to); in MergeClusters()369 cluster_from->set_cycles_graph_node_id(*optional_merged_node); in MergeClusters()380 Cluster* cluster_from = GetClusterForCyclesGraphNode(node); in ForEachEdgeInPostOrder() local384 cycle_detector_.SuccessorsCopy(cluster_from->cycles_graph_node_id()); in ForEachEdgeInPostOrder()388 bool contracted_edge = fn(cluster_from, cluster_to); in ForEachEdgeInPostOrder()
393 bool MergeClusters(Cluster* cluster_from, Cluster* cluster_to) { in MergeClusters() argument394 int from = cluster_from->cycles_graph_node_id(); in MergeClusters()399 VLOG(3) << "Could not contract " << cluster_from->DebugString(*graph_) in MergeClusters()407 cluster_from->Merge(cluster_to); in MergeClusters()409 cluster_from->set_cycles_graph_node_id(optional_merged_node.value()); in MergeClusters()641 Cluster* cluster_from = GetClusterForCyclesGraphNode(node); in ForEachEdgeInPostOrder() local642 if (!cluster_from) { in ForEachEdgeInPostOrder()649 cycles_graph_.SuccessorsCopy(cluster_from->cycles_graph_node_id()); in ForEachEdgeInPostOrder()659 TF_ASSIGN_OR_RETURN(bool contracted_edge, fn(cluster_from, cluster_to)); in ForEachEdgeInPostOrder()909 const Cluster& cluster_from, const Cluster& cluster_to) { in ClusteringWillIntroduceInterDeviceDependency() argument[all …]