Reviewed-by: Francisco Jerez <currojerez@riseup.net>
this->instructions_to_schedule = 0;
this->post_reg_alloc = (mode == SCHEDULE_POST);
this->mode = mode;
- this->time = 0;
if (!post_reg_alloc) {
this->reg_pressure_in = rzalloc_array(mem_ctx, int, block_count);
int instructions_to_schedule;
int grf_count;
int hw_reg_count;
- int time;
int reg_pressure;
int block_idx;
exec_list instructions;
instruction_scheduler::schedule_instructions(bblock_t *block)
{
const struct gen_device_info *devinfo = bs->devinfo;
- time = 0;
+ int time = 0;
if (!post_reg_alloc)
reg_pressure = reg_pressure_in[block->num];
block_idx = block->num;