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

Side by Side Diff: src/IceClFlags.h

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot Created 5 years 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/IceBuildDefs.h ('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 /// \file 10 /// \file
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; } 63 void setDecorateAsm(bool NewValue) { DecorateAsm = NewValue; }
64 64
65 bool getDisableHybridAssembly() const { return DisableHybridAssembly; } 65 bool getDisableHybridAssembly() const { return DisableHybridAssembly; }
66 void setDisableHybridAssembly(bool NewValue) { 66 void setDisableHybridAssembly(bool NewValue) {
67 DisableHybridAssembly = NewValue; 67 DisableHybridAssembly = NewValue;
68 } 68 }
69 69
70 bool getDisableInternal() const { return DisableInternal; } 70 bool getDisableInternal() const { return DisableInternal; }
71 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; } 71 void setDisableInternal(bool NewValue) { DisableInternal = NewValue; }
72 72
73 bool getDisableIRGeneration() const {
74 return BuildDefs::disableIrGen() && DisableIRGeneration;
75 }
76 void setDisableIRGeneration(bool NewValue) { DisableIRGeneration = NewValue; }
77
78 bool getDisableTranslation() const { return DisableTranslation; } 73 bool getDisableTranslation() const { return DisableTranslation; }
79 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; } 74 void setDisableTranslation(bool NewValue) { DisableTranslation = NewValue; }
80 75
81 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; } 76 bool getDumpStats() const { return BuildDefs::dump() && DumpStats; }
82 void setDumpStats(bool NewValue) { DumpStats = NewValue; } 77 void setDumpStats(bool NewValue) { DumpStats = NewValue; }
83 78
84 bool getEnableBlockProfile() const { return EnableBlockProfile; } 79 bool getEnableBlockProfile() const { return EnableBlockProfile; }
85 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; } 80 void setEnableBlockProfile(bool NewValue) { EnableBlockProfile = NewValue; }
86 81
87 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; } 82 bool getForceMemIntrinOpt() const { return ForceMemIntrinOpt; }
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 248
254 private: 249 private:
255 bool AllowErrorRecovery; 250 bool AllowErrorRecovery;
256 bool AllowExternDefinedSymbols; 251 bool AllowExternDefinedSymbols;
257 bool AllowIacaMarks; 252 bool AllowIacaMarks;
258 bool AllowUninitializedGlobals; 253 bool AllowUninitializedGlobals;
259 bool DataSections; 254 bool DataSections;
260 bool DecorateAsm; 255 bool DecorateAsm;
261 bool DisableHybridAssembly; 256 bool DisableHybridAssembly;
262 bool DisableInternal; 257 bool DisableInternal;
263 bool DisableIRGeneration;
264 bool DisableTranslation; 258 bool DisableTranslation;
265 bool DumpStats; 259 bool DumpStats;
266 bool EnableBlockProfile; 260 bool EnableBlockProfile;
267 bool ForceMemIntrinOpt; 261 bool ForceMemIntrinOpt;
268 bool FunctionSections; 262 bool FunctionSections;
269 bool GenerateUnitTestMessages; 263 bool GenerateUnitTestMessages;
270 bool MockBoundsCheck; 264 bool MockBoundsCheck;
271 bool PhiEdgeSplit; 265 bool PhiEdgeSplit;
272 bool RandomNopInsertion; 266 bool RandomNopInsertion;
273 bool RandomRegAlloc; 267 bool RandomRegAlloc;
(...skipping 26 matching lines...) Expand all
300 IceString TranslateOnly; 294 IceString TranslateOnly;
301 IceString VerboseFocusOn; 295 IceString VerboseFocusOn;
302 296
303 size_t NumTranslationThreads; // 0 means completely sequential 297 size_t NumTranslationThreads; // 0 means completely sequential
304 uint64_t RandomSeed; 298 uint64_t RandomSeed;
305 }; 299 };
306 300
307 } // end of namespace Ice 301 } // end of namespace Ice
308 302
309 #endif // SUBZERO_SRC_ICECLFLAGS_H 303 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceBuildDefs.h ('k') | src/IceClFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698