Lines Matching refs:Passes
542 PassManager Passes; in main() local
550 Passes.add(TLI); in main()
561 Passes.add(TD); in main()
584 Passes.add(new BreakpointPrinter(Out->os())); in main()
591 addPass(Passes, createStripSymbolsPass(true)); in main()
599 AddStandardCompilePasses(Passes); in main()
605 AddStandardLinkPasses(Passes); in main()
610 AddOptimizationPasses(Passes, *FPasses, 1); in main()
615 AddOptimizationPasses(Passes, *FPasses, 2); in main()
620 AddOptimizationPasses(Passes, *FPasses, 3); in main()
633 addPass(Passes, P); in main()
638 Passes.add(new BasicBlockPassPrinter(PassInf, Out->os())); in main()
641 Passes.add(new RegionPassPrinter(PassInf, Out->os())); in main()
644 Passes.add(new LoopPassPrinter(PassInf, Out->os())); in main()
647 Passes.add(new FunctionPassPrinter(PassInf, Out->os())); in main()
650 Passes.add(new CallGraphSCCPassPrinter(PassInf, Out->os())); in main()
653 Passes.add(new ModulePassPrinter(PassInf, Out->os())); in main()
660 Passes.add(createPrintModulePass(&errs())); in main()
665 AddStandardCompilePasses(Passes); in main()
670 AddStandardLinkPasses(Passes); in main()
675 AddOptimizationPasses(Passes, *FPasses, 1); in main()
678 AddOptimizationPasses(Passes, *FPasses, 2); in main()
681 AddOptimizationPasses(Passes, *FPasses, 3); in main()
692 Passes.add(createVerifierPass()); in main()
697 Passes.add(createPrintModulePass(&Out->os())); in main()
699 Passes.add(createBitcodeWriterPass(Out->os())); in main()
706 Passes.run(*M.get()); in main()