Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Side by Side Diff: src/IceTargetLoweringMIPS32.h

Issue 2138383002: [Subzero][MIPS32] Implements variable alloca for MIPS32 (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | src/IceTargetLoweringMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698