Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1259)

Side by Side Diff: src/IceClFlags.h

Issue 800883006: Add ability to test parsing of bitcode records in Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix issues in last patch set. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Makefile.standalone ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #ifndef SUBZERO_SRC_ICECLFLAGS_H 14 #ifndef SUBZERO_SRC_ICECLFLAGS_H
15 #define SUBZERO_SRC_ICECLFLAGS_H 15 #define SUBZERO_SRC_ICECLFLAGS_H
16 16
17 #include "IceTypes.def" 17 #include "IceTypes.def"
18 18
19 namespace Ice { 19 namespace Ice {
20 20
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 DefaultGlobalPrefix(""), DefaultFunctionPrefix(""), TimingFocusOn(""), 31 DefaultGlobalPrefix(""), DefaultFunctionPrefix(""), TimingFocusOn(""),
31 VerboseFocusOn(""), TranslateOnly("") {} 32 VerboseFocusOn(""), TranslateOnly("") {}
32 bool DisableInternal; 33 bool DisableInternal;
33 bool SubzeroTimingEnabled; 34 bool SubzeroTimingEnabled;
34 bool DisableTranslation; 35 bool DisableTranslation;
35 bool FunctionSections; 36 bool FunctionSections;
36 bool DataSections; 37 bool DataSections;
37 bool UseELFWriter; 38 bool UseELFWriter;
38 bool UseIntegratedAssembler; 39 bool UseIntegratedAssembler;
39 bool UseSandboxing; 40 bool UseSandboxing;
40 bool PhiEdgeSplit; 41 bool PhiEdgeSplit;
41 bool DecorateAsm; 42 bool DecorateAsm;
42 bool DumpStats; 43 bool DumpStats;
43 bool AllowUninitializedGlobals; 44 bool AllowUninitializedGlobals;
44 bool TimeEachFunction; 45 bool TimeEachFunction;
45 bool DisableIRGeneration; 46 bool DisableIRGeneration;
47 bool AllowErrorRecovery;
48 bool GenerateUnitTestMessages;
46 IceString DefaultGlobalPrefix; 49 IceString DefaultGlobalPrefix;
47 IceString DefaultFunctionPrefix; 50 IceString DefaultFunctionPrefix;
48 IceString TimingFocusOn; 51 IceString TimingFocusOn;
49 IceString VerboseFocusOn; 52 IceString VerboseFocusOn;
50 IceString TranslateOnly; 53 IceString TranslateOnly;
51 }; 54 };
52 55
53 } // end of namespace Ice 56 } // end of namespace Ice
54 57
55 #endif // SUBZERO_SRC_ICECLFLAGS_H 58 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « Makefile.standalone ('k') | src/PNaClTranslator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698