diff options
author | Ted Kremenek <kremenek@apple.com> | 2013-05-31 16:56:54 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2013-05-31 16:56:54 +0000 |
commit | 7c6b4084ddf19dc0f64cac49e31bb00fdabb0f4f (patch) | |
tree | 7fa049859259afc02da8787cdf6c7a68e7ab384d /lldb/source/Expression/IRInterpreter.cpp | |
parent | 3c944ba2f003851cd2f2e0f484adbefa462f5dd7 (diff) | |
download | bcm5719-llvm-7c6b4084ddf19dc0f64cac49e31bb00fdabb0f4f.tar.gz bcm5719-llvm-7c6b4084ddf19dc0f64cac49e31bb00fdabb0f4f.zip |
[analyzer; new edges] add simplifySimpleBranches() to reduce edges for branches.
In many cases, the edge from the "if" to the condition, followed by an edge from the branch condition to the target code, is uninteresting.
In such cases, we should fold the two edges into one from the "if" to the target.
This also applies to loops.
Implements <rdar://problem/14034763>.
llvm-svn: 183018
Diffstat (limited to 'lldb/source/Expression/IRInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions