Lines Matching refs:CFP
46 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
47 return CFP->isZero() && CFP->isNegative();
72 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
73 return CFP->isZero();
96 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
97 return CFP->isZero() && !CFP->isNegative();
111 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
112 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue();
133 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
134 return CFP->getValueAPF().bitcastToAPInt() == 1;
155 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
156 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
177 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))
178 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue();
837 if (auto *CFP = dyn_cast<ConstantFP>(C))
838 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
859 } else if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) {
860 if (CFP->getType()->isHalfTy())
862 else if (CFP->getType()->isFloatTy())
864 else if (CFP->getType()->isDoubleTy())
2564 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) {
2565 if (CFP->getType()->isHalfTy()) {
2567 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
2570 if (CFP->getType()->isFloatTy()) {
2572 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());
2575 if (CFP->getType()->isDoubleTy()) {
2577 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue());