Lines Matching refs:graph
19 Isolate* isolate, Graph* graph, CallDescriptor* call_descriptor,
23 graph_(graph),
25 source_positions_(zone()->New<SourcePositionTable>(graph)),
35 graph->SetStart(graph->NewNode(common_.Start(param_count + 1)));
38 common()->Parameter(Linkage::kJSCallClosureParamIndex), graph->start());
42 AddNode(common()->Parameter(static_cast<int>(i)), graph->start());
44 graph->SetEnd(graph->NewNode(common_.End(0)));
119 OptimizeControlFlow(schedule_, graph(), common());
128 return graph();
131 void RawMachineAssembler::OptimizeControlFlow(Schedule* schedule, Graph* graph,
140 // merge. This is not really useful on it's own since graph construction
198 Node* branch_clone = graph->CloneNode(branch);
205 graph->NewNode(common->IfTrue(), branch_clone));
207 graph->NewNode(common->IfFalse(), branch_clone));
243 current_control = current_effect = graph()->start();
247 graph(), common(), block->PredecessorAt(i)->control_input());
250 // The graph()->start() inputs are just placeholders until we computed the
253 current_control = graph()->NewNode(common()->Loop(2), graph()->start(),
254 graph()->start());
256 graph()->NewNode(common()->EffectPhi(2), graph()->start(),
257 graph()->start(), current_control);
259 Node* terminate = graph()->NewNode(common()->Terminate(), current_effect,
261 NodeProperties::MergeControlToEnd(graph(), common(), terminate);
281 current_control = graph()->NewNode(common()->Merge(predecessor_count),
285 current_effect = graph()->NewNode(
299 node->AppendInput(graph()->zone(), current_effect);
307 node->AppendInput(graph()->zone(), current_control);
393 return graph()->NewNode(op, static_cast<int>(inputs.size()), inputs.data());
419 graph()->NewNode(common()->Phi(rep, static_cast<int>(left_input_count)),
432 right_input = graph()->NewNode(
579 graph()->NewNode(common()->IfValue(case_value), switch_node);
585 Node* default_node = graph()->NewNode(common()->IfDefault(), switch_node);
844 buffer[input_count] = graph()->start();
868 return graph()->NewNodeUnchecked(op, input_count, inputs);