[PATCH] D61964: [OpenMP][IRBuilder][WIP] Prototype OpenMPIRBuilder [option 2]

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 14:19:06 PDT 2019


jdoerfert created this revision.
Herald added subscribers: llvm-commits, jfb, guansong, bollu, hiraditya, mgorny.
Herald added a project: LLVM.

NOTE: This is a WIP commit for discussion purposes!

This is the prototype OpenMPIRBuilder that can build `#pragma omp parallel` and very simple `#pragma omp for` (in -O0 builds). Clang is still in charge of privatization and outlining while the IR builder will only perform the runtime check generation.


https://reviews.llvm.org/D61964

Files:
  clang/lib/CodeGen/CGStmtOpenMP.cpp
  llvm/include/llvm/Transforms/Utils/OpenMPIRBuilder.h
  llvm/lib/IR/BasicBlock.cpp
  llvm/lib/Transforms/Utils/CMakeLists.txt
  llvm/lib/Transforms/Utils/OpenMPIRBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61964.199618.patch
Type: text/x-patch
Size: 46025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190515/b183086b/attachment-0001.bin>


More information about the llvm-commits mailing list