Lines Matching refs:state
170 struct check_sources_state *state = (struct check_sources_state *)data;
173 return state->block != src->ssa->parent_instr->block ||
174 src->ssa->parent_instr->index < state->first_index;
217 struct check_sources_state state;
218 state.block = first->block;
219 state.first_index = first->index;
232 if (nir_foreach_src(instr, has_only_sources_less_than, &state)) {
329 struct indirection_state *state = (struct indirection_state *)data;
333 if (instr->block == state->block) {
339 state->indirections = MAX2(state->indirections, indirections);
358 struct indirection_state state;
359 state.block = instr->block;
360 state.indirections = 0;
362 nir_foreach_src(instr, gather_indirections, &state);
364 instr->index = state.indirections;
365 return state.indirections;