reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/Target/AMDGPU/AMDGPUGenDAGISel.inc
78594   case 25: return (TM.Options.UnsafeFPMath);
79457  (void) N; return TM.Options.NoNaNsFPMath; 
79463  (void)N; return TM.Options.NoNaNsFPMath; 
gen/lib/Target/AMDGPU/AMDGPUGenGlobalISel.inc
  167   if (TM.Options.UnsafeFPMath)
gen/lib/Target/ARM/ARMGenDAGISel.inc
53959   case 98: return (Subtarget->hasFP64()) && (Subtarget->hasVFP2Base()) && (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize()));
53960   case 99: return (Subtarget->hasFP64()) && (Subtarget->hasVFP4Base()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx());
53961   case 100: return (!Subtarget->useNEONForSinglePrecisionFP()) && (Subtarget->hasVFP2Base()) && (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize()));
53962   case 101: return (!Subtarget->useNEONForSinglePrecisionFP()) && (Subtarget->hasVFP4Base()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx());
53963   case 102: return (Subtarget->hasFullFP16()) && (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize()));
53964   case 103: return (Subtarget->hasFullFP16()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx());
53965   case 104: return (!Subtarget->useNEONForSinglePrecisionFP()) && (Subtarget->hasFullFP16()) && (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize()));
53966   case 105: return (!Subtarget->useNEONForSinglePrecisionFP()) && (Subtarget->hasFullFP16()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx());
53967   case 106: return (Subtarget->hasNEON()) && (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize())) && (Subtarget->useNEONForSinglePrecisionFP());
53968   case 107: return (Subtarget->hasVFP4Base()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx()) && (Subtarget->useNEONForSinglePrecisionFP());
53969   case 108: return (Subtarget->hasNEON()) && (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize()));
53970   case 109: return (Subtarget->hasFullFP16()) && (Subtarget->hasNEON()) && (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize()));
53971   case 110: return (Subtarget->hasNEON()) && (Subtarget->hasVFP4Base()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx());
53972   case 111: return (Subtarget->hasFullFP16()) && (Subtarget->hasNEON()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx());
53973   case 112: return (Subtarget->hasMVEFloatOps()) && ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx());
53977   case 116: return (Subtarget->hasFP64()) && (!TM.Options.HonorSignDependentRoundingFPMath());
53978   case 117: return (!TM.Options.HonorSignDependentRoundingFPMath());
gen/lib/Target/ARM/ARMGenGlobalISel.inc
  111   if (!TM.Options.HonorSignDependentRoundingFPMath())
  223   if ((TM.Options.AllowFPOpFusion == FPOpFusion::Fast &&  Subtarget->hasVFP4Base()) && !Subtarget->isTargetDarwin() &&Subtarget->useFPVMLx())
  251   if (((Subtarget->useFPVMLx() &&  TM.Options.AllowFPOpFusion != FPOpFusion::Fast) ||Subtarget->hasMinSize()))
