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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 virtual void lowerCast(const InstCast *Instr) = 0; | 380 virtual void lowerCast(const InstCast *Instr) = 0; |
381 virtual void lowerFcmp(const InstFcmp *Instr) = 0; | 381 virtual void lowerFcmp(const InstFcmp *Instr) = 0; |
382 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0; | 382 virtual void lowerExtractElement(const InstExtractElement *Instr) = 0; |
383 virtual void lowerIcmp(const InstIcmp *Instr) = 0; | 383 virtual void lowerIcmp(const InstIcmp *Instr) = 0; |
384 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; | 384 virtual void lowerInsertElement(const InstInsertElement *Instr) = 0; |
385 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; | 385 virtual void lowerIntrinsicCall(const InstIntrinsicCall *Instr) = 0; |
386 virtual void lowerLoad(const InstLoad *Instr) = 0; | 386 virtual void lowerLoad(const InstLoad *Instr) = 0; |
387 virtual void lowerPhi(const InstPhi *Instr) = 0; | 387 virtual void lowerPhi(const InstPhi *Instr) = 0; |
388 virtual void lowerRet(const InstRet *Instr) = 0; | 388 virtual void lowerRet(const InstRet *Instr) = 0; |
389 virtual void lowerSelect(const InstSelect *Instr) = 0; | 389 virtual void lowerSelect(const InstSelect *Instr) = 0; |
| 390 virtual void lowerShuffleVector(const InstShuffleVector *Instr) = 0; |
390 virtual void lowerStore(const InstStore *Instr) = 0; | 391 virtual void lowerStore(const InstStore *Instr) = 0; |
391 virtual void lowerSwitch(const InstSwitch *Instr) = 0; | 392 virtual void lowerSwitch(const InstSwitch *Instr) = 0; |
392 virtual void lowerUnreachable(const InstUnreachable *Instr) = 0; | 393 virtual void lowerUnreachable(const InstUnreachable *Instr) = 0; |
393 virtual void lowerOther(const Inst *Instr); | 394 virtual void lowerOther(const Inst *Instr); |
394 | 395 |
395 virtual void genTargetHelperCallFor(Inst *Instr) = 0; | 396 virtual void genTargetHelperCallFor(Inst *Instr) = 0; |
396 virtual uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) = 0; | 397 virtual uint32_t getCallStackArgumentsSizeBytes(const InstCall *Instr) = 0; |
397 | 398 |
398 virtual void doAddressOptLoad() {} | 399 virtual void doAddressOptLoad() {} |
399 virtual void doAddressOptStore() {} | 400 virtual void doAddressOptStore() {} |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 virtual void lower() {} | 619 virtual void lower() {} |
619 | 620 |
620 protected: | 621 protected: |
621 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} | 622 explicit TargetHeaderLowering(GlobalContext *Ctx) : Ctx(Ctx) {} |
622 GlobalContext *Ctx; | 623 GlobalContext *Ctx; |
623 }; | 624 }; |
624 | 625 |
625 } // end of namespace Ice | 626 } // end of namespace Ice |
626 | 627 |
627 #endif // SUBZERO_SRC_ICETARGETLOWERING_H | 628 #endif // SUBZERO_SRC_ICETARGETLOWERING_H |
OLD | NEW |