Home
last modified time | relevance | path

Searched refs:hasNoSignedZeros (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DSimplifyQuery.h54 template <class InstT> bool hasNoSignedZeros(const InstT *Op) const { in hasNoSignedZeros() function
56 return Op->hasNoSignedZeros(); in hasNoSignedZeros()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp81 return CI.hasNoNaNs() && CI.hasNoInfs() && CI.hasNoSignedZeros(); in isFiniteCallSafe()
H A DPPCLowerMASSVEntries.cpp122 if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros()) in handlePowSpecialCases()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp428 assert(I->hasAllowReassoc() && I->hasNoSignedZeros() && in simplify()
1064 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && "Assumption mismatch"); in foldSquareSumFP()
1846 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && in factorizeFAddFSub()
1938 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFAdd()
2707 if (I.hasNoSignedZeros() && match(FNegOp, m_FAdd(m_Value(X), m_Constant(C)))) in foldFNegIntoConstant()
2758 if (I.hasNoSignedZeros() && in visitFNeg()
2780 if (!OldSel->hasNoSignedZeros() && !CommonOperand && in visitFNeg()
2869 if (I.hasNoSignedZeros() || in visitFSub()
2878 if (I.hasNoSignedZeros() && !isa<ConstantExpr>(Op0) && in visitFSub()
2929 if (I.hasAllowReassoc() && I.hasNoSignedZeros()) { in visitFSub()
H A DInstCombineMulDivRem.cpp766 if (I.hasNoSignedZeros() && in foldFMulReassoc()
770 if (I.hasNoSignedZeros() && in foldFMulReassoc()
777 if (I.hasNoNaNs() && I.hasNoSignedZeros() && Op0 == Op1 && Op0->hasNUses(2)) { in foldFMulReassoc()
910 if (I.hasNoNaNs() && I.hasNoSignedZeros()) { in visitFMul()
962 I.hasNoSignedZeros() && match(Start, m_Zero())) in visitFMul()
1739 (I.hasNoSignedZeros() && match(I.getOperand(1), m_AnyZeroFP())))) { in foldFDivConstantDivisor()
H A DInstCombineSelect.cpp101 if (!BO->hasNoSignedZeros() && in foldSelectBinOpIdentity()
2880 if (!SI.hasNoSignedZeros() || !SI.hasNoNaNs()) in foldSelectWithFCmpToFabs()
3706 SI, SIFPOp->hasNoSignedZeros())) in visitSelectInst()
3716 if (SIFPOp->hasNoNaNs() && SIFPOp->hasNoSignedZeros()) { in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp590 bool Instruction::hasNoSignedZeros() const { in hasNoSignedZeros() function in Instruction
592 return cast<FPMathOperator>(this)->hasNoSignedZeros(); in hasNoSignedZeros()
1197 cast<FPMathOperator>(this)->hasNoSignedZeros(); in isAssociative()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp233 !I->hasNoSignedZeros())) in calcRange()
H A DReassociate.cpp158 return I->hasAllowReassoc() && I->hasNoSignedZeros(); in hasFPAssociativeFlags()
H A DLICM.cpp2684 I->hasNoSignedZeros()) in isReassociableOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h299 bool hasNoSignedZeros() const {
H A DInstruction.h609 bool hasNoSignedZeros() const LLVM_READONLY;
H A DPatternMatch.h1128 if (FPMO->hasNoSignedZeros()) { in match()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp286 [&Inst] { Inst.setHasNoSignedZeros(!Inst.hasNoSignedZeros()); }); in mutate()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp651 if (getFlags().hasNoSignedZeros()) in print_details()
H A DInstrEmitter.cpp1076 if (Flags.hasNoSignedZeros()) in EmitMachineNode()
H A DDAGCombiner.cpp1300 if (!Flags.hasAllowReassociation() || !Flags.hasNoSignedZeros()) in reassociateOps()
11230 return (Flags.hasNoSignedZeros() || Options.NoSignedZerosFPMath) && in isLegalToCombineMinNumMaxNum()
16138 bool NoSignedZero = Options.NoSignedZerosFPMath || Flags.hasNoSignedZeros(); in visitFSUBForFMACombine()
16563 if (N1C->isNegative() || Options.NoSignedZerosFPMath || Flags.hasNoSignedZeros()) in visitFADD()
16620 (Flags.hasAllowReassociation() && Flags.hasNoSignedZeros())) && in visitFADD()
16782 Flags.hasNoSignedZeros()) { in visitFSUB()
16796 (Options.NoSignedZerosFPMath || Flags.hasNoSignedZeros())) { in visitFSUB()
16813 (Flags.hasAllowReassociation() && Flags.hasNoSignedZeros())) && in visitFSUB()
17033 if (Flags.hasNoNaNs() && Flags.hasNoSignedZeros() && in visitFMUL()
17277 U->getFlags().hasNoSignedZeros()) in combineRepeatedFPDivisors()
[all …]
H A DTargetLowering.cpp7331 if (!Options.NoSignedZerosFPMath && !Flags.hasNoSignedZeros()) in getNegatedExpression()
7376 if (!Options.NoSignedZerosFPMath && !Flags.hasNoSignedZeros()) in getNegatedExpression()
7437 if (!Options.NoSignedZerosFPMath && !Flags.hasNoSignedZeros()) in getNegatedExpression()
8454 (Node->getFlags().hasNoSignedZeros() || in expandFMINNUM_FMAXNUM()
8516 if (!MinMaxMustRespectOrderedZero && !N->getFlags().hasNoSignedZeros() && in expandFMINIMUM_FMAXIMUM()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h416 setNoSignedZeros(FPMO.hasNoSignedZeros());
447 bool hasNoSignedZeros() const { return NoSignedZeros; }
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp807 if (isa<FPMathOperator>(I) && I->hasNoNaNs() && I->hasNoSignedZeros()) in isRecurrenceInstr()
H A DConstantFolding.cpp1361 if (FP->hasNoSignedZeros() || FP->hasAllowReassoc() || in ConstantFoldFPInstOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoF.td73 return N->getFlags().hasNoSignedZeros();
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp2063 N->getFlags().hasNoSignedZeros() && Subtarget->hasVector() && in shouldSelectForReassoc()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp758 if (FPMO->hasNoSignedZeros()) in getOptimizationFlags()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SVEInstrInfo.td218 return N->getFlags().hasNoSignedZeros();
226 return N->getFlags().hasNoSignedZeros();
272 return N->getFlags().hasNoSignedZeros();

12