intel/compiler: Move register pressure calculation into IR analysis object
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 13 Mar 2016 23:35:49 +0000 (16:35 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 6 Mar 2020 18:21:10 +0000 (10:21 -0800)
commite5e4d016b94fc402c328d9a202504d811d2bb5ce
tree0eb2db4ad9bfdd511aa2c975a32322995bba3392
parentf6cdf66cd6e2515471c7944f67ddb87881c2366e
intel/compiler: Move register pressure calculation into IR analysis object

This defines a new BRW_ANALYSIS object which wraps the register
pressure computation code along with its result.  For the rationale
see the previous commits converting the liveness and dominance
analysis passes to the IR analysis framework.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_visitor.cpp