Lines Matching defs:node
9 #include "src/compiler/node-properties.h"
34 // Add an extra input for the JSFunction parameter to the start node.
148 for (Node* node : *successor) {
149 schedule->SetBlockForNode(nullptr, node);
150 schedule->AddNode(block, node);
168 // node and a branch on that phi. This just duplicates the branch block
169 // for each predecessor, replacing the phi node with the corresponding phi
290 auto update_current_control_and_effect = [&](Node* node) {
292 IrOpcode::IsIfProjectionOpcode(node->opcode()) ||
293 IrOpcode::IsPhiOpcode(node->opcode());
294 if (node->op()->EffectInputCount() > 0) {
295 DCHECK_EQ(1, node->op()->EffectInputCount());
297 NodeProperties::ReplaceEffectInput(node, current_effect);
299 node->AppendInput(graph()->zone(), current_effect);
302 if (node->op()->ControlInputCount() > 0) {
303 DCHECK_EQ(1, node->op()->ControlInputCount());
305 NodeProperties::ReplaceControlInput(node, current_control);
307 node->AppendInput(graph()->zone(), current_control);
310 if (node->op()->EffectOutputCount() > 0) {
311 DCHECK_EQ(1, node->op()->EffectOutputCount());
312 current_effect = node;
314 if (node->op()->ControlOutputCount() > 0) {
315 current_control = node;
319 for (Node* node : *block) {
320 update_current_control_and_effect(node);
369 for (Node* node : *block) {
370 if (node->opcode() == IrOpcode::kPhi) {
371 MakePhiBinary(node, static_cast<int>(loop_entries.size()),
859 Node* node = MakeNode(op, input_count, inputs);
860 schedule()->AddNode(CurrentBlock(), node);
861 return node;