Lines Matching refs:APFloat
1208 APFloat APF(V);
1210 APF.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &unused);
1214 return ConstantFP::get(Ty->getContext(), APFloat((float)V));
1216 return ConstantFP::get(Ty->getContext(), APFloat(V));
1230 APFloat APF(V);
1232 APF.convert(APFloatAPFloat::rmNearestTiesToEven, &unused);
1236 return ConstantFP::get(Ty->getContext(), APFloat((float)V));
1238 return ConstantFP::get(Ty->getContext(), APFloat(V));
1250 static Constant *ConstantFoldConvertToInt(const APFloat &Val,
1259 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero
1260 : APFloat::rmNearestTiesToEven;
1261 APFloat::opStatus status = Val.convertToInteger(&UIntVal, ResultWidth,
1264 if (status != APFloat::opOK && status != APFloat::opInexact)
1281 APFloat Val(Op->getValueAPF());
1284 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost);
1300 /// Currently APFloat versions of these functions do not exist, so we use
1311 APFloat APF = Op->getValueAPF();
1312 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused);
1423 APFloat Val(APFloat::IEEEhalf, Op->getValue());
1426 APFloat::opStatus status =
1427 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost);
1431 assert(status == APFloat::opOK && !lost &&
1486 APFloat APF = Op1->getValueAPF();
1487 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused);
1502 APFloat APF = Op2->getValueAPF();
1503 APF.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &unused);
1521 APFloat((float)std::pow((float)Op1V,
1525 APFloat((float)std::pow((float)Op1V,
1529 APFloat((double)std::pow((double)Op1V,