-
Notifications
You must be signed in to change notification settings - Fork 1.8k
C++: Make AST GVN a wrapper for IR-based GVN #2724
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
Closed
MathiasVP
wants to merge
45
commits into
github:master
from
MathiasVP:rdmarsh2/rdmarsh/cpp/ir-gvn-ast-wrapper
Closed
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
d0026f9
C++: separate IR ValueNumber newtype and interface
da732d5
C++: add IR-based wrapper for value numbering
48cff3b
C++: Change toString predicate and add hasLocationInfo predicate on V…
MathiasVP de0a6d6
C++: Added getKind predicate
MathiasVP 8fc9a71
C++: Added IR global value numbering uniqueness test
MathiasVP f586719
C++: Sync'd unaliased_ssa and aliased_ssa files
MathiasVP 4b74d11
C++: Added getAnExpr predicate to ValueNumber class
MathiasVP c01a4b7
C++: Added getAnExpr test
MathiasVP 6f0a521
C++: Fix incorrect merge conflict resolution
MathiasVP 26dbf05
C#: Sync files
MathiasVP ea2f653
C++: Fix new formatting (hopefully)
MathiasVP 2a7fad7
Update csharp/ql/src/semmle/code/csharp/ir/implementation/raw/gvn/int…
e2348e0
Update csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_s…
c70deb1
Update cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/gvn/i…
61d5c2a
Update cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/gvn/i…
9968d76
C++: Updated ir_uniqueness test based on Robert's comments (and accep…
MathiasVP 2adc658
C++: Accepted ir_gvn output after changing toString implemenetation
MathiasVP 8b91c2d
C++/C#: Sync identical files
MathiasVP 46e1fbc
C++: Fix bad merge
MathiasVP a6dfe9d
C++: Use getDebugString instead of toString in ValueNumberPropertyPro…
MathiasVP 50030bc
C++: Accept output
MathiasVP 72f469a
C++: Fix new formatting
MathiasVP 02be5fc
C++/C#: Sync identical files
MathiasVP 0f71d83
C++: Fix new formatting
MathiasVP 5243a6a
C++: Modify Bound.qll to use hasLocationInfo instead of getLocation o…
MathiasVP fba14f8
C++: Sync identical files
MathiasVP a4977a9
C++: Accept output. Currently too many locations are being reported d…
MathiasVP 77b888f
C++: Fix formatting
MathiasVP a605fec
C++: Replace rank[1] with min
MathiasVP cb52388
C++: Replace implementation of hasLocationInfo with getLocation
MathiasVP c7617f5
C++: GVN should use getUnconverted[...] instead of getConverted[...]
MathiasVP b7eb23a
C++: Fix spelling
MathiasVP f0521dd
C++: Don't call getUnconvertedResultExpression in ValueNumbering's ge…
MathiasVP 9cd2c23
C++: Accept test output
MathiasVP 2ec0d72
C++: Add charpred to ASTValueNumbering class to ensure that only valu…
MathiasVP f5c95c8
C++: Accepted test output for test_ir_expr
MathiasVP ac1b19b
C++: Formatting
MathiasVP d06f130
C++: Fix imports
MathiasVP 2a21627
C++/C#: Sync identical files
MathiasVP 94a089c
Accept test output
MathiasVP cb9c0cf
C#: Sync identical files
MathiasVP 3c9c2b2
C#: Move imports from ValueNumberingImports to ValueNumberingInternal…
MathiasVP 0bb900c
Add a getAConvertedExpr predicate for obtaining converted expressions…
MathiasVP b690e14
C#: Fix import
MathiasVP 19b68fe
C++/C#: Sync identical files
MathiasVP 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
1 change: 1 addition & 0 deletions
1
.../src/semmle/code/cpp/ir/implementation/aliased_ssa/gvn/internal/ValueNumberingImports.qll
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| import semmle.code.cpp.ir.implementation.aliased_ssa.IR | ||
| import semmle.code.cpp.ir.internal.Overlap | ||
| import semmle.code.cpp.ir.internal.IRCppLanguage as Language |
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.
Uh oh!
There was an error while loading. Please reload this page.