Lines Matching refs:ConstantFP
47 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNegativeZeroValue()
52 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()
68 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isZeroValue()
81 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNullValue()
94 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isAllOnesValue()
116 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isOneValue()
138 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isMinSignedValue()
160 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNotMinSignedValue()
183 return ConstantFP::get(Ty->getContext(), in getNullValue()
186 return ConstantFP::get(Ty->getContext(), in getNullValue()
189 return ConstantFP::get(Ty->getContext(), in getNullValue()
192 return ConstantFP::get(Ty->getContext(), in getNullValue()
195 return ConstantFP::get(Ty->getContext(), in getNullValue()
198 return ConstantFP::get(Ty->getContext(), in getNullValue()
238 return ConstantFP::get(Ty->getContext(), FL); in getAllOnesValue()
631 void ConstantFP::anchor() { } in anchor()
636 Constant *ConstantFP::get(Type *Ty, double V) { in get()
653 Constant *ConstantFP::get(Type *Ty, StringRef Str) { in get()
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()
912 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in getImpl()
916 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V[i])) in getImpl()
926 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V[i])) in getImpl()
1100 if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in getImpl()
1104 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V[i])) in getImpl()
1114 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V[i])) in getImpl()
1133 if ((isa<ConstantFP>(V) || isa<ConstantInt>(V)) && in getSplat()
1294 bool ConstantFP::isValueValidForType(Type *Ty, const APFloat& Val) { in isValueValidForType()
2214 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2221 return getFSub(ConstantFP::getZeroValueForNegation(C->getType()), C); in getFNeg()
2677 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) { in getSplat()
2758 return ConstantFP::get(getContext(), getElementAsAPFloat(Elt)); in getElementAsConstant()