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

Side by Side Diff: src/IceClFlags.cpp

Issue 1253833002: Subzero: Cleanly implement register allocation after phi lowering. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Improve translation-time performance Created 5 years, 4 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/IceDefs.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.cpp - Command line flags and parsing --------===// 1 //===- subzero/src/IceClFlags.cpp - Command line flags and parsing --------===//
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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 OutFlags.setDefaultFunctionPrefix(::DefaultFunctionPrefix); 394 OutFlags.setDefaultFunctionPrefix(::DefaultFunctionPrefix);
395 OutFlags.setDefaultGlobalPrefix(::DefaultGlobalPrefix); 395 OutFlags.setDefaultGlobalPrefix(::DefaultGlobalPrefix);
396 OutFlags.setDisableInternal(::DisableInternal); 396 OutFlags.setDisableInternal(::DisableInternal);
397 OutFlags.setDisableIRGeneration(::DisableIRGeneration); 397 OutFlags.setDisableIRGeneration(::DisableIRGeneration);
398 OutFlags.setDisableTranslation(::DisableTranslation); 398 OutFlags.setDisableTranslation(::DisableTranslation);
399 OutFlags.setDumpStats(::DumpStats); 399 OutFlags.setDumpStats(::DumpStats);
400 OutFlags.setEnableBlockProfile(::EnableBlockProfile); 400 OutFlags.setEnableBlockProfile(::EnableBlockProfile);
401 OutFlags.setFunctionSections(::FunctionSections); 401 OutFlags.setFunctionSections(::FunctionSections);
402 OutFlags.setNumTranslationThreads(::NumThreads); 402 OutFlags.setNumTranslationThreads(::NumThreads);
403 OutFlags.setOptLevel(::OLevel); 403 OutFlags.setOptLevel(::OLevel);
404 if (::TargetArch == Target_ARM32) { 404 OutFlags.setPhiEdgeSplit(::EnablePhiEdgeSplit);
405 // TODO(jvoung): We need lowerPhiAssignments to handle spilling
406 // more than one register, since some ARM lowerAssign sequences
407 // may require more than one register. For now, disable PhiEdgeSplit
408 // to avoid requiring lowerPhiAssignments.
409 OutFlags.setPhiEdgeSplit(false);
410 } else {
411 OutFlags.setPhiEdgeSplit(::EnablePhiEdgeSplit);
412 }
413 OutFlags.setRandomSeed(::RandomSeed); 405 OutFlags.setRandomSeed(::RandomSeed);
414 OutFlags.setShouldDoNopInsertion(::ShouldDoNopInsertion); 406 OutFlags.setShouldDoNopInsertion(::ShouldDoNopInsertion);
415 OutFlags.setShouldRandomizeRegAlloc(::RandomizeRegisterAllocation); 407 OutFlags.setShouldRandomizeRegAlloc(::RandomizeRegisterAllocation);
416 OutFlags.setSkipUnimplemented(::SkipUnimplemented); 408 OutFlags.setSkipUnimplemented(::SkipUnimplemented);
417 OutFlags.setSubzeroTimingEnabled(::SubzeroTimingEnabled); 409 OutFlags.setSubzeroTimingEnabled(::SubzeroTimingEnabled);
418 OutFlags.setTargetArch(::TargetArch); 410 OutFlags.setTargetArch(::TargetArch);
419 OutFlags.setTargetInstructionSet(::TargetInstructionSet); 411 OutFlags.setTargetInstructionSet(::TargetInstructionSet);
420 OutFlags.setTestPrefix(::TestPrefix); 412 OutFlags.setTestPrefix(::TestPrefix);
421 OutFlags.setTimeEachFunction(::TimeEachFunction); 413 OutFlags.setTimeEachFunction(::TimeEachFunction);
422 OutFlags.setTimingFocusOn(::TimingFocusOn); 414 OutFlags.setTimingFocusOn(::TimingFocusOn);
(...skipping 30 matching lines...) Expand all
453 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); 445 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts);
454 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); 446 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors);
455 OutFlagsExtra.setAppName(AppName); 447 OutFlagsExtra.setAppName(AppName);
456 OutFlagsExtra.setInputFileFormat(InputFileFormat); 448 OutFlagsExtra.setInputFileFormat(InputFileFormat);
457 OutFlagsExtra.setIRFilename(IRFilename); 449 OutFlagsExtra.setIRFilename(IRFilename);
458 OutFlagsExtra.setLogFilename(LogFilename); 450 OutFlagsExtra.setLogFilename(LogFilename);
459 OutFlagsExtra.setOutputFilename(OutputFilename); 451 OutFlagsExtra.setOutputFilename(OutputFilename);
460 } 452 }
461 453
462 } // end of namespace Ice 454 } // end of namespace Ice
OLDNEW
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698