qir_dump(struct vc4_compile *c)
{
int ip = 0;
+ int pressure = 0;
qir_for_each_block(block, c) {
fprintf(stderr, "BLOCK %d:\n", block->index);
if (c->temp_start) {
bool first = true;
+ fprintf(stderr, "%3d ", pressure);
+
for (int i = 0; i < c->num_temps; i++) {
if (c->temp_start[i] != ip)
continue;
fprintf(stderr, ", ");
}
fprintf(stderr, "S%4d", i);
+ pressure++;
}
if (first)
fprintf(stderr, ", ");
}
fprintf(stderr, "E%4d", i);
+ pressure--;
}
if (first)