[PATCH] D123784: [clang][analyzer][ctu] Traverse the ctu CallEnter nodes in reverse order

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 14 05:00:31 PDT 2022


martong created this revision.
martong added reviewers: NoQ, steakhal, xazax.hun.
Herald added subscribers: manas, ASDenysPetrov, gamesh411, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, rnkovacs, szepet, baloghadamsoftware.
Herald added a reviewer: Szelethus.
Herald added a project: All.
martong requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This change reverses the traverse order of those nodes that had been added to
the ctu worklist during the first phase of the analysis. By reversing the order
of these nodes, we start in the ctu phase with the nodes that are closer to the
root node. Measurements show that this way the length of the bug-paths are
decreasing with roughly by 10%.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123784

Files:
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h
  clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
  clang/lib/StaticAnalyzer/Core/WorkList.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123784.422820.patch
Type: text/x-patch
Size: 4527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220414/a7f3d172/attachment.bin>


More information about the cfe-commits mailing list