• Home
  • Raw
  • Download

Lines Matching refs:CFP

42   if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this))  in isNegativeZeroValue()  local
43 return CFP->isZero() && CFP->isNegative(); in isNegativeZeroValue()
68 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isZeroValue() local
69 return CFP->isZero(); in isZeroValue()
92 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNullValue() local
93 return CFP->isZero() && !CFP->isNegative(); in isNullValue()
107 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isAllOnesValue() local
108 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue()
133 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isOneValue() local
134 return CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isOneValue()
159 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNotOneValue() local
160 return !CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isNotOneValue()
183 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isMinSignedValue() local
184 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
209 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(this)) in isNotMinSignedValue() local
210 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
228 if (auto *CFP = dyn_cast<ConstantFP>(this)) in isFiniteNonZeroFP() local
229 return CFP->getValueAPF().isFiniteNonZero(); in isFiniteNonZeroFP()
234 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isFiniteNonZeroFP() local
235 if (!CFP || !CFP->getValueAPF().isFiniteNonZero()) in isFiniteNonZeroFP()
242 if (auto *CFP = dyn_cast<ConstantFP>(this)) in isNormalFP() local
243 return CFP->getValueAPF().isNormal(); in isNormalFP()
248 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNormalFP() local
249 if (!CFP || !CFP->getValueAPF().isNormal()) in isNormalFP()
256 if (auto *CFP = dyn_cast<ConstantFP>(this)) in hasExactInverseFP() local
257 return CFP->getValueAPF().getExactInverse(nullptr); in hasExactInverseFP()
262 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in hasExactInverseFP() local
263 if (!CFP || !CFP->getValueAPF().getExactInverse(nullptr)) in hasExactInverseFP()
270 if (auto *CFP = dyn_cast<ConstantFP>(this)) in isNaN() local
271 return CFP->isNaN(); in isNaN()
276 auto *CFP = dyn_cast_or_null<ConstantFP>(this->getAggregateElement(i)); in isNaN() local
277 if (!CFP || !CFP->isNaN()) in isNaN()
1155 if (auto *CFP = dyn_cast<ConstantFP>(C)) in getFPSequenceIfElementsMatch() local
1156 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getFPSequenceIfElementsMatch()
1177 } else if (ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in getSequenceIfElementsMatch() local
1178 if (CFP->getType()->isHalfTy() || CFP->getType()->isBFloatTy()) in getSequenceIfElementsMatch()
1180 else if (CFP->getType()->isFloatTy()) in getSequenceIfElementsMatch()
1182 else if (CFP->getType()->isDoubleTy()) in getSequenceIfElementsMatch()
3082 if (ConstantFP *CFP = dyn_cast<ConstantFP>(V)) { in getSplat() local
3083 if (CFP->getType()->isHalfTy()) { in getSplat()
3085 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
3088 if (CFP->getType()->isBFloatTy()) { in getSplat()
3090 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
3093 if (CFP->getType()->isFloatTy()) { in getSplat()
3095 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
3098 if (CFP->getType()->isDoubleTy()) { in getSplat()
3100 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()