intel/ir: Pass block cycle count information explicitly to disassembler.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 3 Apr 2020 00:42:57 +0000 (17:42 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 29 Apr 2020 06:01:27 +0000 (23:01 -0700)
commit486f3b04a59e0ee9c669e6e81197575a36e19442
tree1928f035cc220a8e87098d55c23d08703405bc18
parent6579f562c307d12a2654b511a7ef85f7b4cddeae
intel/ir: Pass block cycle count information explicitly to disassembler.

So we can eventually remove the cycle count estimates from the CFG
data structure and consolidate performance information in the
brw::performance object.

It would be cleaner to pass the brw::performance object directly to
the disassembler but that isn't straightforward since the disassembler
is built as a plain C file unlike the rest of the compiler back-end.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_disasm_info.c
src/intel/compiler/brw_disasm_info.h
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_vec4_generator.cpp
src/intel/compiler/test_eu_validate.cpp