nir: Add a structurizer
authorJulian Winkler <julian.winkler1@web.de>
Mon, 6 Apr 2020 10:52:06 +0000 (12:52 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 14 Aug 2020 20:35:36 +0000 (20:35 +0000)
commitb273611bb177b1a00d292f4d7df55efdf0f4ad61
treebeaaf51120dcae54593eba8091ea776776d40d61
parent025bdbac3e09ae9bac9eefb831e9446b9574d120
nir: Add a structurizer

v2 (Karol):
  renamed pathes to paths
  use more bool
  use _mesa_set_intersects
  deduplicated some code
  fixed some typos
v3 (Karol):
  don't enable structurizer as we do this in vtn now
v4 (Jason):
  A few clean-ups due to unstructured NIR changes
v5 (Jason):
  Misc whitespace and style cleanups

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Tested-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2401>
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_builder.h
src/compiler/nir/nir_lower_goto_ifs.c [new file with mode: 0644]