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

Side by Side Diff: src/IceClFlags.h

Issue 696383004: Disable Subzero IR generation for performance testing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 1 month 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 | « src/IceCfg.cpp ('k') | src/IceGlobalContext.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 UseIntegratedAssembler(false), UseSandboxing(false), 26 UseIntegratedAssembler(false), UseSandboxing(false),
27 PhiEdgeSplit(false), DecorateAsm(false), DumpStats(false), 27 PhiEdgeSplit(false), DecorateAsm(false), DumpStats(false),
28 AllowUninitializedGlobals(false), TimeEachFunction(false), 28 AllowUninitializedGlobals(false), TimeEachFunction(false),
29 DefaultGlobalPrefix(""), DefaultFunctionPrefix(""), TimingFocusOn(""), 29 DisableIRGeneration(false), DefaultGlobalPrefix(""),
30 VerboseFocusOn(""), TranslateOnly("") {} 30 DefaultFunctionPrefix(""), TimingFocusOn(""), VerboseFocusOn(""),
31 TranslateOnly("") {}
31 bool DisableInternal; 32 bool DisableInternal;
32 bool SubzeroTimingEnabled; 33 bool SubzeroTimingEnabled;
33 bool DisableTranslation; 34 bool DisableTranslation;
34 bool FunctionSections; 35 bool FunctionSections;
35 bool DataSections; 36 bool DataSections;
36 bool UseIntegratedAssembler; 37 bool UseIntegratedAssembler;
37 bool UseSandboxing; 38 bool UseSandboxing;
38 bool PhiEdgeSplit; 39 bool PhiEdgeSplit;
39 bool DecorateAsm; 40 bool DecorateAsm;
40 bool DumpStats; 41 bool DumpStats;
41 bool AllowUninitializedGlobals; 42 bool AllowUninitializedGlobals;
42 bool TimeEachFunction; 43 bool TimeEachFunction;
44 bool DisableIRGeneration;
43 IceString DefaultGlobalPrefix; 45 IceString DefaultGlobalPrefix;
44 IceString DefaultFunctionPrefix; 46 IceString DefaultFunctionPrefix;
45 IceString TimingFocusOn; 47 IceString TimingFocusOn;
46 IceString VerboseFocusOn; 48 IceString VerboseFocusOn;
47 IceString TranslateOnly; 49 IceString TranslateOnly;
48 }; 50 };
49 51
50 } // end of namespace Ice 52 } // end of namespace Ice
51 53
52 #endif // SUBZERO_SRC_ICECLFLAGS_H 54 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceGlobalContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698