[PATCH] D83506: [NFC] Add debug and stat counters to assume queries and assume builder
Tyker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 13:40:44 PDT 2020
Tyker created this revision.
Tyker added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
Add debug counter and stats counter to assume queries and assume builder
here is the collected stats on a build of check-llvm + check-clang.
"assume-builder.NumAssumeBuilt": 2720879,
"assume-builder.NumAssumesMerged": 761396,
"assume-builder.NumAssumesRemoved": 1576212,
"assume-builder.NumBundlesInAssumes": 6518809,
"assume-queries.NumAssumeQueries": 85566380,
"assume-queries.NumUsefullAssumeQueries": 2727360,
the NumUsefullAssumeQueries stat is actually pessimistic because in a few places queries
ask to keep providing information to try to get better information. and this isn't counted
as a usefull query evem tho it can be usefull
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83506
Files:
llvm/lib/Analysis/AssumeBundleQueries.cpp
llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
llvm/test/Analysis/ValueTracking/assume-queries-counter.ll
llvm/test/Transforms/Util/assume-builder-counter.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83506.276829.patch
Type: text/x-patch
Size: 15525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200709/b008cb50/attachment.bin>
More information about the llvm-commits
mailing list