aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Program.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2021-01-13 09:46:34 -0800
committerWei Mi <wmi@google.com>2021-01-13 15:55:40 -0800
commit86341247c4a2ffa4328945b03e7a05b1c51c3889 (patch)
treeedc1aa341bd7730ee8785a62197e4eab5525c496 /llvm/lib/Support/Program.cpp
parent854f0984f0b7ab9a9a541a4bcda7ea173e4113d3 (diff)
downloadllvm-86341247c4a2ffa4328945b03e7a05b1c51c3889.zip
llvm-86341247c4a2ffa4328945b03e7a05b1c51c3889.tar.gz
llvm-86341247c4a2ffa4328945b03e7a05b1c51c3889.tar.bz2
[NFC] Rename ThinLTOPhase to ThinOrFullLTOPhase and move it from PassBuilder.h
to Pass.h. In some compiler passes like SampleProfileLoaderPass, we want to know which LTO/ThinLTO phase the pass is in. Currently the phase is represented in enum class PassBuilder::ThinLTOPhase, so it is only available in PassBuilder and it also cannot represent phase in full LTO. The patch extends it to include full LTO phases and move it from PassBuilder.h to Pass.h, then it is much easier for PassBuilder to communiate with each pass about current LTO phase. Differential Revision: https://reviews.llvm.org/D94613
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions