| 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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 initializeInstrumentation(Registry); | 612 initializeInstrumentation(Registry); |
| 613 initializeTarget(Registry); | 613 initializeTarget(Registry); |
| 614 // @LOCALMOD-BEGIN | 614 // @LOCALMOD-BEGIN |
| 615 initializeAddPNaClExternalDeclsPass(Registry); | 615 initializeAddPNaClExternalDeclsPass(Registry); |
| 616 initializeCanonicalizeMemIntrinsicsPass(Registry); | 616 initializeCanonicalizeMemIntrinsicsPass(Registry); |
| 617 initializeExpandArithWithOverflowPass(Registry); | 617 initializeExpandArithWithOverflowPass(Registry); |
| 618 initializeExpandByValPass(Registry); | 618 initializeExpandByValPass(Registry); |
| 619 initializeExpandConstantExprPass(Registry); | 619 initializeExpandConstantExprPass(Registry); |
| 620 initializeExpandCtorsPass(Registry); | 620 initializeExpandCtorsPass(Registry); |
| 621 initializeExpandGetElementPtrPass(Registry); | 621 initializeExpandGetElementPtrPass(Registry); |
| 622 initializeExpandIndirectBrPass(Registry); |
| 622 initializeExpandSmallArgumentsPass(Registry); | 623 initializeExpandSmallArgumentsPass(Registry); |
| 623 initializeExpandStructRegsPass(Registry); | 624 initializeExpandStructRegsPass(Registry); |
| 624 initializeExpandTlsConstantExprPass(Registry); | 625 initializeExpandTlsConstantExprPass(Registry); |
| 625 initializeExpandTlsPass(Registry); | 626 initializeExpandTlsPass(Registry); |
| 626 initializeExpandVarArgsPass(Registry); | 627 initializeExpandVarArgsPass(Registry); |
| 627 initializeFlattenGlobalsPass(Registry); | 628 initializeFlattenGlobalsPass(Registry); |
| 628 initializeGlobalCleanupPass(Registry); | 629 initializeGlobalCleanupPass(Registry); |
| 629 initializeInsertDivideCheckPass(Registry); | 630 initializeInsertDivideCheckPass(Registry); |
| 630 initializePNaClABIVerifyFunctionsPass(Registry); | 631 initializePNaClABIVerifyFunctionsPass(Registry); |
| 631 initializePNaClABIVerifyModulePass(Registry); | 632 initializePNaClABIVerifyModulePass(Registry); |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 } | 926 } |
| 926 } | 927 } |
| 927 // @LOCALMOD-END | 928 // @LOCALMOD-END |
| 928 | 929 |
| 929 // Declare success. | 930 // Declare success. |
| 930 if (!NoOutput || PrintBreakpoints) | 931 if (!NoOutput || PrintBreakpoints) |
| 931 Out->keep(); | 932 Out->keep(); |
| 932 | 933 |
| 933 return 0; | 934 return 0; |
| 934 } | 935 } |
| OLD | NEW |