Lines Matching refs:def
89 set_ssa_def_dead(nir_ssa_def *def, void *void_live)
93 BITSET_CLEAR(live, def->index);
274 src_does_not_use_def(nir_src *src, void *def)
276 return !src->is_ssa || src->ssa != (nir_ssa_def *)def;
280 search_for_use_after_instr(nir_instr *start, nir_ssa_def *def)
286 if (!nir_foreach_src(instr, src_does_not_use_def, def))
296 following_if->condition.ssa == def)
302 /* Returns true if def is live at instr assuming that def comes before
306 nir_ssa_def_is_live_at(nir_ssa_def *def, nir_instr *instr)
308 if (BITSET_TEST(instr->block->live_out, def->index)) {
309 /* Since def dominates instr, if def is in the liveout of the block,
314 if (BITSET_TEST(instr->block->live_in, def->index) ||
315 def->parent_instr->block == instr->block) {
320 return search_for_use_after_instr(instr, def);