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 |
11 #define LLVM_TRANSFORMS_NACL_H | 11 #define LLVM_TRANSFORMS_NACL_H |
12 | 12 |
13 namespace llvm { | 13 namespace llvm { |
14 | 14 |
15 class BasicBlockPass; | 15 class BasicBlockPass; |
16 class FunctionPass; | 16 class FunctionPass; |
17 class Instruction; | 17 class Instruction; |
18 class ModulePass; | 18 class ModulePass; |
19 class Use; | 19 class Use; |
20 class Value; | 20 class Value; |
21 | 21 |
| 22 ModulePass *createExpandByValPass(); |
22 FunctionPass *createExpandConstantExprPass(); | 23 FunctionPass *createExpandConstantExprPass(); |
23 ModulePass *createExpandCtorsPass(); | 24 ModulePass *createExpandCtorsPass(); |
24 BasicBlockPass *createExpandGetElementPtrPass(); | 25 BasicBlockPass *createExpandGetElementPtrPass(); |
25 ModulePass *createExpandTlsPass(); | 26 ModulePass *createExpandTlsPass(); |
26 ModulePass *createExpandTlsConstantExprPass(); | 27 ModulePass *createExpandTlsConstantExprPass(); |
27 ModulePass *createExpandVarArgsPass(); | 28 ModulePass *createExpandVarArgsPass(); |
28 ModulePass *createGlobalCleanupPass(); | 29 ModulePass *createGlobalCleanupPass(); |
29 ModulePass *createResolveAliasesPass(); | 30 ModulePass *createResolveAliasesPass(); |
30 ModulePass *createStripMetadataPass(); | 31 ModulePass *createStripMetadataPass(); |
31 | 32 |
32 Instruction *PhiSafeInsertPt(Use *U); | 33 Instruction *PhiSafeInsertPt(Use *U); |
33 void PhiSafeReplaceUses(Use *U, Value *NewVal); | 34 void PhiSafeReplaceUses(Use *U, Value *NewVal); |
34 | 35 |
35 } | 36 } |
36 | 37 |
37 #endif | 38 #endif |
OLD | NEW |