summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/teams_distribute_simd_codegen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP50]Codegen for nontemporal clause.Alexey Bataev2019-12-231-3/+5
| | | | | | | | | | | | | | | | Summary: Basic codegen for the declarations marked as nontemporal. Also, if the base declaration in the member expression is marked as nontemporal, lvalue for member decl access inherits nonteporal flag from the base lvalue. Reviewers: rjmccall, hfinkel, jdoerfert Subscribers: guansong, arphaman, caomhin, kkwli0, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71708
* [OPENMP50]Add if clause in teams distribute simd directive.Alexey Bataev2019-12-111-13/+52
| | | | | | According to OpenMP 5.0, if clause can be used in for simd directive. If condition in the if clause if false, the non-vectorized version of the loop must be executed.
* [OPENMP]Fix PR43772: No warning in non-combined target regions.Alexey Bataev2019-10-291-1/+1
| | | | | | Need to analyze inner target regions in case of implicit mapping of the data members when target region is created in one of the class member functions.
* [OPENMP]Call __kmpc_push_tripcount in task context.Alexey Bataev2019-09-231-4/+1
| | | | | | | | | Runtime function __kmpc_push_tripcount better to call inside of the task context for target regions. Otherwise, the libomptarget is unable to link the provided tripcount value for nowait target regions and completely looses this information. llvm-svn: 372609
* [OPENMP]Improve detection of number of teams, threads in targetAlexey Bataev2019-04-101-8/+8
| | | | | | | | | | regions. Added more complex analysis for number of teams and number of threads in the target regions, also merged related common code between CGOpenMPRuntime and CGOpenMPRuntimeNVPTX classes. llvm-svn: 358126
* [OPENMP]Add call to __kmpc_push_target_tripcount() function.Alexey Bataev2019-01-071-0/+4
| | | | | | | | | | Each we create the target regions with the teams distribute inner region, we can better estimate number of the teams required to execute the target region. Function __kmpc_push_target_tripcount() is used for purpose, which accepts device_id and the number of the iterations, performed by the associated loop. llvm-svn: 350571
* [OPENMP] Support for -fopenmp-simd option with compilation of simd loopsAlexey Bataev2017-12-291-0/+32
| | | | | | | | | only. Added support for -fopenmp-simd option that allows compilation of simd-based constructs without emission of OpenMP runtime calls. llvm-svn: 321560
* [OPENMP] Initial codegen for `teams distribute simd` directive.Alexey Bataev2017-12-061-0/+251
Host + default devices codegen for `teams distribute simd` directive. llvm-svn: 319896
OpenPOWER on IntegriCloud