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

Side by Side Diff: src/IceClFlags.h

Issue 1241763002: ARM: Add a postRA pass to legalize stack offsets. Greedy approach (reserve IP). (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: review Created 5 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/IceCfg.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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 RandomNopProbabilityAsPercentage = NewValue; 132 RandomNopProbabilityAsPercentage = NewValue;
133 } 133 }
134 134
135 TargetArch getTargetArch() const { return TArch; } 135 TargetArch getTargetArch() const { return TArch; }
136 void setTargetArch(TargetArch NewValue) { TArch = NewValue; } 136 void setTargetArch(TargetArch NewValue) { TArch = NewValue; }
137 137
138 TargetInstructionSet getTargetInstructionSet() const { return TInstrSet; } 138 TargetInstructionSet getTargetInstructionSet() const { return TInstrSet; }
139 void setTargetInstructionSet(TargetInstructionSet NewValue) { 139 void setTargetInstructionSet(TargetInstructionSet NewValue) {
140 TInstrSet = NewValue; 140 TInstrSet = NewValue;
141 } 141 }
142 uint32_t getTestStackExtra() const {
143 return BuildDefs::minimal() ? 0 : TestStackExtra;
144 }
145 void setTestStackExtra(uint32_t NewValue) {
146 if (BuildDefs::minimal())
147 return;
148 TestStackExtra = NewValue;
149 }
142 150
143 VerboseMask getVerbose() const { 151 VerboseMask getVerbose() const {
144 return BuildDefs::dump() ? VMask : (VerboseMask)IceV_None; 152 return BuildDefs::dump() ? VMask : (VerboseMask)IceV_None;
145 } 153 }
146 void setVerbose(VerboseMask NewValue) { VMask = NewValue; } 154 void setVerbose(VerboseMask NewValue) { VMask = NewValue; }
147 155
148 void 156 void
149 setRandomizeAndPoolImmediatesOption(RandomizeAndPoolImmediatesEnum Option) { 157 setRandomizeAndPoolImmediatesOption(RandomizeAndPoolImmediatesEnum Option) {
150 RandomizeAndPoolImmediatesOption = Option; 158 RandomizeAndPoolImmediatesOption = Option;
151 } 159 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 bool UseSandboxing; 254 bool UseSandboxing;
247 255
248 OptLevel Opt; 256 OptLevel Opt;
249 FileType OutFileType; 257 FileType OutFileType;
250 RandomizeAndPoolImmediatesEnum RandomizeAndPoolImmediatesOption; 258 RandomizeAndPoolImmediatesEnum RandomizeAndPoolImmediatesOption;
251 uint32_t RandomizeAndPoolImmediatesThreshold; 259 uint32_t RandomizeAndPoolImmediatesThreshold;
252 int RandomMaxNopsPerInstruction; 260 int RandomMaxNopsPerInstruction;
253 int RandomNopProbabilityAsPercentage; 261 int RandomNopProbabilityAsPercentage;
254 uint32_t ReorderFunctionsWindowSize; 262 uint32_t ReorderFunctionsWindowSize;
255 TargetArch TArch; 263 TargetArch TArch;
264 uint32_t TestStackExtra;
256 TargetInstructionSet TInstrSet; 265 TargetInstructionSet TInstrSet;
257 VerboseMask VMask; 266 VerboseMask VMask;
258 267
259 IceString DefaultFunctionPrefix; 268 IceString DefaultFunctionPrefix;
260 IceString DefaultGlobalPrefix; 269 IceString DefaultGlobalPrefix;
261 IceString TestPrefix; 270 IceString TestPrefix;
262 IceString TimingFocusOn; 271 IceString TimingFocusOn;
263 IceString TranslateOnly; 272 IceString TranslateOnly;
264 IceString VerboseFocusOn; 273 IceString VerboseFocusOn;
265 274
266 size_t NumTranslationThreads; // 0 means completely sequential 275 size_t NumTranslationThreads; // 0 means completely sequential
267 uint64_t RandomSeed; 276 uint64_t RandomSeed;
268 }; 277 };
269 278
270 } // end of namespace Ice 279 } // end of namespace Ice
271 280
272 #endif // SUBZERO_SRC_ICECLFLAGS_H 281 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceCfg.h ('k') | src/IceClFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698