Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: include/llvm/Transforms/NaCl.h

Issue 14262011: PNaCl: Add ReplacePtrsWithInts pass for stripping out pointer types (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Address Eli's review comments Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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.
eliben 2013/05/22 16:08:02 Maybe "Return NewInst with debug information copie
Mark Seaborn 2013/05/22 18:29:14 "Return NewInst with" sounds a little bit like it
42 Instruction *CopyDebug(Instruction *NewInst, Instruction *Original);
43
40 } 44 }
41 45
42 #endif 46 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698