1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/include/llvm/Frontend/OpenMP
Michael Kruse d945273b52 [OpenMPIRBuilder] Implement tileLoops.
The  tileLoops method implements the code generation part of the tile directive introduced in OpenMP 5.1. It takes a list of loops forming a loop nest, tiles it, and returns the CanonicalLoopInfo representing the generated loops.

The implementation takes n CanonicalLoopInfos, n tile size Values and returns 2*n new CanonicalLoopInfos. The input CanonicalLoopInfos are invalidated and BBs not reused in the new loop nest removed from the function.

In a modified version of D76342, I was able to correctly compile and execute a tiled loop nest.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D92974
2021-01-23 19:39:29 -06:00
..
CMakeLists.txt [openmp] Remove clause from OMPKinds.def and use OMP.td info 2020-12-17 14:08:12 -05:00
OMP.td [flang][directive] Get rid of flangClassValue in TableGen 2021-01-19 10:28:46 -05:00
OMPConstants.h [OpenMP] Add initial support for omp [begin/end] assumes 2020-12-16 20:02:49 -06:00
OMPContext.h
OMPGridValues.h [NFC][OpenMP] Update description of OMPGridValues enums 2020-10-21 18:22:11 +00:00
OMPIRBuilder.h [OpenMPIRBuilder] Implement tileLoops. 2021-01-23 19:39:29 -06:00
OMPKinds.def [OpenMP] Add support for mapping names in mapper API 2021-01-21 09:26:44 -05:00