SPIRV-Tools/test/stats
Andrey Tuganov 78cf86150e Add id descriptor feature to SPIR-V
Id descriptors are computed as a recursive hash of all instructions used
to define an id. Descriptors are invarint of actual id values and
the similar code in different files would produce the same descriptors.

Multiple ids can have the same descriptor. For example
%1 = OpConstant %u32 1
%2 = OpConstant %u32 1
would produce two ids with the same descriptor. But
%3 = OpConstant %s32 1
%4 = OpConstant %u32 2
would have descriptors different from %1 and %2.

Descriptors will be used as handles of move-to-front sequences in SPIR-V
compression.
2017-08-10 18:44:52 -04:00
..
CMakeLists.txt Added statistical analysis tool (tool/stats) 2017-04-10 17:15:04 -04:00
stats_aggregate_test.cpp Add id descriptor feature to SPIR-V 2017-08-10 18:44:52 -04:00
stats_analyzer_test.cpp Added Markov chain analysis to stats 2017-04-26 02:31:13 -04:00