Home | History | Annotate | Download | only in nir

Lines Matching refs:defs

65    /* Array of SSA defs, indexed by block.  For each block, this array has has
76 * one of the defs provided by nir_phi_builder_value_set_blocK_def().
78 nir_ssa_def *defs[0];
109 unsigned bit_size, const BITSET_WORD *defs)
114 val = rzalloc_size(pb, sizeof(*val) + sizeof(val->defs[0]) * pb->num_blocks);
124 BITSET_FOREACH_SET(i, tmp, defs, pb->num_blocks) {
146 if (val->defs[next->index] == NULL) {
151 val->defs[next->index] = NEEDS_PHI;
168 val->defs[block->index] = def;
179 while (dom && val->defs[dom->index] == NULL)
195 } else if (val->defs[dom->index] == NEEDS_PHI) {
200 * Because a phi node may use SSA defs that it does not dominate (this
219 def = val->defs[dom->index] = &phi->dest.ssa;
225 def = val->defs[dom->index];
235 for (dom = block; dom && val->defs[dom->index] == NULL; dom = dom->imm_dom)
236 val->defs[dom->index] = def;