[all-commits] [llvm/llvm-project] a0f29f: [flang][flang-omp-report] Add flang-omp-report sum...

Josh Mottley via All-commits all-commits at lists.llvm.org
Thu Nov 4 10:43:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0f29fec657e8511651e7c6179795ec057cdce35
      https://github.com/llvm/llvm-project/commit/a0f29fec657e8511651e7c6179795ec057cdce35
  Author: Josh Mottley <Josh.Mottley at arm.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    A flang/examples/flang-omp-report-plugin/requirements.txt
    A flang/examples/flang-omp-report-plugin/yaml_summarizer.py

  Log Message:
  -----------
  [flang][flang-omp-report] Add flang-omp-report summarising script

The flang plugin ``flang-omp-report`` takes one fortran file in and returns a
YAML report file of the input file. This becomes an issue when you want to
analyse an entire project into one final report.
The purpose of this Python script is to generate a final YAML
report from all of the files generated by ``flang-omp-report``. The report can
have (currently) 2 formats; summary and log. Summary focuses on "summarizing"
all constructs and there clauses from all YAML files with a corresponding "count"
for each. Log instead combines the generated YAML files into one report in a
"cleaner" format. (Pseudo) Examples can be found for both formats at the top of
the script.

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

Co-Authored by: Ivan Zhechev <ivan.zhechev at arm.com>




More information about the All-commits mailing list