llvm.org GIT mirror llvm / dfa1a79
Update examples and documentation to explicitly add basicaa, now that it's no longer included by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119169 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 8 years ago
9 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
175175 // Set up the optimizer pipeline. Start with registering info about how the
176176 // target lays out data structures.
177177 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
178 // Provide basic AliasAnalysis support for GVN.
179 OurFPM.add(createBasicAliasAnalysisPass());
178180 // Do simple "peephole" optimizations and bit-twiddling optzns.
179181 OurFPM.add(createInstructionCombiningPass());
180182 // Reassociate expressions.
10851087 // Set up the optimizer pipeline. Start with registering info about how the
10861088 // target lays out data structures.
10871089 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
1090 // Provide basic AliasAnalysis support for GVN.
1091 OurFPM.add(createBasicAliasAnalysisPass());
10881092 // Do simple "peephole" optimizations and bit-twiddling optzns.
10891093 OurFPM.add(createInstructionCombiningPass());
10901094 // Reassociate expressions.
17301730 // Set up the optimizer pipeline. Start with registering info about how the
17311731 // target lays out data structures.
17321732 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
1733 // Provide basic AliasAnalysis support for GVN.
1734 OurFPM.add(createBasicAliasAnalysisPass());
17331735 // Do simple "peephole" optimizations and bit-twiddling optzns.
17341736 OurFPM.add(createInstructionCombiningPass());
17351737 // Reassociate expressions.
17671767 // Set up the optimizer pipeline. Start with registering info about how the
17681768 // target lays out data structures.
17691769 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
1770 // Provide basic AliasAnalysis support for GVN.
1771 OurFPM.add(createBasicAliasAnalysisPass());
17701772 // Do simple "peephole" optimizations and bit-twiddling optzns.
17711773 OurFPM.add(createInstructionCombiningPass());
17721774 // Reassociate expressions.
21152115 // Set up the optimizer pipeline. Start with registering info about how the
21162116 // target lays out data structures.
21172117 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
2118 // Provide basic AliasAnalysis support for GVN.
2119 OurFPM.add(createBasicAliasAnalysisPass());
21182120 // Promote allocas to registers.
21192121 OurFPM.add(createPromoteMemoryToRegisterPass());
21202122 // Do simple "peephole" optimizations and bit-twiddling optzns.
19731973 // Optimizations turned on
19741974 #ifdef ADD_OPT_PASSES
19751975
1976 // Basic AliasAnslysis support for GVN.
1977 fpm.add(llvm::createBasicAliasAnalysisPass());
1978
19761979 // Promote allocas to registers.
19771980 fpm.add(llvm::createPromoteMemoryToRegisterPass());
19781981
583583 // Set up the optimizer pipeline. Start with registering info about how the
584584 // target lays out data structures.
585585 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
586 // Provide basic AliasAnalysis support for GVN.
587 OurFPM.add(createBasicAliasAnalysisPass());
586588 // Do simple "peephole" optimizations and bit-twiddling optzns.
587589 OurFPM.add(createInstructionCombiningPass());
588590 // Reassociate expressions.
828828 // Set up the optimizer pipeline. Start with registering info about how the
829829 // target lays out data structures.
830830 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
831 // Provide basic AliasAnalysis support for GVN.
832 OurFPM.add(createBasicAliasAnalysisPass());
831833 // Do simple "peephole" optimizations and bit-twiddling optzns.
832834 OurFPM.add(createInstructionCombiningPass());
833835 // Reassociate expressions.
946946 // Set up the optimizer pipeline. Start with registering info about how the
947947 // target lays out data structures.
948948 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
949 // Provide basic AliasAnalysis support for GVN.
950 OurFPM.add(createBasicAliasAnalysisPass());
949951 // Do simple "peephole" optimizations and bit-twiddling optzns.
950952 OurFPM.add(createInstructionCombiningPass());
951953 // Reassociate expressions.
11101110 // Set up the optimizer pipeline. Start with registering info about how the
11111111 // target lays out data structures.
11121112 OurFPM.add(new TargetData(*TheExecutionEngine->getTargetData()));
1113 // Provide basic AliasAnalysis support for GVN.
1114 OurFPM.add(createBasicAliasAnalysisPass());
11131115 // Promote allocas to registers.
11141116 OurFPM.add(createPromoteMemoryToRegisterPass());
11151117 // Do simple "peephole" optimizations and bit-twiddling optzns.