gen/lib/Target/Mips/MipsGenDAGISel.inc
29937   case 112: return (!Subtarget->disableMadd4()) && (Subtarget->hasMips4_32r2()) && (Subtarget->hasStandardEncoding()) && (!Subtarget->useSoftFloat()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->inMicroMipsMode()) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips64r6());
29938   case 113: return (!Subtarget->disableMadd4()) && (Subtarget->hasMips4_32r2()) && (Subtarget->hasStandardEncoding()) && (!Subtarget->useSoftFloat()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->isFP64bit()) && (!Subtarget->inMicroMipsMode()) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips64r6());
29939   case 114: return (!Subtarget->disableMadd4()) && (Subtarget->hasMips4_32r2()) && (Subtarget->hasStandardEncoding()) && (Subtarget->isFP64bit()) && (!Subtarget->useSoftFloat()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->inMicroMipsMode()) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips64r6());
29946   case 121: return (TM.Options.AllowFPOpFusion == FPOpFusion::Fast) && (Subtarget->hasMSA()) && (Subtarget->hasStandardEncoding());
29947   case 122: return (!Subtarget->disableMadd4()) && (Subtarget->hasMips4_32r2()) && (Subtarget->hasStandardEncoding()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->inMicroMipsMode()) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips64r6());
29948   case 123: return (!Subtarget->disableMadd4()) && (Subtarget->inMicroMipsMode()) && (Subtarget->inMicroMipsMode()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips32r6());
29949   case 124: return (!Subtarget->disableMadd4()) && (Subtarget->hasMips4_32r2()) && (Subtarget->hasStandardEncoding()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->isFP64bit()) && (!Subtarget->inMicroMipsMode()) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips64r6());
29950   case 125: return (!Subtarget->disableMadd4()) && (Subtarget->hasMips4_32r2()) && (Subtarget->hasStandardEncoding()) && (Subtarget->isFP64bit()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->inMicroMipsMode()) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips64r6());
29951   case 126: return (!Subtarget->disableMadd4()) && (Subtarget->inMicroMipsMode()) && (Subtarget->inMicroMipsMode()) && (TM.Options.NoNaNsFPMath) && (!Subtarget->isFP64bit()) && (!Subtarget->hasMips32r6()) && (!Subtarget->hasMips32r6());
29954   case 129: return (Subtarget->hasStandardEncoding()) && (!Subtarget->useSoftFloat()) && (!Subtarget->inMicroMipsMode()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath);
29955   case 130: return (Subtarget->inMicroMipsMode()) && (!Subtarget->useSoftFloat()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath);
29956   case 131: return (Subtarget->hasStandardEncoding()) && (!Subtarget->useSoftFloat()) && (!Subtarget->isFP64bit()) && (!Subtarget->inMicroMipsMode()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath);
29957   case 132: return (Subtarget->hasStandardEncoding()) && (Subtarget->isFP64bit()) && (!Subtarget->useSoftFloat()) && (!Subtarget->inMicroMipsMode()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath);
gen/lib/Target/Mips/MipsGenFastISel.inc
  318   if ((Subtarget->inMicroMipsMode()) && (!Subtarget->useSoftFloat()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath)) {
  321   if ((Subtarget->hasStandardEncoding()) && (!Subtarget->useSoftFloat()) && (!Subtarget->inMicroMipsMode()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath)) {
  336   if ((Subtarget->hasStandardEncoding()) && (Subtarget->isFP64bit()) && (!Subtarget->useSoftFloat()) && (!Subtarget->inMicroMipsMode()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath)) {
  339   if ((Subtarget->hasStandardEncoding()) && (!Subtarget->useSoftFloat()) && (!Subtarget->isFP64bit()) && (!Subtarget->inMicroMipsMode()) && (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath)) {
gen/lib/Target/Mips/MipsGenGlobalISel.inc
  133   if (TM.Options.NoNaNsFPMath)
  135   if (Subtarget->inAbs2008Mode() ||TM.Options.NoNaNsFPMath)
  161   if (TM.Options.AllowFPOpFusion == FPOpFusion::Fast)
gen/lib/Target/PowerPC/PPCGenDAGISel.inc
44077   case 47: return (PPCSubTarget->hasQPX()) && (TM.Options.NoNaNsFPMath);
44078   case 48: return (PPCSubTarget->hasQPX()) && (!TM.Options.NoNaNsFPMath);
include/llvm/CodeGen/MachineFunction.h
  410     if (!Target.Options.EnableDebugEntryValues)
include/llvm/Target/TargetMachine.h
  227   void setFastISel(bool Enable) { Options.EnableFastISel = Enable; }
  230   void setGlobalISel(bool Enable) { Options.EnableGlobalISel = Enable; }
  232     Options.GlobalISelAbort = Mode;
  235     Options.EnableMachineOutliner = Enable;
  238     Options.SupportsDefaultOutlining = Enable;
  241   bool shouldPrintMachineCode() const { return Options.PrintMachineCode; }
  243   bool getUniqueSectionNames() const { return Options.UniqueSectionNames; }
  248     return Options.DataSections;
  254     return Options.FunctionSections;
lib/CodeGen/Analysis.cpp
  527       ((!TM.Options.GuaranteedTailCallOpt &&
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  304                   OutContext.getSubtargetCopy(*STI), TM.Options.MCOptions);
  984   if (!MF.getTarget().Options.EmitStackSizeSection)
 1606   if (TM.Options.EmitAddrsig) {
 1682       MF.getTarget().Options.EmitStackSizeSection) {
lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  561   EmitInlineAsm(OS.str(), getSubtargetInfo(), TM.Options.MCOptions, LocMD,
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  388       !DD->getCurrentFunction()->getTarget().Options.DisableFramePointerElim(
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  352   if (Asm->TM.Options.DebuggerTuning != DebuggerKind::Default)
  353     DebuggerTuning = Asm->TM.Options.DebuggerTuning;
  371   HasSplitDwarf = !Asm->TM.Options.MCOptions.SplitDwarfFile.empty();
  379   unsigned DwarfVersionNumber = Asm->TM.Options.MCOptions.DwarfVersion;
  773       if (Asm->TM.Options.EnableDebugEntryValues &&
 1064     DWOName = Asm->TM.Options.MCOptions.SplitDwarfFile;
 1083                       Asm->TM.Options.MCOptions.SplitDwarfFile);
 1085                       Asm->TM.Options.MCOptions.SplitDwarfFile);
lib/CodeGen/CodeGenPrepare.cpp
 7185   if (!TM || !TM->Options.EnableFastISel || !TLI || TLI->isJumpExpensive())
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1414     if (TM.Options.AllowFPOpFusion != FPOpFusion::Strict &&
lib/CodeGen/LLVMTargetMachine.cpp
   52       *MRI, getTargetTriple().str(), Options.MCOptions);
   61   if (Options.DisableIntegratedAS)
   64   TmpAsmInfo->setPreserveAsmComments(Options.MCOptions.PreserveAsmComments);
   66   TmpAsmInfo->setCompressDebugSections(Options.CompressDebugSections);
   68   TmpAsmInfo->setRelaxELFRelocations(Options.RelaxELFRelocations);
   70   if (Options.ExceptionModel != ExceptionHandling::None)
   71     TmpAsmInfo->setExceptionsType(Options.ExceptionModel);
   88     this->Options.TrapUnreachable = true;
  121   if (Options.MCOptions.MCSaveTempLabels)
  138     if (Options.MCOptions.ShowMCEncoding)
  142         getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions));
  145         Context, std::move(FOut), Options.MCOptions.AsmVerbose,
  146         Options.MCOptions.MCUseDwarfDirectory, InstPrinter, std::move(MCE),
  147         std::move(MAB), Options.MCOptions.ShowMCInst);
  156         getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions);
  168         std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll,
  169         Options.MCOptions.MCIncrementalLinkerCompatible,
  239   if (Options.MCOptions.MCSaveTempLabels)
  249       getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions);
  256       std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll,
  257       Options.MCOptions.MCIncrementalLinkerCompatible,
lib/CodeGen/LiveDebugValues.cpp
  839     if (TM.Options.EnableDebugEntryValues)
lib/CodeGen/MIRParser/MIRParser.cpp
  375     if (TM.Options.EnableDebugEntryValues)
  379   if (YamlMF.CallSitesInfo.size() && !TM.Options.EnableDebugEntryValues)
lib/CodeGen/PrologEpilogInserter.cpp
 1028       MF.getTarget().Options.StackSymbolOrdering)
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 8122   const TargetOptions &Options = DAG.getTarget().Options;
11330   const TargetOptions &Options = DAG.getTarget().Options;
11542   const TargetOptions &Options = DAG.getTarget().Options;
11836   const TargetOptions &Options = DAG.getTarget().Options;
11926   const TargetOptions &Options = DAG.getTarget().Options;
12105   const TargetOptions &Options = DAG.getTarget().Options;
12197   const TargetOptions &Options = DAG.getTarget().Options;
12332   const TargetOptions &Options = DAG.getTarget().Options;
12450   bool UnsafeMath = DAG.getTarget().Options.UnsafeFPMath;
12520   const TargetOptions &Options = DAG.getTarget().Options;
12636   if (!DAG.getTarget().Options.UnsafeFPMath &&
12806       !DAG.getTarget().Options.NoSignedZerosFPMath)
13036     if (DAG.getTarget().Options.UnsafeFPMath || N0IsTrunc) {
lib/CodeGen/SelectionDAG/FastISel.cpp
 1857     if (TM.Options.TrapUnreachable)
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 3145     if (!TLI.useSoftFloat() && TM.Options.UnsafeFPMath) {
 3754   bool CanUseFiniteLibCall = TM.Options.NoInfsFPMath && TM.Options.NoNaNsFPMath;
 3754   bool CanUseFiniteLibCall = TM.Options.NoInfsFPMath && TM.Options.NoNaNsFPMath;
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  866     if (MI->isCall() && DAG->getTarget().Options.EnableDebugEntryValues)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3982   if (getTarget().Options.NoNaNsFPMath || Op->getFlags().hasNoNaNs())
 4654     if ((getTarget().Options.NoSignedZerosFPMath || Flags.hasNoSignedZeros()) &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2051         if (TM.Options.NoNaNsFPMath)
 2942   if (!DAG.getTarget().Options.TrapUnreachable)
 2946   if (DAG.getTarget().Options.NoTrapAfterNoreturn) {
 3234   if ((FPMO && FPMO->hasNoNaNs()) || TM.Options.NoNaNsFPMath)
 6145     if (TM.Options.AllowFPOpFusion != FPOpFusion::Strict &&
 9850     if (!TM.Options.EnableFastISel && Res.getOpcode() == ISD::BUILD_PAIR) {
 9890     if (!isOnlyUsedInEntryBlock(&Arg, TM.Options.EnableFastISel)) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  224       SavedFastISel = IS.TM.Options.EnableFastISel;
  229                    << (IS.TM.Options.EnableFastISel ? "enabled" : "disabled")
  417   assert((!EnableFastISelAbort || TM.Options.EnableFastISel) &&
 1340   if (TM.Options.EnableFastISel) {
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
 1064   if (DAG.getTarget().Options.TrapUnreachable)
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 5352   const TargetOptions &Options = DAG.getTarget().Options;
 5490     assert((DAG.getTarget().Options.NoSignedZerosFPMath ||
 5539     assert((DAG.getTarget().Options.NoSignedZerosFPMath ||
lib/CodeGen/StackProtector.cpp
  407       (EnableSelectionDAGSP && !TM->Options.EnableFastISel &&
  408        !TM->Options.EnableGlobalISel);
lib/CodeGen/TargetFrameLoweringImpl.cpp
   88   if (MF.getTarget().Options.EnableIPRA &&
lib/CodeGen/TargetPassConfig.cpp
  408     TM.Options.PrintMachineCode = true;
  411     TM.Options.EnableIPRA = EnableIPRA;
  414     TM.Options.EnableIPRA |= TM.useIPRA();
  417   if (TM.Options.EnableIPRA)
  421     TM.Options.GlobalISelAbort = EnableGlobalISelAbort;
  770            (TM->Options.EnableGlobalISel &&
  897   if (TM->Options.EnableIPRA)
  960   if (TM->Options.EnableIPRA)
  976   if (TM->Options.EnableMachineOutliner && getOptLevel() != CodeGenOpt::None &&
  980                        TM->Options.SupportsDefaultOutlining;
 1226   return TM->Options.GlobalISelAbort == GlobalISelAbortMode::Enable;
 1230   return TM->Options.GlobalISelAbort == GlobalISelAbortMode::DisableWithDiag;
lib/ExecutionEngine/TargetSelect.cpp
   98   Target->Options.EmulatedTLS = EmulatedTLS;
   99   Target->Options.ExplicitEmulatedTLS = true;
lib/LTO/LTOBackend.cpp
  330     TM->Options.MCOptions.SplitDwarfFile = DwoFile.str().str();
  332     TM->Options.MCOptions.SplitDwarfFile = Conf.SplitDwarfFile;
lib/Target/AArch64/AArch64CallLowering.cpp
  466                              MF.getTarget().Options.GuaranteedTailCallOpt)) {
  734   if (MF.getTarget().Options.GuaranteedTailCallOpt)
  788   bool IsSibCall = !MF.getTarget().Options.GuaranteedTailCallOpt;
 1019                              MF.getTarget().Options.GuaranteedTailCallOpt)
lib/Target/AArch64/AArch64FrameLowering.cpp
  242   if (MFI.hasCalls() && MF.getTarget().Options.DisableFramePointerElim(MF))
lib/Target/AArch64/AArch64ISelLowering.cpp
 3366   bool TailCallOpt = MF.getTarget().Options.GuaranteedTailCallOpt;
 3590   if (getTargetMachine().Options.GuaranteedTailCallOpt)
 3734   bool TailCallOpt = MF.getTarget().Options.GuaranteedTailCallOpt;
 3939         const TargetOptions &Options = DAG.getTarget().Options;
 5171   if (DAG.getTarget().Options.UnsafeFPMath) {
 8186   bool NoNaNs = getTargetMachine().Options.NoNaNsFPMath;
 8526   const TargetOptions &Options = getTargetMachine().Options;
lib/Target/AArch64/AArch64InstrInfo.cpp
 3579     TargetOptions Options = Inst.getParent()->getParent()->getTarget().Options;
 3657     return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath;
lib/Target/AArch64/AArch64RegisterInfo.cpp
  325   if (MF.getTarget().Options.DisableFramePointerElim(MF) && MFI.adjustsStack())
lib/Target/AArch64/AArch64TargetMachine.cpp
  273     this->Options.TrapUnreachable = true;
  274     this->Options.NoTrapAfterNoreturn = true;
  284     this->Options.TrapUnreachable = true;
lib/Target/AArch64/AArch64TargetObjectFile.cpp
   23   InitializeELF(TM.Options.UseInitArray);
lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  507   if (TM.Options.NoNaNsFPMath)
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
 2588   if (getTargetMachine().Options.UnsafeFPMath) {
lib/Target/AMDGPU/AMDGPUISelLowering.h
  150     if (getTargetMachine().Options.NoSignedZerosFPMath)
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
 1891     MF.getTarget().Options.UnsafeFPMath || MI.getFlag(MachineInstr::FmArcp);
 1893   if (!MF.getTarget().Options.UnsafeFPMath && ResTy == S64)
lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
   22   NoSignedZerosFPMath(MF.getTarget().Options.NoSignedZerosFPMath),
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  426   const auto &Opt = Options;
lib/Target/AMDGPU/SIFrameLowering.cpp
 1151     MF.getTarget().Options.DisableFramePointerElim(MF);
lib/Target/AMDGPU/SIISelLowering.cpp
 2605   if (DAG.getTarget().Options.GuaranteedTailCallOpt) {
 2706   if (IsTailCall && MF.getTarget().Options.GuaranteedTailCallOpt) {
 2726     bool TailCallOpt = MF.getTarget().Options.GuaranteedTailCallOpt;
 7523   bool Unsafe = DAG.getTarget().Options.UnsafeFPMath || Flags.hasAllowReciprocal();
 7780   if (DAG.getTarget().Options.UnsafeFPMath)
 9419   const TargetOptions &Options = DAG.getTarget().Options;
 9717   const TargetOptions &Options = DAG.getTarget().Options;
lib/Target/ARC/ARCFrameLowering.cpp
  495   bool HasFP = MF.getTarget().Options.DisableFramePointerElim(MF) ||
lib/Target/ARM/ARMAsmPrinter.cpp
  647       TM.Options.FPDenormalMode == FPDenormal::PreserveSign)
  653            TM.Options.FPDenormalMode == FPDenormal::PositiveZero)
  656   else if (!TM.Options.UnsafeFPMath)
  688       TM.Options.NoTrappingFPMath)
  691   else if (!TM.Options.UnsafeFPMath) {
  696     if (TM.Options.HonorSignDependentRoundingFPMathOption)
  702   if (TM.Options.NoInfsFPMath && TM.Options.NoNaNsFPMath)
  702   if (TM.Options.NoInfsFPMath && TM.Options.NoNaNsFPMath)
  715   if (STI.isAAPCS_ABI() && TM.Options.FloatABIType == FloatABI::Hard)
lib/Target/ARM/ARMBaseRegisterInfo.cpp
  440   if (MF.getTarget().Options.DisableFramePointerElim(MF) && MFI.adjustsStack())
lib/Target/ARM/ARMFastISel.cpp
 1859           TM.Options.FloatABIType == FloatABI::Hard && !isVarArg)
lib/Target/ARM/ARMFrameLowering.cpp
  109   if (MF.getTarget().Options.DisableFramePointerElim(MF))
 1879       if (MF.getTarget().Options.DisableFramePointerElim(MF) && !LRSpilled) {
lib/Target/ARM/ARMISelLowering.cpp
  413     bool IsHFTarget = TM.Options.FloatABIType == FloatABI::Hard;
  598     if (TM.Options.EABIVersion == EABI::EABI4 ||
  599         TM.Options.EABIVersion == EABI::EABI5) {
 1869              getTargetMachine().Options.FloatABIType == FloatABI::Hard &&
 2190       const TargetOptions &Options = DAG.getTarget().Options;
 3336       DAG.getMachineFunction().getTarget().Options.EnableFastISel)
 5268   if (getTargetMachine().Options.UnsafeFPMath &&
lib/Target/ARM/ARMSubtarget.cpp
   99       TargetTriple(TT), Options(TM.Options), TM(TM),
  418   return TM.Options.EnableFastISel &&
lib/Target/ARM/ARMSubtarget.h
  783             MF.getTarget().Options.DisableFramePointerElim(MF)) ||
lib/Target/ARM/ARMTargetMachine.cpp
  222       this->Options.FloatABIType = FloatABI::Hard;
  224       this->Options.FloatABIType = FloatABI::Soft;
  236       this->Options.EABIVersion = EABI::GNU;
  238       this->Options.EABIVersion = EABI::EABI5;
  242     this->Options.TrapUnreachable = true;
  243     this->Options.NoTrapAfterNoreturn = true;
  400   if (TM->Options.ThreadModel == ThreadModel::Single)
lib/Target/Hexagon/HexagonFrameLowering.cpp
 1020     if (TM.Options.DisableFramePointerElim(MF) || !EliminateFramePointer)
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  115   InitializeELF(TM.Options.UseInitArray);
lib/Target/Lanai/LanaiTargetObjectFile.cpp
   31   InitializeELF(TM.Options.UseInitArray);
lib/Target/MSP430/MSP430FrameLowering.cpp
   31   return (MF.getTarget().Options.DisableFramePointerElim(MF) ||
lib/Target/Mips/MipsFrameLowering.cpp
   97   return MF.getTarget().Options.DisableFramePointerElim(MF) ||
lib/Target/Mips/MipsISelLowering.cpp
  363   if (!(TM.Options.NoNaNsFPMath || Subtarget.inAbs2008Mode())) {
  547   bool UseFastISel = TM.Options.EnableFastISel && Subtarget.hasMips32() &&
lib/Target/Mips/MipsTargetMachine.cpp
  204         MaybeAlign(Options.StackAlignmentOverride));
lib/Target/Mips/MipsTargetObjectFile.cpp
   47   InitializeELF(TM.Options.UseInitArray);
lib/Target/NVPTX/NVPTXISelLowering.cpp
  101     if (getTargetMachine().Options.UnsafeFPMath)
  114     return !getTargetMachine().Options.UnsafeFPMath;
 4315   if (MF.getTarget().Options.AllowFPOpFusion == FPOpFusion::Fast)
 4323   if (MF.getTarget().Options.UnsafeFPMath)
lib/Target/PowerPC/PPCFrameLowering.cpp
  552   return MF.getTarget().Options.DisableFramePointerElim(MF) ||
  554     (MF.getTarget().Options.GuaranteedTailCallOpt &&
 1698     if (MF.getTarget().Options.GuaranteedTailCallOpt &&
 1822   if (MF.getTarget().Options.GuaranteedTailCallOpt &&
 1941   if (MF.getTarget().Options.GuaranteedTailCallOpt &&
 2312   if (MF.getTarget().Options.GuaranteedTailCallOpt &&
lib/Target/PowerPC/PPCISelLowering.cpp
  294       !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTE() &&
  299       !(TM.Options.UnsafeFPMath && Subtarget.hasFRSQRTES() &&
  720     if (TM.Options.UnsafeFPMath || Subtarget.hasVSX()) {
 1067     if (TM.Options.UnsafeFPMath) {
 1143   if (TM.Options.UnsafeFPMath) {
 3459   bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt &&
 3707   bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt &&
 4115   bool isImmutable = !(getTargetMachine().Options.GuaranteedTailCallOpt &&
 4637   bool TailCallOpt = getTargetMachine().Options.GuaranteedTailCallOpt;
 4715   if (!getTargetMachine().Options.GuaranteedTailCallOpt)
 5239      getTargetMachine().Options.GuaranteedTailCallOpt) ? NumBytes : 0;
 5363       if (!getTargetMachine().Options.GuaranteedTailCallOpt)
 5435   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 5683   if (isTailCall && !getTargetMachine().Options.GuaranteedTailCallOpt)
 5691   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 5832   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 6346   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 6396   if (getTargetMachine().Options.GuaranteedTailCallOpt &&
 7226   bool HasNoInfs = DAG.getTarget().Options.NoInfsFPMath;
 7227   bool HasNoNaNs = DAG.getTarget().Options.NoNaNsFPMath;
 7775         !DAG.getTarget().Options.UnsafeFPMath) {
15423   if (!TM.Options.GuaranteedTailCallOpt && DisableSCO)
lib/Target/PowerPC/PPCInstrInfo.cpp
  276   if (!Root.getParent()->getParent()->getTarget().Options.UnsafeFPMath)
lib/Target/PowerPC/PPCTargetObjectFile.cpp
   21   InitializeELF(TM.Options.UseInitArray);
lib/Target/RISCV/RISCVFrameLowering.cpp
   30   return MF.getTarget().Options.DisableFramePointerElim(MF) ||
lib/Target/RISCV/RISCVTargetObjectFile.cpp
   20   InitializeELF(TM.Options.UseInitArray);
lib/Target/Sparc/SparcFrameLowering.cpp
  255   return MF.getTarget().Options.DisableFramePointerElim(MF) ||
lib/Target/Sparc/SparcTargetObjectFile.cpp
   20   InitializeELF(TM.Options.UseInitArray);
lib/Target/SystemZ/SystemZFrameLowering.cpp
  516   return (MF.getTarget().Options.DisableFramePointerElim(MF) ||
lib/Target/TargetLoweringObjectFile.cpp
  157     if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS)
  168   if (isSuitableForBSS(GVar) && !TM.Options.NoZerosInBSS) {
lib/Target/TargetMachine.cpp
   62   RESET_OPTION(UnsafeFPMath, "unsafe-fp-math");
   63   RESET_OPTION(NoInfsFPMath, "no-infs-fp-math");
   64   RESET_OPTION(NoNaNsFPMath, "no-nans-fp-math");
   65   RESET_OPTION(NoSignedZerosFPMath, "no-signed-zeros-fp-math");
  190         GV && Options.MCOptions.MCPIECopyRelocations && isa<GlobalVariable>(GV);
  206   if (Options.ExplicitEmulatedTLS)
  207     return Options.EmulatedTLS;
lib/Target/TargetMachineC.cpp
  178   unwrap(T)->Options.MCOptions.AsmVerbose = VerboseAsm;
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  121   this->Options.TrapUnreachable = true;
  125   this->Options.FunctionSections = true;
  126   this->Options.DataSections = true;
  127   this->Options.UniqueSectionNames = true;
  368       TM->Options.ExceptionModel == ExceptionHandling::None) {
lib/Target/X86/X86FastISel.cpp
 1177   if ((CC == CallingConv::Fast && TM.Options.GuaranteedTailCallOpt) ||
 3231   if ((CC == CallingConv::Fast && TM.Options.GuaranteedTailCallOpt) ||
 3537                        TM.Options.GuaranteedTailCallOpt)
lib/Target/X86/X86FrameLowering.cpp
   85   return (MF.getTarget().Options.DisableFramePointerElim(MF) ||
lib/Target/X86/X86ISelLowering.cpp
  436   if (TM.Options.ExceptionModel == ExceptionHandling::SjLj)
  486       TM.Options.ExceptionModel != ExceptionHandling::SjLj) {
 3018       CallConv, DAG.getTarget().Options.GuaranteedTailCallOpt);
 3340                          MF.getTarget().Options.GuaranteedTailCallOpt))
 3484                        MF.getTarget().Options.GuaranteedTailCallOpt)) {
 3618   bool IsGuaranteeTCO = MF.getTarget().Options.GuaranteedTailCallOpt ||
 3826       const TargetOptions &Options = DAG.getTarget().Options;
 4117                        DAG.getTarget().Options.GuaranteedTailCallOpt))
 4130   if (CLI.DoesNotReturn && !getTargetMachine().Options.TrapUnreachable) {
 4324   bool IsGuaranteeTCO = DAG.getTarget().Options.GuaranteedTailCallOpt ||
 4478                        MF.getTarget().Options.GuaranteedTailCallOpt);
 8889   const TargetOptions &Options = DAG.getTarget().Options;
18699   if (DAG.getTarget().Options.UnsafeFPMath)
36853           if (!DAG.getTarget().Options.UnsafeFPMath &&
36864         if (!DAG.getTarget().Options.UnsafeFPMath &&
36883         if (!DAG.getTarget().Options.UnsafeFPMath &&
36893           if (!DAG.getTarget().Options.UnsafeFPMath &&
36921         if (!DAG.getTarget().Options.UnsafeFPMath &&
36932         if (!DAG.getTarget().Options.UnsafeFPMath &&
36958         if (!DAG.getTarget().Options.UnsafeFPMath &&
41896   if (!DAG.getTarget().Options.UnsafeFPMath)
41932   if (DAG.getTarget().Options.NoNaNsFPMath || N->getFlags().hasNoNaNs())
lib/Target/X86/X86InstrInfo.cpp
 7555     return Inst.getParent()->getParent()->getTarget().Options.UnsafeFPMath;
lib/Target/X86/X86MCInstLower.cpp
 1837   if (TM.Options.MCOptions.ShowMCEncoding) {
lib/Target/X86/X86TargetMachine.cpp
  229     this->Options.TrapUnreachable = true;
  230     this->Options.NoTrapAfterNoreturn = TT.isOSBinFormatMachO();
  313         MaybeAlign(Options.StackAlignmentOverride), PreferVectorWidthOverride,
lib/Target/X86/X86TargetObjectFile.cpp
   71   InitializeELF(TM.Options.UseInitArray);
   78   InitializeELF(TM.Options.UseInitArray);
   85   InitializeELF(TM.Options.UseInitArray);
   91   InitializeELF(TM.Options.UseInitArray);
lib/Target/XCore/XCoreFrameLowering.cpp
  219   return MF.getTarget().Options.DisableFramePointerElim(MF) ||
tools/llvm-exegesis/lib/LlvmState.cpp
   57           TheTargetMachine->getTargetFeatureString(), TheTargetMachine->Options,
unittests/CodeGen/TargetOptionsTest.cpp
   57   ASSERT_TRUE(TM->Options.EnableIPRA == EnableIPRA);