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

Side by Side Diff: src/IceTargetLoweringARM32.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 | « no previous file | src/IceTargetLoweringARM32.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/IceTargetLoweringARM32.h - ARM32 lowering ----*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringARM32.h - ARM32 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 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 bool NeedsStackAlignment = false; 1008 bool NeedsStackAlignment = false;
1009 bool MaybeLeafFunc = true; 1009 bool MaybeLeafFunc = true;
1010 size_t SpillAreaSizeBytes = 0; 1010 size_t SpillAreaSizeBytes = 0;
1011 size_t FixedAllocaSizeBytes = 0; 1011 size_t FixedAllocaSizeBytes = 0;
1012 size_t FixedAllocaAlignBytes = 0; 1012 size_t FixedAllocaAlignBytes = 0;
1013 bool PrologEmitsFixedAllocas = false; 1013 bool PrologEmitsFixedAllocas = false;
1014 uint32_t MaxOutArgsSizeBytes = 0; 1014 uint32_t MaxOutArgsSizeBytes = 0;
1015 // TODO(jpp): std::array instead of array. 1015 // TODO(jpp): std::array instead of array.
1016 static llvm::SmallBitVector TypeToRegisterSet[RegARM32::RCARM32_NUM]; 1016 static llvm::SmallBitVector TypeToRegisterSet[RegARM32::RCARM32_NUM];
1017 static llvm::SmallBitVector RegisterAliases[RegARM32::Reg_NUM]; 1017 static llvm::SmallBitVector RegisterAliases[RegARM32::Reg_NUM];
1018 static llvm::SmallBitVector ScratchRegs;
1019 llvm::SmallBitVector RegsUsed; 1018 llvm::SmallBitVector RegsUsed;
1020 VarList PhysicalRegisters[IceType_NUM]; 1019 VarList PhysicalRegisters[IceType_NUM];
1021 VarList PreservedGPRs; 1020 VarList PreservedGPRs;
1022 VarList PreservedSRegs; 1021 VarList PreservedSRegs;
1023 1022
1024 /// Helper class that understands the Calling Convention and register 1023 /// Helper class that understands the Calling Convention and register
1025 /// assignments. The first few integer type parameters can use r0-r3, 1024 /// assignments. The first few integer type parameters can use r0-r3,
1026 /// regardless of their position relative to the floating-point/vector 1025 /// regardless of their position relative to the floating-point/vector
1027 /// arguments in the argument list. Floating-point and vector arguments 1026 /// arguments in the argument list. Floating-point and vector arguments
1028 /// can use q0-q3 (aka d0-d7, s0-s15). For more information on the topic, 1027 /// can use q0-q3 (aka d0-d7, s0-s15). For more information on the topic,
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1203 private: 1202 private:
1204 ~TargetHeaderARM32() = default; 1203 ~TargetHeaderARM32() = default;
1205 1204
1206 TargetARM32Features CPUFeatures; 1205 TargetARM32Features CPUFeatures;
1207 }; 1206 };
1208 1207
1209 } // end of namespace ARM32 1208 } // end of namespace ARM32
1210 } // end of namespace Ice 1209 } // end of namespace Ice
1211 1210
1212 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H 1211 #endif // SUBZERO_SRC_ICETARGETLOWERINGARM32_H
OLDNEW
« no previous file with comments | « no previous file | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698