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

Side by Side Diff: src/IceTargetLowering.cpp

Issue 930733002: Subzero: Add sandboxing for x86-32. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add a sandboxing test. Rebase. Created 5 years, 10 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/IceInstX8632.cpp ('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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 break; 211 break;
212 case Inst::Store: 212 case Inst::Store:
213 lowerStore(llvm::dyn_cast<InstStore>(Inst)); 213 lowerStore(llvm::dyn_cast<InstStore>(Inst));
214 break; 214 break;
215 case Inst::Switch: 215 case Inst::Switch:
216 lowerSwitch(llvm::dyn_cast<InstSwitch>(Inst)); 216 lowerSwitch(llvm::dyn_cast<InstSwitch>(Inst));
217 break; 217 break;
218 case Inst::Unreachable: 218 case Inst::Unreachable:
219 lowerUnreachable(llvm::dyn_cast<InstUnreachable>(Inst)); 219 lowerUnreachable(llvm::dyn_cast<InstUnreachable>(Inst));
220 break; 220 break;
221 case Inst::BundleLock:
222 case Inst::BundleUnlock:
221 case Inst::FakeDef: 223 case Inst::FakeDef:
222 case Inst::FakeUse: 224 case Inst::FakeUse:
223 case Inst::FakeKill: 225 case Inst::FakeKill:
224 case Inst::Target: 226 case Inst::Target:
225 // These are all Target instruction types and shouldn't be 227 // These are all Target instruction types and shouldn't be
226 // encountered at this stage. 228 // encountered at this stage.
227 Func->setError("Can't lower unsupported instruction type"); 229 Func->setError("Can't lower unsupported instruction type");
228 break; 230 break;
229 } 231 }
230 232
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 if (Target == Target_ARM64) 269 if (Target == Target_ARM64)
268 return std::unique_ptr<TargetDataLowering>(TargetDataARM64::create(Ctx)); 270 return std::unique_ptr<TargetDataLowering>(TargetDataARM64::create(Ctx));
269 #endif 271 #endif
270 llvm_unreachable("Unsupported target"); 272 llvm_unreachable("Unsupported target");
271 return nullptr; 273 return nullptr;
272 } 274 }
273 275
274 TargetDataLowering::~TargetDataLowering() {} 276 TargetDataLowering::~TargetDataLowering() {}
275 277
276 } // end of namespace Ice 278 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLoweringX8632.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698