Lines Matching refs:TheModule
384 static void writeModuleToFile(Module &TheModule, StringRef Filename) { in writeModuleToFile() argument
388 maybeVerifyModule(TheModule); in writeModuleToFile()
389 WriteBitcodeToFile(&TheModule, OS, /* ShouldPreserveUseListOrder */ true); in writeModuleToFile()
527 auto TheModule = loadModule(Filename, Ctx); in promote() local
529 ThinGenerator.promote(*TheModule, *Index); in promote()
535 writeModuleToFile(*TheModule, OutputName); in promote()
558 auto TheModule = loadModule(Filename, Ctx); in import() local
560 ThinGenerator.crossModuleImport(*TheModule, *Index); in import()
566 writeModuleToFile(*TheModule, OutputName); in import()
589 auto TheModule = loadModule(Filename, Ctx); in internalize() local
591 ThinGenerator.internalize(*TheModule, *Index); in internalize()
597 writeModuleToFile(*TheModule, OutputName); in internalize()
612 auto TheModule = loadModule(Filename, Ctx); in optimize() local
614 ThinGenerator.optimize(*TheModule); in optimize()
620 writeModuleToFile(*TheModule, OutputName); in optimize()
635 auto TheModule = loadModule(Filename, Ctx); in codegen() local
637 auto Buffer = ThinGenerator.codegen(*TheModule); in codegen()