| OLD | NEW |
| 1 //===- opt.cpp - The LLVM Modular Optimizer -------------------------------===// | 1 //===- opt.cpp - The LLVM Modular Optimizer -------------------------------===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // Optimizations may be specified an arbitrary number of times on the command | 10 // Optimizations may be specified an arbitrary number of times on the command |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 initializeObjCARCOpts(Registry); | 570 initializeObjCARCOpts(Registry); |
| 571 initializeVectorization(Registry); | 571 initializeVectorization(Registry); |
| 572 initializeIPO(Registry); | 572 initializeIPO(Registry); |
| 573 initializeAnalysis(Registry); | 573 initializeAnalysis(Registry); |
| 574 initializeIPA(Registry); | 574 initializeIPA(Registry); |
| 575 initializeTransformUtils(Registry); | 575 initializeTransformUtils(Registry); |
| 576 initializeInstCombine(Registry); | 576 initializeInstCombine(Registry); |
| 577 initializeInstrumentation(Registry); | 577 initializeInstrumentation(Registry); |
| 578 initializeTarget(Registry); | 578 initializeTarget(Registry); |
| 579 // @LOCALMOD-BEGIN | 579 // @LOCALMOD-BEGIN |
| 580 initializeExpandByValPass(Registry); |
| 580 initializeExpandConstantExprPass(Registry); | 581 initializeExpandConstantExprPass(Registry); |
| 581 initializeExpandCtorsPass(Registry); | 582 initializeExpandCtorsPass(Registry); |
| 582 initializeExpandGetElementPtrPass(Registry); | 583 initializeExpandGetElementPtrPass(Registry); |
| 583 initializeExpandTlsPass(Registry); | 584 initializeExpandTlsPass(Registry); |
| 584 initializeExpandTlsConstantExprPass(Registry); | 585 initializeExpandTlsConstantExprPass(Registry); |
| 585 initializeExpandVarArgsPass(Registry); | 586 initializeExpandVarArgsPass(Registry); |
| 586 initializeGlobalCleanupPass(Registry); | 587 initializeGlobalCleanupPass(Registry); |
| 587 initializePNaClABIVerifyFunctionsPass(Registry); | 588 initializePNaClABIVerifyFunctionsPass(Registry); |
| 588 initializePNaClABIVerifyModulePass(Registry); | 589 initializePNaClABIVerifyModulePass(Registry); |
| 589 initializeResolveAliasesPass(Registry); | 590 initializeResolveAliasesPass(Registry); |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 | 835 |
| 835 // Now that we have all of the passes ready, run them. | 836 // Now that we have all of the passes ready, run them. |
| 836 Passes.run(*M.get()); | 837 Passes.run(*M.get()); |
| 837 | 838 |
| 838 // Declare success. | 839 // Declare success. |
| 839 if (!NoOutput || PrintBreakpoints) | 840 if (!NoOutput || PrintBreakpoints) |
| 840 Out->keep(); | 841 Out->keep(); |
| 841 | 842 |
| 842 return 0; | 843 return 0; |
| 843 } | 844 } |
| OLD | NEW |