Home
last modified time | relevance | path

Searched refs:losesInfo (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Support/
DAPFloat.cpp1959 roundingMode rounding_mode, bool *losesInfo) in convert() argument
2032 *losesInfo = (fs != opOK); in convert()
2034 *losesInfo = lostFraction != lfExactlyZero || X86SpecialNan; in convert()
2047 *losesInfo = false; in convert()
2898 bool losesInfo; in convertPPCDoubleDoubleAPFloatToAPInt() local
2909 fs = extended.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2910 assert(fs == opOK && !losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2914 fs = u.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2923 if (u.isFiniteNonZero() && losesInfo) { in convertPPCDoubleDoubleAPFloatToAPInt()
2924 fs = u.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
[all …]
/external/llvm/unittests/ADT/
DAPFloatTest.cpp1346 bool losesInfo; in TEST() local
1348 test.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1350 EXPECT_FALSE(losesInfo); in TEST()
1354 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1356 EXPECT_TRUE(losesInfo); in TEST()
1360 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1362 EXPECT_TRUE(losesInfo); in TEST()
1365 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1367 EXPECT_FALSE(losesInfo); in TEST()
1372 &losesInfo); in TEST()
[all …]
/external/llvm/lib/IR/
DConstants.cpp1221 bool losesInfo; in isValueValidForType() local
1230 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1231 return !losesInfo; in isValueValidForType()
1236 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1237 return !losesInfo; in isValueValidForType()
1244 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1245 return !losesInfo; in isValueValidForType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1134 bool losesInfo; in FitsInFPType() local
1136 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in FitsInFPType()
1137 if (!losesInfo) in FitsInFPType()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp83 bool losesInfo; in isValueValidForType() local
86 &losesInfo); in isValueValidForType()
87 return !losesInfo; in isValueValidForType()