Lines Matching refs:Passes

479   legacy::PassManager Passes;  in main()  local
487 Passes.add(new TargetLibraryInfoWrapperPass(TLII)); in main()
496 Passes.add(createTargetTransformInfoWrapperPass(TM ? TM->getTargetIRAnalysis() in main()
520 Passes.add(createBreakpointPrinter(Out->os())); in main()
528 AddStandardLinkPasses(Passes); in main()
533 AddOptimizationPasses(Passes, *FPasses, TM.get(), 1, 0); in main()
538 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 0); in main()
543 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 1); in main()
548 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 2); in main()
553 AddOptimizationPasses(Passes, *FPasses, TM.get(), 3, 0); in main()
568 addPass(Passes, P); in main()
573 Passes.add(createBasicBlockPassPrinter(PassInf, Out->os(), Quiet)); in main()
576 Passes.add(createRegionPassPrinter(PassInf, Out->os(), Quiet)); in main()
579 Passes.add(createLoopPassPrinter(PassInf, Out->os(), Quiet)); in main()
582 Passes.add(createFunctionPassPrinter(PassInf, Out->os(), Quiet)); in main()
585 Passes.add(createCallGraphPassPrinter(PassInf, Out->os(), Quiet)); in main()
588 Passes.add(createModulePassPrinter(PassInf, Out->os(), Quiet)); in main()
595 Passes.add( in main()
600 AddStandardLinkPasses(Passes); in main()
605 AddOptimizationPasses(Passes, *FPasses, TM.get(), 1, 0); in main()
608 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 0); in main()
611 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 1); in main()
614 AddOptimizationPasses(Passes, *FPasses, TM.get(), 2, 2); in main()
617 AddOptimizationPasses(Passes, *FPasses, TM.get(), 3, 0); in main()
628 Passes.add(createVerifierPass()); in main()
652 Passes.add(createPrintModulePass(*OS, "", PreserveAssemblyUseListOrder)); in main()
654 Passes.add(createBitcodeWriterPass(*OS, PreserveBitcodeUseListOrder, in main()
665 Passes.run(*M2); in main()
671 Passes.run(*M); in main()