This is an archive of the discontinued LLVM Phabricator instance.

[clang][dataflow] Refactor function that queries the solver for satisfiability checking.
ClosedPublic

Authored by wyt on Jun 24 2022, 5:50 AM.

Details

Summary

Given a set of Constraints, querySolver adds common background information across queries (TrueVal is always true and FalseVal is always false) and passes the query to the solver.

checkUnsatisfiable is a simple wrapper around querySolver for checking that the solver returns an unsatisfiable result.

Depends On D128519

Diff Detail

Event Timeline

wyt created this revision.Jun 24 2022, 5:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2022, 5:50 AM
wyt requested review of this revision.Jun 24 2022, 5:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 24 2022, 5:50 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
xazax.hun accepted this revision.Jun 24 2022, 8:59 AM
This revision is now accepted and ready to land.Jun 24 2022, 8:59 AM
gribozavr2 accepted this revision.Jun 24 2022, 2:18 PM
gribozavr2 added inline comments.
clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
224
wyt updated this revision to Diff 439898.Jun 24 2022, 2:54 PM
wyt marked an inline comment as done.

Rename checkUnsatisfiable to isUnsatisfiable

This revision was landed with ongoing or failed builds.Jun 24 2022, 3:05 PM
This revision was automatically updated to reflect the committed changes.