Lei Zhang
114af21994
Add MessageConsumer to PassManager, Pass, and analysis interfaces.
...
Also convert some uses of assert() in optimization code to use
SPIRV_ASSERT(), SPIRV_UNIMPLEMENTED(), or SPIRV_UNREACHABLE()
accordingly.
2016-09-16 13:14:57 -04:00
David Neto
9fc8658ef3
Relicense SPIRV-Tools under Apache 2.0
...
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/383
Finalize v2016.4
2016-09-02 10:00:29 -04:00
qining
2ce67252c8
Add forwarding so that passes' ctor can have args.
...
Also removed the default argument value of `skip_nop` for function
`SinglePassRunAndCheck()` and `SinglePassRunAndDisassemble()`. This is
required to support variadic arguments.
2016-08-31 15:27:55 -04:00
David Neto
1d59aa0777
Pass manager recomputes Id bound automatically.
...
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/371
in the sense that the id bound is correct after all the passes
have been run. But it might be inconsistent between passes.
2016-08-27 13:19:18 -04:00
Lei Zhang
2c4c73cf37
Add Pass, PassManager, and StripDebugInfoPass.
2016-06-29 17:32:00 -04:00