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 10 matching lines...) Expand all Loading... |
21 class ClFlags { | 21 class ClFlags { |
22 public: | 22 public: |
23 ClFlags() | 23 ClFlags() |
24 : DisableInternal(false), SubzeroTimingEnabled(false), | 24 : DisableInternal(false), SubzeroTimingEnabled(false), |
25 DisableTranslation(false), FunctionSections(false), DataSections(false), | 25 DisableTranslation(false), FunctionSections(false), DataSections(false), |
26 UseELFWriter(false), UseIntegratedAssembler(false), | 26 UseELFWriter(false), UseIntegratedAssembler(false), |
27 UseSandboxing(false), PhiEdgeSplit(false), DecorateAsm(false), | 27 UseSandboxing(false), PhiEdgeSplit(false), DecorateAsm(false), |
28 DumpStats(false), AllowUninitializedGlobals(false), | 28 DumpStats(false), AllowUninitializedGlobals(false), |
29 TimeEachFunction(false), DisableIRGeneration(false), | 29 TimeEachFunction(false), DisableIRGeneration(false), |
30 AllowErrorRecovery(false), GenerateUnitTestMessages(false), | 30 AllowErrorRecovery(false), GenerateUnitTestMessages(false), |
31 DefaultGlobalPrefix(""), DefaultFunctionPrefix(""), TimingFocusOn(""), | 31 NumTranslationThreads(0), DefaultGlobalPrefix(""), |
32 VerboseFocusOn(""), TranslateOnly("") {} | 32 DefaultFunctionPrefix(""), TimingFocusOn(""), VerboseFocusOn(""), |
| 33 TranslateOnly("") {} |
33 bool DisableInternal; | 34 bool DisableInternal; |
34 bool SubzeroTimingEnabled; | 35 bool SubzeroTimingEnabled; |
35 bool DisableTranslation; | 36 bool DisableTranslation; |
36 bool FunctionSections; | 37 bool FunctionSections; |
37 bool DataSections; | 38 bool DataSections; |
38 bool UseELFWriter; | 39 bool UseELFWriter; |
39 bool UseIntegratedAssembler; | 40 bool UseIntegratedAssembler; |
40 bool UseSandboxing; | 41 bool UseSandboxing; |
41 bool PhiEdgeSplit; | 42 bool PhiEdgeSplit; |
42 bool DecorateAsm; | 43 bool DecorateAsm; |
43 bool DumpStats; | 44 bool DumpStats; |
44 bool AllowUninitializedGlobals; | 45 bool AllowUninitializedGlobals; |
45 bool TimeEachFunction; | 46 bool TimeEachFunction; |
46 bool DisableIRGeneration; | 47 bool DisableIRGeneration; |
47 bool AllowErrorRecovery; | 48 bool AllowErrorRecovery; |
48 bool GenerateUnitTestMessages; | 49 bool GenerateUnitTestMessages; |
| 50 size_t NumTranslationThreads; // 0 means completely sequential |
49 IceString DefaultGlobalPrefix; | 51 IceString DefaultGlobalPrefix; |
50 IceString DefaultFunctionPrefix; | 52 IceString DefaultFunctionPrefix; |
51 IceString TimingFocusOn; | 53 IceString TimingFocusOn; |
52 IceString VerboseFocusOn; | 54 IceString VerboseFocusOn; |
53 IceString TranslateOnly; | 55 IceString TranslateOnly; |
54 }; | 56 }; |
55 | 57 |
56 } // end of namespace Ice | 58 } // end of namespace Ice |
57 | 59 |
58 #endif // SUBZERO_SRC_ICECLFLAGS_H | 60 #endif // SUBZERO_SRC_ICECLFLAGS_H |
OLD | NEW |