Lines Matching refs:inst
296 qir_for_each_inst_inorder(inst, c) { in vc4_register_allocate()
297 if (qir_writes_r4(inst)) { in vc4_register_allocate()
312 if (inst->cond != QPU_COND_ALWAYS) in vc4_register_allocate()
313 class_bits[inst->dst.index] &= ~CLASS_BIT_R4; in vc4_register_allocate()
318 if (inst->dst.file == QFILE_TEMP) in vc4_register_allocate()
319 class_bits[inst->dst.index] &= ~CLASS_BIT_R4; in vc4_register_allocate()
322 switch (inst->op) { in vc4_register_allocate()
324 ra_set_node_reg(g, temp_to_node[inst->dst.index], in vc4_register_allocate()
329 ra_set_node_reg(g, temp_to_node[inst->dst.index], in vc4_register_allocate()
334 assert(inst->src[0].file == QFILE_TEMP); in vc4_register_allocate()
335 class_bits[inst->src[0].index] &= CLASS_BIT_R0_R3; in vc4_register_allocate()
353 if (inst->dst.pack && !qir_is_mul(inst)) { in vc4_register_allocate()
357 class_bits[inst->dst.index] &= CLASS_BIT_A; in vc4_register_allocate()
364 for (int i = 0; i < qir_get_nsrc(inst); i++) { in vc4_register_allocate()
365 if (inst->src[i].file == QFILE_TEMP && in vc4_register_allocate()
366 inst->src[i].pack) { in vc4_register_allocate()
367 if (qir_is_float_input(inst)) { in vc4_register_allocate()
368 class_bits[inst->src[i].index] &= in vc4_register_allocate()
371 class_bits[inst->src[i].index] &= in vc4_register_allocate()