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 17 matching lines...) Expand all Loading... |
28 FunctionPass *createExpandStructRegsPass(); | 28 FunctionPass *createExpandStructRegsPass(); |
29 FunctionPass *createInsertDivideCheckPass(); | 29 FunctionPass *createInsertDivideCheckPass(); |
30 FunctionPass *createPromoteIntegersPass(); | 30 FunctionPass *createPromoteIntegersPass(); |
31 FunctionPass *createRemoveAsmMemoryPass(); | 31 FunctionPass *createRemoveAsmMemoryPass(); |
32 FunctionPass *createResolvePNaClIntrinsicsPass(); | 32 FunctionPass *createResolvePNaClIntrinsicsPass(); |
33 ModulePass *createAddPNaClExternalDeclsPass(); | 33 ModulePass *createAddPNaClExternalDeclsPass(); |
34 ModulePass *createCanonicalizeMemIntrinsicsPass(); | 34 ModulePass *createCanonicalizeMemIntrinsicsPass(); |
35 ModulePass *createExpandArithWithOverflowPass(); | 35 ModulePass *createExpandArithWithOverflowPass(); |
36 ModulePass *createExpandByValPass(); | 36 ModulePass *createExpandByValPass(); |
37 ModulePass *createExpandCtorsPass(); | 37 ModulePass *createExpandCtorsPass(); |
| 38 ModulePass *createExpandIndirectBrPass(); |
38 ModulePass *createExpandSmallArgumentsPass(); | 39 ModulePass *createExpandSmallArgumentsPass(); |
39 ModulePass *createExpandTlsConstantExprPass(); | 40 ModulePass *createExpandTlsConstantExprPass(); |
40 ModulePass *createExpandTlsPass(); | 41 ModulePass *createExpandTlsPass(); |
41 ModulePass *createExpandVarArgsPass(); | 42 ModulePass *createExpandVarArgsPass(); |
42 ModulePass *createFlattenGlobalsPass(); | 43 ModulePass *createFlattenGlobalsPass(); |
43 ModulePass *createGlobalCleanupPass(); | 44 ModulePass *createGlobalCleanupPass(); |
44 ModulePass *createPNaClSjLjEHPass(); | 45 ModulePass *createPNaClSjLjEHPass(); |
45 ModulePass *createReplacePtrsWithIntsPass(); | 46 ModulePass *createReplacePtrsWithIntsPass(); |
46 ModulePass *createResolveAliasesPass(); | 47 ModulePass *createResolveAliasesPass(); |
47 ModulePass *createRewriteAtomicsPass(); | 48 ModulePass *createRewriteAtomicsPass(); |
(...skipping 22 matching lines...) Expand all Loading... |
70 // In order to change a function's type, the function must be | 71 // In order to change a function's type, the function must be |
71 // recreated. RecreateFunction() recreates Func with type NewType. | 72 // recreated. RecreateFunction() recreates Func with type NewType. |
72 // It copies or moves across everything except the argument values, | 73 // It copies or moves across everything except the argument values, |
73 // which the caller must update because the argument types might be | 74 // which the caller must update because the argument types might be |
74 // different. | 75 // different. |
75 Function *RecreateFunction(Function *Func, FunctionType *NewType); | 76 Function *RecreateFunction(Function *Func, FunctionType *NewType); |
76 | 77 |
77 } | 78 } |
78 | 79 |
79 #endif | 80 #endif |
OLD | NEW |