| 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 // This file declares command line flags controlling translation. | 10 // This file declares command line flags controlling translation. |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 } | 134 } |
| 135 | 135 |
| 136 TargetArch getTargetArch() const { return TArch; } | 136 TargetArch getTargetArch() const { return TArch; } |
| 137 void setTargetArch(TargetArch NewValue) { TArch = NewValue; } | 137 void setTargetArch(TargetArch NewValue) { TArch = NewValue; } |
| 138 | 138 |
| 139 TargetInstructionSet getTargetInstructionSet() const { return TInstrSet; } | 139 TargetInstructionSet getTargetInstructionSet() const { return TInstrSet; } |
| 140 void setTargetInstructionSet(TargetInstructionSet NewValue) { | 140 void setTargetInstructionSet(TargetInstructionSet NewValue) { |
| 141 TInstrSet = NewValue; | 141 TInstrSet = NewValue; |
| 142 } | 142 } |
| 143 | 143 |
| 144 VerboseMask getVerbose() const { return ALLOW_DUMP ? VMask : IceV_None; } | 144 VerboseMask getVerbose() const { |
| 145 return ALLOW_DUMP ? VMask : (VerboseMask)IceV_None; |
| 146 } |
| 145 void setVerbose(VerboseMask NewValue) { VMask = NewValue; } | 147 void setVerbose(VerboseMask NewValue) { VMask = NewValue; } |
| 146 | 148 |
| 147 // IceString accessors. | 149 // IceString accessors. |
| 148 | 150 |
| 149 const IceString &getDefaultFunctionPrefix() const { | 151 const IceString &getDefaultFunctionPrefix() const { |
| 150 return DefaultFunctionPrefix; | 152 return DefaultFunctionPrefix; |
| 151 } | 153 } |
| 152 void setDefaultFunctionPrefix(const IceString &NewValue) { | 154 void setDefaultFunctionPrefix(const IceString &NewValue) { |
| 153 DefaultFunctionPrefix = NewValue; | 155 DefaultFunctionPrefix = NewValue; |
| 154 } | 156 } |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 IceString TranslateOnly; | 220 IceString TranslateOnly; |
| 219 IceString VerboseFocusOn; | 221 IceString VerboseFocusOn; |
| 220 | 222 |
| 221 size_t NumTranslationThreads; // 0 means completely sequential | 223 size_t NumTranslationThreads; // 0 means completely sequential |
| 222 uint64_t RandomSeed; | 224 uint64_t RandomSeed; |
| 223 }; | 225 }; |
| 224 | 226 |
| 225 } // end of namespace Ice | 227 } // end of namespace Ice |
| 226 | 228 |
| 227 #endif // SUBZERO_SRC_ICECLFLAGS_H | 229 #endif // SUBZERO_SRC_ICECLFLAGS_H |
| OLD | NEW |