aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@meta.com>2024-10-07 22:24:04 -0700
committerGitHub <noreply@github.com>2024-10-07 22:24:04 -0700
commit1b53aaec55b6cdf0c9cf09b9cbdc53992e1b50ae (patch)
tree1f817f19ced4ece003f221c1e76ac5130f33ae04 /clang/lib/CodeGen/ModuleBuilder.cpp
parent1ad3180b4a07ccf7cc371882c4e10ec2667adea8 (diff)
downloadllvm-1b53aaec55b6cdf0c9cf09b9cbdc53992e1b50ae.zip
llvm-1b53aaec55b6cdf0c9cf09b9cbdc53992e1b50ae.tar.gz
llvm-1b53aaec55b6cdf0c9cf09b9cbdc53992e1b50ae.tar.bz2
[ThinLTO][NFC] Refactor ThinBackend (#110461)
This is a prep for https://github.com/llvm/llvm-project/pull/90933. - Change `ThinBackend` from a function to a type. - Store the parallelism level in the type, which will be used when creating two-codegen round backends that inherit this value. - `ThinBackendProc` is hoisted to `LTO.h` from `LTO.cpp` to provide its body for `ThinBackend`. However, `emitFiles()` is still implemented separately in `LTO.cpp`, distinct from its parent class.
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions