diff options
author | Francisco Jerez <[email protected]> | 2016-03-09 17:46:16 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2020-03-06 10:20:43 -0800 |
commit | ba73e606f63a4633fa9d8bef69f87b2d88851416 (patch) | |
tree | 6a6bcb69c3f943b558458b9933fcb57adca06ecd /src/intel/compiler/brw_vec4_cse.cpp | |
parent | 3ceb496cdf5ef0ccc79e71c8fb856535501a9446 (diff) |
intel/compiler: Move all live interval analysis results into fs_live_variables
This moves the following methods that are currently defined in
fs_visitor (even though they are side products of the liveness
analysis computation) and are already implemented in
brw_fs_live_variables.cpp:
> bool virtual_grf_interferes(int a, int b) const;
> int *virtual_grf_start;
> int *virtual_grf_end;
It makes sense for them to be part of the fs_live_variables object,
because they have the same lifetime as other liveness analysis results
and because this will allow some extra validation to happen wherever
they are accessed in order to make sure that we only ever use
up-to-date liveness analysis results.
This shortens the virtual_grf prefix in order to compensate for the
slightly increased lexical overhead from the live_intervals pointer
dereference.
Reviewed-by: Matt Turner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
Diffstat (limited to 'src/intel/compiler/brw_vec4_cse.cpp')
0 files changed, 0 insertions, 0 deletions