aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorEthan Luis McDonough <ethanluismcdonough@gmail.com>2024-08-22 01:10:54 -0500
committerGitHub <noreply@github.com>2024-08-22 01:10:54 -0500
commitfde2d23ee2a204050a210f2f7b290643a272f737 (patch)
tree56dfedede5f9fc2c6bd10d9b9c9c1c56593683dd /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parentded6dd244cce3e683201a668ce321d4474baa8fb (diff)
downloadllvm-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