Lines Matching refs:index
92 void NodeProperties::ReplaceValueInput(Node* node, Node* value, int index) {
93 CHECK_LE(0, index);
94 CHECK_LT(index, node->op()->ValueInputCount());
95 node->ReplaceInput(FirstValueIndex(node) + index, value);
118 void NodeProperties::ReplaceControlInput(Node* node, Node* control, int index) {
119 CHECK_LE(0, index);
120 CHECK_LT(index, node->op()->ControlInputCount());
121 node->ReplaceInput(FirstControlIndex(node) + index, control);
126 void NodeProperties::ReplaceEffectInput(Node* node, Node* effect, int index) {
127 CHECK_LE(0, index);
128 CHECK_LT(index, node->op()->EffectInputCount());
129 return node->ReplaceInput(FirstEffectIndex(node) + index, effect);
166 int index = NodeProperties::FirstControlIndex(graph->end()) + i;
167 if (graph->end()->InputAt(index) == node) {
168 index_to_remove = index;
244 for (size_t index = 0; index < projection_count; ++index) {
245 DCHECK_NULL(projections[index]);
268 size_t index;
272 index = 0;
276 index = 1;
280 index = 0;
284 index = 1;
288 index = if_value_index++;
292 index = projection_count - 1;
298 DCHECK_LT(index, projection_count);
299 DCHECK_NULL(projections[index]);
300 projections[index] = use;
303 for (size_t index = 0; index < projection_count; ++index) {
304 DCHECK_NOT_NULL(projections[index]);
598 for (int index = 0; index < input_count; ++index) {
599 if (!IsTyped(GetValueInput(node, index))) return false;
638 int const index = edge.index();
639 return first <= index && index < first + num;