Home
last modified time | relevance | path

Searched refs:hasNoInfs (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DOperator.h68 bool hasNoInfs() const { in hasNoInfs() function
69 return cast<llvm::FPMathOperator>(Val)->hasNoInfs(); in hasNoInfs()
H A DInstruction.h265 bool hasNoInfs() const { return cast<llvm::Instruction>(Val)->hasNoInfs(); } in hasNoInfs() function
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp80 return CI.hasNoNaNs() && CI.hasNoInfs() && CI.hasNoSignedZeros(); in isFiniteCallSafe()
H A DPPCLowerMASSVEntries.cpp116 if (!CI->hasNoInfs() || !CI->hasApproxFunc()) in handlePowSpecialCases()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp57 return FP->hasNoNaNs() || FP->hasNoInfs(); in hasPoisonGeneratingFlags()
H A DInstruction.cpp639 bool Instruction::hasNoInfs() const { in hasNoInfs() function in Instruction
641 return cast<FPMathOperator>(this)->hasNoInfs(); in hasNoInfs()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h307 bool hasNoInfs() const {
H A DInstruction.h658 LLVM_ABI bool hasNoInfs() const LLVM_READONLY;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp739 !FSqrt->hasNoSignedZeros() || !FSqrt->hasNoInfs()) in isFSqrtDivToFMulLegal()
746 if (!X->hasAllowReassoc() || !X->hasAllowReciprocal() || !X->hasNoInfs()) in isFSqrtDivToFMulLegal()
990 ((I.hasNoInfs() && isKnownNeverNaN(Op0, SQ.getWithInstruction(&I))) || in visitFMul()
1996 if (!I.hasNoInfs()) in foldFDivPowDivisor()
2225 if (I.hasNoNaNs() && I.hasNoInfs() && in visitFDiv()
H A DInstCombineSelect.cpp551 BO->setHasNoInfs(BO->hasNoInfs() && FMF.noInfs()); in foldSelectIntoOp()
2926 if (FMF.noInfs() && !SI.hasNoInfs()) { in foldSelectWithFCmpToFabs()
4009 if (FCmp->hasNoInfs()) in visitSelectInst()
4068 BinIntrInst->setHasNoInfs(FCmp->hasNoInfs()); in visitSelectInst()
4078 BinIntrInst->setHasNoInfs(FCmp->hasNoInfs()); in visitSelectInst()
H A DInstCombineSimplifyDemanded.cpp1999 if (FPOp->hasNoInfs()) in SimplifyDemandedUseFPClass()
H A DInstCombineCompares.cpp8203 if (!LHSI->hasNoInfs() || !I.hasNoInfs()) in foldFCmpReciprocalAndZero()
8338 if (!cast<Instruction>(I.getOperand(0))->hasNoInfs()) in foldSqrtWithFcmpZero()
8421 if (!LHSI->hasNoNaNs() && !LHSI->hasNoInfs() && in foldFCmpFSubIntoFCmp()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp317 Modifications.push_back([&Inst] { Inst.setHasNoInfs(!Inst.hasNoInfs()); }); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp693 if (getFlags().hasNoInfs()) in print_details()
H A DInstrEmitter.cpp1084 if (Flags.hasNoInfs()) in EmitMachineNode()
H A DDAGCombiner.cpp16861 static bool hasNoInfs(const TargetOptions &Options, SDValue N) { in hasNoInfs() function
16862 return Options.NoInfsFPMath || N->getFlags().hasNoInfs(); in hasNoInfs()
17441 if (!hasNoInfs(Options, FAdd)) in visitFMULForFMADistributiveCombine()
18127 (N->getFlags().hasNoNaNs() && N->getFlags().hasNoInfs())) { in visitFMA()
18429 if (Options.NoInfsFPMath || Flags.hasNoInfs()) in visitFDIV()
18512 (!Options.NoInfsFPMath && !Flags.hasNoInfs())) in visitFSQRT()
18597 if (!Flags.hasNoSignedZeros() || !Flags.hasNoInfs() || !Flags.hasNoNaNs() || in visitFPOW()
18628 if ((!Flags.hasNoSignedZeros() && ExponentIs025) || !Flags.hasNoInfs() || in visitFPOW()
18950 if (WidenFlags.hasNoNaNs() && WidenFlags.hasNoInfs() && in eliminateFPCastPair()
19138 if (AF.isInfinity() || (Flags.hasNoInfs() && AF.isLargest())) { in visitFMinMax()
H A DSelectionDAG.cpp10521 if (Flags.hasNoInfs() && (HasInf || X.isUndef() || Y.isUndef())) in simplifyFPBinop()
12517 : !Flags.hasNoInfs() in isNeutralConstant()
13800 !Flags.hasNoInfs() ? APFloat::getInf(Semantics) : in getNeutralElement()
13811 APFloat NeutralAF = !Flags.hasNoInfs() ? APFloat::getInf(Semantics) in getNeutralElement()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h437 setNoInfs(FPMO.hasNoInfs());
470 bool hasNoInfs() const { return Flags & NoInfs; }
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp2263 if (!Pow->doesNotAccessMemory() && !Pow->hasNoInfs() && in replacePowWithSqrt()
2281 if (!Pow->hasNoInfs()) { in replacePowWithSqrt()
2572 bool IsKnownNoErrno = Log->hasNoNaNs() && Log->hasNoInfs(); in optimizeLog()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp424 (FPOp->hasApproxFunc() && FPOp->hasNoNaNs() && FPOp->hasNoInfs()); in isUnsafeFiniteOnlyMath()
H A DAMDGPUISelLowering.cpp2824 (Flags.hasNoInfs() || Options.NoInfsFPMath); in LowerFLOGCommon()
3153 if (!Flags.hasNoInfs() && !Options.NoInfsFPMath) { in lowerFEXP()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp228 GenericSetter<&Instruction::hasNoInfs, &Instruction::setHasNoInfs>>( in setHasNoInfs()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3173 if (ScalarBits == 16 && !FMulFlags.hasNoInfs() && IsUnsigned) in transformFixedFloatingPointConversion()
3284 if (ScalarBits == 16 && !Flags.hasNoInfs() && IsUnsigned) in tryFP_TO_INT()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp763 if (FPMO->hasNoInfs()) in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1747 if (FPMO->hasNoInfs()) in getOptimizationFlags()

12