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

Side by Side Diff: src/IceTargetLowering.cpp

Issue 401523003: Lower insertelement and extractelement. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 6 years, 5 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 | « src/IceTargetLowering.h ('k') | src/IceTargetLoweringX8632.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLowering.cpp - Basic lowering implementation --===// 1 //===- subzero/src/IceTargetLowering.cpp - Basic lowering implementation --===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
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 // This file implements the skeleton of the TargetLowering class, 10 // This file implements the skeleton of the TargetLowering class,
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 break; 103 break;
104 case Inst::Br: 104 case Inst::Br:
105 lowerBr(llvm::dyn_cast<InstBr>(Inst)); 105 lowerBr(llvm::dyn_cast<InstBr>(Inst));
106 break; 106 break;
107 case Inst::Call: 107 case Inst::Call:
108 lowerCall(llvm::dyn_cast<InstCall>(Inst)); 108 lowerCall(llvm::dyn_cast<InstCall>(Inst));
109 break; 109 break;
110 case Inst::Cast: 110 case Inst::Cast:
111 lowerCast(llvm::dyn_cast<InstCast>(Inst)); 111 lowerCast(llvm::dyn_cast<InstCast>(Inst));
112 break; 112 break;
113 case Inst::ExtractElement:
114 lowerExtractElement(llvm::dyn_cast<InstExtractElement>(Inst));
115 break;
113 case Inst::Fcmp: 116 case Inst::Fcmp:
114 lowerFcmp(llvm::dyn_cast<InstFcmp>(Inst)); 117 lowerFcmp(llvm::dyn_cast<InstFcmp>(Inst));
115 break; 118 break;
116 case Inst::Icmp: 119 case Inst::Icmp:
117 lowerIcmp(llvm::dyn_cast<InstIcmp>(Inst)); 120 lowerIcmp(llvm::dyn_cast<InstIcmp>(Inst));
118 break; 121 break;
122 case Inst::InsertElement:
123 lowerInsertElement(llvm::dyn_cast<InstInsertElement>(Inst));
124 break;
119 case Inst::IntrinsicCall: 125 case Inst::IntrinsicCall:
120 lowerIntrinsicCall(llvm::dyn_cast<InstIntrinsicCall>(Inst)); 126 lowerIntrinsicCall(llvm::dyn_cast<InstIntrinsicCall>(Inst));
121 break; 127 break;
122 case Inst::Load: 128 case Inst::Load:
123 lowerLoad(llvm::dyn_cast<InstLoad>(Inst)); 129 lowerLoad(llvm::dyn_cast<InstLoad>(Inst));
124 break; 130 break;
125 case Inst::Phi: 131 case Inst::Phi:
126 lowerPhi(llvm::dyn_cast<InstPhi>(Inst)); 132 lowerPhi(llvm::dyn_cast<InstPhi>(Inst));
127 break; 133 break;
128 case Inst::Ret: 134 case Inst::Ret:
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 if (Target == Target_ARM32) 192 if (Target == Target_ARM32)
187 return IceTargetGlobalInitARM32::create(Ctx); 193 return IceTargetGlobalInitARM32::create(Ctx);
188 if (Target == Target_ARM64) 194 if (Target == Target_ARM64)
189 return IceTargetGlobalInitARM64::create(Ctx); 195 return IceTargetGlobalInitARM64::create(Ctx);
190 #endif 196 #endif
191 llvm_unreachable("Unsupported target"); 197 llvm_unreachable("Unsupported target");
192 return NULL; 198 return NULL;
193 } 199 }
194 200
195 } // end of namespace Ice 201 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceTargetLowering.h ('k') | src/IceTargetLoweringX8632.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698