Lines Matching refs:MergedModule
95 : Context(Context), MergedModule(new Module("ld-temp.o", Context)),
96 TheLinker(new Linker(*MergedModule)) {
155 MergedModule = Mod->takeModule();
156 TheLinker = make_unique<Linker>(*MergedModule);
222 WriteBitcodeToFile(MergedModule.get(), Out.os(), ShouldEmbedUselists);
320 TripleStr = MergedModule->getTargetTriple();
323 MergedModule->setTargetTriple(TripleStr);
429 MergedModule->getDataLayout());
434 preserveDiscardableGVs(*MergedModule, mustPreserveGV);
448 for (auto &GV : *MergedModule)
450 for (auto &GV : MergedModule->globals())
452 for (auto &GV : MergedModule->aliases())
458 updateCompilerUsed(*MergedModule, *TargetMach, AsmUndefinedRefs);
460 internalizeModule(*MergedModule, mustPreserveGV);
487 std::for_each(MergedModule->begin(), MergedModule->end(), externalize);
488 std::for_each(MergedModule->global_begin(), MergedModule->global_end(),
490 std::for_each(MergedModule->alias_begin(), MergedModule->alias_end(),
502 if (verifyModule(*MergedModule, &dbgs(), &BrokenDebugInfo))
506 StripDebugInfo(*MergedModule);
509 if (verifyModule(*MergedModule, &dbgs()))
531 MergedModule->setDataLayout(TargetMach->createDataLayout());
551 passes.run(*MergedModule);
569 preCodeGenPasses.run(*MergedModule);
579 // MergedModule.
580 MergedModule = splitCodeGen(std::move(MergedModule), Out, {},