| 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 initializeTarget(Registry); | 605 initializeTarget(Registry); |
| 606 // @LOCALMOD-BEGIN | 606 // @LOCALMOD-BEGIN |
| 607 initializeAddPNaClExternalDeclsPass(Registry); | 607 initializeAddPNaClExternalDeclsPass(Registry); |
| 608 initializeExpandArithWithOverflowPass(Registry); | 608 initializeExpandArithWithOverflowPass(Registry); |
| 609 initializeExpandByValPass(Registry); | 609 initializeExpandByValPass(Registry); |
| 610 initializeExpandConstantExprPass(Registry); | 610 initializeExpandConstantExprPass(Registry); |
| 611 initializeExpandCtorsPass(Registry); | 611 initializeExpandCtorsPass(Registry); |
| 612 initializeExpandGetElementPtrPass(Registry); | 612 initializeExpandGetElementPtrPass(Registry); |
| 613 initializeExpandSmallArgumentsPass(Registry); | 613 initializeExpandSmallArgumentsPass(Registry); |
| 614 initializeExpandStructRegsPass(Registry); | 614 initializeExpandStructRegsPass(Registry); |
| 615 initializeExpandTlsConstantExprPass(Registry); |
| 615 initializeExpandTlsPass(Registry); | 616 initializeExpandTlsPass(Registry); |
| 616 initializeExpandTlsConstantExprPass(Registry); | |
| 617 initializeExpandVarArgsPass(Registry); | 617 initializeExpandVarArgsPass(Registry); |
| 618 initializeFlattenGlobalsPass(Registry); | 618 initializeFlattenGlobalsPass(Registry); |
| 619 initializeFreezeAtomicsPass(Registry); |
| 619 initializeGlobalCleanupPass(Registry); | 620 initializeGlobalCleanupPass(Registry); |
| 620 initializeInsertDivideCheckPass(Registry); | 621 initializeInsertDivideCheckPass(Registry); |
| 621 initializePNaClABIVerifyFunctionsPass(Registry); | 622 initializePNaClABIVerifyFunctionsPass(Registry); |
| 622 initializePNaClABIVerifyModulePass(Registry); | 623 initializePNaClABIVerifyModulePass(Registry); |
| 623 initializePromoteIntegersPass(Registry); | 624 initializePromoteIntegersPass(Registry); |
| 624 initializeReplacePtrsWithIntsPass(Registry); | 625 initializeReplacePtrsWithIntsPass(Registry); |
| 625 initializeResolveAliasesPass(Registry); | 626 initializeResolveAliasesPass(Registry); |
| 626 initializeResolvePNaClIntrinsicsPass(Registry); | 627 initializeResolvePNaClIntrinsicsPass(Registry); |
| 627 initializeRewriteLLVMIntrinsicsPass(Registry); | 628 initializeRewriteLLVMIntrinsicsPass(Registry); |
| 628 initializeRewritePNaClLibraryCallsPass(Registry); | 629 initializeRewritePNaClLibraryCallsPass(Registry); |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 } | 913 } |
| 913 } | 914 } |
| 914 // @LOCALMOD-END | 915 // @LOCALMOD-END |
| 915 | 916 |
| 916 // Declare success. | 917 // Declare success. |
| 917 if (!NoOutput || PrintBreakpoints) | 918 if (!NoOutput || PrintBreakpoints) |
| 918 Out->keep(); | 919 Out->keep(); |
| 919 | 920 |
| 920 return 0; | 921 return 0; |
| 921 } | 922 } |
| OLD | NEW |