[clang] [llvm] [CGData][ThinLTO] Global Outlining with Two-CodeGen Rounds (PR #90933)

Ellis Hoag via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 17 08:57:34 PDT 2024


================
@@ -164,6 +164,22 @@ publishOutlinedHashTree(std::unique_ptr<OutlinedHashTree> HashTree) {
   CodeGenData::getInstance().publishOutlinedHashTree(std::move(HashTree));
 }
 
+/// Initialize the two-codegen rounds.
+void initializeTwoCodegenRounds();
+
+/// Save the current module before the first codegen round.
+void saveModuleForTwoRounds(const Module &TheModule, unsigned Task);
----------------
ellishg wrote:

What is `Task`? Some way to disambiguate modules?

https://github.com/llvm/llvm-project/pull/90933


More information about the cfe-commits mailing list