Home
last modified time | relevance | path

Searched refs:getExactInverse (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/ADT/
DAPFloat.h496 bool getExactInverse(APFloat *inv) const;
/external/llvm/unittests/ADT/
DAPFloatTest.cpp1236 EXPECT_TRUE(APFloat(2.0).getExactInverse(&inv)); in TEST()
1238 EXPECT_TRUE(APFloat(2.0f).getExactInverse(&inv)); in TEST()
1240 EXPECT_TRUE(APFloat(APFloat::IEEEquad, "2.0").getExactInverse(&inv)); in TEST()
1242 EXPECT_TRUE(APFloat(APFloat::PPCDoubleDouble, "2.0").getExactInverse(&inv)); in TEST()
1244 EXPECT_TRUE(APFloat(APFloat::x87DoubleExtended, "2.0").getExactInverse(&inv)); in TEST()
1248 EXPECT_TRUE(APFloat(1.17549435e-38f).getExactInverse(&inv)); in TEST()
1252 EXPECT_FALSE(APFloat(1.7014118e38f).getExactInverse(nullptr)); in TEST()
1254 EXPECT_FALSE(APFloat(0.0).getExactInverse(nullptr)); in TEST()
1256 EXPECT_FALSE(APFloat(1.40129846e-45f).getExactInverse(nullptr)); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1197 bool Cvt = FpVal.getExactInverse(&Reciprocal); in CvtFDivConstToReciprocal()
/external/llvm/lib/Support/
DAPFloat.cpp3772 bool APFloat::getExactInverse(APFloat *inv) const { in getExactInverse() function in APFloat