r300/compiler: Add a new function for more efficient dataflow analysis
authorTom Stellard <tstellar@gmail.com>
Sun, 10 Oct 2010 19:39:00 +0000 (12:39 -0700)
committerTom Stellard <tstellar@gmail.com>
Tue, 19 Oct 2010 03:51:05 +0000 (20:51 -0700)
commit9d2ab6cb00e72fd8b53d0f97578758504b49ee23
treed2e69dfaebca26ce07dba7fcac159fa9f9012edb
parent3cdff41d9245f997c465869148a74a2041739504
r300/compiler: Add a new function for more efficient dataflow analysis

rc_get_readers_normal() supplies a list of readers for a given
instruction.  This function is now being used by the copy propagate
optimization and will eventually be used by most other optimization
passes as well.
src/mesa/drivers/dri/r300/compiler/Makefile
src/mesa/drivers/dri/r300/compiler/SConscript
src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.c [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/radeon_compiler_util.h [new file with mode: 0644]
src/mesa/drivers/dri/r300/compiler/radeon_dataflow.c
src/mesa/drivers/dri/r300/compiler/radeon_dataflow.h
src/mesa/drivers/dri/r300/compiler/radeon_optimize.c