Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DAPFloat.cpp1939 roundingMode rounding_mode, bool *losesInfo) in convert() argument
2012 *losesInfo = (fs != opOK); in convert()
2014 *losesInfo = lostFraction != lfExactlyZero || X86SpecialNan; in convert()
2027 *losesInfo = false; in convert()
2878 bool losesInfo; in convertPPCDoubleDoubleAPFloatToAPInt() local
2889 fs = extended.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2890 assert(fs == opOK && !losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2894 fs = u.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
2903 if (u.isFiniteNonZero() && losesInfo) { in convertPPCDoubleDoubleAPFloatToAPInt()
2904 fs = u.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt()
[all …]
/external/llvm/unittests/ADT/
DAPFloatTest.cpp1345 bool losesInfo; in TEST() local
1347 test.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1349 EXPECT_FALSE(losesInfo); in TEST()
1353 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1355 EXPECT_TRUE(losesInfo); in TEST()
1359 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1361 EXPECT_TRUE(losesInfo); in TEST()
1364 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST()
1366 EXPECT_FALSE(losesInfo); in TEST()
1371 &losesInfo); in TEST()
[all …]
/external/llvm/lib/IR/
DConstants.cpp1182 bool losesInfo; in isValueValidForType() local
1191 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1192 return !losesInfo; in isValueValidForType()
1197 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1198 return !losesInfo; in isValueValidForType()
1205 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1206 return !losesInfo; in isValueValidForType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1152 bool losesInfo; in FitsInFPType() local
1154 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in FitsInFPType()
1155 if (!losesInfo) in FitsInFPType()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp84 bool losesInfo; in isValueValidForType() local
87 &losesInfo); in isValueValidForType()
88 return !losesInfo; in isValueValidForType()