| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 /// Note: If dump routines have been turned off, the error messages | 157 /// Note: If dump routines have been turned off, the error messages |
| 158 /// will not be readable. Hence, turn off. | 158 /// will not be readable. Hence, turn off. |
| 159 bool getGenerateUnitTestMessages() const { | 159 bool getGenerateUnitTestMessages() const { |
| 160 return !BuildDefs::dump() || GenerateUnitTestMessages; | 160 return !BuildDefs::dump() || GenerateUnitTestMessages; |
| 161 } | 161 } |
| 162 /// Set ClFlags::GenerateUnitTestMessages to a new value | 162 /// Set ClFlags::GenerateUnitTestMessages to a new value |
| 163 void setGenerateUnitTestMessages(bool NewValue) { | 163 void setGenerateUnitTestMessages(bool NewValue) { |
| 164 GenerateUnitTestMessages = NewValue; | 164 GenerateUnitTestMessages = NewValue; |
| 165 } | 165 } |
| 166 | 166 |
| 167 /// Get the value of ClFlags::KeepDeletedInsts |
| 168 bool getKeepDeletedInsts() const { return KeepDeletedInsts; } |
| 169 /// Set ClFlags::KeepDeletedInsts to a new value |
| 170 void setKeepDeletedInsts(bool NewValue) { KeepDeletedInsts = NewValue; } |
| 171 |
| 167 /// Get the value of ClFlags::MockBoundsCheck | 172 /// Get the value of ClFlags::MockBoundsCheck |
| 168 bool getMockBoundsCheck() const { return MockBoundsCheck; } | 173 bool getMockBoundsCheck() const { return MockBoundsCheck; } |
| 169 /// Set ClFlags::MockBoundsCheck to a new value | 174 /// Set ClFlags::MockBoundsCheck to a new value |
| 170 void setMockBoundsCheck(bool NewValue) { MockBoundsCheck = NewValue; } | 175 void setMockBoundsCheck(bool NewValue) { MockBoundsCheck = NewValue; } |
| 171 | 176 |
| 172 /// Get the value of ClFlags::PhiEdgeSplit | 177 /// Get the value of ClFlags::PhiEdgeSplit |
| 173 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } | 178 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } |
| 174 /// Set ClFlags::PhiEdgeSplit to a new value | 179 /// Set ClFlags::PhiEdgeSplit to a new value |
| 175 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } | 180 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } |
| 176 | 181 |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 /// see anonymous_namespace{IceClFlags.cpp}::EnableBlockProfile | 435 /// see anonymous_namespace{IceClFlags.cpp}::EnableBlockProfile |
| 431 bool EnableBlockProfile; | 436 bool EnableBlockProfile; |
| 432 /// see anonymous_namespace{IceClFlags.cpp}::ExcludedRegisters; | 437 /// see anonymous_namespace{IceClFlags.cpp}::ExcludedRegisters; |
| 433 StringVector ExcludedRegisters; | 438 StringVector ExcludedRegisters; |
| 434 /// see anonymous_namespace{IceClFlags.cpp}::ForceMemIntrinOpt | 439 /// see anonymous_namespace{IceClFlags.cpp}::ForceMemIntrinOpt |
| 435 bool ForceMemIntrinOpt; | 440 bool ForceMemIntrinOpt; |
| 436 /// see anonymous_namespace{IceClFlags.cpp}::FunctionSections | 441 /// see anonymous_namespace{IceClFlags.cpp}::FunctionSections |
| 437 bool FunctionSections; | 442 bool FunctionSections; |
| 438 /// Initialized to false; not set by the command line. | 443 /// Initialized to false; not set by the command line. |
| 439 bool GenerateUnitTestMessages; | 444 bool GenerateUnitTestMessages; |
| 445 /// see anonymous_namespace{IceClFlags.cpp}::KeepDeletedInsts |
| 446 bool KeepDeletedInsts; |
| 440 /// see anonymous_namespace{IceClFlags.cpp}::MockBoundsCheck | 447 /// see anonymous_namespace{IceClFlags.cpp}::MockBoundsCheck |
| 441 bool MockBoundsCheck; | 448 bool MockBoundsCheck; |
| 442 /// see anonymous_namespace{IceClFlags.cpp}::EnablePhiEdgeSplit | 449 /// see anonymous_namespace{IceClFlags.cpp}::EnablePhiEdgeSplit |
| 443 bool PhiEdgeSplit; | 450 bool PhiEdgeSplit; |
| 444 /// see anonymous_namespace{IceClFlags.cpp}::ShouldDoNopInsertion | 451 /// see anonymous_namespace{IceClFlags.cpp}::ShouldDoNopInsertion |
| 445 bool RandomNopInsertion; | 452 bool RandomNopInsertion; |
| 446 /// see anonymous_namespace{IceClFlags.cpp}::RandomizeRegisterAllocation | 453 /// see anonymous_namespace{IceClFlags.cpp}::RandomizeRegisterAllocation |
| 447 bool RandomRegAlloc; | 454 bool RandomRegAlloc; |
| 448 /// see anonymous_namespace{IceClFlags.cpp}::RegAllocReserve | 455 /// see anonymous_namespace{IceClFlags.cpp}::RegAllocReserve |
| 449 bool RegAllocReserve; | 456 bool RegAllocReserve; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 /// see anonymous_namespace{IceClFlags.cpp}::NumThreads | 514 /// see anonymous_namespace{IceClFlags.cpp}::NumThreads |
| 508 | 515 |
| 509 size_t NumTranslationThreads; // 0 means completely sequential | 516 size_t NumTranslationThreads; // 0 means completely sequential |
| 510 /// see anonymous_namespace{IceClFlags.cpp}::RandomSeed | 517 /// see anonymous_namespace{IceClFlags.cpp}::RandomSeed |
| 511 uint64_t RandomSeed; | 518 uint64_t RandomSeed; |
| 512 }; | 519 }; |
| 513 | 520 |
| 514 } // end of namespace Ice | 521 } // end of namespace Ice |
| 515 | 522 |
| 516 #endif // SUBZERO_SRC_ICECLFLAGS_H | 523 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |