SPIRV-Tools/source/val
Lei Zhang 063dbea0f1 Turn all function static non-POD variables into global POD variables
Function static non-POD data causes problems with DLL lifetime.
This pull request turns all static info tables into strict POD
tables. Specifically, the capabilities/extensions field of
opcode/operand/extended-instruction table are turned into two
fields, one for the count and the other a pointer to an array of
capabilities/extensions. CapabilitySet/EnumSet are not used in
the static table anymore, but they are still used for checking
inclusion by constructing on the fly, which should be cheap for
the majority cases.

Also moves all these tables into the global namespace to avoid
C++11 function static thread-safe initialization overhead.
2017-10-25 15:44:19 -04:00
..
basic_block.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
basic_block.h Add SPIR-V 1.2 support, for OpenCL 2.2 2017-05-15 17:10:07 -04:00
construct.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
construct.h Check strict domination of merge block 2017-02-10 12:26:10 -05:00
decoration.h Check BuiltIn Decoration rules. 2017-01-19 16:01:06 -05:00
function.cpp CFA: Move TraversalRoots and ComputeAugmentedCFG into CFA 2017-05-25 11:43:24 -06:00
function.h Validator checks OpReturn called from void func 2017-10-12 15:32:32 -04:00
instruction.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
instruction.h Stats analyzer aggregates OpConstant usage 2017-05-09 11:50:15 -04:00
validation_state.cpp Turn all function static non-POD variables into global POD variables 2017-10-25 15:44:19 -04:00
validation_state.h Add validation pass for conversion instructions 2017-10-20 13:51:24 -04:00