Lines Matching refs:edge
440 for (Edge edge : node->use_edges()) {
441 DCHECK(!edge.from()->IsDead());
442 if (NodeProperties::IsEffectEdge(edge)) {
443 edge.UpdateTo(NodeProperties::GetEffectInput(node));
445 DCHECK(!NodeProperties::IsControlEdge(edge));
446 DCHECK(!NodeProperties::IsFrameStateEdge(edge));
447 edge.UpdateTo(node->InputAt(0));
531 for (Edge edge : use->use_edges()) {
535 if (edge.from()->op()->ControlInputCount() != 1) return;
536 Node* control = NodeProperties::GetControlInput(edge.from());
537 if (NodeProperties::IsPhi(edge.from())) {
538 control = NodeProperties::GetControlInput(control, edge.index());
585 for (Edge edge : phi->use_edges()) {
586 Node* control = NodeProperties::GetControlInput(edge.from());
587 if (NodeProperties::IsPhi(edge.from())) {
588 control = NodeProperties::GetControlInput(control, edge.index());
591 edge.UpdateTo((control == matcher.IfTrue()) ? phi_true : phi_false);