| OLD | NEW |
| 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- C++-*-===// | 1 //===- subzero/src/IceTargetLoweringMIPS32.h - MIPS32 lowering ---*- 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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 static constexpr uint32_t CHAR_BITS = 8; | 619 static constexpr uint32_t CHAR_BITS = 8; |
| 620 static constexpr uint32_t INT32_BITS = 32; | 620 static constexpr uint32_t INT32_BITS = 32; |
| 621 size_t SpillAreaSizeBytes = 0; | 621 size_t SpillAreaSizeBytes = 0; |
| 622 size_t FixedAllocaSizeBytes = 0; | 622 size_t FixedAllocaSizeBytes = 0; |
| 623 size_t FixedAllocaAlignBytes = 0; | 623 size_t FixedAllocaAlignBytes = 0; |
| 624 size_t PreservedRegsSizeBytes = 0; | 624 size_t PreservedRegsSizeBytes = 0; |
| 625 | 625 |
| 626 private: | 626 private: |
| 627 ENABLE_MAKE_UNIQUE; | 627 ENABLE_MAKE_UNIQUE; |
| 628 | 628 |
| 629 OperandMIPS32Mem *formAddressingMode(Type Ty, Cfg *Func, |
| 630 const CfgNode *LdStNode, |
| 631 const Inst *LdSt, Operand *Base); |
| 632 |
| 629 class ComputationTracker { | 633 class ComputationTracker { |
| 630 public: | 634 public: |
| 631 ComputationTracker() = default; | 635 ComputationTracker() = default; |
| 632 ~ComputationTracker() = default; | 636 ~ComputationTracker() = default; |
| 633 | 637 |
| 634 void forgetProducers() { KnownComputations.clear(); } | 638 void forgetProducers() { KnownComputations.clear(); } |
| 635 void recordProducers(CfgNode *Node); | 639 void recordProducers(CfgNode *Node); |
| 636 | 640 |
| 637 const Inst *getProducerOf(const Operand *Opnd) const { | 641 const Inst *getProducerOf(const Operand *Opnd) const { |
| 638 auto *Var = llvm::dyn_cast<Variable>(Opnd); | 642 auto *Var = llvm::dyn_cast<Variable>(Opnd); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 explicit TargetHeaderMIPS32(GlobalContext *Ctx); | 730 explicit TargetHeaderMIPS32(GlobalContext *Ctx); |
| 727 | 731 |
| 728 private: | 732 private: |
| 729 ~TargetHeaderMIPS32() = default; | 733 ~TargetHeaderMIPS32() = default; |
| 730 }; | 734 }; |
| 731 | 735 |
| 732 } // end of namespace MIPS32 | 736 } // end of namespace MIPS32 |
| 733 } // end of namespace Ice | 737 } // end of namespace Ice |
| 734 | 738 |
| 735 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 739 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
| OLD | NEW |