aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2022-07-18 15:44:02 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2022-07-21 12:30:38 -0500
commitd150152615074190d20492512da439cd5820b04a (patch)
tree2355d14e4e85e2e00e9397bc885d79d755ebb57a /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent7472b42b788e57b7b1ea255aa8670c96cc0aacd8 (diff)
downloadllvm-d150152615074190d20492512da439cd5820b04a.zip
llvm-d150152615074190d20492512da439cd5820b04a.tar.gz
llvm-d150152615074190d20492512da439cd5820b04a.tar.bz2
[OpenMP] Introduce more fine-grained control over the thread state use
We can help optimizations by making sure we use the team state whenever it is clear there is no thread state. To this end we introduce a new state flag (`state::HasThreadState`) and explicit control for the `state::ValueRAII` helpers, including a dedicated "assert equal". Differential Revision: https://reviews.llvm.org/D130113
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions