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