| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 SubzeroTimingEnabled = NewValue; | 174 SubzeroTimingEnabled = NewValue; |
| 175 } | 175 } |
| 176 | 176 |
| 177 /// Get the value of ClFlags::TimeEachFunction | 177 /// Get the value of ClFlags::TimeEachFunction |
| 178 bool getTimeEachFunction() const { | 178 bool getTimeEachFunction() const { |
| 179 return BuildDefs::dump() && TimeEachFunction; | 179 return BuildDefs::dump() && TimeEachFunction; |
| 180 } | 180 } |
| 181 /// Set ClFlags::TimeEachFunction to a new value | 181 /// Set ClFlags::TimeEachFunction to a new value |
| 182 void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; } | 182 void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; } |
| 183 | 183 |
| 184 /// Get the value of ClFlags::UseNonsfi |
| 185 bool getUseNonsfi() const { return UseNonsfi; } |
| 186 /// Set ClFlags::UseNonsfi to a new value |
| 187 void setUseNonsfi(bool NewValue) { UseNonsfi = NewValue; } |
| 188 |
| 184 /// Get the value of ClFlags::UseSandboxing | 189 /// Get the value of ClFlags::UseSandboxing |
| 185 bool getUseSandboxing() const { return UseSandboxing; } | 190 bool getUseSandboxing() const { return UseSandboxing; } |
| 186 /// Set ClFlags::UseSandboxing to a new value | 191 /// Set ClFlags::UseSandboxing to a new value |
| 187 void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; } | 192 void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; } |
| 188 | 193 |
| 189 // Enum and integer accessors. | 194 // Enum and integer accessors. |
| 190 /// Get the value of ClFlags::Opt | 195 /// Get the value of ClFlags::Opt |
| 191 OptLevel getOptLevel() const { return Opt; } | 196 OptLevel getOptLevel() const { return Opt; } |
| 192 /// Set ClFlags::Opt to a new value | 197 /// Set ClFlags::Opt to a new value |
| 193 void setOptLevel(OptLevel NewValue) { Opt = NewValue; } | 198 void setOptLevel(OptLevel NewValue) { Opt = NewValue; } |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 /// see anonymous_namespace{IceClFlags.cpp}::ReorderGlobalVariables | 413 /// see anonymous_namespace{IceClFlags.cpp}::ReorderGlobalVariables |
| 409 bool ReorderGlobalVariables; | 414 bool ReorderGlobalVariables; |
| 410 /// see anonymous_namespace{IceClFlags.cpp}::ReorderPooledConstants | 415 /// see anonymous_namespace{IceClFlags.cpp}::ReorderPooledConstants |
| 411 bool ReorderPooledConstants; | 416 bool ReorderPooledConstants; |
| 412 /// see anonymous_namespace{IceClFlags.cpp}::SkipUnimplemented | 417 /// see anonymous_namespace{IceClFlags.cpp}::SkipUnimplemented |
| 413 bool SkipUnimplemented; | 418 bool SkipUnimplemented; |
| 414 /// see anonymous_namespace{IceClFlags.cpp}::SubzeroTimingEnabled | 419 /// see anonymous_namespace{IceClFlags.cpp}::SubzeroTimingEnabled |
| 415 bool SubzeroTimingEnabled; | 420 bool SubzeroTimingEnabled; |
| 416 /// see anonymous_namespace{IceClFlags.cpp}::TimeEachFunction | 421 /// see anonymous_namespace{IceClFlags.cpp}::TimeEachFunction |
| 417 bool TimeEachFunction; | 422 bool TimeEachFunction; |
| 423 /// see anonymous_namespace{IceClFlags.cpp}::UseNonsfi |
| 424 bool UseNonsfi; |
| 418 /// see anonymous_namespace{IceClFlags.cpp}::UseSandboxing | 425 /// see anonymous_namespace{IceClFlags.cpp}::UseSandboxing |
| 419 bool UseSandboxing; | 426 bool UseSandboxing; |
| 420 /// see anonymous_namespace{IceClFlags.cpp}::OLevel | 427 /// see anonymous_namespace{IceClFlags.cpp}::OLevel |
| 421 OptLevel Opt; | 428 OptLevel Opt; |
| 422 /// see anonymous_namespace{IceClFlags.cpp}::OutFileType | 429 /// see anonymous_namespace{IceClFlags.cpp}::OutFileType |
| 423 FileType OutFileType; | 430 FileType OutFileType; |
| 424 /// see anonymous_namespace{IceClFlags.cpp}::RandomizeAndPoolImmediatesOption | 431 /// see anonymous_namespace{IceClFlags.cpp}::RandomizeAndPoolImmediatesOption |
| 425 RandomizeAndPoolImmediatesEnum RandomizeAndPoolImmediatesOption; | 432 RandomizeAndPoolImmediatesEnum RandomizeAndPoolImmediatesOption; |
| 426 /// see | 433 /// see |
| 427 /// anonymous_namespace{IceClFlags.cpp}::RandomizeAndPoolImmediatesThreshold | 434 /// anonymous_namespace{IceClFlags.cpp}::RandomizeAndPoolImmediatesThreshold |
| (...skipping 27 matching lines...) Expand all Loading... |
| 455 /// see anonymous_namespace{IceClFlags.cpp}::NumThreads | 462 /// see anonymous_namespace{IceClFlags.cpp}::NumThreads |
| 456 | 463 |
| 457 size_t NumTranslationThreads; // 0 means completely sequential | 464 size_t NumTranslationThreads; // 0 means completely sequential |
| 458 /// see anonymous_namespace{IceClFlags.cpp}::RandomSeed | 465 /// see anonymous_namespace{IceClFlags.cpp}::RandomSeed |
| 459 uint64_t RandomSeed; | 466 uint64_t RandomSeed; |
| 460 }; | 467 }; |
| 461 | 468 |
| 462 } // end of namespace Ice | 469 } // end of namespace Ice |
| 463 | 470 |
| 464 #endif // SUBZERO_SRC_ICECLFLAGS_H | 471 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |