-
Notifications
You must be signed in to change notification settings - Fork 78
Add missing type unrollings #1677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
28dc22b
Use Cil.isIntegralType in constants analysis
sim642 77457e4
Use Cil.isIntegralType in extractPthread analysis
sim642 95e136b
Add TODOs about unrollType (issue #1600)
sim642 169e2ce
No need to match and unroll comparison operator type in LoopUnrolling
sim642 8aeaff2
Merge branch 'master' into unrolltype
sim642 4dad1e7
Replace some typ matching with predicates
sim642 0c20c66
No need to match and unroll comparison operator type in WideningThres…
sim642 47c9084
Add some type unrolling
sim642 970abfe
Don't catch exception which is not supposed to get raised
sim642 1acabef
Fix unrollType TODOs in BaseInvariant
sim642 cb49fc2
Fix more unrollType TODOs
sim642 6c4ff69
Unroll types in ValueDomain
sim642 13c3620
Unroll types in SharedFunctions
sim642 6b0dbaa
Remove impossible case in ValueDomain.cast
sim642 c477445
Remove unrollType TODOs related to CIL visitors
sim642 6101935
Fix ValueDomain indentation
sim642 cd31c1a
Handle TEnum similarly to TInt in many places
sim642 031001e
Remove unnecessary result type match for comparison operators
sim642 a857f75
Merge branch 'master' into unrolltype
sim642 af5bcfa
Handle TEnum similarly to TInt in BitfieldDomain
sim642 9c31b81
Use Cil.lenOfArray for AutoTune0.is_large_array
sim642 917d6bd
Simplify void return assert in base
sim642 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we not do this rather than leave new TODOs in the code base?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now the ones in
Access
aren't directly suitable for reuse here: whatAccess
considers ignorable isn't exactly what unrolling considers important (e.g.FILE
,jmp_buf
, etc).I think this needs a bit bigger refactoring. In particular, what I'd like to have is something like
LibraryTypes
(but initially at least less DSLy thanLibraryFunctions
). These are currently unconditional everywhere, but they should also be controlled bylib.activated
.I think recently @karoliineh found something in sv-benchmarks where our Linux kernel-specific overrides trigger on LDV tasks because they use the same names, but actually have stub implementations different from the kernel's. In the specific case we were perhaps imprecise because of it (?) but this is actually accidental task fingerprinting.