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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; } | 63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; } |
64 | 64 |
65 bool getDisableHybridAssembly() const { return DisableHybridAssembly; } | 65 bool getDisableHybridAssembly() const { return DisableHybridAssembly; } |
66 void setDisableHybridAssembly(bool NewValue) { | 66 void setDisableHybridAssembly(bool NewValue) { |
67 DisableHybridAssembly = NewValue; | 67 DisableHybridAssembly = NewValue; |
68 } | 68 } |
69 | 69 |
70 bool getDisableInternal() const { return DisableInternal; } | 70 bool getDisableInternal() const { return DisableInternal; } |
71 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; } | 71 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; } |
72 | 72 |
73 bool getDisableIRGeneration() const { | |
74 return BuildDefs::disableIrGen() && DisableIRGeneration; | |
75 } | |
76 void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; } | |
77 | |
78 bool getDisableTranslation() const { return DisableTranslation; } | 73 bool getDisableTranslation() const { return DisableTranslation; } |
79 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } | 74 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } |
80 | 75 |
81 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; } | 76 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; } |
82 void setDumpStats(bool NewValue) { DumpStats = NewValue; } | 77 void setDumpStats(bool NewValue) { DumpStats = NewValue; } |
83 | 78 |
84 bool getEnableBlockProfile() const { return EnableBlockProfile; } | 79 bool getEnableBlockProfile() const { return EnableBlockProfile; } |
85 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } | 80 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } |
86 | 81 |
87 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; } | 82 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; } |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 248 |
254 private: | 249 private: |
255 bool AllowErrorRecovery; | 250 bool AllowErrorRecovery; |
256 bool AllowExternDefinedSymbols; | 251 bool AllowExternDefinedSymbols; |
257 bool AllowIacaMarks; | 252 bool AllowIacaMarks; |
258 bool AllowUninitializedGlobals; | 253 bool AllowUninitializedGlobals; |
259 bool DataSections; | 254 bool DataSections; |
260 bool DecorateAsm; | 255 bool DecorateAsm; |
261 bool DisableHybridAssembly; | 256 bool DisableHybridAssembly; |
262 bool DisableInternal; | 257 bool DisableInternal; |
263 bool DisableIRGeneration; | |
264 bool DisableTranslation; | 258 bool DisableTranslation; |
265 bool DumpStats; | 259 bool DumpStats; |
266 bool EnableBlockProfile; | 260 bool EnableBlockProfile; |
267 bool ForceMemIntrinOpt; | 261 bool ForceMemIntrinOpt; |
268 bool FunctionSections; | 262 bool FunctionSections; |
269 bool GenerateUnitTestMessages; | 263 bool GenerateUnitTestMessages; |
270 bool MockBoundsCheck; | 264 bool MockBoundsCheck; |
271 bool PhiEdgeSplit; | 265 bool PhiEdgeSplit; |
272 bool RandomNopInsertion; | 266 bool RandomNopInsertion; |
273 bool RandomRegAlloc; | 267 bool RandomRegAlloc; |
(...skipping 26 matching lines...) Expand all Loading... |
300 IceString TranslateOnly; | 294 IceString TranslateOnly; |
301 IceString VerboseFocusOn; | 295 IceString VerboseFocusOn; |
302 | 296 |
303 size_t NumTranslationThreads; // 0 means completely sequential | 297 size_t NumTranslationThreads; // 0 means completely sequential |
304 uint64_t RandomSeed; | 298 uint64_t RandomSeed; |
305 }; | 299 }; |
306 | 300 |
307 } // end of namespace Ice | 301 } // end of namespace Ice |
308 | 302 |
309 #endif // SUBZERO_SRC_ICECLFLAGS_H | 303 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |