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 10 matching lines...) Expand all Loading... |
21 class PassManager; | 21 class PassManager; |
22 class Use; | 22 class Use; |
23 class Value; | 23 class Value; |
24 | 24 |
25 BasicBlockPass *createExpandGetElementPtrPass(); | 25 BasicBlockPass *createExpandGetElementPtrPass(); |
26 BasicBlockPass *createPromoteI1OpsPass(); | 26 BasicBlockPass *createPromoteI1OpsPass(); |
27 FunctionPass *createExpandConstantExprPass(); | 27 FunctionPass *createExpandConstantExprPass(); |
28 FunctionPass *createExpandStructRegsPass(); | 28 FunctionPass *createExpandStructRegsPass(); |
29 FunctionPass *createInsertDivideCheckPass(); | 29 FunctionPass *createInsertDivideCheckPass(); |
30 FunctionPass *createPromoteIntegersPass(); | 30 FunctionPass *createPromoteIntegersPass(); |
| 31 FunctionPass *createRemoveAsmMemoryPass(); |
31 FunctionPass *createResolvePNaClIntrinsicsPass(); | 32 FunctionPass *createResolvePNaClIntrinsicsPass(); |
32 FunctionPass *createRewriteAsmDirectivesPass(); | |
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 *createExpandSmallArgumentsPass(); | 38 ModulePass *createExpandSmallArgumentsPass(); |
39 ModulePass *createExpandTlsConstantExprPass(); | 39 ModulePass *createExpandTlsConstantExprPass(); |
40 ModulePass *createExpandTlsPass(); | 40 ModulePass *createExpandTlsPass(); |
41 ModulePass *createExpandVarArgsPass(); | 41 ModulePass *createExpandVarArgsPass(); |
42 ModulePass *createFlattenGlobalsPass(); | 42 ModulePass *createFlattenGlobalsPass(); |
(...skipping 26 matching lines...) Expand all Loading... |
69 // In order to change a function's type, the function must be | 69 // In order to change a function's type, the function must be |
70 // recreated. RecreateFunction() recreates Func with type NewType. | 70 // recreated. RecreateFunction() recreates Func with type NewType. |
71 // It copies or moves across everything except the argument values, | 71 // It copies or moves across everything except the argument values, |
72 // which the caller must update because the argument types might be | 72 // which the caller must update because the argument types might be |
73 // different. | 73 // different. |
74 Function *RecreateFunction(Function *Func, FunctionType *NewType); | 74 Function *RecreateFunction(Function *Func, FunctionType *NewType); |
75 | 75 |
76 } | 76 } |
77 | 77 |
78 #endif | 78 #endif |
OLD | NEW |