intel/compiler: Introduce simple IR analysis pass framework
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 7 Mar 2016 02:11:20 +0000 (18:11 -0800)
committerMatt Turner <mattst88@gmail.com>
Fri, 6 Mar 2020 18:20:30 +0000 (10:20 -0800)
commit03eb46f4a74c8df3de6785ffe18e968b876469b8
treee908f4481001704941ea31565c2bcef00c891571
parent27ae3c1f684fe64e47f7a6cd374dc156f15847e0
intel/compiler: Introduce simple IR analysis pass framework

Motivated in detail in the source code.  The only piece missing here
from the analysis pass infrastructure is some sort of mechanism to
broadcast changes in the IR to all existing analysis passes, which
will be addressed by a future commit.  The analysis_dependency_class
enum might seem a bit silly at this point, more interesting dependency
categories will be defined later on.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4012>
src/intel/compiler/brw_ir_analysis.h [new file with mode: 0644]
src/intel/compiler/meson.build