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

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

Issue 1423873002: PNaCl: Add a vector type legalization pass. Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 1 month 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ModulePass *createExpandIndirectBrPass(); 49 ModulePass *createExpandIndirectBrPass();
50 ModulePass *createExpandSmallArgumentsPass(); 50 ModulePass *createExpandSmallArgumentsPass();
51 ModulePass *createExpandTlsConstantExprPass(); 51 ModulePass *createExpandTlsConstantExprPass();
52 ModulePass *createExpandTlsPass(); 52 ModulePass *createExpandTlsPass();
53 ModulePass *createExpandVarArgsPass(); 53 ModulePass *createExpandVarArgsPass();
54 ModulePass *createFlattenGlobalsPass(); 54 ModulePass *createFlattenGlobalsPass();
55 ModulePass *createGlobalCleanupPass(); 55 ModulePass *createGlobalCleanupPass();
56 ModulePass *createGlobalizeConstantVectorsPass(); 56 ModulePass *createGlobalizeConstantVectorsPass();
57 ModulePass *createInternalizeUsedGlobalsPass(); 57 ModulePass *createInternalizeUsedGlobalsPass();
58 ModulePass *createPNaClSjLjEHPass(); 58 ModulePass *createPNaClSjLjEHPass();
59 ModulePass *createPNaClVectorCanonicalizationPass();
59 ModulePass *createPromoteIntegersPass(); 60 ModulePass *createPromoteIntegersPass();
60 ModulePass *createReplacePtrsWithIntsPass(); 61 ModulePass *createReplacePtrsWithIntsPass();
61 ModulePass *createResolveAliasesPass(); 62 ModulePass *createResolveAliasesPass();
62 ModulePass *createRewriteAtomicsPass(); 63 ModulePass *createRewriteAtomicsPass();
63 ModulePass *createRewriteLLVMIntrinsicsPass(); 64 ModulePass *createRewriteLLVMIntrinsicsPass();
64 ModulePass *createRewritePNaClLibraryCallsPass(); 65 ModulePass *createRewritePNaClLibraryCallsPass();
65 ModulePass *createSimplifyStructRegSignaturesPass(); 66 ModulePass *createSimplifyStructRegSignaturesPass();
66 ModulePass *createStripAttributesPass(); 67 ModulePass *createStripAttributesPass();
67 ModulePass *createStripMetadataPass(); 68 ModulePass *createStripMetadataPass();
68 ModulePass *createStripModuleFlagsPass(); 69 ModulePass *createStripModuleFlagsPass();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // In order to change a function's type, the function must be 101 // In order to change a function's type, the function must be
101 // recreated. RecreateFunction() recreates Func with type NewType. 102 // recreated. RecreateFunction() recreates Func with type NewType.
102 // It copies or moves across everything except the argument values, 103 // It copies or moves across everything except the argument values,
103 // which the caller must update because the argument types might be 104 // which the caller must update because the argument types might be
104 // different. 105 // different.
105 Function *RecreateFunction(Function *Func, FunctionType *NewType); 106 Function *RecreateFunction(Function *Func, FunctionType *NewType);
106 107
107 } 108 }
108 109
109 #endif 110 #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