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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 IceString TranslateOnly; | 295 IceString TranslateOnly; |
301 IceString VerboseFocusOn; | 296 IceString VerboseFocusOn; |
302 | 297 |
303 size_t NumTranslationThreads; // 0 means completely sequential | 298 size_t NumTranslationThreads; // 0 means completely sequential |
304 uint64_t RandomSeed; | 299 uint64_t RandomSeed; |
305 }; | 300 }; |
306 | 301 |
307 } // end of namespace Ice | 302 } // end of namespace Ice |
308 | 303 |
309 #endif // SUBZERO_SRC_ICECLFLAGS_H | 304 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |