| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLowerMASSVEntries.cpp | 117 if (!CFP->isExactlyValue(0.75) && !CFP->isExactlyValue(0.25)) in handlePowSpecialCases() 120 if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros()) in handlePowSpecialCases()
|
| H A D | PPCInstrInfo.td | 390 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 D | AMDGPULibCalls.cpp | 736 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 D | AMDGPUCodeGenPrepare.cpp | 650 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 D | AMDGPUInstructions.td | 569 [{return N->isExactlyValue(1.0);}] 574 [{return N->isExactlyValue(0.5);}]
|
| H A D | R600ISelLowering.cpp | 840 return CFP->isExactlyValue(1.0); in isHWTrueValue() 1617 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
|
| H A D | SIISelLowering.cpp | 8282 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 D | AMDGPULegalizerInfo.cpp | 3200 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 D | SystemZTDC.cpp | 150 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp() 156 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
|
| H A D | SystemZOperands.td | 523 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 D | Constants.h | 318 bool isExactlyValue(const APFloat &V) const; 320 bool isExactlyValue(double V) const { in isExactlyValue() function 324 return isExactlyValue(FV); in isExactlyValue()
|
| H A D | PatternMatch.h | 834 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 D | X86InstrFPStack.td | 107 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 D | X86InstrFragmentsSIMD.td | 993 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 D | SelectionDAGNodes.h | 1621 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 D | SimplifyLibCalls.cpp | 1623 (!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 D | DAGCombiner.cpp | 13567 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 D | SelectionDAG.cpp | 120 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 D | MipsInstrFPU.td | 91 return N->isExactlyValue(+0.0); 95 return N->isExactlyValue(-0.0);
|
| H A D | MipsSEISelDAGToDAG.cpp | 771 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in trySelect()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoF.td | 296 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 1200 bool isExactlyValue(double V) const { in isExactlyValue() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 83 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 D | Reassociate.cpp | 2366 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 2485 if (DefSize != 128 && I.getOperand(1).getFPImm()->isExactlyValue(0.0)) in select()
|