OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |