Lines Matching refs:const_state
156 struct ir3_const_state *const_state = ir3_const_state(variant); in add_const() local
159 if (const_state->immediates_count == const_state->immediates_size) { in add_const()
160 const_state->immediates = rerzalloc(const_state, in add_const()
161 const_state->immediates, in add_const()
162 __typeof__(const_state->immediates[0]), in add_const()
163 const_state->immediates_size, in add_const()
164 const_state->immediates_size + 4); in add_const()
165 const_state->immediates_size += 4; in add_const()
167 const_state->immediates[idx * 4 + 0] = c0; in add_const()
168 const_state->immediates[idx * 4 + 1] = c1; in add_const()
169 const_state->immediates[idx * 4 + 2] = c2; in add_const()
170 const_state->immediates[idx * 4 + 3] = c3; in add_const()
171 const_state->immediates_count++; in add_const()