Skip to content

Conversation

@MathiasVP
Copy link
Contributor

This PR continues the work in #1542 by:

  • Implementing toString() as result = "GVN"
  • Adding a hasLocation() predicate
  • Implementing getKind()
  • Implementing getAnExpr()
  • Adding tests demonstrating the differences between AST-based GVN and IR-based GVN

@MathiasVP MathiasVP changed the title Make AST GVN a wrapper for IR-based GVN C++: Make AST GVN a wrapper for IR-based GVN Jan 30, 2020
@MathiasVP MathiasVP added the C++ label Jan 30, 2020
@MathiasVP MathiasVP force-pushed the rdmarsh2/rdmarsh/cpp/ir-gvn-ast-wrapper branch from d91dfb7 to dee1f24 Compare January 30, 2020 14:12
@MathiasVP MathiasVP marked this pull request as ready for review January 30, 2020 15:46
@MathiasVP MathiasVP requested review from a team as code owners January 30, 2020 15:46
Robert Marsh and others added 18 commits January 31, 2020 12:15
…ernal/ValueNumberingImports.qll

Co-Authored-By: Robert Marsh <[email protected]>
…sa/gvn/internal/ValueNumberingImports.qll

Co-Authored-By: Robert Marsh <[email protected]>
…nternal/ValueNumberingInternal.qll

Co-Authored-By: Robert Marsh <[email protected]>
…nternal/ValueNumberingInternal.qll

Co-Authored-By: Robert Marsh <[email protected]>
@MathiasVP MathiasVP force-pushed the rdmarsh2/rdmarsh/cpp/ir-gvn-ast-wrapper branch from eefaf4c to 8b91c2d Compare January 31, 2020 11:17
… to prevent the sync script from complaining
… with a given value number. Also added a getKind for the AST value numbering implementation with the same behavior as the IR value numbering
@MathiasVP MathiasVP requested a review from rdmarsh2 February 4, 2020 14:28
@MathiasVP MathiasVP added the WIP This is a work-in-progress, do not merge yet! label Feb 5, 2020
@MathiasVP MathiasVP closed this Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ WIP This is a work-in-progress, do not merge yet!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants