Lines Matching refs:ConstantFP
65 if (ConstantFP *ConstFloat = dyn_cast<ConstantFP>(&V)) { in canSafelyConvertTo16Bit()
197 auto *QNaN = ConstantFP::get(Ty, APFloat::getQNaN(Ty->getFltSemantics())); in instCombineIntrinsic()
204 if (const ConstantFP *C = dyn_cast<ConstantFP>(Src)) { in instCombineIntrinsic()
213 return IC.replaceInstUsesWith(II, ConstantFP::get(II.getContext(), Val)); in instCombineIntrinsic()
224 auto *QNaN = ConstantFP::get(Ty, APFloat::getQNaN(Ty->getFltSemantics())); in instCombineIntrinsic()
233 if (const ConstantFP *C = dyn_cast<ConstantFP>(Src)) { in instCombineIntrinsic()
240 II, ConstantFP::get(II.getContext(), Significand)); in instCombineIntrinsic()
310 IC.Builder.CreateFCmpOEQ(Src0, ConstantFP::get(Src0->getType(), 0.0)); in instCombineIntrinsic()
323 const ConstantFP *CVal = dyn_cast<ConstantFP>(Src0); in instCombineIntrinsic()
361 if (const ConstantFP *C0 = dyn_cast<ConstantFP>(Src0)) { in instCombineIntrinsic()
362 if (const ConstantFP *C1 = dyn_cast<ConstantFP>(Src1)) { in instCombineIntrinsic()
372 ConstantVector::get({ConstantFP::get(II.getContext(), Val0), in instCombineIntrinsic()
373 ConstantFP::get(II.getContext(), Val1)}); in instCombineIntrinsic()
538 if (const ConstantFP *C0 = dyn_cast<ConstantFP>(Src0)) { in instCombineIntrinsic()
539 if (const ConstantFP *C1 = dyn_cast<ConstantFP>(Src1)) { in instCombineIntrinsic()
540 if (const ConstantFP *C2 = dyn_cast<ConstantFP>(Src2)) { in instCombineIntrinsic()
544 II, ConstantFP::get(IC.Builder.getContext(), Result)); in instCombineIntrinsic()
807 auto *QNaN = ConstantFP::get(Ty, APFloat::getQNaN(Ty->getFltSemantics())); in instCombineIntrinsic()
835 ConstantFP::get(Ty, scalbn(*C, 0, APFloat::rmNearestTiesToEven)); in instCombineIntrinsic()
856 return IC.replaceInstUsesWith(II, ConstantFP::getNullValue(II.getType())); in instCombineIntrinsic()
879 auto *Zero = ConstantFP::getNullValue(II.getType()); in instCombineIntrinsic()