Lines Matching refs:Options
356 llvm::TargetOptions &Options) {
363 Options.ThreadModel = llvm::ThreadModel::POSIX;
366 Options.ThreadModel = llvm::ThreadModel::Single;
374 Options.FloatABIType =
386 Options.AllowFPOpFusion = llvm::FPOpFusion::Standard;
390 Options.AllowFPOpFusion = llvm::FPOpFusion::Standard;
393 Options.AllowFPOpFusion = llvm::FPOpFusion::Fast;
397 Options.BinutilsVersion =
399 Options.UseInitArray = CodeGenOpts.UseInitArray;
400 Options.DisableIntegratedAS = CodeGenOpts.DisableIntegratedAS;
403 Options.EABIVersion = TargetOpts.EABIVersion;
406 Options.ExceptionModel = llvm::ExceptionHandling::SjLj;
408 Options.ExceptionModel = llvm::ExceptionHandling::WinEH;
410 Options.ExceptionModel = llvm::ExceptionHandling::DwarfCFI;
412 Options.ExceptionModel = llvm::ExceptionHandling::Wasm;
414 Options.NoInfsFPMath = LangOpts.NoHonorInfs;
415 Options.NoNaNsFPMath = LangOpts.NoHonorNaNs;
416 Options.NoZerosInBSS = CodeGenOpts.NoZeroInitializedInBSS;
417 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip &&
423 Options.ApproxFuncFPMath = LangOpts.ApproxFunc;
425 Options.BBAddrMap = CodeGenOpts.BBAddrMap;
426 Options.BBSections =
433 if (Options.BBSections == llvm::BasicBlockSection::List) {
441 Options.BBSectionsFuncListBuf = std::move(*MBOrErr);
444 Options.EnableMachineFunctionSplitter = CodeGenOpts.SplitMachineFunctions;
445 Options.FunctionSections = CodeGenOpts.FunctionSections;
446 Options.DataSections = CodeGenOpts.DataSections;
447 Options.IgnoreXCOFFVisibility = LangOpts.IgnoreXCOFFVisibility;
448 Options.UniqueSectionNames = CodeGenOpts.UniqueSectionNames;
449 Options.UniqueBasicBlockSectionNames =
451 Options.SeparateNamedSections = CodeGenOpts.SeparateNamedSections;
452 Options.TLSSize = CodeGenOpts.TLSSize;
453 Options.EnableTLSDESC = CodeGenOpts.EnableTLSDESC;
454 Options.EmulatedTLS = CodeGenOpts.EmulatedTLS;
455 Options.DebuggerTuning = CodeGenOpts.getDebuggerTuning();
456 Options.EmitStackSizeSection = CodeGenOpts.StackSizeSection;
457 Options.StackUsageOutput = CodeGenOpts.StackUsageOutput;
458 Options.EmitAddrsig = CodeGenOpts.Addrsig;
459 Options.ForceDwarfFrameSection = CodeGenOpts.ForceDwarfFrameSection;
460 Options.EmitCallSiteInfo = CodeGenOpts.EmitCallSiteInfo;
461 Options.EnableAIXExtendedAltivecABI = LangOpts.EnableAIXExtendedAltivecABI;
462 Options.XRayFunctionIndex = CodeGenOpts.XRayFunctionIndex;
463 Options.LoopAlignment = CodeGenOpts.LoopAlignment;
464 Options.DebugStrictDwarf = CodeGenOpts.DebugStrictDwarf;
465 Options.ObjectFilenameForDebug = CodeGenOpts.ObjectFilenameForDebug;
466 Options.Hotpatch = CodeGenOpts.HotPatch;
467 Options.JMCInstrument = CodeGenOpts.JMCInstrument;
468 Options.XCOFFReadOnlyPointers = CodeGenOpts.XCOFFReadOnlyPointers;
472 Options.SwiftAsyncFramePointer =
477 Options.SwiftAsyncFramePointer = SwiftAsyncFramePointerMode::Always;
481 Options.SwiftAsyncFramePointer = SwiftAsyncFramePointerMode::Never;
485 Options.MCOptions.SplitDwarfFile = CodeGenOpts.SplitDwarfFile;
486 Options.MCOptions.EmitDwarfUnwind = CodeGenOpts.getEmitDwarfUnwind();
487 Options.MCOptions.EmitCompactUnwindNonCanonical =
489 Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll;
490 Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels;
491 Options.MCOptions.MCUseDwarfDirectory =
495 Options.MCOptions.MCNoExecStack = CodeGenOpts.NoExecStack;
496 Options.MCOptions.MCIncrementalLinkerCompatible =
498 Options.MCOptions.MCFatalWarnings = CodeGenOpts.FatalWarnings;
499 Options.MCOptions.MCNoWarn = CodeGenOpts.NoWarn;
500 Options.MCOptions.AsmVerbose = CodeGenOpts.AsmVerbose;
501 Options.MCOptions.Dwarf64 = CodeGenOpts.Dwarf64;
502 Options.MCOptions.PreserveAsmComments = CodeGenOpts.PreserveAsmComments;
503 Options.MCOptions.Crel = CodeGenOpts.Crel;
504 Options.MCOptions.ImplicitMapSyms = CodeGenOpts.ImplicitMapSyms;
505 Options.MCOptions.X86RelaxRelocations = CodeGenOpts.X86RelaxRelocations;
506 Options.MCOptions.CompressDebugSections =
509 Options.MCOptions.OutputAsmVariant = CodeGenOpts.OutputAsmVariant;
510 Options.MCOptions.ABIName = TargetOpts.ABI;
516 Options.MCOptions.IASSearchPaths.push_back(
518 Options.MCOptions.Argv0 = CodeGenOpts.Argv0 ? CodeGenOpts.Argv0 : "";
519 Options.MCOptions.CommandlineArgs = flattenClangCommandLine(
521 Options.MCOptions.AsSecureLogFile = CodeGenOpts.AsSecureLogFile;
522 Options.MCOptions.PPCUseFullRegisterNames =
524 Options.MisExpect = CodeGenOpts.MisExpect;
536 GCOVOptions Options;
537 Options.EmitNotes = !CodeGenOpts.CoverageNotesFile.empty();
538 Options.EmitData = !CodeGenOpts.CoverageDataFile.empty();
539 llvm::copy(CodeGenOpts.CoverageVersion, std::begin(Options.Version));
540 Options.NoRedZone = CodeGenOpts.DisableRedZone;
541 Options.Filter = CodeGenOpts.ProfileFilterFiles;
542 Options.Exclude = CodeGenOpts.ProfileExcludeFiles;
543 Options.Atomic = CodeGenOpts.AtomicProfileUpdate;
544 return Options;
552 InstrProfOptions Options;
553 Options.NoRedZone = CodeGenOpts.DisableRedZone;
554 Options.InstrProfileOutput = CodeGenOpts.InstrProfileOutput;
555 Options.Atomic = CodeGenOpts.AtomicProfileUpdate;
556 return Options;
603 llvm::TargetOptions Options;
604 if (!initTargetOptions(CI, Diags, Options))
607 Options, RM, CM, OptLevel));
803 LowerAllowCheckPass::Options Opts;
1031 BoundsCheckingPass::Options Options;
1036 decltype(Options.GuardKind)::value_type>::max(),
1039 Options.GuardKind = SanitizerKind::SO_LocalBounds;
1041 Options.Merge =
1044 Options.Rt = {
1051 FPM.addPass(BoundsCheckingPass(Options));
1061 if (std::optional<GCOVOptions> Options =
1064 [Options](ModulePassManager &MPM, OptimizationLevel Level) {
1065 MPM.addPass(GCOVProfilerPass(*Options));
1067 if (std::optional<InstrProfOptions> Options =
1070 [Options](ModulePassManager &MPM, OptimizationLevel Level) {
1071 MPM.addPass(InstrProfilingLoweringPass(*Options, false));
1305 initTargetOptions(CI, Diags, Conf.Options);