reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
188 void resetMergedModule() { MergedModule.reset(); }
lib/LTO/LTOCodeGenerator.cpp113 TheLinker(new Linker(*MergedModule)) { 176 MergedModule = Mod->takeModule(); 177 TheLinker = std::make_unique<Linker>(*MergedModule); 241 WriteBitcodeToFile(*MergedModule, Out.os(), ShouldEmbedUselists); 342 TripleStr = MergedModule->getTargetTriple(); 345 MergedModule->setTargetTriple(TripleStr); 438 preserveDiscardableGVs(*MergedModule, mustPreserveGV); 452 for (auto &GV : *MergedModule) 454 for (auto &GV : MergedModule->globals()) 456 for (auto &GV : MergedModule->aliases()) 462 updateCompilerUsed(*MergedModule, *TargetMach, AsmUndefinedRefs); 464 internalizeModule(*MergedModule, mustPreserveGV); 466 MergedModule->addModuleFlag(Module::Error, "LTOPostLink", 1); 493 llvm::for_each(MergedModule->functions(), externalize); 494 llvm::for_each(MergedModule->globals(), externalize); 495 llvm::for_each(MergedModule->aliases(), externalize); 505 if (verifyModule(*MergedModule, &dbgs(), &BrokenDebugInfo)) 509 StripDebugInfo(*MergedModule); 556 MergedModule->setDataLayout(TargetMach->createDataLayout()); 578 passes.run(*MergedModule); 596 preCodeGenPasses.run(*MergedModule); 607 MergedModule = splitCodeGen(std::move(MergedModule), Out, {}, 607 MergedModule = splitCodeGen(std::move(MergedModule), Out, {},