FloatType floatTy = getType().cast<FloatType>();
APFloat apf(floatTy.getFloatSemantics(),
APInt::getZero(floatTy.getWidth()));
- apf.convertFromAPInt(api, /*signed=*/false, APFloat::rmNearestTiesToEven);
+ apf.convertFromAPInt(api, /*IsSigned=*/false, APFloat::rmNearestTiesToEven);
return FloatAttr::get(floatTy, apf);
}
return {};
FloatType floatTy = getType().cast<FloatType>();
APFloat apf(floatTy.getFloatSemantics(),
APInt::getZero(floatTy.getWidth()));
- apf.convertFromAPInt(api, /*signed=*/true, APFloat::rmNearestTiesToEven);
+ apf.convertFromAPInt(api, /*IsSigned=*/true, APFloat::rmNearestTiesToEven);
return FloatAttr::get(floatTy, apf);
}
return {};
const APFloat &apf = lhs.getValue();
IntegerType intTy = getType().cast<IntegerType>();
bool ignored;
- APSInt api(intTy.getWidth(), /*unsigned=*/true);
+ APSInt api(intTy.getWidth(), /*isUnsigned=*/true);
if (APFloat::opInvalidOp ==
apf.convertToInteger(api, APFloat::rmTowardZero, &ignored)) {
// Undefined behavior invoked - the destination type can't represent
const APFloat &apf = lhs.getValue();
IntegerType intTy = getType().cast<IntegerType>();
bool ignored;
- APSInt api(intTy.getWidth(), /*unsigned=*/false);
+ APSInt api(intTy.getWidth(), /*isUnsigned=*/false);
if (APFloat::opInvalidOp ==
apf.convertToInteger(api, APFloat::rmTowardZero, &ignored)) {
// Undefined behavior invoked - the destination type can't represent