Lines Matching refs:FPasses
499 std::unique_ptr<legacy::FunctionPassManager> FPasses; in main() local
501 FPasses.reset(new legacy::FunctionPassManager(M.get())); in main()
502 FPasses->add(createTargetTransformInfoWrapperPass( 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()
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()
619 if (FPasses) { in main()
620 FPasses->doInitialization(); in main()
622 FPasses->run(F); in main()
623 FPasses->doFinalization(); in main()