SPIRV-Tools/include/spirv-tools
Steven Perron 06cdb96984 Make use of the instruction folder.
Implementation of the simplification pass.

- Create pass that calls the instruction folder on each instruction and
  propagate instructions that fold to a copy.  This will do copy
  propagation as well.

- Did not use the propagator engine because I want to modify the instruction
  as we go along.

- Change folding to not allocate new instructions, but make changes in
  place.  This change had a big impact on compile time.

- Add simplification pass to the legalization passes in place of
  insert-extract elimination.

- Added test cases for new folding rules.

- Added tests for the simplification pass

- Added a method to the CFG to apply a function to the basic blocks in
  reverse post order.

Contributes to #1164.
2018-02-07 23:01:47 -05:00
..
libspirv.h Build SPIRV-Tools as shared library 2018-02-07 10:43:32 -05:00
libspirv.hpp Allow relaxing validation of pointers in logical addressing mode 2018-01-08 10:36:23 -05:00
linker.hpp Linker code cleanups 2018-01-05 13:28:44 -05:00
optimizer.hpp Make use of the instruction folder. 2018-02-07 23:01:47 -05:00