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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 initializeObjCARCOpts(Registry); | 619 initializeObjCARCOpts(Registry); |
620 initializeVectorization(Registry); | 620 initializeVectorization(Registry); |
621 initializeIPO(Registry); | 621 initializeIPO(Registry); |
622 initializeAnalysis(Registry); | 622 initializeAnalysis(Registry); |
623 initializeIPA(Registry); | 623 initializeIPA(Registry); |
624 initializeTransformUtils(Registry); | 624 initializeTransformUtils(Registry); |
625 initializeInstCombine(Registry); | 625 initializeInstCombine(Registry); |
626 initializeInstrumentation(Registry); | 626 initializeInstrumentation(Registry); |
627 initializeTarget(Registry); | 627 initializeTarget(Registry); |
628 // @LOCALMOD-BEGIN | 628 // @LOCALMOD-BEGIN |
| 629 initializeExpandAllocasPass(Registry); |
| 630 initializeAllocateDataSegmentPass(Registry); |
| 631 initializeSandboxIndirectCallsPass(Registry); |
| 632 initializeSandboxMemoryAccessesPass(Registry); |
| 633 initializeStripTlsPass(Registry); |
629 initializeAddPNaClExternalDeclsPass(Registry); | 634 initializeAddPNaClExternalDeclsPass(Registry); |
630 initializeCanonicalizeMemIntrinsicsPass(Registry); | 635 initializeCanonicalizeMemIntrinsicsPass(Registry); |
631 initializeCombineVectorInstructionsPass(Registry); | 636 initializeCombineVectorInstructionsPass(Registry); |
632 initializeConstantInsertExtractElementIndexPass(Registry); | 637 initializeConstantInsertExtractElementIndexPass(Registry); |
633 initializeExpandArithWithOverflowPass(Registry); | 638 initializeExpandArithWithOverflowPass(Registry); |
634 initializeExpandByValPass(Registry); | 639 initializeExpandByValPass(Registry); |
635 initializeExpandConstantExprPass(Registry); | 640 initializeExpandConstantExprPass(Registry); |
636 initializeExpandCtorsPass(Registry); | 641 initializeExpandCtorsPass(Registry); |
637 initializeExpandGetElementPtrPass(Registry); | 642 initializeExpandGetElementPtrPass(Registry); |
638 initializeExpandIndirectBrPass(Registry); | 643 initializeExpandIndirectBrPass(Registry); |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
948 } | 953 } |
949 } | 954 } |
950 // @LOCALMOD-END | 955 // @LOCALMOD-END |
951 | 956 |
952 // Declare success. | 957 // Declare success. |
953 if (!NoOutput || PrintBreakpoints) | 958 if (!NoOutput || PrintBreakpoints) |
954 Out->keep(); | 959 Out->keep(); |
955 | 960 |
956 return 0; | 961 return 0; |
957 } | 962 } |
OLD | NEW |