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 11 matching lines...) Expand all Loading... |
22 ModulePass *createExpandByValPass(); | 22 ModulePass *createExpandByValPass(); |
23 FunctionPass *createExpandConstantExprPass(); | 23 FunctionPass *createExpandConstantExprPass(); |
24 ModulePass *createExpandCtorsPass(); | 24 ModulePass *createExpandCtorsPass(); |
25 BasicBlockPass *createExpandGetElementPtrPass(); | 25 BasicBlockPass *createExpandGetElementPtrPass(); |
26 ModulePass *createExpandTlsPass(); | 26 ModulePass *createExpandTlsPass(); |
27 ModulePass *createExpandTlsConstantExprPass(); | 27 ModulePass *createExpandTlsConstantExprPass(); |
28 ModulePass *createExpandVarArgsPass(); | 28 ModulePass *createExpandVarArgsPass(); |
29 ModulePass *createFlattenGlobalsPass(); | 29 ModulePass *createFlattenGlobalsPass(); |
30 ModulePass *createGlobalCleanupPass(); | 30 ModulePass *createGlobalCleanupPass(); |
31 FunctionPass *createPromoteIntegersPass(); | 31 FunctionPass *createPromoteIntegersPass(); |
| 32 ModulePass *createReplacePtrsWithIntsPass(); |
32 ModulePass *createResolveAliasesPass(); | 33 ModulePass *createResolveAliasesPass(); |
33 ModulePass *createRewritePNaClLibraryCallsPass(); | 34 ModulePass *createRewritePNaClLibraryCallsPass(); |
34 ModulePass *createStripMetadataPass(); | 35 ModulePass *createStripMetadataPass(); |
35 FunctionPass *createInsertDivideCheckPass(); | 36 FunctionPass *createInsertDivideCheckPass(); |
36 | 37 |
37 Instruction *PhiSafeInsertPt(Use *U); | 38 Instruction *PhiSafeInsertPt(Use *U); |
38 void PhiSafeReplaceUses(Use *U, Value *NewVal); | 39 void PhiSafeReplaceUses(Use *U, Value *NewVal); |
39 | 40 |
| 41 // Copy debug information from Original to NewInst, and return NewInst. |
| 42 Instruction *CopyDebug(Instruction *NewInst, Instruction *Original); |
| 43 |
40 } | 44 } |
41 | 45 |
42 #endif | 46 #endif |
OLD | NEW |