| 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 // This file declares command line flags controlling translation. | 10 // This file declares command line flags controlling translation. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } | 80 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } |
| 81 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } | 81 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } |
| 82 | 82 |
| 83 bool shouldDoNopInsertion() const { return RandomNopInsertion; } | 83 bool shouldDoNopInsertion() const { return RandomNopInsertion; } |
| 84 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } | 84 void setShouldDoNopInsertion(bool NewValue) { RandomNopInsertion = NewValue; } |
| 85 | 85 |
| 86 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } | 86 bool shouldRandomizeRegAlloc() const { return RandomRegAlloc; } |
| 87 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } | 87 void setShouldRandomizeRegAlloc(bool NewValue) { RandomRegAlloc = NewValue; } |
| 88 | 88 |
| 89 bool getSkipUnimplemented() const { return SkipUnimplemented; } |
| 90 void setSkipUnimplemented(bool NewValue) { SkipUnimplemented = NewValue; } |
| 91 |
| 89 bool getSubzeroTimingEnabled() const { return SubzeroTimingEnabled; } | 92 bool getSubzeroTimingEnabled() const { return SubzeroTimingEnabled; } |
| 90 void setSubzeroTimingEnabled(bool NewValue) { | 93 void setSubzeroTimingEnabled(bool NewValue) { |
| 91 SubzeroTimingEnabled = NewValue; | 94 SubzeroTimingEnabled = NewValue; |
| 92 } | 95 } |
| 93 | 96 |
| 94 bool getTimeEachFunction() const { return ALLOW_DUMP && TimeEachFunction; } | 97 bool getTimeEachFunction() const { return ALLOW_DUMP && TimeEachFunction; } |
| 95 void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; } | 98 void setTimeEachFunction(bool NewValue) { TimeEachFunction = NewValue; } |
| 96 | 99 |
| 97 bool getUseSandboxing() const { return UseSandboxing; } | 100 bool getUseSandboxing() const { return UseSandboxing; } |
| 98 void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; } | 101 void setUseSandboxing(bool NewValue) { UseSandboxing = NewValue; } |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 bool DecorateAsm; | 180 bool DecorateAsm; |
| 178 bool DisableInternal; | 181 bool DisableInternal; |
| 179 bool DisableIRGeneration; | 182 bool DisableIRGeneration; |
| 180 bool DisableTranslation; | 183 bool DisableTranslation; |
| 181 bool DumpStats; | 184 bool DumpStats; |
| 182 bool FunctionSections; | 185 bool FunctionSections; |
| 183 bool GenerateUnitTestMessages; | 186 bool GenerateUnitTestMessages; |
| 184 bool PhiEdgeSplit; | 187 bool PhiEdgeSplit; |
| 185 bool RandomNopInsertion; | 188 bool RandomNopInsertion; |
| 186 bool RandomRegAlloc; | 189 bool RandomRegAlloc; |
| 190 bool SkipUnimplemented; |
| 187 bool SubzeroTimingEnabled; | 191 bool SubzeroTimingEnabled; |
| 188 bool TimeEachFunction; | 192 bool TimeEachFunction; |
| 189 bool UseSandboxing; | 193 bool UseSandboxing; |
| 190 | 194 |
| 191 OptLevel Opt; | 195 OptLevel Opt; |
| 192 FileType OutFileType; | 196 FileType OutFileType; |
| 193 int RandomMaxNopsPerInstruction; | 197 int RandomMaxNopsPerInstruction; |
| 194 int RandomNopProbabilityAsPercentage; | 198 int RandomNopProbabilityAsPercentage; |
| 195 TargetArch TArch; | 199 TargetArch TArch; |
| 196 TargetInstructionSet TInstrSet; | 200 TargetInstructionSet TInstrSet; |
| 197 VerboseMask VMask; | 201 VerboseMask VMask; |
| 198 | 202 |
| 199 IceString DefaultFunctionPrefix; | 203 IceString DefaultFunctionPrefix; |
| 200 IceString DefaultGlobalPrefix; | 204 IceString DefaultGlobalPrefix; |
| 201 IceString TestPrefix; | 205 IceString TestPrefix; |
| 202 IceString TimingFocusOn; | 206 IceString TimingFocusOn; |
| 203 IceString TranslateOnly; | 207 IceString TranslateOnly; |
| 204 IceString VerboseFocusOn; | 208 IceString VerboseFocusOn; |
| 205 | 209 |
| 206 size_t NumTranslationThreads; // 0 means completely sequential | 210 size_t NumTranslationThreads; // 0 means completely sequential |
| 207 uint64_t RandomSeed; | 211 uint64_t RandomSeed; |
| 208 }; | 212 }; |
| 209 | 213 |
| 210 } // end of namespace Ice | 214 } // end of namespace Ice |
| 211 | 215 |
| 212 #endif // SUBZERO_SRC_ICECLFLAGS_H | 216 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |