Lines Matching refs:index
256 reg->index = impl->reg_alloc++;
724 src_init(&instr->arr.index);
1094 if (instr->block && def->index == UINT_MAX) {
1098 def->index = impl->ssa_alloc++;
1383 unsigned index = 0;
1385 reg->index = index++;
1387 impl->reg_alloc = index;
1752 def->index = impl->ssa_alloc++;
1756 def->index = UINT_MAX;
2111 return (int) block1->index - (int) block2->index;
2134 unsigned index = 0;
2140 block->index = index++;
2143 /* The end_block isn't really part of the program, which is why its index
2146 impl->num_blocks = impl->end_block->index = index;
2152 unsigned *index = (unsigned *) state;
2153 def->index = (*index)++;
2160 * that, if A dominates B, then A->index <= B->index.
2165 unsigned index = 0;
2171 nir_foreach_ssa_def(instr, index_ssa_def_cb, &index);
2174 impl->ssa_alloc = index;
2179 * that, if A dominates B, then A->index <= B->index.
2184 unsigned index = 0;
2187 block->start_ip = index++;
2190 instr->index = index++;
2192 block->end_ip = index++;
2195 return index;
2203 var->index = count++;
2212 var->index = count++;
2823 res.indices[res.num_indices++] = deref->arr.index;
2864 /* Can't use just nir_src_as_uint. Vulkan resource index produces a