[all-commits] [llvm/llvm-project] 31c2cf: [Remarks] Introduce count subcommand for llvm-rema...

Zain Jaffal via All-commits all-commits at lists.llvm.org
Thu Oct 12 08:03:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31c2cf1136179da2bd179d28ea632bd73f5c0ea9
      https://github.com/llvm/llvm-project/commit/31c2cf1136179da2bd179d28ea632bd73f5c0ea9
  Author: Zain Jaffal <110604482+zjaffal at users.noreply.github.com>
  Date:   2023-10-12 (Thu, 12 Oct 2023)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-remarkutil.rst
    M llvm/include/llvm/Remarks/Remark.h
    M llvm/lib/Remarks/Remark.cpp
    M llvm/test/tools/llvm-remarkutil/annotation-count-with-dbg-loc.test
    M llvm/test/tools/llvm-remarkutil/annotation-count.test
    M llvm/test/tools/llvm-remarkutil/broken-bitstream-remark.test
    M llvm/test/tools/llvm-remarkutil/broken-yaml-remark.test
    A llvm/test/tools/llvm-remarkutil/count/Inputs/remark-count-by.yaml
    A llvm/test/tools/llvm-remarkutil/count/Inputs/remark-filter-by.yaml
    A llvm/test/tools/llvm-remarkutil/count/Inputs/remark-group-by.yaml
    A llvm/test/tools/llvm-remarkutil/count/count-by-keys.test
    A llvm/test/tools/llvm-remarkutil/count/count-by-remark.test
    A llvm/test/tools/llvm-remarkutil/count/filter-by-pass-name.test
    A llvm/test/tools/llvm-remarkutil/count/filter-by-remark-name.test
    A llvm/test/tools/llvm-remarkutil/count/filter-by-type.test
    A llvm/test/tools/llvm-remarkutil/count/group-by-function-with-loc.test
    A llvm/test/tools/llvm-remarkutil/count/group-by-function.test
    A llvm/test/tools/llvm-remarkutil/count/group-by-source.test
    M llvm/test/tools/llvm-remarkutil/empty-file.test
    M llvm/test/tools/llvm-remarkutil/instruction-count-with-dbg-loc.test
    M llvm/test/tools/llvm-remarkutil/instruction-count.test
    M llvm/tools/llvm-remarkutil/CMakeLists.txt
    A llvm/tools/llvm-remarkutil/RemarkCounter.cpp
    A llvm/tools/llvm-remarkutil/RemarkCounter.h

  Log Message:
  -----------
  [Remarks] Introduce count subcommand for llvm-remarkutil. (#66214)

This tool is a generic remark counter reporting count based on specified
properties. The counter can be used to count remarks individually and
filter them based on name, type and pass or count using remark
arguments.




More information about the All-commits mailing list