| 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 /// \file | 10 /// \file |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 virtual void lowerLoad(const InstLoad *Inst) = 0; | 304 virtual void lowerLoad(const InstLoad *Inst) = 0; |
| 305 virtual void lowerPhi(const InstPhi *Inst) = 0; | 305 virtual void lowerPhi(const InstPhi *Inst) = 0; |
| 306 virtual void lowerRet(const InstRet *Inst) = 0; | 306 virtual void lowerRet(const InstRet *Inst) = 0; |
| 307 virtual void lowerSelect(const InstSelect *Inst) = 0; | 307 virtual void lowerSelect(const InstSelect *Inst) = 0; |
| 308 virtual void lowerStore(const InstStore *Inst) = 0; | 308 virtual void lowerStore(const InstStore *Inst) = 0; |
| 309 virtual void lowerSwitch(const InstSwitch *Inst) = 0; | 309 virtual void lowerSwitch(const InstSwitch *Inst) = 0; |
| 310 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0; | 310 virtual void lowerUnreachable(const InstUnreachable *Inst) = 0; |
| 311 virtual void lowerOther(const Inst *Instr); | 311 virtual void lowerOther(const Inst *Instr); |
| 312 | 312 |
| 313 virtual void genTargetHelperCallFor(Inst *Instr) = 0; | 313 virtual void genTargetHelperCallFor(Inst *Instr) = 0; |
| 314 virtual uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) = 0; |
| 314 | 315 |
| 315 virtual void doAddressOptLoad() {} | 316 virtual void doAddressOptLoad() {} |
| 316 virtual void doAddressOptStore() {} | 317 virtual void doAddressOptStore() {} |
| 317 virtual void doMockBoundsCheck(Operand *) {} | 318 virtual void doMockBoundsCheck(Operand *) {} |
| 318 virtual void randomlyInsertNop(float Probability, | 319 virtual void randomlyInsertNop(float Probability, |
| 319 RandomNumberGenerator &RNG) = 0; | 320 RandomNumberGenerator &RNG) = 0; |
| 320 /// This gives the target an opportunity to post-process the lowered expansion | 321 /// This gives the target an opportunity to post-process the lowered expansion |
| 321 /// before returning. | 322 /// before returning. |
| 322 virtual void postLower() {} | 323 virtual void postLower() {} |
| 323 | 324 |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 virtual void lower() {} | 488 virtual void lower() {} |
| 488 | 489 |
| 489 protected: | 490 protected: |
| 490 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 491 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} |
| 491 GlobalContext *Ctx; | 492 GlobalContext *Ctx; |
| 492 }; | 493 }; |
| 493 | 494 |
| 494 } // end of namespace Ice | 495 } // end of namespace Ice |
| 495 | 496 |
| 496 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 497 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
| OLD | NEW |