/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCLowerMASSVEntries.cpp | 114 if (!CFP->isExactlyValue(0.75) && !CFP->isExactlyValue(0.25)) in handlePowSpecialCases() 117 if (CFP->isExactlyValue(0.25) && !CI->hasNoSignedZeros()) in handlePowSpecialCases()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibCalls.cpp | 750 if (eltval->isExactlyValue(ftbl[i].input)) { in TDOFold() 782 if (CF->isExactlyValue(ftbl[i].input)) { in TDOFold() 913 if ((CF && CF->isExactlyValue(1.0)) || (CINT && ci_opr1 == 1)) { in fold_pow() 919 if ((CF && CF->isExactlyValue(2.0)) || (CINT && ci_opr1 == 2)) { in fold_pow() 927 if ((CF && CF->isExactlyValue(-1.0)) || (CINT && ci_opr1 == -1)) { in fold_pow() 940 if (CF && (CF->isExactlyValue(0.5) || CF->isExactlyValue(-0.5))) { in fold_pow() 942 bool issqrt = CF->isExactlyValue(0.5); in fold_pow() 1218 if (CF0 && CF0->isExactlyValue(1.0f)) { in fold_fma_mad() 1226 if (CF1 && CF1->isExactlyValue(1.0f)) { in fold_fma_mad()
|
D | AMDGPUCodeGenPrepare.cpp | 670 if (CLHS->isExactlyValue(1.0)) { in optimizeWithRcp() 689 if (CLHS->isExactlyValue(-1.0)) { in optimizeWithRcp() 733 if (CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0)) in optimizeWithFDivFast()
|
D | AMDGPUInstructions.td | 548 [{return N->isExactlyValue(1.0);}] 553 [{return N->isExactlyValue(0.5);}]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULibCalls.cpp | 755 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()
|
D | AMDGPUCodeGenPrepare.cpp | 536 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 150 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp() 156 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 142 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp() 148 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 142 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp() 148 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
|
D | SystemZOperands.td | 435 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>; 438 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
|
/external/llvm-project/llvm/unittests/IR/ |
D | MDBuilderTest.cpp | 42 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
|
/external/llvm/unittests/IR/ |
D | MDBuilderTest.cpp | 43 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 303 bool isExactlyValue(const APFloat &V) const; 305 bool isExactlyValue(double V) const { in isExactlyValue() function 309 return isExactlyValue(FV); in isExactlyValue()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Constants.h | 322 bool isExactlyValue(const APFloat &V) const; 324 bool isExactlyValue(double V) const { in isExactlyValue() function 328 return isExactlyValue(FV); in isExactlyValue()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 998 if (Op1C->isExactlyValue(1.0)) in optimizePow() 1001 if (Op1C->isExactlyValue(2.0) && in optimizePow() 1007 if (Op1C->isExactlyValue(10.0) && in optimizePow() 1041 if (Op2C->isExactlyValue(0.5) && in optimizePow() 1069 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in optimizePow() 1071 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in optimizePow() 1073 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x in optimizePow()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Constants.h | 331 bool isExactlyValue(const APFloat &V) const; 333 bool isExactlyValue(double V) const { in isExactlyValue() function 337 return isExactlyValue(FV); in isExactlyValue()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/ |
D | lstm_utils_test.cc | 180 .isExactlyValue(0.0f)); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | optimize.cc | 297 return fp_attr.getSplatValue<APFloat>().isExactlyValue(value); in FloatValueEquals() 300 return f.isExactlyValue(value); in FloatValueEquals()
|
/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 81 EXPECT_TRUE(cast<ConstantFP>(V)->isExactlyValue(3.5)); in TEST()
|
/external/llvm-project/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 80 EXPECT_TRUE(cast<ConstantFP>(V)->isExactlyValue(3.5)); in TEST()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstructions.td | 436 [{return N->isExactlyValue(1.0);}] 441 [{return N->isExactlyValue(0.5);}]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrFPStack.td | 61 return N->isExactlyValue(+0.0); 65 return N->isExactlyValue(-0.0); 69 return N->isExactlyValue(+1.0); 73 return N->isExactlyValue(-1.0);
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1343 bool isExactlyValue(double V) const { 1348 return isExactlyValue(Tmp); 1350 bool isExactlyValue(const APFloat& V) const;
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | legalize_hlo_patterns.td | 231 "$0.cast<SplatElementsAttr>().getSplatValue<APFloat>().isExactlyValue(" # val # ")">>;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrFPStack.td | 109 return Imm.isExactlyValue(+0.0); 113 return Imm.isExactlyValue(-0.0); 117 return Imm.isExactlyValue(+1.0); 121 return Imm.isExactlyValue(-1.0);
|