-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map written
LocationSet
s to program locations (loc_t
) instead of …
…`IR::Expression*`s (#4797) * Map written LocationSets to program locations (loc_t) instead of IR::Expression*s Signed-off-by: Kyle Cripps <[email protected]> * Use hvec_map instead of ordered_map for writes and use std::unordered_set instead of std::set for cached_locs Signed-off-by: Kyle Cripps <[email protected]> * Short-circuit when parents are equal Signed-off-by: Kyle Cripps <[email protected]> * code cleanup Signed-off-by: Kyle Cripps <[email protected]> * Memoize loc_t hashes Signed-off-by: Kyle Cripps <[email protected]> --------- Signed-off-by: Kyle Cripps <[email protected]>
- Loading branch information
Showing
2 changed files
with
161 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters