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

Side by Side Diff: src/IceClFlags.h

Issue 916653004: Subzero: Emit functions and global initializers in a separate thread. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Const change Created 5 years, 10 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 | « src/IceCfgNode.cpp ('k') | src/IceConverter.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.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void setTranslateOnly(const IceString &NewValue) { TranslateOnly = NewValue; } 133 void setTranslateOnly(const IceString &NewValue) { TranslateOnly = NewValue; }
134 134
135 const IceString &getVerboseFocusOn() const { return VerboseFocusOn; } 135 const IceString &getVerboseFocusOn() const { return VerboseFocusOn; }
136 void setVerboseFocusOn(const IceString &NewValue) { 136 void setVerboseFocusOn(const IceString &NewValue) {
137 VerboseFocusOn = NewValue; 137 VerboseFocusOn = NewValue;
138 } 138 }
139 139
140 // size_t accessors. 140 // size_t accessors.
141 141
142 size_t getNumTranslationThreads() const { return NumTranslationThreads; } 142 size_t getNumTranslationThreads() const { return NumTranslationThreads; }
143 bool isSequential() const { return NumTranslationThreads == 0; }
143 void setNumTranslationThreads(size_t NewValue) { 144 void setNumTranslationThreads(size_t NewValue) {
144 NumTranslationThreads = NewValue; 145 NumTranslationThreads = NewValue;
145 } 146 }
146 147
147 private: 148 private:
148 bool AllowErrorRecovery; 149 bool AllowErrorRecovery;
149 bool AllowUninitializedGlobals; 150 bool AllowUninitializedGlobals;
150 bool DataSections; 151 bool DataSections;
151 bool DecorateAsm; 152 bool DecorateAsm;
152 bool DisableInternal; 153 bool DisableInternal;
(...skipping 15 matching lines...) Expand all
168 IceString TimingFocusOn; 169 IceString TimingFocusOn;
169 IceString TranslateOnly; 170 IceString TranslateOnly;
170 IceString VerboseFocusOn; 171 IceString VerboseFocusOn;
171 172
172 size_t NumTranslationThreads; // 0 means completely sequential 173 size_t NumTranslationThreads; // 0 means completely sequential
173 }; 174 };
174 175
175 } // end of namespace Ice 176 } // end of namespace Ice
176 177
177 #endif // SUBZERO_SRC_ICECLFLAGS_H 178 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceConverter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698