[all-commits] [llvm/llvm-project] 16f777: [NFC] Add debug and stat counters to assume querie...

Ralender via All-commits all-commits at lists.llvm.org
Tue Jul 14 12:49:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 16f777f4217cfcdcf6ddce8eb1e3525a65563c43
      https://github.com/llvm/llvm-project/commit/16f777f4217cfcdcf6ddce8eb1e3525a65563c43
  Author: Tyker <tyker1 at outlook.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M llvm/lib/Analysis/AssumeBundleQueries.cpp
    M llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp
    A llvm/test/Analysis/ValueTracking/assume-queries-counter.ll
    A llvm/test/Transforms/Util/assume-builder-counter.ll

  Log Message:
  -----------
  [NFC] Add debug and stat counters to assume queries and assume builder

Summary:
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

Reviewers: jdoerfert

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83506




More information about the All-commits mailing list