[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-08-31 Thread Raphael Isemann via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL31: [analyzer] Performance optimizations for the CloneChecker (authored by teemperor). Changed prior to commit: https://reviews.llvm.org/D34182?vs=108839&id=113361#toc Repository: rL LLVM https:

[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-07-30 Thread Raphael Isemann via Phabricator via cfe-commits
teemperor updated this revision to Diff 108839. teemperor added a comment. (Fixed diff) https://reviews.llvm.org/D34182 Files: include/clang/Analysis/CloneDetection.h lib/Analysis/CloneDetection.cpp lib/StaticAnalyzer/Checkers/CloneChecker.cpp Index: lib/StaticAnalyzer/Checkers/CloneChec

[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-07-30 Thread Raphael Isemann via Phabricator via cfe-commits
teemperor updated this revision to Diff 108837. teemperor added a comment. Herald added a subscriber: klimek. - Updated according to Artem's comments. https://reviews.llvm.org/D34182 Files: include/clang/Analysis/CloneDetection.h lib/Analysis/CloneDetection.cpp lib/Format/UnwrappedLinePar

[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-07-02 Thread Artem Dergachev via Phabricator via cfe-commits
NoQ accepted this revision. NoQ added a comment. This revision is now accepted and ready to land. Totally makes sense :) Comment at: include/clang/Analysis/CloneDetection.h:258-260 +/// This constraint is also available to be executed in two phases, see +/// RecursiveCloneTypeI

[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-06-15 Thread Raphael Isemann via Phabricator via cfe-commits
teemperor updated this revision to Diff 102700. teemperor marked an inline comment as done. teemperor added a comment. - made saveHash static. https://reviews.llvm.org/D34182 Files: include/clang/Analysis/CloneDetection.h lib/Analysis/CloneDetection.cpp lib/StaticAnalyzer/Checkers/CloneCh

[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-06-14 Thread Raphael Isemann via Phabricator via cfe-commits
teemperor added inline comments. Comment at: include/clang/Analysis/CloneDetection.h:263 +public: + void constrain(std::vector &Sequences); +}; v.g.vassilev wrote: > Could we typedef `std::vector` into > `CloneDetector::CloneGroups`? Yes, I'll do this in anothe

[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-06-14 Thread Vassil Vassilev via Phabricator via cfe-commits
v.g.vassilev added inline comments. Comment at: include/clang/Analysis/CloneDetection.h:263 +public: + void constrain(std::vector &Sequences); +}; Could we typedef `std::vector` into `CloneDetector::CloneGroups`? https://reviews.llvm.org/D34182 ___

[PATCH] D34182: [analyzer] Performance optimizations for the CloneChecker

2017-06-13 Thread Raphael Isemann via Phabricator via cfe-commits
teemperor created this revision. Herald added a subscriber: xazax.hun. This patch aims at optimizing the CloneChecker for larger programs. Before this patch we took around 102 seconds to analyze sqlite3 with a complexity value of 50. After this patch we now take 2.1 seconds to analyze sqlite3.