Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: tools/opt/opt.cpp

Issue 13973018: PNaCl: Add ExpandByVal pass for expanding out by-value struct args and results (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Cleanup Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/Transforms/NaCl/expand-byval.ll ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 initializeObjCARCOpts(Registry); 570 initializeObjCARCOpts(Registry);
571 initializeVectorization(Registry); 571 initializeVectorization(Registry);
572 initializeIPO(Registry); 572 initializeIPO(Registry);
573 initializeAnalysis(Registry); 573 initializeAnalysis(Registry);
574 initializeIPA(Registry); 574 initializeIPA(Registry);
575 initializeTransformUtils(Registry); 575 initializeTransformUtils(Registry);
576 initializeInstCombine(Registry); 576 initializeInstCombine(Registry);
577 initializeInstrumentation(Registry); 577 initializeInstrumentation(Registry);
578 initializeTarget(Registry); 578 initializeTarget(Registry);
579 // @LOCALMOD-BEGIN 579 // @LOCALMOD-BEGIN
580 initializeExpandByValPass(Registry);
580 initializeExpandConstantExprPass(Registry); 581 initializeExpandConstantExprPass(Registry);
581 initializeExpandCtorsPass(Registry); 582 initializeExpandCtorsPass(Registry);
582 initializeExpandGetElementPtrPass(Registry); 583 initializeExpandGetElementPtrPass(Registry);
583 initializeExpandTlsPass(Registry); 584 initializeExpandTlsPass(Registry);
584 initializeExpandTlsConstantExprPass(Registry); 585 initializeExpandTlsConstantExprPass(Registry);
585 initializeExpandVarArgsPass(Registry); 586 initializeExpandVarArgsPass(Registry);
586 initializeGlobalCleanupPass(Registry); 587 initializeGlobalCleanupPass(Registry);
587 initializePNaClABIVerifyFunctionsPass(Registry); 588 initializePNaClABIVerifyFunctionsPass(Registry);
588 initializePNaClABIVerifyModulePass(Registry); 589 initializePNaClABIVerifyModulePass(Registry);
589 initializeResolveAliasesPass(Registry); 590 initializeResolveAliasesPass(Registry);
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 835
835 // Now that we have all of the passes ready, run them. 836 // Now that we have all of the passes ready, run them.
836 Passes.run(*M.get()); 837 Passes.run(*M.get());
837 838
838 // Declare success. 839 // Declare success.
839 if (!NoOutput || PrintBreakpoints) 840 if (!NoOutput || PrintBreakpoints)
840 Out->keep(); 841 Out->keep();
841 842
842 return 0; 843 return 0;
843 } 844 }
OLDNEW
« no previous file with comments | « test/Transforms/NaCl/expand-byval.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698