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

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

Issue 282553003: PNaCl translator: combine insertelement / extractelement patterns generated by the toolchain into s… (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Add DCE, address dschuff's comments. Created 6 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
« no previous file with comments | « include/llvm/InitializePasses.h ('k') | lib/Transforms/NaCl/CMakeLists.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
11 #define LLVM_TRANSFORMS_NACL_H 11 #define LLVM_TRANSFORMS_NACL_H
12 12
13 #include "llvm/CodeGen/Passes.h" 13 #include "llvm/CodeGen/Passes.h"
14 14
15 namespace llvm { 15 namespace llvm {
16 16
17 class BasicBlockPass; 17 class BasicBlockPass;
18 class Function; 18 class Function;
19 class FunctionPass; 19 class FunctionPass;
20 class FunctionType; 20 class FunctionType;
21 class Instruction; 21 class Instruction;
22 class ModulePass; 22 class ModulePass;
23 class Use; 23 class Use;
24 class Value; 24 class Value;
25 25
26 BasicBlockPass *createCombineVectorInstructionsPass();
26 BasicBlockPass *createConstantInsertExtractElementIndexPass(); 27 BasicBlockPass *createConstantInsertExtractElementIndexPass();
27 BasicBlockPass *createExpandGetElementPtrPass(); 28 BasicBlockPass *createExpandGetElementPtrPass();
28 BasicBlockPass *createExpandShuffleVectorPass(); 29 BasicBlockPass *createExpandShuffleVectorPass();
29 BasicBlockPass *createFixVectorLoadStoreAlignmentPass(); 30 BasicBlockPass *createFixVectorLoadStoreAlignmentPass();
30 BasicBlockPass *createPromoteI1OpsPass(); 31 BasicBlockPass *createPromoteI1OpsPass();
31 FunctionPass *createExpandConstantExprPass(); 32 FunctionPass *createExpandConstantExprPass();
32 FunctionPass *createExpandStructRegsPass(); 33 FunctionPass *createExpandStructRegsPass();
33 FunctionPass *createInsertDivideCheckPass(); 34 FunctionPass *createInsertDivideCheckPass();
34 FunctionPass *createPromoteIntegersPass(); 35 FunctionPass *createPromoteIntegersPass();
35 FunctionPass *createRemoveAsmMemoryPass(); 36 FunctionPass *createRemoveAsmMemoryPass();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // In order to change a function's type, the function must be 77 // In order to change a function's type, the function must be
77 // recreated. RecreateFunction() recreates Func with type NewType. 78 // recreated. RecreateFunction() recreates Func with type NewType.
78 // It copies or moves across everything except the argument values, 79 // It copies or moves across everything except the argument values,
79 // which the caller must update because the argument types might be 80 // which the caller must update because the argument types might be
80 // different. 81 // different.
81 Function *RecreateFunction(Function *Func, FunctionType *NewType); 82 Function *RecreateFunction(Function *Func, FunctionType *NewType);
82 83
83 } 84 }
84 85
85 #endif 86 #endif
OLDNEW
« no previous file with comments | « include/llvm/InitializePasses.h ('k') | lib/Transforms/NaCl/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698