Lines Matching refs:APFloat
1124 return ConstantFP::get(Ty->getContext(), APFloat((float)V));
1126 return ConstantFP::get(Ty->getContext(), APFloat(V));
1140 return ConstantFP::get(Ty->getContext(), APFloat((float)V));
1142 return ConstantFP::get(Ty->getContext(), APFloat(V));
1154 static Constant *ConstantFoldConvertToInt(const APFloat &Val,
1163 APFloat::roundingMode mode = roundTowardZero? APFloat::rmTowardZero
1164 : APFloat::rmNearestTiesToEven;
1165 APFloat::opStatus status = Val.convertToInteger(&UIntVal, ResultWidth,
1168 if (status != APFloat::opOK && status != APFloat::opInexact)
1185 APFloat Val(Op->getValueAPF());
1188 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost);
1204 /// Currently APFloat versions of these functions do not exist, so we use
1289 APFloat Val(Op->getValue());
1292 APFloat::opStatus status =
1293 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost);
1297 assert(status == APFloat::opOK && !lost &&
1370 APFloat((float)std::pow((float)Op1V,
1374 APFloat((double)std::pow((double)Op1V,