mesa/src
Connor Abbott e8308d0523 nir/cse: use the instruction set API
This replaces an O(n^2) algorithm with an O(n) one, while allowing us to
import most of the infrastructure required for GVN. The idea is to walk
the dominance tree depth-first, similar when converting to SSA, and
remove the instructions from the set when we're done visiting the
sub-tree of the dominance tree so that the only instructions in the set
are the instructions that dominate the current block.

No piglit regressions. No shader-db changes.

Compilation time for full shader-db:

Difference at 95.0% confidence
        -35.826 +/- 2.16018
        -6.2852% +/- 0.378975%
        (Student's t, pooled s = 3.37504)

v2:
- rebase on start_block removal
- remove useless state struct
- change commit message

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
2015-10-09 10:14:42 -04:00
..
egl egl/dri2: Properly dereference array. 2015-10-07 11:48:49 -07:00
gallium nvc0: move HW SM queries to nvc0_query_hw_sm.c/h files 2015-10-09 14:09:57 +02:00
gbm gbm: convert gbm bo format to fourcc format on dma-buf import 2015-09-15 12:27:45 +01:00
getopt
glsl nir/cse: use the instruction set API 2015-10-09 10:14:42 -04:00
glx glx: Drop CRAY support. 2015-10-05 14:34:16 -07:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H 2015-07-22 16:35:25 +01:00
mapi glapi: add function pointers for KHR_debug for gles 2015-10-07 15:07:01 +01:00
mesa i965/fs: Handle non-const sample number in interpolateAtSample 2015-10-09 15:13:40 +02:00
util util: Move DRI parse_debug_string() to util 2015-10-08 12:13:31 -07:00
Makefile.am glsl: shader-enum to name debug fxns 2015-09-16 10:04:13 -04:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00