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 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 makeRandomRegisterPermutation(llvm::SmallVectorImpl<RegNumT> &Permutation, | 556 makeRandomRegisterPermutation(llvm::SmallVectorImpl<RegNumT> &Permutation, |
557 const SmallBitVector &ExcludeRegisters, | 557 const SmallBitVector &ExcludeRegisters, |
558 uint64_t Salt) const override; | 558 uint64_t Salt) const override; |
559 | 559 |
560 OperandMIPS32Mem *formMemoryOperand(Operand *Ptr, Type Ty); | 560 OperandMIPS32Mem *formMemoryOperand(Operand *Ptr, Type Ty); |
561 | 561 |
562 bool UsesFramePointer = false; | 562 bool UsesFramePointer = false; |
563 bool NeedsStackAlignment = false; | 563 bool NeedsStackAlignment = false; |
564 bool MaybeLeafFunc = true; | 564 bool MaybeLeafFunc = true; |
565 bool PrologEmitsFixedAllocas = false; | 565 bool PrologEmitsFixedAllocas = false; |
| 566 bool VariableAllocaUsed = false; |
566 uint32_t MaxOutArgsSizeBytes = 0; | 567 uint32_t MaxOutArgsSizeBytes = 0; |
567 uint32_t TotalStackSizeBytes = 0; | 568 uint32_t TotalStackSizeBytes = 0; |
568 static SmallBitVector TypeToRegisterSet[RCMIPS32_NUM]; | 569 static SmallBitVector TypeToRegisterSet[RCMIPS32_NUM]; |
569 static SmallBitVector TypeToRegisterSetUnfiltered[RCMIPS32_NUM]; | 570 static SmallBitVector TypeToRegisterSetUnfiltered[RCMIPS32_NUM]; |
570 static SmallBitVector RegisterAliases[RegMIPS32::Reg_NUM]; | 571 static SmallBitVector RegisterAliases[RegMIPS32::Reg_NUM]; |
571 SmallBitVector RegsUsed; | 572 SmallBitVector RegsUsed; |
572 VarList PhysicalRegisters[IceType_NUM]; | 573 VarList PhysicalRegisters[IceType_NUM]; |
573 VarList PreservedGPRs; | 574 VarList PreservedGPRs; |
574 static constexpr uint32_t CHAR_BITS = 8; | 575 static constexpr uint32_t CHAR_BITS = 8; |
575 static constexpr uint32_t INT32_BITS = 32; | 576 static constexpr uint32_t INT32_BITS = 32; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 explicit TargetHeaderMIPS32(GlobalContext *Ctx); | 682 explicit TargetHeaderMIPS32(GlobalContext *Ctx); |
682 | 683 |
683 private: | 684 private: |
684 ~TargetHeaderMIPS32() = default; | 685 ~TargetHeaderMIPS32() = default; |
685 }; | 686 }; |
686 | 687 |
687 } // end of namespace MIPS32 | 688 } // end of namespace MIPS32 |
688 } // end of namespace Ice | 689 } // end of namespace Ice |
689 | 690 |
690 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H | 691 #endif // SUBZERO_SRC_ICETARGETLOWERINGMIPS32_H |
OLD | NEW |