| 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 23 matching lines...) Expand all Loading... |
| 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(); |
| 43 ModulePass *createGlobalCleanupPass(); | 43 ModulePass *createGlobalCleanupPass(); |
| 44 ModulePass *createPNaClSjLjEHPass(); |
| 44 ModulePass *createReplacePtrsWithIntsPass(); | 45 ModulePass *createReplacePtrsWithIntsPass(); |
| 45 ModulePass *createResolveAliasesPass(); | 46 ModulePass *createResolveAliasesPass(); |
| 46 ModulePass *createRewriteAtomicsPass(); | 47 ModulePass *createRewriteAtomicsPass(); |
| 47 ModulePass *createRewriteLLVMIntrinsicsPass(); | 48 ModulePass *createRewriteLLVMIntrinsicsPass(); |
| 48 ModulePass *createRewritePNaClLibraryCallsPass(); | 49 ModulePass *createRewritePNaClLibraryCallsPass(); |
| 49 ModulePass *createStripAttributesPass(); | 50 ModulePass *createStripAttributesPass(); |
| 50 ModulePass *createStripMetadataPass(); | 51 ModulePass *createStripMetadataPass(); |
| 51 | 52 |
| 52 void PNaClABISimplifyAddPreOptPasses(PassManager &PM); | 53 void PNaClABISimplifyAddPreOptPasses(PassManager &PM); |
| 53 void PNaClABISimplifyAddPostOptPasses(PassManager &PM); | 54 void PNaClABISimplifyAddPostOptPasses(PassManager &PM); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 69 // In order to change a function's type, the function must be | 70 // In order to change a function's type, the function must be |
| 70 // recreated. RecreateFunction() recreates Func with type NewType. | 71 // recreated. RecreateFunction() recreates Func with type NewType. |
| 71 // It copies or moves across everything except the argument values, | 72 // It copies or moves across everything except the argument values, |
| 72 // which the caller must update because the argument types might be | 73 // which the caller must update because the argument types might be |
| 73 // different. | 74 // different. |
| 74 Function *RecreateFunction(Function *Func, FunctionType *NewType); | 75 Function *RecreateFunction(Function *Func, FunctionType *NewType); |
| 75 | 76 |
| 76 } | 77 } |
| 77 | 78 |
| 78 #endif | 79 #endif |
| OLD | NEW |