| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 return RandomizeAndPoolImmediatesOption; | 153 return RandomizeAndPoolImmediatesOption; |
| 154 } | 154 } |
| 155 | 155 |
| 156 void setRandomizeAndPoolImmediatesThreshold(uint32_t Threshold) { | 156 void setRandomizeAndPoolImmediatesThreshold(uint32_t Threshold) { |
| 157 RandomizeAndPoolImmediatesThreshold = Threshold; | 157 RandomizeAndPoolImmediatesThreshold = Threshold; |
| 158 } | 158 } |
| 159 uint32_t getRandomizeAndPoolImmediatesThreshold() const { | 159 uint32_t getRandomizeAndPoolImmediatesThreshold() const { |
| 160 return RandomizeAndPoolImmediatesThreshold; | 160 return RandomizeAndPoolImmediatesThreshold; |
| 161 } | 161 } |
| 162 | 162 |
| 163 bool shouldReorderBasicBlocks() const { return ReorderBasicBlocks; } |
| 164 void setShouldReorderBasicBlocks(bool NewValue) { |
| 165 ReorderBasicBlocks = NewValue; |
| 166 } |
| 167 |
| 163 void setShouldReorderFunctions(bool Option) { ReorderFunctions = Option; } | 168 void setShouldReorderFunctions(bool Option) { ReorderFunctions = Option; } |
| 164 bool shouldReorderFunctions() const { return ReorderFunctions; } | 169 bool shouldReorderFunctions() const { return ReorderFunctions; } |
| 165 | 170 |
| 166 void setReorderFunctionsWindowSize(uint32_t Size) { | 171 void setReorderFunctionsWindowSize(uint32_t Size) { |
| 167 ReorderFunctionsWindowSize = Size; | 172 ReorderFunctionsWindowSize = Size; |
| 168 } | 173 } |
| 169 uint32_t getReorderFunctionsWindowSize() const { | 174 uint32_t getReorderFunctionsWindowSize() const { |
| 170 return ReorderFunctionsWindowSize; | 175 return ReorderFunctionsWindowSize; |
| 171 } | 176 } |
| 172 | 177 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 bool DisableInternal; | 234 bool DisableInternal; |
| 230 bool DisableIRGeneration; | 235 bool DisableIRGeneration; |
| 231 bool DisableTranslation; | 236 bool DisableTranslation; |
| 232 bool DumpStats; | 237 bool DumpStats; |
| 233 bool EnableBlockProfile; | 238 bool EnableBlockProfile; |
| 234 bool FunctionSections; | 239 bool FunctionSections; |
| 235 bool GenerateUnitTestMessages; | 240 bool GenerateUnitTestMessages; |
| 236 bool PhiEdgeSplit; | 241 bool PhiEdgeSplit; |
| 237 bool RandomNopInsertion; | 242 bool RandomNopInsertion; |
| 238 bool RandomRegAlloc; | 243 bool RandomRegAlloc; |
| 244 bool ReorderBasicBlocks; |
| 239 bool ReorderFunctions; | 245 bool ReorderFunctions; |
| 240 bool ReorderGlobalVariables; | 246 bool ReorderGlobalVariables; |
| 241 bool ReorderPooledConstants; | 247 bool ReorderPooledConstants; |
| 242 bool SkipUnimplemented; | 248 bool SkipUnimplemented; |
| 243 bool SubzeroTimingEnabled; | 249 bool SubzeroTimingEnabled; |
| 244 bool TimeEachFunction; | 250 bool TimeEachFunction; |
| 245 bool UseAdvancedSwitchLowering; | 251 bool UseAdvancedSwitchLowering; |
| 246 bool UseSandboxing; | 252 bool UseSandboxing; |
| 247 | 253 |
| 248 OptLevel Opt; | 254 OptLevel Opt; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 263 IceString TranslateOnly; | 269 IceString TranslateOnly; |
| 264 IceString VerboseFocusOn; | 270 IceString VerboseFocusOn; |
| 265 | 271 |
| 266 size_t NumTranslationThreads; // 0 means completely sequential | 272 size_t NumTranslationThreads; // 0 means completely sequential |
| 267 uint64_t RandomSeed; | 273 uint64_t RandomSeed; |
| 268 }; | 274 }; |
| 269 | 275 |
| 270 } // end of namespace Ice | 276 } // end of namespace Ice |
| 271 | 277 |
| 272 #endif // SUBZERO_SRC_ICECLFLAGS_H | 278 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |