Lines Matching refs:graph
7 #include "src/compiler/graph.h"
154 void NodeProperties::MergeControlToEnd(Graph* graph,
157 graph->end()->AppendInput(graph->zone(), node);
158 graph->end()->set_op(common->End(graph->end()->InputCount()));
161 void NodeProperties::RemoveControlFromEnd(Graph* graph,
165 for (int i = 0; i < graph->end()->op()->ControlInputCount(); i++) {
166 int index = NodeProperties::FirstControlIndex(graph->end()) + i;
167 if (graph->end()->InputAt(index) == node) {
173 graph->end()->RemoveInput(index_to_remove);
174 graph->end()->set_op(common->End(graph->end()->InputCount()));