summaryrefslogtreecommitdiff
path: root/src/analysis/transfer-function.h
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2023-10-31 04:29:26 +0100
committerGitHub <noreply@github.com>2023-10-31 04:29:26 +0100
commit220196efd69e56d818364708e956602889223f26 (patch)
treec3c1d41cd59e1784192abbb5dcfa305fe5a242b6 /src/analysis/transfer-function.h
parentbdc8b4d808913687a7e1811fa5f2d3bf4c55b612 (diff)
downloadbinaryen-220196efd69e56d818364708e956602889223f26.tar.gz
binaryen-220196efd69e56d818364708e956602889223f26.tar.bz2
binaryen-220196efd69e56d818364708e956602889223f26.zip
[analysis] Implement a vector lattice (#6058)
The vector lattice is nearly identical to the array lattice, except that the size of the elements is specified at runtime when the lattice object is created rather than at compile time. The code and tests are largely copy-pasted and fixed up from the array implementation, but there are a couple differences. First, initializing vector elements does not need the template magic used to initialize array elements. Second, the obvious implementations of join and meet do not work for vectors of bools because they might be specialized to be bit vectors, so we need workarounds for that particular case.
Diffstat (limited to 'src/analysis/transfer-function.h')
0 files changed, 0 insertions, 0 deletions