Chromium Code Reviews| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 382 virtual void lowerIcmp(const InstIcmp *Instr) = 0; | 382 virtual void lowerIcmp(const InstIcmp *Instr) = 0; |
| 383 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; | 383 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; |
| 384 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; | 384 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; |
| 385 virtual void lowerLoad(const InstLoad *Instr) = 0; | 385 virtual void lowerLoad(const InstLoad *Instr) = 0; |
| 386 virtual void lowerPhi(const InstPhi *Instr) = 0; | 386 virtual void lowerPhi(const InstPhi *Instr) = 0; |
| 387 virtual void lowerRet(const InstRet *Instr) = 0; | 387 virtual void lowerRet(const InstRet *Instr) = 0; |
| 388 virtual void lowerSelect(const InstSelect *Instr) = 0; | 388 virtual void lowerSelect(const InstSelect *Instr) = 0; |
| 389 virtual void lowerStore(const InstStore *Instr) = 0; | 389 virtual void lowerStore(const InstStore *Instr) = 0; |
| 390 virtual void lowerSwitch(const InstSwitch *Instr) = 0; | 390 virtual void lowerSwitch(const InstSwitch *Instr) = 0; |
| 391 virtual void lowerUnreachable(const InstUnreachable *Instr) = 0; | 391 virtual void lowerUnreachable(const InstUnreachable *Instr) = 0; |
| 392 virtual void lowerBreakpoint(const InstBreakpoint *Instr) = 0; | |
|
Jim Stichnoth
2016/04/14 20:03:44
sort
Eric Holk
2016/04/15 15:24:26
Done.
| |
| 392 virtual void lowerOther(const Inst *Instr); | 393 virtual void lowerOther(const Inst *Instr); |
| 393 | 394 |
| 394 virtual void genTargetHelperCallFor(Inst *Instr) = 0; | 395 virtual void genTargetHelperCallFor(Inst *Instr) = 0; |
| 395 virtual uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) = 0; | 396 virtual uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) = 0; |
| 396 | 397 |
| 397 virtual void doAddressOptLoad() {} | 398 virtual void doAddressOptLoad() {} |
| 398 virtual void doAddressOptStore() {} | 399 virtual void doAddressOptStore() {} |
| 399 virtual void doMockBoundsCheck(Operand *) {} | 400 virtual void doMockBoundsCheck(Operand *) {} |
| 400 virtual void randomlyInsertNop(float Probability, | 401 virtual void randomlyInsertNop(float Probability, |
| 401 RandomNumberGenerator &RNG) = 0; | 402 RandomNumberGenerator &RNG) = 0; |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 617 virtual void lower() {} | 618 virtual void lower() {} |
| 618 | 619 |
| 619 protected: | 620 protected: |
| 620 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 621 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} |
| 621 GlobalContext *Ctx; | 622 GlobalContext *Ctx; |
| 622 }; | 623 }; |
| 623 | 624 |
| 624 } // end of namespace Ice | 625 } // end of namespace Ice |
| 625 | 626 |
| 626 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 627 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
| OLD | NEW |