| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegBankCombiner.cpp | 246 if (!K0->Value.isExactlyValue(0.0) || !K1->Value.isExactlyValue(1.0)) in matchFPMinMaxToClamp() 297 return Op3->getOperand(1).getFPImm()->isExactlyValue(0.0); in matchFPMed3ToClamp() 352 return (KO_FPImm->isExactlyValue(0.0) && K1_FPImm->isExactlyValue(1.0)) || in isClampZeroToOne() 353 (KO_FPImm->isExactlyValue(1.0) && K1_FPImm->isExactlyValue(0.0)); in isClampZeroToOne()
|
| H A D | AMDGPULibCalls.cpp | 709 if (eltval->isExactlyValue(tr[i].input)) { in TDOFold() 741 if (CF->isExactlyValue(tr[i].input)) { in TDOFold() 851 if ((CF && CF->isExactlyValue(1.0)) || (CINT && ci_opr1 == 1)) { in fold_pow() 857 if ((CF && CF->isExactlyValue(2.0)) || (CINT && ci_opr1 == 2)) { in fold_pow() 865 if ((CF && CF->isExactlyValue(-1.0)) || (CINT && ci_opr1 == -1)) { in fold_pow() 878 if (CF && (CF->isExactlyValue(0.5) || CF->isExactlyValue(-0.5))) { in fold_pow() 880 bool issqrt = CF->isExactlyValue(0.5); in fold_pow() 1156 if (CF0 && CF0->isExactlyValue(1.0f)) { in fold_fma_mad() 1164 if (CF1 && CF1->isExactlyValue(1.0f)) { in fold_fma_mad()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 672 if (CLHS->isExactlyValue(1.0)) { in optimizeWithRcp() 691 if (CLHS->isExactlyValue(-1.0)) { in optimizeWithRcp() 735 if (CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0)) in optimizeWithFDivFast()
|
| H A D | AMDGPUInstructions.td | 703 [{return N->isExactlyValue(1.0);}] 708 [{return N->isExactlyValue(0.5);}]
|
| H A D | R600ISelLowering.cpp | 791 return CFP->isExactlyValue(1.0); in isHWTrueValue() 1588 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
|
| H A D | SIISelLowering.cpp | 8894 if (CLHS->isExactlyValue(1.0)) { in lowerFastUnsafeFDIV() 8914 if (CLHS->isExactlyValue(-1.0)) { in lowerFastUnsafeFDIV() 10572 if (K1->isExactlyValue(1.0) && K0->isExactlyValue(0.0)) in performFPMed3ImmCombine() 10673 return (CA->isExactlyValue(0.0) && CB->isExactlyValue(1.0)) || in isClampZeroToOne() 10674 (CA->isExactlyValue(1.0) && CB->isExactlyValue(0.0)); in isClampZeroToOne()
|
| /openbsd-src/gnu/llvm/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 | PPCRegisterInfo.td | 730 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>; 731 def fpimm0neg : PatLeaf<(fpimm), [{return N->isExactlyValue(-0.0);}]>;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTDC.cpp | 146 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp() 152 } 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); }]>;
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceOperands.cpp | 61 ((C->isZero() && !C->isNegative()) || C->isExactlyValue(1.0)); in isZeroOrOneFP()
|
| /openbsd-src/gnu/llvm/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 | 804 return CFP->isExactlyValue(Val); in match() 808 return CFP->isExactlyValue(Val); in match()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstrFPStack.td | 114 return Imm.isExactlyValue(+0.0); 118 return Imm.isExactlyValue(-0.0); 122 return Imm.isExactlyValue(+1.0); 126 return Imm.isExactlyValue(-1.0);
|
| H A D | X86InstrFragmentsSIMD.td | 1053 return N->isExactlyValue(+0.0); 1057 return N->isExactlyValue(+0.0); 1061 return N->isExactlyValue(+0.0); 1065 return N->isExactlyValue(+0.0);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoF.td | 491 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>; 492 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1669 bool isExactlyValue(double V) const { 1670 return Value->getValueAPF().isExactlyValue(V); 1672 bool isExactlyValue(const APFloat& V) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 2046 (!ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5))) in replacePowWithSqrt() 2147 !ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5)) { in optimizePow()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 1212 bool isExactlyValue(double V) const { in isExactlyValue() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrInfoF1.td | 47 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 15170 if (C->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine() 15173 if (C->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine() 15193 if (C0->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine() 15197 if (C0->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine() 15203 if (C1->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine() 15206 if (C1->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine() 15274 return C && C->isExactlyValue(-2.0); in visitFADD() 15576 if (N1CFP && N1CFP->isExactlyValue(+2.0)) in visitFMUL() 15580 if (N1CFP && N1CFP->isExactlyValue(-1.0)) { in visitFMUL() 15619 cast<ConstantFPSDNode>(Cond.getOperand(1))->isExactlyValue(0.0)) { in visitFMUL() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchInstrInfo.td | 356 def fpimm0 : PatLeaf<(fpimm), [{return N->isExactlyValue(+0.0);}]>; 357 def fpimm0neg : PatLeaf<(fpimm), [{return N->isExactlyValue(-0.0);}]>; 358 def fpimm1 : PatLeaf<(fpimm), [{return N->isExactlyValue(+1.0);}]>;
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Constants.cpp | 85 return CFP->isExactlyValue(+0.0); in isNullValue() 1057 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
|