Lines Matching refs:TheModule
545 static void writeModuleToFile(Module &TheModule, StringRef Filename) { in writeModuleToFile() argument
549 maybeVerifyModule(TheModule); in writeModuleToFile()
550 WriteBitcodeToFile(TheModule, OS, /* ShouldPreserveUseListOrder */ true); in writeModuleToFile()
642 auto TheModule = loadModuleFromInput(*Input, Ctx); in distributedIndexes() local
648 *TheModule, *Index, ModuleToSummariesForIndex, *Input); in distributedIndexes()
679 auto TheModule = loadModuleFromInput(*Input, Ctx); in emitImports() local
686 ThinGenerator.emitImports(*TheModule, OutputName, *Index, *Input); in emitImports()
706 auto TheModule = loadModuleFromInput(*Input, Ctx); in promote() local
708 ThinGenerator.promote(*TheModule, *Index, *Input); in promote()
714 writeModuleToFile(*TheModule, OutputName); in promote()
739 auto TheModule = loadModuleFromInput(*Input, Ctx); in import() local
741 ThinGenerator.crossModuleImport(*TheModule, *Index, *Input); in import()
747 writeModuleToFile(*TheModule, OutputName); in import()
772 auto TheModule = loadModuleFromInput(*Input, Ctx); in internalize() local
774 ThinGenerator.internalize(*TheModule, *Index, *Input); in internalize()
780 writeModuleToFile(*TheModule, OutputName); in internalize()
797 auto TheModule = loadModuleFromInput(*Input, Ctx); in optimize() local
799 ThinGenerator.optimize(*TheModule); in optimize()
805 writeModuleToFile(*TheModule, OutputName); in optimize()