intel/compiler: Drop invalidate_live_intervals()
Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
This commit is contained in:

committed by
Matt Turner

parent
acf24df201
commit
2878817197
@@ -125,7 +125,6 @@ public:
|
|||||||
bool get_pull_locs(const fs_reg &src, unsigned *out_surf_index,
|
bool get_pull_locs(const fs_reg &src, unsigned *out_surf_index,
|
||||||
unsigned *out_pull_index);
|
unsigned *out_pull_index);
|
||||||
void lower_constant_loads();
|
void lower_constant_loads();
|
||||||
void invalidate_live_intervals();
|
|
||||||
virtual void invalidate_analysis(brw::analysis_dependency_class c);
|
virtual void invalidate_analysis(brw::analysis_dependency_class c);
|
||||||
void calculate_register_pressure();
|
void calculate_register_pressure();
|
||||||
void validate();
|
void validate();
|
||||||
|
@@ -364,14 +364,6 @@ fs_live_variables::validate(const backend_shader *s) const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
fs_visitor::invalidate_live_intervals()
|
|
||||||
{
|
|
||||||
/* XXX -- Leave this around for the moment to keep the fs_vistor object
|
|
||||||
* concrete.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
fs_live_variables::vars_interfere(int a, int b) const
|
fs_live_variables::vars_interfere(int a, int b) const
|
||||||
{
|
{
|
||||||
|
@@ -1248,8 +1248,6 @@ backend_shader::calculate_cfg()
|
|||||||
void
|
void
|
||||||
backend_shader::invalidate_analysis(brw::analysis_dependency_class c)
|
backend_shader::invalidate_analysis(brw::analysis_dependency_class c)
|
||||||
{
|
{
|
||||||
if (c)
|
|
||||||
invalidate_live_intervals();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" const unsigned *
|
extern "C" const unsigned *
|
||||||
|
@@ -84,7 +84,6 @@ public:
|
|||||||
|
|
||||||
void calculate_cfg();
|
void calculate_cfg();
|
||||||
|
|
||||||
virtual void invalidate_live_intervals() = 0;
|
|
||||||
virtual void invalidate_analysis(brw::analysis_dependency_class c);
|
virtual void invalidate_analysis(brw::analysis_dependency_class c);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -135,7 +135,6 @@ public:
|
|||||||
void move_push_constants_to_pull_constants();
|
void move_push_constants_to_pull_constants();
|
||||||
void split_uniform_registers();
|
void split_uniform_registers();
|
||||||
void pack_uniform_registers();
|
void pack_uniform_registers();
|
||||||
void invalidate_live_intervals();
|
|
||||||
virtual void invalidate_analysis(brw::analysis_dependency_class c);
|
virtual void invalidate_analysis(brw::analysis_dependency_class c);
|
||||||
void split_virtual_grfs();
|
void split_virtual_grfs();
|
||||||
bool opt_vector_float();
|
bool opt_vector_float();
|
||||||
|
@@ -254,14 +254,6 @@ vec4_live_variables::~vec4_live_variables()
|
|||||||
ralloc_free(mem_ctx);
|
ralloc_free(mem_ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
vec4_visitor::invalidate_live_intervals()
|
|
||||||
{
|
|
||||||
/* XXX -- Leave this around for the moment to keep the vec4_vistor object
|
|
||||||
* concrete.
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
check_register_live_range(const vec4_live_variables *live, int ip,
|
check_register_live_range(const vec4_live_variables *live, int ip,
|
||||||
unsigned var, unsigned n)
|
unsigned var, unsigned n)
|
||||||
|
Reference in New Issue
Block a user