Lines Matching defs:Options
429 llvm::TargetOptions &Options,
434 Options.ThreadModel =
443 Options.FloatABIType =
455 Options.AllowFPOpFusion = llvm::FPOpFusion::Standard;
458 Options.AllowFPOpFusion = llvm::FPOpFusion::Standard;
461 Options.AllowFPOpFusion = llvm::FPOpFusion::Fast;
465 Options.UseInitArray = CodeGenOpts.UseInitArray;
466 Options.DisableIntegratedAS = CodeGenOpts.DisableIntegratedAS;
467 Options.CompressDebugSections = CodeGenOpts.getCompressDebugSections();
468 Options.RelaxELFRelocations = CodeGenOpts.RelaxELFRelocations;
471 Options.EABIVersion = TargetOpts.EABIVersion;
474 Options.ExceptionModel = llvm::ExceptionHandling::SjLj;
476 Options.ExceptionModel = llvm::ExceptionHandling::WinEH;
478 Options.ExceptionModel = llvm::ExceptionHandling::DwarfCFI;
480 Options.ExceptionModel = llvm::ExceptionHandling::Wasm;
482 Options.NoInfsFPMath = LangOpts.NoHonorInfs;
483 Options.NoNaNsFPMath = LangOpts.NoHonorNaNs;
484 Options.NoZerosInBSS = CodeGenOpts.NoZeroInitializedInBSS;
485 Options.UnsafeFPMath = LangOpts.UnsafeFPMath;
486 Options.StackAlignmentOverride = CodeGenOpts.StackAlignment;
488 Options.BBSections =
496 if (Options.BBSections == llvm::BasicBlockSection::List) {
503 Options.BBSectionsFuncListBuf = std::move(*MBOrErr);
506 Options.FunctionSections = CodeGenOpts.FunctionSections;
507 Options.DataSections = CodeGenOpts.DataSections;
508 Options.UniqueSectionNames = CodeGenOpts.UniqueSectionNames;
509 Options.UniqueBasicBlockSectionNames =
511 Options.TLSSize = CodeGenOpts.TLSSize;
512 Options.EmulatedTLS = CodeGenOpts.EmulatedTLS;
513 Options.ExplicitEmulatedTLS = CodeGenOpts.ExplicitEmulatedTLS;
514 Options.DebuggerTuning = CodeGenOpts.getDebuggerTuning();
515 Options.EmitStackSizeSection = CodeGenOpts.StackSizeSection;
516 Options.EmitAddrsig = CodeGenOpts.Addrsig;
517 Options.ForceDwarfFrameSection = CodeGenOpts.ForceDwarfFrameSection;
518 Options.EmitCallSiteInfo = CodeGenOpts.EmitCallSiteInfo;
519 Options.XRayOmitFunctionIndex = CodeGenOpts.XRayOmitFunctionIndex;
521 Options.MCOptions.SplitDwarfFile = CodeGenOpts.SplitDwarfFile;
522 Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll;
523 Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels;
524 Options.MCOptions.MCUseDwarfDirectory = !CodeGenOpts.NoDwarfDirectoryAsm;
525 Options.MCOptions.MCNoExecStack = CodeGenOpts.NoExecStack;
526 Options.MCOptions.MCIncrementalLinkerCompatible =
528 Options.MCOptions.MCFatalWarnings = CodeGenOpts.FatalWarnings;
529 Options.MCOptions.MCNoWarn = CodeGenOpts.NoWarn;
530 Options.MCOptions.AsmVerbose = CodeGenOpts.AsmVerbose;
531 Options.MCOptions.PreserveAsmComments = CodeGenOpts.PreserveAsmComments;
532 Options.MCOptions.ABIName = TargetOpts.ABI;
538 Options.MCOptions.IASSearchPaths.push_back(
540 Options.MCOptions.Argv0 = CodeGenOpts.Argv0;
541 Options.MCOptions.CommandLineArgs = CodeGenOpts.CommandLineArgs;
550 GCOVOptions Options;
551 Options.EmitNotes = CodeGenOpts.EmitGcovNotes;
552 Options.EmitData = CodeGenOpts.EmitGcovArcs;
553 llvm::copy(CodeGenOpts.CoverageVersion, std::begin(Options.Version));
554 Options.NoRedZone = CodeGenOpts.DisableRedZone;
555 Options.Filter = CodeGenOpts.ProfileFilterFiles;
556 Options.Exclude = CodeGenOpts.ProfileExcludeFiles;
557 return Options;
565 InstrProfOptions Options;
566 Options.NoRedZone = CodeGenOpts.DisableRedZone;
567 Options.InstrProfileOutput = CodeGenOpts.InstrProfileOutput;
571 Options.Atomic = LangOpts.Sanitize.has(SanitizerKind::Thread);
572 return Options;
746 if (Optional<GCOVOptions> Options = getGCOVOptions(CodeGenOpts)) {
747 MPM.add(createGCOVProfilerPass(*Options));
752 if (Optional<InstrProfOptions> Options =
754 MPM.add(createInstrProfilingLegacyPass(*Options, false));
822 llvm::TargetOptions Options;
823 initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts, HSOpts);
825 Options, RM, CM, OptLevel));
1212 if (Optional<GCOVOptions> Options = getGCOVOptions(CodeGenOpts))
1213 MPM.addPass(GCOVProfilerPass(*Options));
1214 if (Optional<InstrProfOptions> Options =
1216 MPM.addPass(InstrProfiling(*Options, false));
1332 if (Optional<GCOVOptions> Options = getGCOVOptions(CodeGenOpts))
1333 PB.registerPipelineStartEPCallback([Options](ModulePassManager &MPM) {
1334 MPM.addPass(GCOVProfilerPass(*Options));
1336 if (Optional<InstrProfOptions> Options =
1338 PB.registerPipelineStartEPCallback([Options](ModulePassManager &MPM) {
1339 MPM.addPass(InstrProfiling(*Options, false));
1562 initTargetOptions(Diags, Conf.Options, CGOpts, TOpts, LOpts, HeaderOpts);