Lines Matching refs:const_state
209 struct ir3_const_state *const_state = ir3_const_state(ctx->so); in lower_immed() local
210 if (const_state->immediates_count == const_state->immediates_size) { in lower_immed()
211 const_state->immediates = rerzalloc( in lower_immed()
212 const_state, const_state->immediates, in lower_immed()
213 __typeof__(const_state->immediates[0]), const_state->immediates_size, in lower_immed()
214 const_state->immediates_size + 4); in lower_immed()
215 const_state->immediates_size += 4; in lower_immed()
217 for (int i = const_state->immediates_count; in lower_immed()
218 i < const_state->immediates_size; i++) in lower_immed()
219 const_state->immediates[i] = 0xd0d0d0d0; in lower_immed()
223 for (i = 0; i < const_state->immediates_count; i++) { in lower_immed()
224 if (const_state->immediates[i] == reg->uim_val) in lower_immed()
228 if (i == const_state->immediates_count) { in lower_immed()
232 if (const_state->offsets.immediate + const_state->immediates_count / 4 >= in lower_immed()
236 const_state->immediates[i] = reg->uim_val; in lower_immed()
237 const_state->immediates_count++; in lower_immed()
241 reg->num = i + (4 * const_state->offsets.immediate); in lower_immed()