• Home
  • Raw
  • Download

Lines Matching refs:ConstantFP

46   if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))  in isNegativeZeroValue()
51 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()
56 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()
72 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isZeroValue()
77 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()
82 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()
96 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNullValue()
111 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isAllOnesValue()
133 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isOneValue()
155 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isMinSignedValue()
177 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNotMinSignedValue()
200 return ConstantFP::get(Ty->getContext(), in getNullValue()
203 return ConstantFP::get(Ty->getContext(), in getNullValue()
206 return ConstantFP::get(Ty->getContext(), in getNullValue()
209 return ConstantFP::get(Ty->getContext(), in getNullValue()
212 return ConstantFP::get(Ty->getContext(), in getNullValue()
215 return ConstantFP::get(Ty->getContext(), in getNullValue()
257 return ConstantFP::get(Ty->getContext(), FL); in getAllOnesValue()
623 void ConstantFP::anchor() { } in anchor()
625 Constant *ConstantFP::get(Type *Ty, double V) { in get()
642 Constant *ConstantFP::get(Type *Ty, StringRef Str) { in get()
655 Constant *ConstantFP::getNaN(Type *Ty, bool Negative, unsigned Type) { in getNaN()
666 Constant *ConstantFP::getNegativeZero(Type *Ty) { in getNegativeZero()
678 Constant *ConstantFP::getZeroValueForNegation(Type *Ty) { in getZeroValueForNegation()
687 ConstantFP* ConstantFP::get(LLVMContext &Context, const APFloat& V) { in get()
690 ConstantFP *&Slot = pImpl->FPConstants[V]; in get()
709 Slot = new ConstantFP(Ty, V); in get()
715 Constant *ConstantFP::getInfinity(Type *Ty, bool Negative) { in getInfinity()
725 ConstantFP::ConstantFP(Type *Ty, const APFloat &V) in ConstantFP() function in ConstantFP
731 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue()
736 void ConstantFP::destroyConstantImpl() { in destroyConstantImpl()
837 if (auto *CFP = dyn_cast<ConstantFP>(C)) in getFPSequenceIfElementsMatch()
859 } else if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in getSequenceIfElementsMatch()
1041 if ((isa<ConstantFP>(V) || isa<ConstantInt>(V)) && in getSplat()
1210 bool ConstantFP::isValueValidForType(Type *Ty, const APFloat& Val) { in isValueValidForType()
2116 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2123 return getFSub(ConstantFP::getZeroValueForNegation(C->getType()), C); in getFNeg()
2564 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) { in getSplat()
2644 return ConstantFP::get(getContext(), getElementAsAPFloat(Elt)); in getElementAsConstant()