| 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 21 matching lines...) Expand all Loading... |
| 32 static void parseFlags(int argc, char *argv[]); | 32 static void parseFlags(int argc, char *argv[]); |
| 33 static void resetClFlags(ClFlags &OutFlags); | 33 static void resetClFlags(ClFlags &OutFlags); |
| 34 static void getParsedClFlags(ClFlags &OutFlags); | 34 static void getParsedClFlags(ClFlags &OutFlags); |
| 35 static void getParsedClFlagsExtra(ClFlagsExtra &OutFlagsExtra); | 35 static void getParsedClFlagsExtra(ClFlagsExtra &OutFlagsExtra); |
| 36 | 36 |
| 37 // bool accessors. | 37 // bool accessors. |
| 38 | 38 |
| 39 bool getAllowErrorRecovery() const { return AllowErrorRecovery; } | 39 bool getAllowErrorRecovery() const { return AllowErrorRecovery; } |
| 40 void setAllowErrorRecovery(bool NewValue) { AllowErrorRecovery = NewValue; } | 40 void setAllowErrorRecovery(bool NewValue) { AllowErrorRecovery = NewValue; } |
| 41 | 41 |
| 42 bool getAllowIacaMarks() const { return AllowIacaMarks; } |
| 43 void setAllowIacaMarks(bool NewValue) { AllowIacaMarks = NewValue; } |
| 44 |
| 42 bool getAllowUninitializedGlobals() const { | 45 bool getAllowUninitializedGlobals() const { |
| 43 return AllowUninitializedGlobals; | 46 return AllowUninitializedGlobals; |
| 44 } | 47 } |
| 45 void setAllowUninitializedGlobals(bool NewValue) { | 48 void setAllowUninitializedGlobals(bool NewValue) { |
| 46 AllowUninitializedGlobals = NewValue; | 49 AllowUninitializedGlobals = NewValue; |
| 47 } | 50 } |
| 48 | 51 |
| 49 bool getDataSections() const { return DataSections; } | 52 bool getDataSections() const { return DataSections; } |
| 50 void setDataSections(bool NewValue) { DataSections = NewValue; } | 53 void setDataSections(bool NewValue) { DataSections = NewValue; } |
| 51 | 54 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 bool isSequential() const { return NumTranslationThreads == 0; } | 225 bool isSequential() const { return NumTranslationThreads == 0; } |
| 223 void setNumTranslationThreads(size_t NewValue) { | 226 void setNumTranslationThreads(size_t NewValue) { |
| 224 NumTranslationThreads = NewValue; | 227 NumTranslationThreads = NewValue; |
| 225 } | 228 } |
| 226 | 229 |
| 227 uint64_t getRandomSeed() const { return RandomSeed; } | 230 uint64_t getRandomSeed() const { return RandomSeed; } |
| 228 void setRandomSeed(size_t NewValue) { RandomSeed = NewValue; } | 231 void setRandomSeed(size_t NewValue) { RandomSeed = NewValue; } |
| 229 | 232 |
| 230 private: | 233 private: |
| 231 bool AllowErrorRecovery; | 234 bool AllowErrorRecovery; |
| 235 bool AllowIacaMarks; |
| 232 bool AllowUninitializedGlobals; | 236 bool AllowUninitializedGlobals; |
| 233 bool DataSections; | 237 bool DataSections; |
| 234 bool DecorateAsm; | 238 bool DecorateAsm; |
| 235 bool DisableInternal; | 239 bool DisableInternal; |
| 236 bool DisableIRGeneration; | 240 bool DisableIRGeneration; |
| 237 bool DisableTranslation; | 241 bool DisableTranslation; |
| 238 bool DumpStats; | 242 bool DumpStats; |
| 239 bool EnableBlockProfile; | 243 bool EnableBlockProfile; |
| 240 bool FunctionSections; | 244 bool FunctionSections; |
| 241 bool GenerateUnitTestMessages; | 245 bool GenerateUnitTestMessages; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 270 IceString TranslateOnly; | 274 IceString TranslateOnly; |
| 271 IceString VerboseFocusOn; | 275 IceString VerboseFocusOn; |
| 272 | 276 |
| 273 size_t NumTranslationThreads; // 0 means completely sequential | 277 size_t NumTranslationThreads; // 0 means completely sequential |
| 274 uint64_t RandomSeed; | 278 uint64_t RandomSeed; |
| 275 }; | 279 }; |
| 276 | 280 |
| 277 } // end of namespace Ice | 281 } // end of namespace Ice |
| 278 | 282 |
| 279 #endif // SUBZERO_SRC_ICECLFLAGS_H | 283 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |