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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 /// Get the value of ClFlags::RandomNopInsertion | 162 /// Get the value of ClFlags::RandomNopInsertion |
163 bool shouldDoNopInsertion() const { return RandomNopInsertion; } | 163 bool shouldDoNopInsertion() const { return RandomNopInsertion; } |
164 /// Set ClFlags::RandomNopInsertion to a new value | 164 /// Set ClFlags::RandomNopInsertion to a new value |
165 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } | 165 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } |
166 | 166 |
167 /// Get the value of ClFlags::RandomRegAlloc | 167 /// Get the value of ClFlags::RandomRegAlloc |
168 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } | 168 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } |
169 /// Set ClFlags::RandomRegAlloc to a new value | 169 /// Set ClFlags::RandomRegAlloc to a new value |
170 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } | 170 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } |
171 | 171 |
| 172 /// Get the value of ClFlags::RegAllocReserve |
| 173 bool getRegAllocReserve() const { return RegAllocReserve; } |
| 174 /// Set ClFlags::RegAllocReserve to a new value |
| 175 void setRegAllocReserve(bool NewValue) { RegAllocReserve = NewValue; } |
| 176 |
172 /// Get the value of ClFlags::RepeatRegAlloc | 177 /// Get the value of ClFlags::RepeatRegAlloc |
173 bool shouldRepeatRegAlloc() const { return RepeatRegAlloc; } | 178 bool shouldRepeatRegAlloc() const { return RepeatRegAlloc; } |
174 /// Set ClFlags::RepeatRegAlloc to a new value | 179 /// Set ClFlags::RepeatRegAlloc to a new value |
175 void setShouldRepeatRegAlloc(bool NewValue) { RepeatRegAlloc = NewValue; } | 180 void setShouldRepeatRegAlloc(bool NewValue) { RepeatRegAlloc = NewValue; } |
176 | 181 |
177 /// Get the value of ClFlags::SkipUnimplemented | 182 /// Get the value of ClFlags::SkipUnimplemented |
178 bool getSkipUnimplemented() const { return SkipUnimplemented; } | 183 bool getSkipUnimplemented() const { return SkipUnimplemented; } |
179 /// Set ClFlags::SkipUnimplemented to a new value | 184 /// Set ClFlags::SkipUnimplemented to a new value |
180 void setSkipUnimplemented(bool NewValue) { SkipUnimplemented = NewValue; } | 185 void setSkipUnimplemented(bool NewValue) { SkipUnimplemented = NewValue; } |
181 | 186 |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 /// Initialized to false; not set by the command line. | 423 /// Initialized to false; not set by the command line. |
419 bool GenerateUnitTestMessages; | 424 bool GenerateUnitTestMessages; |
420 /// see anonymous_namespace{IceClFlags.cpp}::MockBoundsCheck | 425 /// see anonymous_namespace{IceClFlags.cpp}::MockBoundsCheck |
421 bool MockBoundsCheck; | 426 bool MockBoundsCheck; |
422 /// see anonymous_namespace{IceClFlags.cpp}::EnablePhiEdgeSplit | 427 /// see anonymous_namespace{IceClFlags.cpp}::EnablePhiEdgeSplit |
423 bool PhiEdgeSplit; | 428 bool PhiEdgeSplit; |
424 /// see anonymous_namespace{IceClFlags.cpp}::ShouldDoNopInsertion | 429 /// see anonymous_namespace{IceClFlags.cpp}::ShouldDoNopInsertion |
425 bool RandomNopInsertion; | 430 bool RandomNopInsertion; |
426 /// see anonymous_namespace{IceClFlags.cpp}::RandomizeRegisterAllocation | 431 /// see anonymous_namespace{IceClFlags.cpp}::RandomizeRegisterAllocation |
427 bool RandomRegAlloc; | 432 bool RandomRegAlloc; |
| 433 /// see anonymous_namespace{IceClFlags.cpp}::RegAllocReserve |
| 434 bool RegAllocReserve; |
428 /// see anonymous_namespace{IceClFlags.cpp}::RepeatRegAlloc | 435 /// see anonymous_namespace{IceClFlags.cpp}::RepeatRegAlloc |
429 bool RepeatRegAlloc; | 436 bool RepeatRegAlloc; |
430 /// see anonymous_namespace{IceClFlags.cpp}::ReorderBasicBlocks | 437 /// see anonymous_namespace{IceClFlags.cpp}::ReorderBasicBlocks |
431 bool ReorderBasicBlocks; | 438 bool ReorderBasicBlocks; |
432 /// see anonymous_namespace{IceClFlags.cpp}::ReorderFunctions | 439 /// see anonymous_namespace{IceClFlags.cpp}::ReorderFunctions |
433 bool ReorderFunctions; | 440 bool ReorderFunctions; |
434 /// see anonymous_namespace{IceClFlags.cpp}::ReorderGlobalVariables | 441 /// see anonymous_namespace{IceClFlags.cpp}::ReorderGlobalVariables |
435 bool ReorderGlobalVariables; | 442 bool ReorderGlobalVariables; |
436 /// see anonymous_namespace{IceClFlags.cpp}::ReorderPooledConstants | 443 /// see anonymous_namespace{IceClFlags.cpp}::ReorderPooledConstants |
437 bool ReorderPooledConstants; | 444 bool ReorderPooledConstants; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 /// see anonymous_namespace{IceClFlags.cpp}::NumThreads | 492 /// see anonymous_namespace{IceClFlags.cpp}::NumThreads |
486 | 493 |
487 size_t NumTranslationThreads; // 0 means completely sequential | 494 size_t NumTranslationThreads; // 0 means completely sequential |
488 /// see anonymous_namespace{IceClFlags.cpp}::RandomSeed | 495 /// see anonymous_namespace{IceClFlags.cpp}::RandomSeed |
489 uint64_t RandomSeed; | 496 uint64_t RandomSeed; |
490 }; | 497 }; |
491 | 498 |
492 } // end of namespace Ice | 499 } // end of namespace Ice |
493 | 500 |
494 #endif // SUBZERO_SRC_ICECLFLAGS_H | 501 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |