diff options
author | Ethan Luis McDonough <ethanluismcdonough@gmail.com> | 2024-08-22 01:10:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-22 01:10:54 -0500 |
commit | fde2d23ee2a204050a210f2f7b290643a272f737 (patch) | |
tree | 56dfedede5f9fc2c6bd10d9b9c9c1c56593683dd /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | ded6dd244cce3e683201a668ce321d4474baa8fb (diff) | |
download | llvm-fde2d23ee2a204050a210f2f7b290643a272f737.zip llvm-fde2d23ee2a204050a210f2f7b290643a272f737.tar.gz llvm-fde2d23ee2a204050a210f2f7b290643a272f737.tar.bz2 |
[PGO][OpenMP] Instrumentation for GPU devices (Revision of #76587) (#102691)
This pull request is a revised version of #76587. This pull request
fixes some build issues that were present in the previous version of
this change.
> This pull request is the first part of an ongoing effort to extends
PGO instrumentation to GPU device code. This PR makes the following
changes:
>
> - Adds blank registration functions to device RTL
> - Gives PGO globals protected visibility when targeting a supported
GPU
> - Handles any addrspace casts for PGO calls
> - Implements PGO global extraction in GPU plugins (currently only
dumps info)
>
> These changes can be tested by supplying `-fprofile-instrument=clang`
while targeting a GPU.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions