Searched refs:MergedModule (Results 1 – 2 of 2) sorted by relevance
132 : Context(Context), MergedModule(new Module("ld-temp.o", Context)), in LTOCodeGenerator()133 TheLinker(new Linker(*MergedModule)) { in LTOCodeGenerator()173 MergedModule = Mod->takeModule(); in setModule()174 TheLinker = std::make_unique<Linker>(*MergedModule); in setModule()229 WriteBitcodeToFile(*MergedModule, Out.os(), ShouldEmbedUselists); in writeMergedModules()391 TripleStr = MergedModule->getTargetTriple(); in determineTarget()394 MergedModule->setTargetTriple(TripleStr); in determineTarget()488 preserveDiscardableGVs(*MergedModule, mustPreserveGV); in applyScopeRestrictions()502 for (auto &GV : *MergedModule) in applyScopeRestrictions()504 for (auto &GV : MergedModule->globals()) in applyScopeRestrictions()[all …]
198 void resetMergedModule() { MergedModule.reset(); } in resetMergedModule()227 std::unique_ptr<Module> MergedModule; member