| OLD | NEW |
| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 bool getSubzeroTimingEnabled() const { return SubzeroTimingEnabled; } | 96 bool getSubzeroTimingEnabled() const { return SubzeroTimingEnabled; } |
| 97 void setSubzeroTimingEnabled(bool NewValue) { | 97 void setSubzeroTimingEnabled(bool NewValue) { |
| 98 SubzeroTimingEnabled = NewValue; | 98 SubzeroTimingEnabled = NewValue; |
| 99 } | 99 } |
| 100 | 100 |
| 101 bool getTimeEachFunction() const { | 101 bool getTimeEachFunction() const { |
| 102 return BuildDefs::dump() && TimeEachFunction; | 102 return BuildDefs::dump() && TimeEachFunction; |
| 103 } | 103 } |
| 104 void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; } | 104 void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; } |
| 105 | 105 |
| 106 bool getUseAdvancedSwitchLowering() const { | |
| 107 return UseAdvancedSwitchLowering; | |
| 108 } | |
| 109 void setUseAdvancedSwitchLowering(bool NewValue) { | |
| 110 UseAdvancedSwitchLowering = NewValue; | |
| 111 } | |
| 112 | |
| 113 bool getUseSandboxing() const { return UseSandboxing; } | 106 bool getUseSandboxing() const { return UseSandboxing; } |
| 114 void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; } | 107 void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; } |
| 115 | 108 |
| 116 // Enum and integer accessors. | 109 // Enum and integer accessors. |
| 117 OptLevel getOptLevel() const { return Opt; } | 110 OptLevel getOptLevel() const { return Opt; } |
| 118 void setOptLevel(OptLevel NewValue) { Opt = NewValue; } | 111 void setOptLevel(OptLevel NewValue) { Opt = NewValue; } |
| 119 | 112 |
| 120 FileType getOutFileType() const { return OutFileType; } | 113 FileType getOutFileType() const { return OutFileType; } |
| 121 void setOutFileType(FileType NewValue) { OutFileType = NewValue; } | 114 void setOutFileType(FileType NewValue) { OutFileType = NewValue; } |
| 122 | 115 |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 bool GenerateUnitTestMessages; | 228 bool GenerateUnitTestMessages; |
| 236 bool PhiEdgeSplit; | 229 bool PhiEdgeSplit; |
| 237 bool RandomNopInsertion; | 230 bool RandomNopInsertion; |
| 238 bool RandomRegAlloc; | 231 bool RandomRegAlloc; |
| 239 bool ReorderFunctions; | 232 bool ReorderFunctions; |
| 240 bool ReorderGlobalVariables; | 233 bool ReorderGlobalVariables; |
| 241 bool ReorderPooledConstants; | 234 bool ReorderPooledConstants; |
| 242 bool SkipUnimplemented; | 235 bool SkipUnimplemented; |
| 243 bool SubzeroTimingEnabled; | 236 bool SubzeroTimingEnabled; |
| 244 bool TimeEachFunction; | 237 bool TimeEachFunction; |
| 245 bool UseAdvancedSwitchLowering; | |
| 246 bool UseSandboxing; | 238 bool UseSandboxing; |
| 247 | 239 |
| 248 OptLevel Opt; | 240 OptLevel Opt; |
| 249 FileType OutFileType; | 241 FileType OutFileType; |
| 250 RandomizeAndPoolImmediatesEnum RandomizeAndPoolImmediatesOption; | 242 RandomizeAndPoolImmediatesEnum RandomizeAndPoolImmediatesOption; |
| 251 uint32_t RandomizeAndPoolImmediatesThreshold; | 243 uint32_t RandomizeAndPoolImmediatesThreshold; |
| 252 int RandomMaxNopsPerInstruction; | 244 int RandomMaxNopsPerInstruction; |
| 253 int RandomNopProbabilityAsPercentage; | 245 int RandomNopProbabilityAsPercentage; |
| 254 uint32_t ReorderFunctionsWindowSize; | 246 uint32_t ReorderFunctionsWindowSize; |
| 255 TargetArch TArch; | 247 TargetArch TArch; |
| 256 TargetInstructionSet TInstrSet; | 248 TargetInstructionSet TInstrSet; |
| 257 VerboseMask VMask; | 249 VerboseMask VMask; |
| 258 | 250 |
| 259 IceString DefaultFunctionPrefix; | 251 IceString DefaultFunctionPrefix; |
| 260 IceString DefaultGlobalPrefix; | 252 IceString DefaultGlobalPrefix; |
| 261 IceString TestPrefix; | 253 IceString TestPrefix; |
| 262 IceString TimingFocusOn; | 254 IceString TimingFocusOn; |
| 263 IceString TranslateOnly; | 255 IceString TranslateOnly; |
| 264 IceString VerboseFocusOn; | 256 IceString VerboseFocusOn; |
| 265 | 257 |
| 266 size_t NumTranslationThreads; // 0 means completely sequential | 258 size_t NumTranslationThreads; // 0 means completely sequential |
| 267 uint64_t RandomSeed; | 259 uint64_t RandomSeed; |
| 268 }; | 260 }; |
| 269 | 261 |
| 270 } // end of namespace Ice | 262 } // end of namespace Ice |
| 271 | 263 |
| 272 #endif // SUBZERO_SRC_ICECLFLAGS_H | 264 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |