Lines Matching defs:liveness
32 * Basic liveness analysis. This works only in SSA form.
34 * This liveness pass treats phi nodes as being melded to the space between
37 * corresponding block. By formulating the liveness information in this
54 /* Initialize the liveness data to zero and add the given block to the
167 /* We're now ready to work through the worklist and update the liveness
255 /* If someone asked for liveness in the middle of a bunch of phis,
351 nir_instr_liveness *liveness = state;
355 liveness->defs[index].start = MIN2(liveness->defs[index].start, instr->index);
358 liveness->defs[index].end = MAX2(liveness->defs[index].end,
377 nir_instr_liveness *liveness = ralloc(NULL, nir_instr_liveness);
378 liveness->defs = rzalloc_array(liveness, nir_liveness_bounds,
383 liveness->defs->start = ~0;
388 liveness->defs[index].start = MIN2(liveness->defs[index].start,
393 nir_foreach_ssa_def(instr, def_cb, liveness);
403 liveness->defs[nif->condition.ssa->index].end = MAX2(
404 liveness->defs[nif->condition.ssa->index].end, block->end_ip);
409 liveness->defs[index].end = MAX2(liveness->defs[index].end,
414 return liveness;