Lines Matching refs:edge
183 for (Edge edge : node->use_edges()) {
184 if (NodeProperties::IsControlEdge(edge)) {
185 edge.UpdateTo(control);
186 } else if (NodeProperties::IsEffectEdge(edge)) {
187 edge.UpdateTo(effect);
189 DCHECK(NodeProperties::IsValueEdge(edge) ||
190 NodeProperties::IsContextEdge(edge));
4341 for (Edge edge : node->use_edges()) {
4342 if (!NodeProperties::IsEffectEdge(edge)) continue;
4345 if (edge.from() == unreachable) continue;
4347 if (edge.from()->opcode() == IrOpcode::kIfException) {
4349 DCHECK_EQ(NodeProperties::GetControlInput(edge.from()), node);
4353 edge.UpdateTo(unreachable);
4471 for (Edge edge : node->use_edges()) {
4472 if (NodeProperties::IsControlEdge(edge)) {
4473 if (edge.from()->opcode() == IrOpcode::kIfSuccess) {
4474 edge.from()->ReplaceUses(control);
4475 edge.from()->Kill();
4477 DCHECK_NE(IrOpcode::kIfException, edge.from()->opcode());
4478 edge.UpdateTo(control);
4480 } else if (NodeProperties::IsEffectEdge(edge)) {
4481 edge.UpdateTo(effect);
4566 for (Edge edge : node->use_edges()) {
4567 if (NodeProperties::IsControlEdge(edge)) {
4568 if (edge.from()->opcode() == IrOpcode::kIfSuccess) {
4569 edge.from()->ReplaceUses(control);
4570 edge.from()->Kill();
4572 DCHECK_NE(IrOpcode::kIfException, edge.from()->opcode());
4573 edge.UpdateTo(control);
4575 } else if (NodeProperties::IsEffectEdge(edge)) {
4576 edge.UpdateTo(effect);