intel/fs: Replace fs_visitor::bank_conflict_cycles() with stand-alone function.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 2 Apr 2020 23:20:34 +0000 (16:20 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Apr 2020 06:00:29 +0000 (23:00 -0700)
commitbda1d72dd999a819b9645f55c2247bf84292bf34
tree97116e64d94832708a2d3504b95d45976933e486
parentd2ed74079542dac5668ab057802bc8ede3aca618
intel/fs: Replace fs_visitor::bank_conflict_cycles() with stand-alone function.

This will be re-usable by the IR performance analysis pass.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_fs.h
src/intel/compiler/brw_fs_bank_conflicts.cpp
src/intel/compiler/brw_ir_fs.h
src/intel/compiler/brw_schedule_instructions.cpp