[Openmp-commits] [PATCH] D101977: [OpenMP] Create custom state machines for generic target regions

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu May 6 00:01:46 PDT 2021


jdoerfert created this revision.
jdoerfert added reviewers: ABataev, JonChesterfield, ggeorgakoudis, tianshilei1992.
Herald added subscribers: guansong, hiraditya, yaxunl.
Herald added a reviewer: bollu.
jdoerfert requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added subscribers: llvm-commits, bbn, sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

In the spirit of TRegions [0], this patch creates a custom state
machine for a generic target region based on the potentially called
parallel regions.

The code analysis is done interprocedurally via an abstract attribute
(AAKernelInfo). All outermost parallel regions are collected and we
check if there might be unknown outermost parallel regions for which
we need an indirect call. Other AAKernelInfo extensions are expected.

[0] https://link.springer.com/chapter/10.1007/978-3-030-28596-8_11


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101977

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101977.343300.patch
Type: text/x-patch
Size: 22230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210506/066fb90f/attachment-0001.bin>


More information about the Openmp-commits mailing list