OLD | NEW |
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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 444 |
445 OutFlags.setAllowErrorRecovery(::AllowErrorRecovery); | 445 OutFlags.setAllowErrorRecovery(::AllowErrorRecovery); |
446 OutFlags.setAllowExternDefinedSymbols(::AllowExternDefinedSymbols || | 446 OutFlags.setAllowExternDefinedSymbols(::AllowExternDefinedSymbols || |
447 ::DisableInternal); | 447 ::DisableInternal); |
448 OutFlags.setAllowIacaMarks(::AllowIacaMarks); | 448 OutFlags.setAllowIacaMarks(::AllowIacaMarks); |
449 OutFlags.setAllowUninitializedGlobals(::AllowUninitializedGlobals); | 449 OutFlags.setAllowUninitializedGlobals(::AllowUninitializedGlobals); |
450 OutFlags.setDataSections(::DataSections); | 450 OutFlags.setDataSections(::DataSections); |
451 OutFlags.setDecorateAsm(::DecorateAsm); | 451 OutFlags.setDecorateAsm(::DecorateAsm); |
452 OutFlags.setDefaultFunctionPrefix(::DefaultFunctionPrefix); | 452 OutFlags.setDefaultFunctionPrefix(::DefaultFunctionPrefix); |
453 OutFlags.setDefaultGlobalPrefix(::DefaultGlobalPrefix); | 453 OutFlags.setDefaultGlobalPrefix(::DefaultGlobalPrefix); |
454 OutFlags.setDisableHybridAssembly(::DisableHybridAssembly); | 454 OutFlags.setDisableHybridAssembly(::DisableHybridAssembly || |
| 455 (::OutFileType != Ice::FT_Iasm)); |
455 OutFlags.setDisableInternal(::DisableInternal); | 456 OutFlags.setDisableInternal(::DisableInternal); |
456 OutFlags.setDisableIRGeneration(::DisableIRGeneration); | 457 OutFlags.setDisableIRGeneration(::DisableIRGeneration); |
457 OutFlags.setDisableTranslation(::DisableTranslation); | 458 OutFlags.setDisableTranslation(::DisableTranslation); |
458 OutFlags.setDumpStats(::DumpStats); | 459 OutFlags.setDumpStats(::DumpStats); |
459 OutFlags.setEnableBlockProfile(::EnableBlockProfile); | 460 OutFlags.setEnableBlockProfile(::EnableBlockProfile); |
460 OutFlags.setForceMemIntrinOpt(::ForceMemIntrinOpt); | 461 OutFlags.setForceMemIntrinOpt(::ForceMemIntrinOpt); |
461 OutFlags.setFunctionSections(::FunctionSections); | 462 OutFlags.setFunctionSections(::FunctionSections); |
462 OutFlags.setNumTranslationThreads(::NumThreads); | 463 OutFlags.setNumTranslationThreads(::NumThreads); |
463 OutFlags.setOptLevel(::OLevel); | 464 OutFlags.setOptLevel(::OLevel); |
464 OutFlags.setMockBoundsCheck(::MockBoundsCheck); | 465 OutFlags.setMockBoundsCheck(::MockBoundsCheck); |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); | 501 OutFlagsExtra.setGenerateBuildAtts(GenerateBuildAtts); |
501 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); | 502 OutFlagsExtra.setLLVMVerboseErrors(LLVMVerboseErrors); |
502 OutFlagsExtra.setAppName(AppName); | 503 OutFlagsExtra.setAppName(AppName); |
503 OutFlagsExtra.setInputFileFormat(InputFileFormat); | 504 OutFlagsExtra.setInputFileFormat(InputFileFormat); |
504 OutFlagsExtra.setIRFilename(IRFilename); | 505 OutFlagsExtra.setIRFilename(IRFilename); |
505 OutFlagsExtra.setLogFilename(LogFilename); | 506 OutFlagsExtra.setLogFilename(LogFilename); |
506 OutFlagsExtra.setOutputFilename(OutputFilename); | 507 OutFlagsExtra.setOutputFilename(OutputFilename); |
507 } | 508 } |
508 | 509 |
509 } // end of namespace Ice | 510 } // end of namespace Ice |
OLD | NEW |