OLD | NEW |
1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// | 1 //===- subzero/src/IceTargetLowering.h - Lowering interface -----*- C++ -*-===// |
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 declares the TargetLowering and LoweringContext | 10 // This file declares the TargetLowering and LoweringContext |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 TargetLowering(Cfg *Func) | 162 TargetLowering(Cfg *Func) |
163 : Func(Func), Ctx(Func->getContext()), HasComputedFrame(false), | 163 : Func(Func), Ctx(Func->getContext()), HasComputedFrame(false), |
164 StackAdjustment(0) {} | 164 StackAdjustment(0) {} |
165 virtual void lowerAlloca(const InstAlloca *Inst) = 0; | 165 virtual void lowerAlloca(const InstAlloca *Inst) = 0; |
166 virtual void lowerArithmetic(const InstArithmetic *Inst) = 0; | 166 virtual void lowerArithmetic(const InstArithmetic *Inst) = 0; |
167 virtual void lowerAssign(const InstAssign *Inst) = 0; | 167 virtual void lowerAssign(const InstAssign *Inst) = 0; |
168 virtual void lowerBr(const InstBr *Inst) = 0; | 168 virtual void lowerBr(const InstBr *Inst) = 0; |
169 virtual void lowerCall(const InstCall *Inst) = 0; | 169 virtual void lowerCall(const InstCall *Inst) = 0; |
170 virtual void lowerCast(const InstCast *Inst) = 0; | 170 virtual void lowerCast(const InstCast *Inst) = 0; |
171 virtual void lowerFcmp(const InstFcmp *Inst) = 0; | 171 virtual void lowerFcmp(const InstFcmp *Inst) = 0; |
| 172 virtual void lowerExtractElement(const InstExtractElement *Inst) = 0; |
172 virtual void lowerIcmp(const InstIcmp *Inst) = 0; | 173 virtual void lowerIcmp(const InstIcmp *Inst) = 0; |
| 174 virtual void lowerInsertElement(const InstInsertElement *Inst) = 0; |
173 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Inst) = 0; | 175 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Inst) = 0; |
174 virtual void lowerLoad(const InstLoad *Inst) = 0; | 176 virtual void lowerLoad(const InstLoad *Inst) = 0; |
175 virtual void lowerPhi(const InstPhi *Inst) = 0; | 177 virtual void lowerPhi(const InstPhi *Inst) = 0; |
176 virtual void lowerRet(const InstRet *Inst) = 0; | 178 virtual void lowerRet(const InstRet *Inst) = 0; |
177 virtual void lowerSelect(const InstSelect *Inst) = 0; | 179 virtual void lowerSelect(const InstSelect *Inst) = 0; |
178 virtual void lowerStore(const InstStore *Inst) = 0; | 180 virtual void lowerStore(const InstStore *Inst) = 0; |
179 virtual void lowerSwitch(const InstSwitch *Inst) = 0; | 181 virtual void lowerSwitch(const InstSwitch *Inst) = 0; |
180 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0; | 182 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0; |
181 | 183 |
182 virtual void doAddressOptLoad() {} | 184 virtual void doAddressOptLoad() {} |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 private: | 223 private: |
222 TargetGlobalInitLowering(const TargetGlobalInitLowering &) | 224 TargetGlobalInitLowering(const TargetGlobalInitLowering &) |
223 LLVM_DELETED_FUNCTION; | 225 LLVM_DELETED_FUNCTION; |
224 TargetGlobalInitLowering & | 226 TargetGlobalInitLowering & |
225 operator=(const TargetGlobalInitLowering &) LLVM_DELETED_FUNCTION; | 227 operator=(const TargetGlobalInitLowering &) LLVM_DELETED_FUNCTION; |
226 }; | 228 }; |
227 | 229 |
228 } // end of namespace Ice | 230 } // end of namespace Ice |
229 | 231 |
230 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 232 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
OLD | NEW |