| 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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 initializeExpandTlsConstantExprPass(Registry); | 616 initializeExpandTlsConstantExprPass(Registry); |
| 617 initializeExpandTlsPass(Registry); | 617 initializeExpandTlsPass(Registry); |
| 618 initializeExpandVarArgsPass(Registry); | 618 initializeExpandVarArgsPass(Registry); |
| 619 initializeFlattenGlobalsPass(Registry); | 619 initializeFlattenGlobalsPass(Registry); |
| 620 initializeGlobalCleanupPass(Registry); | 620 initializeGlobalCleanupPass(Registry); |
| 621 initializeInsertDivideCheckPass(Registry); | 621 initializeInsertDivideCheckPass(Registry); |
| 622 initializePNaClABIVerifyFunctionsPass(Registry); | 622 initializePNaClABIVerifyFunctionsPass(Registry); |
| 623 initializePNaClABIVerifyModulePass(Registry); | 623 initializePNaClABIVerifyModulePass(Registry); |
| 624 initializePromoteI1OpsPass(Registry); | 624 initializePromoteI1OpsPass(Registry); |
| 625 initializePromoteIntegersPass(Registry); | 625 initializePromoteIntegersPass(Registry); |
| 626 initializeRemoveAsmMemoryPass(Registry); |
| 626 initializeReplacePtrsWithIntsPass(Registry); | 627 initializeReplacePtrsWithIntsPass(Registry); |
| 627 initializeResolveAliasesPass(Registry); | 628 initializeResolveAliasesPass(Registry); |
| 628 initializeResolvePNaClIntrinsicsPass(Registry); | 629 initializeResolvePNaClIntrinsicsPass(Registry); |
| 629 initializeRewriteAsmDirectivesPass(Registry); | |
| 630 initializeRewriteAtomicsPass(Registry); | 630 initializeRewriteAtomicsPass(Registry); |
| 631 initializeRewriteLLVMIntrinsicsPass(Registry); | 631 initializeRewriteLLVMIntrinsicsPass(Registry); |
| 632 initializeRewritePNaClLibraryCallsPass(Registry); | 632 initializeRewritePNaClLibraryCallsPass(Registry); |
| 633 initializeStripAttributesPass(Registry); | 633 initializeStripAttributesPass(Registry); |
| 634 initializeStripMetadataPass(Registry); | 634 initializeStripMetadataPass(Registry); |
| 635 // @LOCALMOD-END | 635 // @LOCALMOD-END |
| 636 | 636 |
| 637 cl::ParseCommandLineOptions(argc, argv, | 637 cl::ParseCommandLineOptions(argc, argv, |
| 638 "llvm .bc -> .bc modular optimizer and analysis printer\n"); | 638 "llvm .bc -> .bc modular optimizer and analysis printer\n"); |
| 639 | 639 |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 } | 916 } |
| 917 } | 917 } |
| 918 // @LOCALMOD-END | 918 // @LOCALMOD-END |
| 919 | 919 |
| 920 // Declare success. | 920 // Declare success. |
| 921 if (!NoOutput || PrintBreakpoints) | 921 if (!NoOutput || PrintBreakpoints) |
| 922 Out->keep(); | 922 Out->keep(); |
| 923 | 923 |
| 924 return 0; | 924 return 0; |
| 925 } | 925 } |
| OLD | NEW |