Lines Matching full:cfp
47 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
48 return CFP->isZero() && CFP->isNegative();
73 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
74 return CFP->isZero();
97 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
98 return CFP->isZero() && !CFP->isNegative();
112 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
113 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue();
134 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
135 return CFP->getValueAPF().bitcastToAPInt() == 1;
156 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
157 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
178 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
179 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
879 if (auto *CFP = dyn_cast<ConstantFP>(C))
880 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
901 } else if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
902 if (CFP->getType()->isHalfTy())
904 else if (CFP->getType()->isFloatTy())
906 else if (CFP->getType()->isDoubleTy())
2640 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) {
2641 if (CFP->getType()->isHalfTy()) {
2643 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
2646 if (CFP->getType()->isFloatTy()) {
2648 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
2651 if (CFP->getType()->isDoubleTy()) {
2653 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());