OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |