Lines Matching refs:APFloat
168 APFloat(CI->getValue(),
571 APFloat Val = FPC->getValueAPF();
572 Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf :
573 DestTy->isFloatTy() ? APFloat::IEEEsingle :
574 DestTy->isDoubleTy() ? APFloat::IEEEdouble :
575 DestTy->isX86_FP80Ty() ? APFloat::x87DoubleExtended :
576 DestTy->isFP128Ty() ? APFloat::IEEEquad :
577 APFloat::Bogus,
578 APFloat::rmNearestTiesToEven, &ignored);
585 const APFloat &V = FPC->getValueAPF();
590 APFloat::rmTowardZero, &ignored);
647 APFloat apf(APInt::getNullValue(DestTy->getPrimitiveSizeInBits()), true);
650 APFloat::rmNearestTiesToEven);
1107 APFloat C1V = CFP1->getValueAPF();
1108 APFloat C2V = CFP2->getValueAPF();
1109 APFloat C3V = C1V; // copy for modification
1114 (void)C3V.add(C2V, APFloat::rmNearestTiesToEven);
1117 (void)C3V.subtract(C2V, APFloat::rmNearestTiesToEven);
1120 (void)C3V.multiply(C2V, APFloat::rmNearestTiesToEven);
1123 (void)C3V.divide(C2V, APFloat::rmNearestTiesToEven);
1126 (void)C3V.mod(C2V, APFloat::rmNearestTiesToEven);
1654 APFloat C1V = cast<ConstantFP>(C1)->getValueAPF();
1655 APFloat C2V = cast<ConstantFP>(C2)->getValueAPF();
1656 APFloat::cmpResult R = C1V.compare(C2V);
1662 return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered);
1664 return ConstantInt::get(ResultTy, R!=APFloat::cmpUnordered);
1666 return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered ||
1667 R==APFloat::cmpEqual);
1669 return ConstantInt::get(ResultTy, R==APFloat::cmpEqual);
1671 return ConstantInt::get(ResultTy, R!=APFloat::cmpEqual);
1673 return ConstantInt::get(ResultTy, R==APFloat::cmpLessThan ||
1674 R==APFloat::cmpGreaterThan);
1676 return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered ||
1677 R==APFloat::cmpLessThan);
1679 return ConstantInt::get(ResultTy, R==APFloat::cmpLessThan);
1681 return ConstantInt::get(ResultTy, R==APFloat::cmpUnordered ||
1682 R==APFloat::cmpGreaterThan);
1684 return ConstantInt::get(ResultTy, R==APFloat::cmpGreaterThan);
1686 return ConstantInt::get(ResultTy, R!=APFloat::cmpGreaterThan);
1688 return ConstantInt::get(ResultTy, R==APFloat::cmpLessThan ||
1689 R==APFloat::cmpEqual);
1691 return ConstantInt::get(ResultTy, R!=APFloat::cmpLessThan);
1693 return ConstantInt::get(ResultTy, R==APFloat::cmpGreaterThan ||
1694 R==APFloat::cmpEqual);