Home
last modified time | relevance | path

Searched refs:isExactlyValue (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLowerMASSVEntries.cpp117 if (!CFP->isExactlyValue(0.75) && !CFP->isExactlyValue(0.25)) in handlePowSpecialCases()
120 if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros()) in handlePowSpecialCases()
H A DPPCInstrInfo.td390 return convertToNonDenormSingle(APFloatOfN) && !N->isExactlyValue(+0.0);
407 return !N->isExactlyValue(+0.0) && !checkConvertToNonDenormSingle(APFloatOfN);
897 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp736 if (eltval->isExactlyValue(ftbl[i].input)) { in TDOFold()
768 if (CF->isExactlyValue(ftbl[i].input)) { in TDOFold()
899 if ((CF && CF->isExactlyValue(1.0)) || (CINT && ci_opr1 == 1)) { in fold_pow()
905 if ((CF && CF->isExactlyValue(2.0)) || (CINT && ci_opr1 == 2)) { in fold_pow()
913 if ((CF && CF->isExactlyValue(-1.0)) || (CINT && ci_opr1 == -1)) { in fold_pow()
926 if (CF && (CF->isExactlyValue(0.5) || CF->isExactlyValue(-0.5))) { in fold_pow()
928 bool issqrt = CF->isExactlyValue(0.5); in fold_pow()
1204 if (CF0 && CF0->isExactlyValue(1.0f)) { in fold_fma_mad()
1212 if (CF1 && CF1->isExactlyValue(1.0f)) { in fold_fma_mad()
H A DAMDGPUCodeGenPrepare.cpp650 if (CLHS->isExactlyValue(1.0)) { in optimizeWithRcp()
669 if (CLHS->isExactlyValue(-1.0)) { in optimizeWithRcp()
713 if (CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0)) in optimizeWithFDivFast()
H A DAMDGPUInstructions.td569 [{return N->isExactlyValue(1.0);}]
574 [{return N->isExactlyValue(0.5);}]
H A DR600ISelLowering.cpp840 return CFP->isExactlyValue(1.0); in isHWTrueValue()
1617 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
H A DSIISelLowering.cpp8282 if (CLHS->isExactlyValue(1.0)) { in lowerFastUnsafeFDIV()
8302 if (CLHS->isExactlyValue(-1.0)) { in lowerFastUnsafeFDIV()
9899 if (K1->isExactlyValue(1.0) && K0->isExactlyValue(0.0)) in performFPMed3ImmCombine()
10000 return (CA->isExactlyValue(0.0) && CB->isExactlyValue(1.0)) || in isClampZeroToOne()
10001 (CA->isExactlyValue(1.0) && CB->isExactlyValue(0.0)); in isClampZeroToOne()
H A DAMDGPULegalizerInfo.cpp3200 if (CLHS->isExactlyValue(1.0)) { in legalizeFastUnsafeFDIV()
3210 if (CLHS->isExactlyValue(-1.0)) { in legalizeFastUnsafeFDIV()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp150 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp()
156 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
H A DSystemZOperands.td523 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
526 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h318 bool isExactlyValue(const APFloat &V) const;
320 bool isExactlyValue(double V) const { in isExactlyValue() function
324 return isExactlyValue(FV); in isExactlyValue()
H A DPatternMatch.h834 return CFP->isExactlyValue(Val); in match()
838 return CFP->isExactlyValue(Val); in match()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFPStack.td107 return Imm.isExactlyValue(+0.0);
111 return Imm.isExactlyValue(-0.0);
115 return Imm.isExactlyValue(+1.0);
119 return Imm.isExactlyValue(-1.0);
H A DX86InstrFragmentsSIMD.td993 return N->isExactlyValue(+0.0);
997 return N->isExactlyValue(+0.0);
1001 return N->isExactlyValue(+0.0);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1621 bool isExactlyValue(double V) const {
1622 return Value->getValueAPF().isExactlyValue(V);
1624 bool isExactlyValue(const APFloat& V) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1623 (!ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5))) in replacePowWithSqrt()
1719 !ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5)) { in optimizePow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp13567 if (C->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
13570 if (C->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
13590 if (C0->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
13594 if (C0->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
13600 if (C1->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
13603 if (C1->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
14026 if (TrueOpnd->isExactlyValue(-1.0) && FalseOpnd->isExactlyValue(1.0) && in visitFMUL()
14030 if (TrueOpnd->isExactlyValue(1.0) && FalseOpnd->isExactlyValue(-1.0)) in visitFMUL()
14121 if (N1CFP->isExactlyValue(1.0)) in visitFMA()
14124 if (N1CFP->isExactlyValue(-1.0) && in visitFMA()
[all …]
H A DSelectionDAG.cpp120 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode
7895 if (YC->getValueAPF().isExactlyValue(1.0)) in simplifyFPBinop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstrFPU.td91 return N->isExactlyValue(+0.0);
95 return N->isExactlyValue(-0.0);
H A DMipsSEISelDAGToDAG.cpp771 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in trySelect()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoF.td296 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h1200 bool isExactlyValue(double V) const { in isExactlyValue() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp83 return CFP->isExactlyValue(+0.0); in isNullValue()
1072 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp2366 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2485 if (DefSize != 128 && I.getOperand(1).getFPImm()->isExactlyValue(0.0)) in select()

12