diff options
author | Shraiysh <Shraiysh.Vaishay@amd.com> | 2023-09-24 16:23:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-24 16:23:43 -0500 |
commit | 8d17875acba650ef7b3fa516fd09633a50dd0427 (patch) | |
tree | 0740b8fd3dd6c2758e6768d1cc191a3078edf81d /clang/lib/Format/WhitespaceManager.cpp | |
parent | 541e88dbc24a72bdf9a80362c6113d246eb806dc (diff) | |
download | llvm-8d17875acba650ef7b3fa516fd09633a50dd0427.zip llvm-8d17875acba650ef7b3fa516fd09633a50dd0427.tar.gz llvm-8d17875acba650ef7b3fa516fd09633a50dd0427.tar.bz2 |
[OMPIRBuilder] Added `createTeams` (#66807)
This patch adds basic support for `omp teams` to the OpenMPIRBuilder.
The outlined function after code extraction is called from a wrapper
function with appropriate arguments. This wrapper function is passed to
the runtime calls.
This approach is different from the Clang approach - clang directly
emits the runtime call to the outlined function. The outlining utility
(OutlineInfo) simply outlines the code and generates a function call to
the outlined function. After the function has been generated by the
outlining utility, there is no easy way to alter the function arguments
without meddling with the outlining itself. Hence the wrapper function
approach is taken.
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions