summaryrefslogtreecommitdiff
path: root/src/support/unique_deferring_queue.h
Commit message (Collapse)AuthorAgeFilesLines
* Use UniqueDeferringQueue in Precompute (#4179)Alon Zakai2021-09-221-0/+1
|
* UniqueDeferredQueue improvements (#3847)Alon Zakai2021-04-291-0/+26
| | | | | | | | Add clear(). Add UniqueNonrepeatingDeferredQueue which also has the property that it never repeats values in the output. Also add unit tests.
* Apply format changes from #2048 (#2059)Alon Zakai2019-04-261-2/+1
| | | Mass change to apply clang-format to everything. We are applying this in a PR by me so the (git) blame is all mine ;) but @aheejin did all the work to get clang-format set up and all the manual work to tidy up some things to make the output nicer in #2048
* Redundant Set Elimination pass (#1344)Alon Zakai2018-01-051-0/+65
This optimizes #1343. It looks for stores of a value that is already present in the local, which in particular can remove the initial set to 0 of loops starting at zero, since all locals are initialized to that already. This helps in real-world code, but is not super-common since coalescing means we tend to have assigned something else to it anyhow before we need it to be zero, so this mainly helps in small functions (and running this before coalescing would extend live ranges in potentially bad ways).