summaryrefslogtreecommitdiff
path: root/source/comp
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2017-11-10 20:26:55 -0500
committerSteven Perron <stevenperron@google.com>2017-11-23 11:45:09 -0500
commit28c415500dc0f4bddfbe2bff00f83a92f2680ded (patch)
tree18f47ce4f16be3c807c4fe8248e22f0ec57ebc2f /source/comp
parentf407ae2b5004a2a53e4f303b8b44c868d1c4c228 (diff)
Create a local value numbering pass
Creates a pass that removes redundant instructions within the same basic block. This will be implemented using a hash based value numbering algorithm. Added a number of functions that check for the Vulkan descriptor types. These are used to determine if we are variables are read-only or not. Implemented a function to check if loads and variables are read-only. Implemented kernel specific and shader specific versions. A big change is that the Combinator analysis in ADCE is factored out into the IRContext as an analysis. This was done because it is being reused in the value number table.
Diffstat (limited to 'source/comp')
0 files changed, 0 insertions, 0 deletions