/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
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()
|
D | AMDGPUCodeGenPrepare.cpp | 405 bool IsOne = CNum->isExactlyValue(+1.0) || CNum->isExactlyValue(-1.0); in shouldKeepFDivF32()
|
/external/swiftshader/third_party/llvm-7.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/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 277 bool isExactlyValue(const APFloat &V) const; 279 bool isExactlyValue(double V) const { in isExactlyValue() function 286 return isExactlyValue(FV); in isExactlyValue()
|
/external/llvm/unittests/IR/ |
D | MDBuilderTest.cpp | 43 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | MDBuilderTest.cpp | 43 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 319 bool isExactlyValue(const APFloat &V) const; 321 bool isExactlyValue(double V) const { in isExactlyValue() function 325 return isExactlyValue(FV); in isExactlyValue()
|
/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/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 858 if (Op1C->isExactlyValue(1.0)) // pow(1.0, x) -> 1.0 in CallOptimizer() 860 if (Op1C->isExactlyValue(2.0)) // pow(2.0, x) -> exp2(x) in CallOptimizer() 870 if (Op2C->isExactlyValue(0.5)) { in CallOptimizer() 887 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in CallOptimizer() 889 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in CallOptimizer() 891 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x in CallOptimizer()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 1134 (!ExpoF->isExactlyValue(0.5) && !ExpoF->isExactlyValue(-0.5))) in replacePowWithSqrt() 1193 if (BaseC->isExactlyValue(10.0) && in optimizePow() 1228 if (ExpoC->isExactlyValue(-1.0)) in optimizePow() 1236 if (ExpoC->isExactlyValue(1.0)) in optimizePow() 1240 if (ExpoC->isExactlyValue(2.0)) in optimizePow() 1244 if (ExpoC->isExactlyValue(0.5) && in optimizePow()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 264 if (Op1F->isExactlyValue(1.0)) in visitFMul() 271 if (F->isExactlyValue(1.0)) in visitFMul()
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsISelDAGToDAG.cpp | 303 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in Select()
|
D | MipsInstrFPU.td | 356 return N->isExactlyValue(+0.0); 360 return N->isExactlyValue(-0.0);
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZInstrFP.td | 21 return N->isExactlyValue(+0.0); 25 return N->isExactlyValue(-0.0);
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86InstrFPStack.td | 59 return N->isExactlyValue(+0.0); 63 return N->isExactlyValue(-0.0); 67 return N->isExactlyValue(+1.0); 71 return N->isExactlyValue(-1.0);
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1196 bool isExactlyValue(double V) const { 1204 return isExactlyValue(Tmp); 1206 bool isExactlyValue(const APFloat& V) const;
|
/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 81 EXPECT_TRUE(cast<ConstantFP>(V)->isExactlyValue(3.5)); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 81 EXPECT_TRUE(cast<ConstantFP>(V)->isExactlyValue(3.5)); in TEST()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
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);
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstructions.td | 436 [{return N->isExactlyValue(1.0);}] 441 [{return N->isExactlyValue(0.5);}]
|
/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;
|