Everything has been converted to preserve the CFG.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
}
if (progress)
- v->invalidate_live_intervals(false);
+ v->invalidate_live_intervals();
return progress;
}
}
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
/**
if (remap_table[i] != -1) {
remap_table[i] = new_index;
virtual_grf_sizes[new_index] = virtual_grf_sizes[i];
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
++new_index;
}
}
inst->src[i].reg_offset = 0;
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
bool
}
if (progress) {
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
for (unsigned i = 0; i < ARRAY_SIZE(delta_x); i++) {
if (delta_x[i].file == GRF && remap[delta_x[i].reg] != -1) {
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
/**
inst->opcode = FS_OPCODE_UNIFORM_PULL_CONSTANT_LOAD_GEN7;
inst->src[1] = payload;
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
} else {
/* Before register allocation, we didn't tell the scheduler about the
* MRF we use. We know it's safe to use this MRF because nothing
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
void
fs_visitor::calculate_register_pressure()
{
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
calculate_live_intervals();
unsigned num_instructions = instructions.length();
void move_uniform_array_access_to_pull_constants();
void assign_constant_locations();
void demote_pull_constants();
- void invalidate_live_intervals(bool invalidate_cfg = true);
+ void invalidate_live_intervals();
void calculate_live_intervals();
void calculate_register_pressure();
bool opt_algebraic();
ralloc_free(copy_prop_ctx);
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
return progress;
}
void
-fs_visitor::invalidate_live_intervals(bool __invalidate_cfg)
+fs_visitor::invalidate_live_intervals()
{
ralloc_free(live_intervals);
live_intervals = NULL;
-
- if (__invalidate_cfg)
- invalidate_cfg();
}
/**
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
return progress;
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
dispatch_width, sched.time);
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
void
fprintf(stderr, "vec4 estimated execution time: %d cycles\n", sched.time);
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
void assign_common_binding_table_offsets(uint32_t next_binding_table_offset);
- virtual void invalidate_live_intervals(bool invalidate_cfg = true) = 0;
+ virtual void invalidate_live_intervals() = 0;
};
uint32_t brw_texture_offset(struct gl_context *ctx, ir_constant *offset);
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
return progress;
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
void
void split_uniform_registers();
void pack_uniform_registers();
void calculate_live_intervals();
- void invalidate_live_intervals(bool invalidate_cfg = true);
+ void invalidate_live_intervals();
void split_virtual_grfs();
bool opt_reduce_swizzle();
bool dead_code_eliminate();
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
if (progress)
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
return progress;
}
}
void
-vec4_visitor::invalidate_live_intervals(bool __invalidate_cfg)
+vec4_visitor::invalidate_live_intervals()
{
live_intervals_valid = false;
-
- if (__invalidate_cfg)
- invalidate_cfg();
}
bool
}
}
- invalidate_live_intervals(false);
+ invalidate_live_intervals();
}
} /* namespace brw */