Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp755 if (eltval->isExactlyValue(ftbl[i].input)) { in TDOFold()
787 if (CF->isExactlyValue(ftbl[i].input)) { in TDOFold()
918 if ((CF && CF->isExactlyValue(1.0)) || (CINT && ci_opr1 == 1)) { in fold_pow()
924 if ((CF && CF->isExactlyValue(2.0)) || (CINT && ci_opr1 == 2)) { in fold_pow()
932 if ((CF && CF->isExactlyValue(-1.0)) || (CINT && ci_opr1 == -1)) { in fold_pow()
945 if (CF && (CF->isExactlyValue(0.5) || CF->isExactlyValue(-0.5))) { in fold_pow()
947 bool issqrt = CF->isExactlyValue(0.5); in fold_pow()
1223 if (CF0 && CF0->isExactlyValue(1.0f)) { in fold_fma_mad()
1231 if (CF1 && CF1->isExactlyValue(1.0f)) { in fold_fma_mad()
DAMDGPUCodeGenPrepare.cpp536 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32()
DAMDGPUInstructions.td540 [{return N->isExactlyValue(1.0);}]
545 [{return N->isExactlyValue(0.5);}]
DAMDGPULegalizerInfo.cpp1962 if (CLHS->isExactlyValue(1.0)) { in legalizeFastUnsafeFDIV()
1972 if (CLHS->isExactlyValue(-1.0)) { in legalizeFastUnsafeFDIV()
DR600ISelLowering.cpp930 return CFP->isExactlyValue(1.0); in isHWTrueValue()
1706 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
DSIISelLowering.cpp7557 if (CLHS->isExactlyValue(1.0)) { in lowerFastUnsafeFDIV()
7577 if (CLHS->isExactlyValue(-1.0)) { in lowerFastUnsafeFDIV()
9115 if (K1->isExactlyValue(1.0) && K0->isExactlyValue(0.0)) in performFPMed3ImmCombine()
9216 return (CA->isExactlyValue(0.0) && CB->isExactlyValue(1.0)) || in isClampZeroToOne()
9217 (CA->isExactlyValue(1.0) && CB->isExactlyValue(0.0)); in isClampZeroToOne()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp142 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp()
148 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
DSystemZOperands.td523 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
526 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h322 bool isExactlyValue(const APFloat &V) const;
324 bool isExactlyValue(double V) const { in isExactlyValue() function
328 return isExactlyValue(FV); in isExactlyValue()
DPatternMatch.h639 return CFP->isExactlyValue(Val); in match()
643 return CFP->isExactlyValue(Val); in match()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrFPStack.td109 return Imm.isExactlyValue(+0.0);
113 return Imm.isExactlyValue(-0.0);
117 return Imm.isExactlyValue(+1.0);
121 return Imm.isExactlyValue(-1.0);
DX86InstrFragmentsSIMD.td1042 return N->isExactlyValue(+0.0);
1046 return N->isExactlyValue(+0.0);
1050 return N->isExactlyValue(+0.0);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1639 bool isExactlyValue(double V) const {
1640 return Value->getValueAPF().isExactlyValue(V);
1642 bool isExactlyValue(const APFloat& V) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp12073 if (C->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
12076 if (C->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
12096 if (C0->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
12100 if (C0->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
12106 if (C1->isExactlyValue(+1.0)) in visitFMULForFMADistributiveCombine()
12109 if (C1->isExactlyValue(-1.0)) in visitFMULForFMADistributiveCombine()
12175 return C && C->isExactlyValue(-2.0); in visitFADD()
12458 if (N1CFP && N1CFP->isExactlyValue(+2.0)) in visitFMUL()
12462 if (N1CFP && N1CFP->isExactlyValue(-1.0)) in visitFMUL()
12491 cast<ConstantFPSDNode>(Cond.getOperand(1))->isExactlyValue(0.0)) { in visitFMUL()
[all …]
DSelectionDAG.cpp118 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode
7313 if (YC->getValueAPF().isExactlyValue(1.0)) in simplifyFPBinop()
DTargetLowering.cpp5561 if (C->isExactlyValue(2.0) && Op.getOpcode() == ISD::FMUL) in isNegatibleForFree()
DSelectionDAGBuilder.cpp5390 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstrFPU.td88 return N->isExactlyValue(+0.0);
92 return N->isExactlyValue(-0.0);
DMipsSEISelDAGToDAG.cpp771 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in trySelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPFloat.h1150 bool isExactlyValue(double V) const { in isExactlyValue() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1644 (!ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5))) in replacePowWithSqrt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp2255 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp906 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp1613 if (I.getOperand(1).getFPImm()->getValueAPF().isExactlyValue(0.0)) in select()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenGlobalISel.inc722 return Imm.isExactlyValue(+0.0);
729 return Imm.isExactlyValue(+1.0);
736 return Imm.isExactlyValue(-0.0);
743 return Imm.isExactlyValue(-1.0);

12