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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void setAllowUninitializedGlobals(bool NewValue) { | 55 void setAllowUninitializedGlobals(bool NewValue) { |
56 AllowUninitializedGlobals = NewValue; | 56 AllowUninitializedGlobals = NewValue; |
57 } | 57 } |
58 | 58 |
59 bool getDataSections() const { return DataSections; } | 59 bool getDataSections() const { return DataSections; } |
60 void setDataSections(bool NewValue) { DataSections = NewValue; } | 60 void setDataSections(bool NewValue) { DataSections = NewValue; } |
61 | 61 |
62 bool getDecorateAsm() const { return DecorateAsm; } | 62 bool getDecorateAsm() const { return DecorateAsm; } |
63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; } | 63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; } |
64 | 64 |
| 65 bool getDisableHybridAssembly() const { return DisableHybridAssembly; } |
| 66 void setDisableHybridAssembly(bool NewValue) { |
| 67 DisableHybridAssembly = NewValue; |
| 68 } |
| 69 |
65 bool getDisableInternal() const { return DisableInternal; } | 70 bool getDisableInternal() const { return DisableInternal; } |
66 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; } | 71 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; } |
67 | 72 |
68 bool getDisableIRGeneration() const { | 73 bool getDisableIRGeneration() const { |
69 return BuildDefs::disableIrGen() && DisableIRGeneration; | 74 return BuildDefs::disableIrGen() && DisableIRGeneration; |
70 } | 75 } |
71 void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; } | 76 void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; } |
72 | 77 |
73 bool getDisableTranslation() const { return DisableTranslation; } | 78 bool getDisableTranslation() const { return DisableTranslation; } |
74 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } | 79 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 uint64_t getRandomSeed() const { return RandomSeed; } | 251 uint64_t getRandomSeed() const { return RandomSeed; } |
247 void setRandomSeed(size_t NewValue) { RandomSeed = NewValue; } | 252 void setRandomSeed(size_t NewValue) { RandomSeed = NewValue; } |
248 | 253 |
249 private: | 254 private: |
250 bool AllowErrorRecovery; | 255 bool AllowErrorRecovery; |
251 bool AllowExternDefinedSymbols; | 256 bool AllowExternDefinedSymbols; |
252 bool AllowIacaMarks; | 257 bool AllowIacaMarks; |
253 bool AllowUninitializedGlobals; | 258 bool AllowUninitializedGlobals; |
254 bool DataSections; | 259 bool DataSections; |
255 bool DecorateAsm; | 260 bool DecorateAsm; |
| 261 bool DisableHybridAssembly; |
256 bool DisableInternal; | 262 bool DisableInternal; |
257 bool DisableIRGeneration; | 263 bool DisableIRGeneration; |
258 bool DisableTranslation; | 264 bool DisableTranslation; |
259 bool DumpStats; | 265 bool DumpStats; |
260 bool EnableBlockProfile; | 266 bool EnableBlockProfile; |
261 bool ForceMemIntrinOpt; | 267 bool ForceMemIntrinOpt; |
262 bool FunctionSections; | 268 bool FunctionSections; |
263 bool GenerateUnitTestMessages; | 269 bool GenerateUnitTestMessages; |
264 bool MockBoundsCheck; | 270 bool MockBoundsCheck; |
265 bool PhiEdgeSplit; | 271 bool PhiEdgeSplit; |
(...skipping 28 matching lines...) Expand all Loading... |
294 IceString TranslateOnly; | 300 IceString TranslateOnly; |
295 IceString VerboseFocusOn; | 301 IceString VerboseFocusOn; |
296 | 302 |
297 size_t NumTranslationThreads; // 0 means completely sequential | 303 size_t NumTranslationThreads; // 0 means completely sequential |
298 uint64_t RandomSeed; | 304 uint64_t RandomSeed; |
299 }; | 305 }; |
300 | 306 |
301 } // end of namespace Ice | 307 } // end of namespace Ice |
302 | 308 |
303 #endif // SUBZERO_SRC_ICECLFLAGS_H | 309 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |