Searched refs:defs_live (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_dce.c | 31 is_dest_live(const nir_dest *dest, BITSET_WORD *defs_live) in is_dest_live() argument 33 return !dest->is_ssa || BITSET_TEST(defs_live, dest->ssa.index); in is_dest_live() 37 mark_src_live(const nir_src *src, BITSET_WORD *defs_live) in mark_src_live() argument 39 if (src->is_ssa && !BITSET_TEST(defs_live, src->ssa->index)) { in mark_src_live() 40 BITSET_SET(defs_live, src->ssa->index); in mark_src_live() 48 mark_live_cb(nir_src *src, void *defs_live) in mark_live_cb() argument 50 mark_src_live(src, defs_live); in mark_live_cb() 55 is_live(BITSET_WORD *defs_live, nir_instr *instr) in is_live() argument 63 return is_dest_live(&alu->dest.dest, defs_live); in is_live() 67 return is_dest_live(&deref->dest, defs_live); in is_live() [all …]
|