Lines Matching refs:CV
45 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isNegativeZeroValue() local
46 if (CV->getElementType()->isFloatingPointTy() && CV->isSplat()) in isNegativeZeroValue()
47 if (CV->getElementAsAPFloat(0).isNegZero()) in isNegativeZeroValue()
50 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isNegativeZeroValue() local
51 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isNegativeZeroValue()
71 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in isZeroValue() local
72 if (CV->getElementType()->isFloatingPointTy() && CV->isSplat()) in isZeroValue()
73 if (CV->getElementAsAPFloat(0).isZero()) in isZeroValue()
76 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isZeroValue() local
77 if (ConstantFP *SplatCFP = dyn_cast_or_null<ConstantFP>(CV->getSplatValue())) in isZeroValue()
110 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isAllOnesValue() local
111 if (Constant *Splat = CV->getSplatValue()) in isAllOnesValue()
115 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) { in isAllOnesValue() local
116 if (CV->isSplat()) { in isAllOnesValue()
117 if (CV->getElementType()->isFloatingPointTy()) in isAllOnesValue()
118 return CV->getElementAsAPFloat(0).bitcastToAPInt().isAllOnesValue(); in isAllOnesValue()
119 return CV->getElementAsAPInt(0).isAllOnesValue(); in isAllOnesValue()
136 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isOneValue() local
137 if (Constant *Splat = CV->getSplatValue()) in isOneValue()
141 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) { in isOneValue() local
142 if (CV->isSplat()) { in isOneValue()
143 if (CV->getElementType()->isFloatingPointTy()) in isOneValue()
144 return CV->getElementAsAPFloat(0).bitcastToAPInt().isOneValue(); in isOneValue()
145 return CV->getElementAsAPInt(0).isOneValue(); in isOneValue()
162 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isMinSignedValue() local
163 if (Constant *Splat = CV->getSplatValue()) in isMinSignedValue()
167 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) { in isMinSignedValue() local
168 if (CV->isSplat()) { in isMinSignedValue()
169 if (CV->getElementType()->isFloatingPointTy()) in isMinSignedValue()
170 return CV->getElementAsAPFloat(0).bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
171 return CV->getElementAsAPInt(0).isMinSignedValue(); in isMinSignedValue()
1372 if (const ConstantDataVector *CV = dyn_cast<ConstantDataVector>(this)) in getSplatValue() local
1373 return CV->getSplatValue(); in getSplatValue()
1374 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in getSplatValue() local
1375 return CV->getSplatValue(); in getSplatValue()