Lines Matching refs:state
594 * nir_calc_dominance? For example, state-tracker creates an
597 * which is later used to do state specific lowering and futher
1078 add_use_cb(nir_src *src, void *state)
1080 nir_instr *instr = state;
1090 add_ssa_def_cb(nir_ssa_def *def, void *state)
1092 nir_instr *instr = state;
1107 add_reg_def_cb(nir_dest *dest, void *state)
1109 nir_instr *instr = state;
1201 remove_use_cb(nir_src *src, void *state)
1203 (void) state;
1212 remove_def_cb(nir_dest *dest, void *state)
1214 (void) state;
1240 static bool free_src_indirects_cb(nir_src *src, void *state)
1246 static bool free_dest_indirects_cb(nir_dest *dest, void *state)
1288 static bool nir_instr_free_and_dce_live_cb(nir_ssa_def *def, void *state)
1290 bool *live = state;
1318 nir_instr_dce_add_dead_srcs_cb(nir_src *src, void *state)
1320 nir_instr_worklist *wl = state;
1398 struct foreach_ssa_def_state *state = void_state;
1401 return state->cb(&dest->ssa, state->client_state);
1407 nir_foreach_ssa_def(nir_instr *instr, nir_foreach_ssa_def_cb cb, void *state)
1416 struct foreach_ssa_def_state foreach_state = {cb, state};
1421 return cb(&nir_instr_as_load_const(instr)->def, state);
1423 return cb(&nir_instr_as_ssa_undef(instr)->def, state);
1519 void *state)
1532 if (!cb(&phi_src->src, state))
2150 index_ssa_def_cb(nir_ssa_def *def, void *state)
2152 unsigned *index = (unsigned *) state;