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

Side by Side Diff: src/IceClFlags.h

Issue 610813002: Subzero: Rewrite the pass timing infrastructure. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 2 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
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 // TODO(stichnot) Move more command line flags into ClFlags. 21 // TODO(stichnot) Move more command line flags into ClFlags.
22 class ClFlags { 22 class ClFlags {
23 public: 23 public:
24 ClFlags() 24 ClFlags()
25 : DisableInternal(false), SubzeroTimingEnabled(false), 25 : DisableInternal(false), DisableTranslation(false),
26 DisableTranslation(false), DisableGlobals(false), 26 DisableGlobals(false), FunctionSections(false),
27 FunctionSections(false), UseIntegratedAssembler(false), 27 UseIntegratedAssembler(false), UseSandboxing(false), DumpStats(false),
28 UseSandboxing(false), DumpStats(false), DefaultGlobalPrefix(""), 28 DefaultGlobalPrefix(""), DefaultFunctionPrefix("") {}
29 DefaultFunctionPrefix("") {}
30 bool DisableInternal; 29 bool DisableInternal;
31 bool SubzeroTimingEnabled;
32 bool DisableTranslation; 30 bool DisableTranslation;
33 bool DisableGlobals; 31 bool DisableGlobals;
34 bool FunctionSections; 32 bool FunctionSections;
35 bool UseIntegratedAssembler; 33 bool UseIntegratedAssembler;
36 bool UseSandboxing; 34 bool UseSandboxing;
37 bool DumpStats; 35 bool DumpStats;
38 IceString DefaultGlobalPrefix; 36 IceString DefaultGlobalPrefix;
39 IceString DefaultFunctionPrefix; 37 IceString DefaultFunctionPrefix;
40 }; 38 };
41 39
42 } // end of namespace Ice 40 } // end of namespace Ice
43 41
44 #endif // SUBZERO_SRC_ICECLFLAGS_H 42 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« Makefile.standalone ('K') | « src/IceCfg.cpp ('k') | src/IceConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698