SPIRV-Tools/source/util
Steven Perron 75c1bf2843
Add option for the max id bound. (#1870)
* Create a new entry point for the optimizer

Creates a new struct to hold the options for the optimizer, and creates
an entry point that take the optimizer options as a parameter.

The old entry point that takes validator options are now deprecated.
The validator options will be one of the optimizer options.

Part of the optimizer options will also be the upper bound on the id bound.

* Add a command line option to set the max value for the id bound.  The default is 0x3FFFFF.

* Modify `TakeNextIdBound` to return 0 when the limit is reached.
2018-09-10 11:49:41 -04:00
..
bit_vector.cpp Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
bit_vector.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
bitutils.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
hex_float.h Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
ilist_node.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
ilist.h Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
make_unique.h Use MakeUnique. (#1837) 2018-08-14 15:01:50 -04:00
parse_number.cpp Use MakeUnique. (#1837) 2018-08-14 15:01:50 -04:00
parse_number.h Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
small_vector.h Use MakeUnique. (#1837) 2018-08-14 15:01:50 -04:00
string_utils.cpp Add option for the max id bound. (#1870) 2018-09-10 11:49:41 -04:00
string_utils.h Add option for the max id bound. (#1870) 2018-09-10 11:49:41 -04:00
timer.cpp Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
timer.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00