| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 bool getDisableTranslation() const { return DisableTranslation; } | 66 bool getDisableTranslation() const { return DisableTranslation; } |
| 67 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } | 67 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } |
| 68 | 68 |
| 69 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; } | 69 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; } |
| 70 void setDumpStats(bool NewValue) { DumpStats = NewValue; } | 70 void setDumpStats(bool NewValue) { DumpStats = NewValue; } |
| 71 | 71 |
| 72 bool getEnableBlockProfile() const { return EnableBlockProfile; } | 72 bool getEnableBlockProfile() const { return EnableBlockProfile; } |
| 73 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } | 73 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } |
| 74 | 74 |
| 75 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; } |
| 76 void setForceMemIntrinOpt(bool NewValue) { ForceMemIntrinOpt = NewValue; } |
| 77 |
| 75 bool getFunctionSections() const { return FunctionSections; } | 78 bool getFunctionSections() const { return FunctionSections; } |
| 76 void setFunctionSections(bool NewValue) { FunctionSections = NewValue; } | 79 void setFunctionSections(bool NewValue) { FunctionSections = NewValue; } |
| 77 | 80 |
| 78 bool getGenerateUnitTestMessages() const { | 81 bool getGenerateUnitTestMessages() const { |
| 79 // Note: If dump routines have been turned off, the error messages | 82 // Note: If dump routines have been turned off, the error messages |
| 80 // will not be readable. Hence, turn off. | 83 // will not be readable. Hence, turn off. |
| 81 return !BuildDefs::dump() || GenerateUnitTestMessages; | 84 return !BuildDefs::dump() || GenerateUnitTestMessages; |
| 82 } | 85 } |
| 83 void setGenerateUnitTestMessages(bool NewValue) { | 86 void setGenerateUnitTestMessages(bool NewValue) { |
| 84 GenerateUnitTestMessages = NewValue; | 87 GenerateUnitTestMessages = NewValue; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 bool AllowErrorRecovery; | 237 bool AllowErrorRecovery; |
| 235 bool AllowIacaMarks; | 238 bool AllowIacaMarks; |
| 236 bool AllowUninitializedGlobals; | 239 bool AllowUninitializedGlobals; |
| 237 bool DataSections; | 240 bool DataSections; |
| 238 bool DecorateAsm; | 241 bool DecorateAsm; |
| 239 bool DisableInternal; | 242 bool DisableInternal; |
| 240 bool DisableIRGeneration; | 243 bool DisableIRGeneration; |
| 241 bool DisableTranslation; | 244 bool DisableTranslation; |
| 242 bool DumpStats; | 245 bool DumpStats; |
| 243 bool EnableBlockProfile; | 246 bool EnableBlockProfile; |
| 247 bool ForceMemIntrinOpt; |
| 244 bool FunctionSections; | 248 bool FunctionSections; |
| 245 bool GenerateUnitTestMessages; | 249 bool GenerateUnitTestMessages; |
| 246 bool PhiEdgeSplit; | 250 bool PhiEdgeSplit; |
| 247 bool RandomNopInsertion; | 251 bool RandomNopInsertion; |
| 248 bool RandomRegAlloc; | 252 bool RandomRegAlloc; |
| 249 bool ReorderBasicBlocks; | 253 bool ReorderBasicBlocks; |
| 250 bool ReorderFunctions; | 254 bool ReorderFunctions; |
| 251 bool ReorderGlobalVariables; | 255 bool ReorderGlobalVariables; |
| 252 bool ReorderPooledConstants; | 256 bool ReorderPooledConstants; |
| 253 bool SkipUnimplemented; | 257 bool SkipUnimplemented; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 274 IceString TranslateOnly; | 278 IceString TranslateOnly; |
| 275 IceString VerboseFocusOn; | 279 IceString VerboseFocusOn; |
| 276 | 280 |
| 277 size_t NumTranslationThreads; // 0 means completely sequential | 281 size_t NumTranslationThreads; // 0 means completely sequential |
| 278 uint64_t RandomSeed; | 282 uint64_t RandomSeed; |
| 279 }; | 283 }; |
| 280 | 284 |
| 281 } // end of namespace Ice | 285 } // end of namespace Ice |
| 282 | 286 |
| 283 #endif // SUBZERO_SRC_ICECLFLAGS_H | 287 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |