[PATCH] D124395: [clang][dataflow] Optimize flow condition representation
Stanislav Gatev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 25 08:34:46 PDT 2022
sgatev created this revision.
sgatev added reviewers: ymandel, xazax.hun, gribozavr2.
Herald added subscribers: tschuett, steakhal, rnkovacs.
Herald added a project: All.
sgatev requested review of this revision.
Herald added a project: clang.
Represent flow conditions as Token <=> Constraints biconditional clauses
in order to make joining of distinct values more efficient. For example,
joining distinct values while preserving flow condition information can
be implemented by adding the tokens of the flow conditions to the formula:
`makeOr(makeAnd(FC1, Val1), makeAnd(FC2, Val2))`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124395
Files:
clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124395.424921.patch
Type: text/x-patch
Size: 14016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220425/2c08aa50/attachment-0001.bin>
More information about the cfe-commits
mailing list