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

Side by Side Diff: src/IceTargetLoweringX86Base.h

Issue 1599803002: Subzero: Remove unneeded ScratchRegs. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: More cleanup Created 4 years, 11 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 | « src/IceTargetLoweringX8664Traits.h ('k') | src/IceTargetLoweringX86BaseImpl.h » ('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/IceTargetLoweringX86Base.h - x86 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX86Base.h - x86 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 884 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 bool IsEbpBasedFrame = false; 895 bool IsEbpBasedFrame = false;
896 bool NeedsStackAlignment = false; 896 bool NeedsStackAlignment = false;
897 size_t SpillAreaSizeBytes = 0; 897 size_t SpillAreaSizeBytes = 0;
898 size_t FixedAllocaSizeBytes = 0; 898 size_t FixedAllocaSizeBytes = 0;
899 size_t FixedAllocaAlignBytes = 0; 899 size_t FixedAllocaAlignBytes = 0;
900 bool PrologEmitsFixedAllocas = false; 900 bool PrologEmitsFixedAllocas = false;
901 uint32_t MaxOutArgsSizeBytes = 0; 901 uint32_t MaxOutArgsSizeBytes = 0;
902 static std::array<llvm::SmallBitVector, RCX86_NUM> TypeToRegisterSet; 902 static std::array<llvm::SmallBitVector, RCX86_NUM> TypeToRegisterSet;
903 static std::array<llvm::SmallBitVector, Traits::RegisterSet::Reg_NUM> 903 static std::array<llvm::SmallBitVector, Traits::RegisterSet::Reg_NUM>
904 RegisterAliases; 904 RegisterAliases;
905 static llvm::SmallBitVector ScratchRegs;
906 llvm::SmallBitVector RegsUsed; 905 llvm::SmallBitVector RegsUsed;
907 std::array<VarList, IceType_NUM> PhysicalRegisters; 906 std::array<VarList, IceType_NUM> PhysicalRegisters;
908 // GotVar is a Variable that holds the GlobalOffsetTable address for Non-SFI 907 // GotVar is a Variable that holds the GlobalOffsetTable address for Non-SFI
909 // mode. 908 // mode.
910 Variable *GotVar = nullptr; 909 Variable *GotVar = nullptr;
911 910
912 /// Randomize a given immediate operand 911 /// Randomize a given immediate operand
913 Operand *randomizeOrPoolImmediate(Constant *Immediate, 912 Operand *randomizeOrPoolImmediate(Constant *Immediate,
914 int32_t RegNum = Variable::NoRegister); 913 int32_t RegNum = Variable::NoRegister);
915 X86OperandMem * 914 X86OperandMem *
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 995
997 static FixupKind PcRelFixup; 996 static FixupKind PcRelFixup;
998 static FixupKind AbsFixup; 997 static FixupKind AbsFixup;
999 }; 998 };
1000 } // end of namespace X86NAMESPACE 999 } // end of namespace X86NAMESPACE
1001 } // end of namespace Ice 1000 } // end of namespace Ice
1002 1001
1003 #include "IceTargetLoweringX86BaseImpl.h" 1002 #include "IceTargetLoweringX86BaseImpl.h"
1004 1003
1005 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H 1004 #endif // SUBZERO_SRC_ICETARGETLOWERINGX86BASE_H
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX8664Traits.h ('k') | src/IceTargetLoweringX86BaseImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698