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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 bool getEnableBlockProfile() const { return EnableBlockProfile; } | 72 bool getEnableBlockProfile() const { return EnableBlockProfile; } |
73 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } | 73 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } |
74 | 74 |
75 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; } | 75 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; } |
76 void setForceMemIntrinOpt(bool NewValue) { ForceMemIntrinOpt = NewValue; } | 76 void setForceMemIntrinOpt(bool NewValue) { ForceMemIntrinOpt = NewValue; } |
77 | 77 |
78 bool getFunctionSections() const { return FunctionSections; } | 78 bool getFunctionSections() const { return FunctionSections; } |
79 void setFunctionSections(bool NewValue) { FunctionSections = NewValue; } | 79 void setFunctionSections(bool NewValue) { FunctionSections = NewValue; } |
80 | 80 |
81 bool getGenerateUnitTestMessages() const { | 81 bool getGenerateUnitTestMessages() const { |
82 // Note: If dump routines have been turned off, the error messages | 82 // Note: If dump routines have been turned off, the error messages will not |
83 // will not be readable. Hence, turn off. | 83 // be readable. Hence, turn off. |
84 return !BuildDefs::dump() || GenerateUnitTestMessages; | 84 return !BuildDefs::dump() || GenerateUnitTestMessages; |
85 } | 85 } |
86 void setGenerateUnitTestMessages(bool NewValue) { | 86 void setGenerateUnitTestMessages(bool NewValue) { |
87 GenerateUnitTestMessages = NewValue; | 87 GenerateUnitTestMessages = NewValue; |
88 } | 88 } |
89 | 89 |
90 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } | 90 bool getPhiEdgeSplit() const { return PhiEdgeSplit; } |
91 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } | 91 void setPhiEdgeSplit(bool NewValue) { PhiEdgeSplit = NewValue; } |
92 | 92 |
93 bool shouldDoNopInsertion() const { return RandomNopInsertion; } | 93 bool shouldDoNopInsertion() const { return RandomNopInsertion; } |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 IceString TranslateOnly; | 278 IceString TranslateOnly; |
279 IceString VerboseFocusOn; | 279 IceString VerboseFocusOn; |
280 | 280 |
281 size_t NumTranslationThreads; // 0 means completely sequential | 281 size_t NumTranslationThreads; // 0 means completely sequential |
282 uint64_t RandomSeed; | 282 uint64_t RandomSeed; |
283 }; | 283 }; |
284 | 284 |
285 } // end of namespace Ice | 285 } // end of namespace Ice |
286 | 286 |
287 #endif // SUBZERO_SRC_ICECLFLAGS_H | 287 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |