Home
last modified time | relevance | path

Searched refs:MergedModule (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp132 : 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 …]
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h198 void resetMergedModule() { MergedModule.reset(); } in resetMergedModule()
227 std::unique_ptr<Module> MergedModule; member