Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp744 if (eltval->isExactlyValue(ftbl[i].input)) { in TDOFold()
776 if (CF->isExactlyValue(ftbl[i].input)) { in TDOFold()
907 if ((CF && CF->isExactlyValue(1.0)) || (CINT && ci_opr1 == 1)) { in fold_pow()
913 if ((CF && CF->isExactlyValue(2.0)) || (CINT && ci_opr1 == 2)) { in fold_pow()
921 if ((CF && CF->isExactlyValue(-1.0)) || (CINT && ci_opr1 == -1)) { in fold_pow()
934 if (CF && (CF->isExactlyValue(0.5) || CF->isExactlyValue(-0.5))) { in fold_pow()
936 bool issqrt = CF->isExactlyValue(0.5); in fold_pow()
1215 if (CF0 && CF0->isExactlyValue(1.0f)) { in fold_fma_mad()
1223 if (CF1 && CF1->isExactlyValue(1.0f)) { in fold_fma_mad()
H A DAMDGPUCodeGenPrepare.cpp404 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32()
H A DAMDGPUInstructions.td603 [{return N->isExactlyValue(1.0);}]
608 [{return N->isExactlyValue(0.5);}]
H A DSIISelLowering.cpp6608 if (CLHS->isExactlyValue(1.0)) { in lowerFastUnsafeFDIV()
6628 if (CLHS->isExactlyValue(-1.0)) { in lowerFastUnsafeFDIV()
8083 if (K1->isExactlyValue(1.0) && K0->isExactlyValue(0.0)) in performFPMed3ImmCombine()
8184 return (CA->isExactlyValue(0.0) && CB->isExactlyValue(1.0)) || in isClampZeroToOne()
8185 (CA->isExactlyValue(1.0) && CB->isExactlyValue(0.0)); in isClampZeroToOne()
H A DR600ISelLowering.cpp928 return CFP->isExactlyValue(1.0); in isHWTrueValue()
1708 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp142 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp()
148 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
H A DSystemZOperands.td482 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
485 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstants.h323 bool isExactlyValue(const APFloat &V) const;
325 bool isExactlyValue(double V) const { in isExactlyValue() function
329 return isExactlyValue(FV); in isExactlyValue()
H A DPatternMatch.h529 return CFP->isExactlyValue(Val); in match()
533 return CFP->isExactlyValue(Val); in match()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrFPStack.td61 return Imm.isExactlyValue(+0.0);
65 return Imm.isExactlyValue(-0.0);
69 return Imm.isExactlyValue(+1.0);
73 return Imm.isExactlyValue(-1.0);
H A DX86InstrFragmentsSIMD.td901 return N->isExactlyValue(+0.0);
905 return N->isExactlyValue(+0.0);
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1573 bool isExactlyValue(double V) const {
1574 return Value->getValueAPF().isExactlyValue(V);
1576 bool isExactlyValue(const APFloat& V) const;
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp10988 if (C->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
10991 if (C->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
11011 if (C0->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
11015 if (C0->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
11021 if (C1->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
11024 if (C1->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
11088 return C && C->isExactlyValue(-2.0); in visitFADD()
11410 if (TrueOpnd->isExactlyValue(-1.0) && FalseOpnd->isExactlyValue(1.0) && in visitFMUL()
11414 if (TrueOpnd->isExactlyValue(1.0) && FalseOpnd->isExactlyValue(-1.0)) in visitFMUL()
11494 if (N1CFP->isExactlyValue(1.0)) in visitFMA()
[all …]
H A DSelectionDAG.cpp114 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode
H A DSelectionDAGBuilder.cpp4855 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsInstrFPU.td89 return N->isExactlyValue(+0.0);
93 return N->isExactlyValue(-0.0);
H A DMipsSEISelDAGToDAG.cpp823 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in trySelect()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPFloat.h1130 bool isExactlyValue(double V) const { in isExactlyValue() function
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1338 (!ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5))) in replacePowWithSqrt()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp2180 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstructionSelector.cpp860 if (I.getOperand(1).getFPImm()->getValueAPF().isExactlyValue(0.0)) in select()
H A DAArch64InstrFormats.td990 return Imm.isExactlyValue(+0.0);
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp824 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.td707 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;