Added Markov chain analysis to stats
authorAndrey Tuganov <andreyt@google.com>
Thu, 20 Apr 2017 19:32:38 +0000 (15:32 -0400)
committerDavid Neto <dneto@google.com>
Wed, 26 Apr 2017 06:31:13 +0000 (02:31 -0400)
commit87a3f651e2416c830cb1eab410b3616068395985
tree12356a24f3af4b8b86b8018f56d8fe48f5062f95
parentbad90d9f12483b243cb1a0e740b640b1b987174b
Added Markov chain analysis to stats

Added data structure to SpirvStats which is used to collect statistics
on opcodes following other opcodes.

Added a simple analysis print-out to spirv-stats.
source/spirv_stats.cpp
source/spirv_stats.h
test/stats/stats_aggregate_test.cpp
test/stats/stats_analyzer_test.cpp
tools/stats/stats.cpp
tools/stats/stats_analyzer.cpp
tools/stats/stats_analyzer.h