Searched refs:losesInfo (Results 1 – 5 of 5) sorted by relevance
/external/llvm/unittests/ADT/ |
D | APFloatTest.cpp | 775 bool losesInfo; in TEST() local 777 test.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in TEST() 779 EXPECT_FALSE(losesInfo); in TEST() 783 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST() 785 EXPECT_TRUE(losesInfo); in TEST() 789 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST() 791 EXPECT_TRUE(losesInfo); in TEST() 794 test.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in TEST() 796 EXPECT_FALSE(losesInfo); in TEST() 801 &losesInfo); in TEST() [all …]
|
/external/llvm/lib/Support/ |
D | APFloat.cpp | 1857 roundingMode rounding_mode, bool *losesInfo) in convert() argument 1913 *losesInfo = (fs != opOK); in convert() 1915 *losesInfo = lostFraction != lfExactlyZero || X86SpecialNan; in convert() 1928 *losesInfo = false; in convert() 2752 bool losesInfo; in convertPPCDoubleDoubleAPFloatToAPInt() local 2763 fs = extended.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt() 2764 assert(fs == opOK && !losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt() 2768 fs = u.convert(IEEEdouble, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt() 2777 if (u.category == fcNormal && losesInfo) { in convertPPCDoubleDoubleAPFloatToAPInt() 2778 fs = u.convert(extendedSemantics, rmNearestTiesToEven, &losesInfo); in convertPPCDoubleDoubleAPFloatToAPInt() [all …]
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 1177 bool losesInfo; in isValueValidForType() local 1186 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1187 return !losesInfo; in isValueValidForType() 1192 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1193 return !losesInfo; in isValueValidForType() 1200 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType() 1201 return !losesInfo; in isValueValidForType()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1142 bool losesInfo; in FitsInFPType() local 1144 (void)F.convert(Sem, APFloat::rmNearestTiesToEven, &losesInfo); in FitsInFPType() 1145 if (!losesInfo) in FitsInFPType()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 85 bool losesInfo; in isValueValidForType() local 88 &losesInfo); in isValueValidForType() 89 return !losesInfo; in isValueValidForType()
|