| 656 | } |
| 657 | |
| 658 | bool MarkForCompilationPassImpl::IsSinkLike(const Cluster& cluster) { |
| 659 | if (Node* n = GetOnlyNodeIn(cluster)) { |
| 660 | return n->type_string() == "NoOp" && n->out_edges().size() == 1 && |
| 661 | (*n->out_edges().begin())->dst()->IsSink(); |
| 662 | } |
| 663 | |
| 664 | return false; |
| 665 | } |
| 666 | |
| 667 | bool MarkForCompilationPassImpl::IsScalarIntegerResourceOperation( |
| 668 | const Cluster& cluster) { |