Searched refs:MergedModule (Results 1 – 2 of 2) sorted by relevance
68 : Context(Context), MergedModule(new Module("ld-temp.o", Context)), in LTOCodeGenerator()69 TheLinker(new Linker(*MergedModule)) { in LTOCodeGenerator()124 MergedModule = Mod->takeModule(); in setModule()125 TheLinker = make_unique<Linker>(*MergedModule); in setModule()185 WriteBitcodeToFile(MergedModule.get(), Out.os(), ShouldEmbedUselists); in writeMergedModules()283 std::string TripleStr = MergedModule->getTargetTriple(); in determineTarget()286 MergedModule->setTargetTriple(TripleStr); in determineTarget()415 accumulateAndSortLibcalls(Libcalls, TLI, *MergedModule, *TargetMach); in applyScopeRestrictions()417 for (Function &f : *MergedModule) in applyScopeRestrictions()419 for (GlobalVariable &v : MergedModule->globals()) in applyScopeRestrictions()[all …]
151 void resetMergedModule() { MergedModule.reset(); } in resetMergedModule()173 std::unique_ptr<Module> MergedModule; member