| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } | 100 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } |
| 101 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } | 101 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } |
| 102 | 102 |
| 103 bool shouldDoNopInsertion() const { return RandomNopInsertion; } | 103 bool shouldDoNopInsertion() const { return RandomNopInsertion; } |
| 104 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } | 104 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } |
| 105 | 105 |
| 106 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } | 106 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } |
| 107 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } | 107 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } |
| 108 | 108 |
| 109 bool shouldRepeatRegAlloc() const { return RepeatRegAlloc; } |
| 110 void setShouldRepeatRegAlloc(bool NewValue) { RepeatRegAlloc = NewValue; } |
| 111 |
| 109 bool getSkipUnimplemented() const { return SkipUnimplemented; } | 112 bool getSkipUnimplemented() const { return SkipUnimplemented; } |
| 110 void setSkipUnimplemented(bool NewValue) { SkipUnimplemented = NewValue; } | 113 void setSkipUnimplemented(bool NewValue) { SkipUnimplemented = NewValue; } |
| 111 | 114 |
| 112 bool getSubzeroTimingEnabled() const { return SubzeroTimingEnabled; } | 115 bool getSubzeroTimingEnabled() const { return SubzeroTimingEnabled; } |
| 113 void setSubzeroTimingEnabled(bool NewValue) { | 116 void setSubzeroTimingEnabled(bool NewValue) { |
| 114 SubzeroTimingEnabled = NewValue; | 117 SubzeroTimingEnabled = NewValue; |
| 115 } | 118 } |
| 116 | 119 |
| 117 bool getTimeEachFunction() const { | 120 bool getTimeEachFunction() const { |
| 118 return BuildDefs::dump() && TimeEachFunction; | 121 return BuildDefs::dump() && TimeEachFunction; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 bool DisableTranslation; | 258 bool DisableTranslation; |
| 256 bool DumpStats; | 259 bool DumpStats; |
| 257 bool EnableBlockProfile; | 260 bool EnableBlockProfile; |
| 258 bool ForceMemIntrinOpt; | 261 bool ForceMemIntrinOpt; |
| 259 bool FunctionSections; | 262 bool FunctionSections; |
| 260 bool GenerateUnitTestMessages; | 263 bool GenerateUnitTestMessages; |
| 261 bool MockBoundsCheck; | 264 bool MockBoundsCheck; |
| 262 bool PhiEdgeSplit; | 265 bool PhiEdgeSplit; |
| 263 bool RandomNopInsertion; | 266 bool RandomNopInsertion; |
| 264 bool RandomRegAlloc; | 267 bool RandomRegAlloc; |
| 268 bool RepeatRegAlloc; |
| 265 bool ReorderBasicBlocks; | 269 bool ReorderBasicBlocks; |
| 266 bool ReorderFunctions; | 270 bool ReorderFunctions; |
| 267 bool ReorderGlobalVariables; | 271 bool ReorderGlobalVariables; |
| 268 bool ReorderPooledConstants; | 272 bool ReorderPooledConstants; |
| 269 bool SkipUnimplemented; | 273 bool SkipUnimplemented; |
| 270 bool SubzeroTimingEnabled; | 274 bool SubzeroTimingEnabled; |
| 271 bool TimeEachFunction; | 275 bool TimeEachFunction; |
| 272 bool UseSandboxing; | 276 bool UseSandboxing; |
| 273 | 277 |
| 274 OptLevel Opt; | 278 OptLevel Opt; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 290 IceString TranslateOnly; | 294 IceString TranslateOnly; |
| 291 IceString VerboseFocusOn; | 295 IceString VerboseFocusOn; |
| 292 | 296 |
| 293 size_t NumTranslationThreads; // 0 means completely sequential | 297 size_t NumTranslationThreads; // 0 means completely sequential |
| 294 uint64_t RandomSeed; | 298 uint64_t RandomSeed; |
| 295 }; | 299 }; |
| 296 | 300 |
| 297 } // end of namespace Ice | 301 } // end of namespace Ice |
| 298 | 302 |
| 299 #endif // SUBZERO_SRC_ICECLFLAGS_H | 303 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |