| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 744 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 D | AMDGPUCodeGenPrepare.cpp | 404 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32()
|
| H A D | AMDGPUInstructions.td | 603 [{return N->isExactlyValue(1.0);}] 608 [{return N->isExactlyValue(0.5);}]
|
| H A D | SIISelLowering.cpp | 6608 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 D | R600ISelLowering.cpp | 928 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 D | SystemZTDC.cpp | 142 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp() 148 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
|
| H A D | SystemZOperands.td | 482 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 D | Constants.h | 323 bool isExactlyValue(const APFloat &V) const; 325 bool isExactlyValue(double V) const { in isExactlyValue() function 329 return isExactlyValue(FV); in isExactlyValue()
|
| H A D | PatternMatch.h | 529 return CFP->isExactlyValue(Val); in match() 533 return CFP->isExactlyValue(Val); in match()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86InstrFPStack.td | 61 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 D | X86InstrFragmentsSIMD.td | 901 return N->isExactlyValue(+0.0); 905 return N->isExactlyValue(+0.0);
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGNodes.h | 1573 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 D | DAGCombiner.cpp | 10988 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 D | SelectionDAG.cpp | 114 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode
|
| H A D | SelectionDAGBuilder.cpp | 4855 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsInstrFPU.td | 89 return N->isExactlyValue(+0.0); 93 return N->isExactlyValue(-0.0);
|
| H A D | MipsSEISelDAGToDAG.cpp | 823 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in trySelect()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 1130 bool isExactlyValue(double V) const { in isExactlyValue() function
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 1338 (!ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5))) in replacePowWithSqrt()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | Reassociate.cpp | 2180 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64InstructionSelector.cpp | 860 if (I.getOperand(1).getFPImm()->getValueAPF().isExactlyValue(0.0)) in select()
|
| H A D | AArch64InstrFormats.td | 990 return Imm.isExactlyValue(+0.0);
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Constants.cpp | 824 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.td | 707 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
|