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

Side by Side Diff: src/IceTargetLoweringX8632.cpp

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/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX8632Traits.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/IceTargetLoweringX8632.cpp - x86-32 lowering -----------===// 1 //===- subzero/src/IceTargetLoweringX8632.cpp - x86-32 lowering -----------===//
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 template <> 104 template <>
105 std::array<llvm::SmallBitVector, RCX86_NUM> 105 std::array<llvm::SmallBitVector, RCX86_NUM>
106 TargetX86Base<X8632::Traits>::TypeToRegisterSet = {{}}; 106 TargetX86Base<X8632::Traits>::TypeToRegisterSet = {{}};
107 107
108 template <> 108 template <>
109 std::array<llvm::SmallBitVector, 109 std::array<llvm::SmallBitVector,
110 TargetX86Base<X8632::Traits>::Traits::RegisterSet::Reg_NUM> 110 TargetX86Base<X8632::Traits>::Traits::RegisterSet::Reg_NUM>
111 TargetX86Base<X8632::Traits>::RegisterAliases = {{}}; 111 TargetX86Base<X8632::Traits>::RegisterAliases = {{}};
112 112
113 template <> 113 template <>
114 llvm::SmallBitVector
115 TargetX86Base<X8632::Traits>::ScratchRegs = llvm::SmallBitVector();
116
117 template <>
118 FixupKind TargetX86Base<X8632::Traits>::PcRelFixup = 114 FixupKind TargetX86Base<X8632::Traits>::PcRelFixup =
119 TargetX86Base<X8632::Traits>::Traits::FK_PcRel; 115 TargetX86Base<X8632::Traits>::Traits::FK_PcRel;
120 116
121 template <> 117 template <>
122 FixupKind TargetX86Base<X8632::Traits>::AbsFixup = 118 FixupKind TargetX86Base<X8632::Traits>::AbsFixup =
123 TargetX86Base<X8632::Traits>::Traits::FK_Abs; 119 TargetX86Base<X8632::Traits>::Traits::FK_Abs;
124 120
125 //------------------------------------------------------------------------------ 121 //------------------------------------------------------------------------------
126 // __ ______ __ __ ______ ______ __ __ __ ______ 122 // __ ______ __ __ ______ ______ __ __ __ ______
127 // /\ \ /\ __ \/\ \ _ \ \/\ ___\/\ == \/\ \/\ "-.\ \/\ ___\ 123 // /\ \ /\ __ \/\ \ _ \ \/\ ___\/\ == \/\ \/\ "-.\ \/\ ___\
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1096 #define X(tag, sizeLog2, align, elts, elty, str) \ 1092 #define X(tag, sizeLog2, align, elts, elty, str) \
1097 static_assert(_table1_##tag == _table2_##tag, \ 1093 static_assert(_table1_##tag == _table2_##tag, \
1098 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE"); 1094 "Inconsistency between ICETYPEX8632_TABLE and ICETYPE_TABLE");
1099 ICETYPE_TABLE 1095 ICETYPE_TABLE
1100 #undef X 1096 #undef X
1101 } // end of namespace dummy3 1097 } // end of namespace dummy3
1102 } // end of anonymous namespace 1098 } // end of anonymous namespace
1103 1099
1104 } // end of namespace X8632 1100 } // end of namespace X8632
1105 } // end of namespace Ice 1101 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceTargetLoweringMIPS32.cpp ('k') | src/IceTargetLoweringX8632Traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698