diff options
author | Kyungwoo Lee <kyulee@meta.com> | 2024-10-07 22:24:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 22:24:04 -0700 |
commit | 1b53aaec55b6cdf0c9cf09b9cbdc53992e1b50ae (patch) | |
tree | 1f817f19ced4ece003f221c1e76ac5130f33ae04 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 1ad3180b4a07ccf7cc371882c4e10ec2667adea8 (diff) | |
download | llvm-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