summaryrefslogtreecommitdiff
path: root/test/passes/O3_low-memory-unused_metrics.txt
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-06-21 16:26:03 -0700
committerGitHub <noreply@github.com>2022-06-21 16:26:03 -0700
commit7fa4c0841c31930759fbad2efb8ada3ef0e6f3ef (patch)
tree2960d25f343d4435415cb97cafaaf994e8651fbb /test/passes/O3_low-memory-unused_metrics.txt
parent6f37355ae24449c178abcdb08294d0fb3ef5f50c (diff)
downloadbinaryen-7fa4c0841c31930759fbad2efb8ada3ef0e6f3ef.tar.gz
binaryen-7fa4c0841c31930759fbad2efb8ada3ef0e6f3ef.tar.bz2
binaryen-7fa4c0841c31930759fbad2efb8ada3ef0e6f3ef.zip
PossibleContents + ContentOracle (#4685)
This pulls out the core PossibleContents and ContentOracle classes from the very large #4598, making a smaller PR that can be reviewed first. This includes unit tests for the code, but comprehensive testing will only appear in the later PR, when a new pass is added that uses all this. PossibleContents tracks the possible contents at particular locations in the program. It can track constant values as well as "this must contain this exact type", which is more than wasm itself can indicate. *Location structs are provided to declare locations in the wasm, like the location of a local or of a function argument. ContentOracle analyzes the entire program, and can then map a Location to the PossibleContents there, which a later pass will use to optimize.
Diffstat (limited to 'test/passes/O3_low-memory-unused_metrics.txt')
0 files changed, 0 insertions, 0 deletions