| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 bool getGenerateUnitTestMessages() const { | 81 bool getGenerateUnitTestMessages() const { |
| 82 // Note: If dump routines have been turned off, the error messages | 82 // Note: If dump routines have been turned off, the error messages |
| 83 // will not be readable. Hence, turn off. | 83 // will not be readable. Hence, turn off. |
| 84 return !BuildDefs::dump() || GenerateUnitTestMessages; | 84 return !BuildDefs::dump() || GenerateUnitTestMessages; |
| 85 } | 85 } |
| 86 void setGenerateUnitTestMessages(bool NewValue) { | 86 void setGenerateUnitTestMessages(bool NewValue) { |
| 87 GenerateUnitTestMessages = NewValue; | 87 GenerateUnitTestMessages = NewValue; |
| 88 } | 88 } |
| 89 | 89 |
| 90 bool getMockBoundsCheck() const { return MockBoundsCheck; } |
| 91 void setMockBoundsCheck(bool NewValue) { MockBoundsCheck = NewValue; } |
| 92 |
| 90 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } | 93 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } |
| 91 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } | 94 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } |
| 92 | 95 |
| 93 bool shouldDoNopInsertion() const { return RandomNopInsertion; } | 96 bool shouldDoNopInsertion() const { return RandomNopInsertion; } |
| 94 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } | 97 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } |
| 95 | 98 |
| 96 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } | 99 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } |
| 97 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } | 100 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } |
| 98 | 101 |
| 99 bool getSkipUnimplemented() const { return SkipUnimplemented; } | 102 bool getSkipUnimplemented() const { return SkipUnimplemented; } |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 bool DataSections; | 243 bool DataSections; |
| 241 bool DecorateAsm; | 244 bool DecorateAsm; |
| 242 bool DisableInternal; | 245 bool DisableInternal; |
| 243 bool DisableIRGeneration; | 246 bool DisableIRGeneration; |
| 244 bool DisableTranslation; | 247 bool DisableTranslation; |
| 245 bool DumpStats; | 248 bool DumpStats; |
| 246 bool EnableBlockProfile; | 249 bool EnableBlockProfile; |
| 247 bool ForceMemIntrinOpt; | 250 bool ForceMemIntrinOpt; |
| 248 bool FunctionSections; | 251 bool FunctionSections; |
| 249 bool GenerateUnitTestMessages; | 252 bool GenerateUnitTestMessages; |
| 253 bool MockBoundsCheck; |
| 250 bool PhiEdgeSplit; | 254 bool PhiEdgeSplit; |
| 251 bool RandomNopInsertion; | 255 bool RandomNopInsertion; |
| 252 bool RandomRegAlloc; | 256 bool RandomRegAlloc; |
| 253 bool ReorderBasicBlocks; | 257 bool ReorderBasicBlocks; |
| 254 bool ReorderFunctions; | 258 bool ReorderFunctions; |
| 255 bool ReorderGlobalVariables; | 259 bool ReorderGlobalVariables; |
| 256 bool ReorderPooledConstants; | 260 bool ReorderPooledConstants; |
| 257 bool SkipUnimplemented; | 261 bool SkipUnimplemented; |
| 258 bool SubzeroTimingEnabled; | 262 bool SubzeroTimingEnabled; |
| 259 bool TimeEachFunction; | 263 bool TimeEachFunction; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 278 IceString TranslateOnly; | 282 IceString TranslateOnly; |
| 279 IceString VerboseFocusOn; | 283 IceString VerboseFocusOn; |
| 280 | 284 |
| 281 size_t NumTranslationThreads; // 0 means completely sequential | 285 size_t NumTranslationThreads; // 0 means completely sequential |
| 282 uint64_t RandomSeed; | 286 uint64_t RandomSeed; |
| 283 }; | 287 }; |
| 284 | 288 |
| 285 } // end of namespace Ice | 289 } // end of namespace Ice |
| 286 | 290 |
| 287 #endif // SUBZERO_SRC_ICECLFLAGS_H | 291 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |