diff options
author | Alon Zakai <azakai@google.com> | 2024-09-12 10:26:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-12 10:26:25 -0700 |
commit | 0888f9c245cd864b9386f65ff54331f9fbe993b0 (patch) | |
tree | 7938f9a16094740bbc95e1f6a921b640d14da326 /src/pass.h | |
parent | 43ed681debe7928c894f2ae57823f08988d23475 (diff) | |
download | binaryen-0888f9c245cd864b9386f65ff54331f9fbe993b0.tar.gz binaryen-0888f9c245cd864b9386f65ff54331f9fbe993b0.tar.bz2 binaryen-0888f9c245cd864b9386f65ff54331f9fbe993b0.zip |
[NFC] Make Precompute use a lazy LocalGraph (#6934)
To do this, add locations and getInfluences to LazyLocalGraph. Both cannot
really be computed in a fine-grained manner, so just compute them all on the
first request. That is not as efficient as our lazy computation of getSets and
setInfluences, but they are also less important, and this change makes the
pass 20% faster.
Diffstat (limited to 'src/pass.h')
0 files changed, 0 insertions, 0 deletions