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

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: 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
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; 258 bool DisableIRGeneration;
Jim Stichnoth 2015/12/12 04:11:02 remove this
rkotlerimgtec 2015/12/12 05:33:03 Done.
264 bool DisableTranslation; 259 bool DisableTranslation;
265 bool DumpStats; 260 bool DumpStats;
266 bool EnableBlockProfile; 261 bool EnableBlockProfile;
267 bool ForceMemIntrinOpt; 262 bool ForceMemIntrinOpt;
268 bool FunctionSections; 263 bool FunctionSections;
269 bool GenerateUnitTestMessages; 264 bool GenerateUnitTestMessages;
270 bool MockBoundsCheck; 265 bool MockBoundsCheck;
271 bool PhiEdgeSplit; 266 bool PhiEdgeSplit;
272 bool RandomNopInsertion; 267 bool RandomNopInsertion;
273 bool RandomRegAlloc; 268 bool RandomRegAlloc;
(...skipping 26 matching lines...) Expand all
300 IceString TranslateOnly; 295 IceString TranslateOnly;
301 IceString VerboseFocusOn; 296 IceString VerboseFocusOn;
302 297
303 size_t NumTranslationThreads; // 0 means completely sequential 298 size_t NumTranslationThreads; // 0 means completely sequential
304 uint64_t RandomSeed; 299 uint64_t RandomSeed;
305 }; 300 };
306 301
307 } // end of namespace Ice 302 } // end of namespace Ice
308 303
309 #endif // SUBZERO_SRC_ICECLFLAGS_H 304 #endif // SUBZERO_SRC_ICECLFLAGS_H
OLDNEW
« no previous file with comments | « src/IceBuildDefs.h ('k') | src/IceClFlags.cpp » ('j') | src/IceClFlags.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698