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

Side by Side Diff: src/IceClFlags.h

Issue 1147023007: Subzero: Basic Block Profiler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Named constants; fflush; clang-format. Created 5 years, 6 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/IceClFlags.cpp » ('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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 return ALLOW_DISABLE_IR_GEN && DisableIRGeneration; 58 return ALLOW_DISABLE_IR_GEN && DisableIRGeneration;
59 } 59 }
60 void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; } 60 void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; }
61 61
62 bool getDisableTranslation() const { return DisableTranslation; } 62 bool getDisableTranslation() const { return DisableTranslation; }
63 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } 63 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; }
64 64
65 bool getDumpStats() const { return ALLOW_DUMP && DumpStats; } 65 bool getDumpStats() const { return ALLOW_DUMP && DumpStats; }
66 void setDumpStats(bool NewValue) { DumpStats = NewValue; } 66 void setDumpStats(bool NewValue) { DumpStats = NewValue; }
67 67
68 bool getEnableBlockProfile() const { return EnableBlockProfile; }
69 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; }
70
68 bool getFunctionSections() const { return FunctionSections; } 71 bool getFunctionSections() const { return FunctionSections; }
69 void setFunctionSections(bool NewValue) { FunctionSections = NewValue; } 72 void setFunctionSections(bool NewValue) { FunctionSections = NewValue; }
70 73
71 bool getGenerateUnitTestMessages() const { 74 bool getGenerateUnitTestMessages() const {
72 // Note: If dump routines have been turned off, the error messages 75 // Note: If dump routines have been turned off, the error messages
73 // will not be readable. Hence, turn off. 76 // will not be readable. Hence, turn off.
74 return !ALLOW_DUMP || GenerateUnitTestMessages; 77 return !ALLOW_DUMP || GenerateUnitTestMessages;
75 } 78 }
76 void setGenerateUnitTestMessages(bool NewValue) { 79 void setGenerateUnitTestMessages(bool NewValue) {
77 GenerateUnitTestMessages = NewValue; 80 GenerateUnitTestMessages = NewValue;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 178
176 private: 179 private:
177 bool AllowErrorRecovery; 180 bool AllowErrorRecovery;
178 bool AllowUninitializedGlobals; 181 bool AllowUninitializedGlobals;
179 bool DataSections; 182 bool DataSections;
180 bool DecorateAsm; 183 bool DecorateAsm;
181 bool DisableInternal; 184 bool DisableInternal;
182 bool DisableIRGeneration; 185 bool DisableIRGeneration;
183 bool DisableTranslation; 186 bool DisableTranslation;
184 bool DumpStats; 187 bool DumpStats;
188 bool EnableBlockProfile;
185 bool FunctionSections; 189 bool FunctionSections;
186 bool GenerateUnitTestMessages; 190 bool GenerateUnitTestMessages;
187 bool PhiEdgeSplit; 191 bool PhiEdgeSplit;
188 bool RandomNopInsertion; 192 bool RandomNopInsertion;
189 bool RandomRegAlloc; 193 bool RandomRegAlloc;
190 bool SkipUnimplemented; 194 bool SkipUnimplemented;
191 bool SubzeroTimingEnabled; 195 bool SubzeroTimingEnabled;
192 bool TimeEachFunction; 196 bool TimeEachFunction;
193 bool UseSandboxing; 197 bool UseSandboxing;
194 198
(...skipping 12 matching lines...) Expand all
207 IceString TranslateOnly; 211 IceString TranslateOnly;
208 IceString VerboseFocusOn; 212 IceString VerboseFocusOn;
209 213
210 size_t NumTranslationThreads; // 0 means completely sequential 214 size_t NumTranslationThreads; // 0 means completely sequential
211 uint64_t RandomSeed; 215 uint64_t RandomSeed;
212 }; 216 };
213 217
214 } // end of namespace Ice 218 } // end of namespace Ice
215 219
216 #endif // SUBZERO_SRC_ICECLFLAGS_H 220 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceClFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698