[PATCH] D109890: Flang OpenMP Report Plugin

Ivan Zhechev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 16 08:23:22 PDT 2021


ijan1 created this revision.
ijan1 added reviewers: awarzynski, stuartellis, kiranchandramohan.
Herald added subscribers: mgrang, guansong, kristof.beyls, yaxunl, mgorny.
Herald added a reviewer: sscalpone.
ijan1 requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

This plugin parses Fortran files and creates a
YAML report with all the OpenMP constructs and
clauses seen in the file.

Limitations:

- It always outputs a single file:

`tmp-log.yaml`

Building the plugin:
`ninja flangOmpReport`

Running the plugin:
`./bin/flang-new -fc1 -load lib/flangOmpReport.so -plugin
fomp-report-yaml -fopenmp <source_file.f90>

Co-authored-by: Kiran Chandramohan <kiran.chandramohan at arm.com>
Co-authored-by: Stuart Ellis <stuart.ellis at arm.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109890

Files:
  flang/tools/CMakeLists.txt
  flang/tools/flang-omp-report-plugin/CMakeLists.txt
  flang/tools/flang-omp-report-plugin/count-openmp.cpp
  flang/tools/flang-omp-report-plugin/count-openmp.h
  flang/tools/flang-omp-report-plugin/flang-omp-report-plugin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109890.372954.patch
Type: text/x-patch
Size: 23854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210916/44cb877b/attachment.bin>


More information about the llvm-commits mailing list