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

Side by Side Diff: include/llvm/Transforms/NaCl.h

Issue 992493002: Lower signatures exposing struct registers to byval struct pointers (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Final. Created 5 years, 9 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 | « include/llvm/InitializePasses.h ('k') | lib/Transforms/NaCl/CMakeLists.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===-- NaCl.h - NaCl Transformations ---------------------------*- C++ -*-===// 1 //===-- NaCl.h - NaCl Transformations ---------------------------*- C++ -*-===//
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 #ifndef LLVM_TRANSFORMS_NACL_H 10 #ifndef LLVM_TRANSFORMS_NACL_H
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ModulePass *createExpandByValPass(); 45 ModulePass *createExpandByValPass();
46 ModulePass *createExpandCtorsPass(); 46 ModulePass *createExpandCtorsPass();
47 ModulePass *createExpandIndirectBrPass(); 47 ModulePass *createExpandIndirectBrPass();
48 ModulePass *createExpandSmallArgumentsPass(); 48 ModulePass *createExpandSmallArgumentsPass();
49 ModulePass *createExpandTlsConstantExprPass(); 49 ModulePass *createExpandTlsConstantExprPass();
50 ModulePass *createExpandTlsPass(); 50 ModulePass *createExpandTlsPass();
51 ModulePass *createExpandVarArgsPass(); 51 ModulePass *createExpandVarArgsPass();
52 ModulePass *createFlattenGlobalsPass(); 52 ModulePass *createFlattenGlobalsPass();
53 ModulePass *createGlobalCleanupPass(); 53 ModulePass *createGlobalCleanupPass();
54 ModulePass *createGlobalizeConstantVectorsPass(); 54 ModulePass *createGlobalizeConstantVectorsPass();
55 ModulePass *createSimplifyStructRegSignaturesPass();
55 ModulePass *createPNaClSjLjEHPass(); 56 ModulePass *createPNaClSjLjEHPass();
56 ModulePass *createReplacePtrsWithIntsPass(); 57 ModulePass *createReplacePtrsWithIntsPass();
57 ModulePass *createResolveAliasesPass(); 58 ModulePass *createResolveAliasesPass();
58 ModulePass *createRewriteAtomicsPass(); 59 ModulePass *createRewriteAtomicsPass();
59 ModulePass *createRewriteLLVMIntrinsicsPass(); 60 ModulePass *createRewriteLLVMIntrinsicsPass();
60 ModulePass *createRewritePNaClLibraryCallsPass(); 61 ModulePass *createRewritePNaClLibraryCallsPass();
61 ModulePass *createStripAttributesPass(); 62 ModulePass *createStripAttributesPass();
62 ModulePass *createStripMetadataPass(); 63 ModulePass *createStripMetadataPass();
63 ModulePass *createStripModuleFlagsPass(); 64 ModulePass *createStripModuleFlagsPass();
64 65
(...skipping 20 matching lines...) Expand all
85 // In order to change a function's type, the function must be 86 // In order to change a function's type, the function must be
86 // recreated. RecreateFunction() recreates Func with type NewType. 87 // recreated. RecreateFunction() recreates Func with type NewType.
87 // It copies or moves across everything except the argument values, 88 // It copies or moves across everything except the argument values,
88 // which the caller must update because the argument types might be 89 // which the caller must update because the argument types might be
89 // different. 90 // different.
90 Function *RecreateFunction(Function *Func, FunctionType *NewType); 91 Function *RecreateFunction(Function *Func, FunctionType *NewType);
91 92
92 } 93 }
93 94
94 #endif 95 #endif
OLDNEW
« no previous file with comments | « include/llvm/InitializePasses.h ('k') | lib/Transforms/NaCl/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698