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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |