Lines Matching defs:liveness
608 /* Net change in liveness if an instruction were scheduled. Loosely based on
612 mir_live_effect(uint16_t *liveness, midgard_instruction *ins, bool destructive)
620 free_live += util_bitcount(liveness[ins->dest] & bytemask);
623 liveness[ins->dest] &= ~bytemask;
644 new_live += util_bitcount(bytemask & ~(liveness[S]));
647 liveness[S] |= bytemask;
657 uint16_t *liveness,
679 * pressure. TOOD: replace with liveness tracking for much better
747 int effect = mir_live_effect(liveness, instructions[i], false);
783 mir_live_effect(liveness, instructions[best_index], true);
795 uint16_t *liveness,
810 midgard_instruction *chosen = mir_choose_instruction(instructions, liveness, worklist, count, &predicate);
818 chosen = mir_choose_instruction(instructions, liveness, worklist, count, &predicate);
824 chosen = mir_choose_instruction(instructions, liveness, worklist, count, &predicate);
843 uint16_t *liveness,
854 *slot = mir_choose_instruction(instructions, liveness, worklist, len, predicate);
1021 uint16_t *liveness,
1032 mir_choose_instruction(instructions, liveness, worklist, len, &predicate);
1051 uint16_t *liveness,
1064 mir_choose_instruction(instructions, liveness, worklist, len, &predicate);
1067 mir_choose_instruction(instructions, liveness, worklist, len, &predicate);
1093 uint16_t *liveness,
1117 mir_choose_instruction(instructions, liveness, worklist, len, predicate);
1160 uint16_t *liveness,
1181 mir_choose_alu(&branch, instructions, liveness, worklist, len, &predicate, ALU_ENAB_BR_COMPACT);
1256 mir_schedule_zs_write(ctx, &predicate, instructions, liveness, worklist, len, branch, &smul, &vadd, &vlut, false);
1259 mir_schedule_zs_write(ctx, &predicate, instructions, liveness, worklist, len, branch, &smul, &vadd, &vlut, true);
1261 mir_choose_alu(&smul, instructions, liveness, worklist, len, &predicate, UNIT_SMUL);
1266 mir_choose_alu(&vlut, instructions, liveness, worklist, len, &predicate, UNIT_VLUT);
1268 mir_choose_alu(&vadd, instructions, liveness, worklist, len, &predicate, UNIT_VADD);
1294 mir_choose_alu(&sadd, instructions, liveness, worklist, len, &predicate, UNIT_SADD);
1327 mir_choose_instruction(instructions, liveness, worklist, len, &predicate);
1362 mir_choose_alu(&vmul, instructions, liveness, worklist, len, &predicate, UNIT_VMUL);
1438 uint16_t *liveness = calloc(node_count, 2);
1455 unsigned tag = mir_choose_bundle(instructions, liveness, worklist, len, num_ldst);
1459 bundle = mir_schedule_texture(instructions, liveness, worklist, len, ctx->stage != MESA_SHADER_FRAGMENT);
1461 bundle = mir_schedule_ldst(instructions, liveness, worklist, len, &num_ldst);
1463 bundle = mir_schedule_alu(ctx, instructions, liveness, worklist, len);
1501 free(liveness);