Lines Matching refs:qregs
163 struct qreg *qregs = ralloc_array(c->def_ht, struct qreg, in ntq_init_ssa_def() local
165 _mesa_hash_table_insert(c->def_ht, def, qregs); in ntq_init_ssa_def()
166 return qregs; in ntq_init_ssa_def()
199 struct qreg *qregs; in ntq_store_dest() local
204 qregs = entry->data; in ntq_store_dest()
206 qregs = ntq_init_ssa_def(c, &dest->ssa); in ntq_store_dest()
208 qregs[chan] = result; in ntq_store_dest()
215 struct qreg *qregs = entry->data; in ntq_store_dest() local
227 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
233 last_inst->dst.index = qregs[chan].index; in ntq_store_dest()
253 struct qreg *qregs = ntq_init_ssa_def(c, &dest->ssa); in ntq_get_dest() local
255 qregs[i] = c->undef; in ntq_get_dest()
256 return qregs; in ntq_get_dest()
282 struct qreg *qregs = entry->data; in ntq_get_src() local
283 return qregs[i]; in ntq_get_src()
1673 struct qreg *qregs = ralloc_array(c->def_ht, struct qreg, in ntq_setup_registers() local
1677 _mesa_hash_table_insert(c->def_ht, nir_reg, qregs); in ntq_setup_registers()
1680 qregs[i] = qir_get_temp(c); in ntq_setup_registers()
1687 struct qreg *qregs = ntq_init_ssa_def(c, &instr->def); in ntq_emit_load_const() local
1689 qregs[i] = qir_uniform_ui(c, instr->value[i].u32); in ntq_emit_load_const()
1691 _mesa_hash_table_insert(c->def_ht, &instr->def, qregs); in ntq_emit_load_const()
1697 struct qreg *qregs = ntq_init_ssa_def(c, &instr->def); in ntq_emit_ssa_undef() local
1703 qregs[i] = qir_uniform_ui(c, 0); in ntq_emit_ssa_undef()