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

Side by Side Diff: src/IceClFlags.h

Issue 2177033002: Subzero: Local variable splitting. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes, mostly renaming. Created 4 years, 4 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/IceCfgNode.h ('k') | src/IceClFlags.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/IceClFlags.h - Cl Flags for translation ------*- C++ -*-===// 1 //===- subzero/src/IceClFlags.h - Cl Flags for translation ------*- 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 bool getGenerateUnitTestMessages() const { 161 bool getGenerateUnitTestMessages() const {
162 return !BuildDefs::dump() || GenerateUnitTestMessages; 162 return !BuildDefs::dump() || GenerateUnitTestMessages;
163 } 163 }
164 /// Set ClFlags::GenerateUnitTestMessages to a new value 164 /// Set ClFlags::GenerateUnitTestMessages to a new value
165 void setGenerateUnitTestMessages(bool NewValue) { 165 void setGenerateUnitTestMessages(bool NewValue) {
166 GenerateUnitTestMessages = NewValue; 166 GenerateUnitTestMessages = NewValue;
167 } 167 }
168 bool matchForceO2(GlobalString Name, uint32_t Number) const { 168 bool matchForceO2(GlobalString Name, uint32_t Number) const {
169 return ForceO2.match(Name, Number); 169 return ForceO2.match(Name, Number);
170 } 170 }
171 bool matchSplitInsts(const std::string &Name, uint32_t Number) const {
172 return SplitInsts.match(Name, Number);
173 }
171 bool matchTestStatus(GlobalString Name, uint32_t Number) const { 174 bool matchTestStatus(GlobalString Name, uint32_t Number) const {
172 return TestStatus.match(Name, Number); 175 return TestStatus.match(Name, Number);
173 } 176 }
174 bool matchTimingFocus(GlobalString Name, uint32_t Number) const { 177 bool matchTimingFocus(GlobalString Name, uint32_t Number) const {
175 return TimingFocus.match(Name, Number); 178 return TimingFocus.match(Name, Number);
176 } 179 }
177 bool matchTranslateOnly(GlobalString Name, uint32_t Number) const { 180 bool matchTranslateOnly(GlobalString Name, uint32_t Number) const {
178 return TranslateOnly.match(Name, Number); 181 return TranslateOnly.match(Name, Number);
179 } 182 }
180 bool matchVerboseFocusOn(GlobalString Name, uint32_t Number) const { 183 bool matchVerboseFocusOn(GlobalString Name, uint32_t Number) const {
181 return VerboseFocus.match(Name, Number); 184 return VerboseFocus.match(Name, Number);
182 } 185 }
183 bool matchVerboseFocusOn(const std::string &Name, uint32_t Number) const { 186 bool matchVerboseFocusOn(const std::string &Name, uint32_t Number) const {
184 return VerboseFocus.match(Name, Number); 187 return VerboseFocus.match(Name, Number);
185 } 188 }
186 189
187 private: 190 private:
188 std::string AppName; 191 std::string AppName;
189 192
190 /// Initialized to false; not set by the command line. 193 /// Initialized to false; not set by the command line.
191 bool GenerateUnitTestMessages; 194 bool GenerateUnitTestMessages;
192 195
193 RangeSpec ForceO2; 196 RangeSpec ForceO2;
197 RangeSpec SplitInsts;
194 RangeSpec TestStatus; 198 RangeSpec TestStatus;
195 RangeSpec TimingFocus; 199 RangeSpec TimingFocus;
196 RangeSpec TranslateOnly; 200 RangeSpec TranslateOnly;
197 RangeSpec VerboseFocus; 201 RangeSpec VerboseFocus;
198 }; 202 };
199 203
200 inline const ClFlags &getFlags() { return ClFlags::Flags; } 204 inline const ClFlags &getFlags() { return ClFlags::Flags; }
201 205
202 } // end of namespace Ice 206 } // end of namespace Ice
203 207
204 #endif // SUBZERO_SRC_ICECLFLAGS_H 208 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceCfgNode.h ('k') | src/IceClFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698