intel/ir: Remove scheduling-based cycle count estimates.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 3 Apr 2020 00:42:21 +0000 (17:42 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Apr 2020 06:01:27 +0000 (23:01 -0700)
commit5e2a7e11b460adab4555d3d16a49968fc5542441
tree4d678587dad4eb2f12935b6045747f492a2431ff
parent486f3b04a59e0ee9c669e6e81197575a36e19442
intel/ir: Remove scheduling-based cycle count estimates.

The cycle count estimation logic part of the scheduler is now
redundant with the shader performance modeling pass, and the estimates
can be consolidated into the brw::performance analysis result object
instead of being part of the CFG, which guarantees that the estimates
cannot be accessed without previously calling the
performance_analysis::require() method, which makes sure that the
right analysis pass is executed at the right time if we don't already
have up-to-date cached results.

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