Lines Matching refs:VTy

137   if (auto *VTy = dyn_cast<FixedVectorType>(getType())) {  in isNotOneValue()  local
138 for (unsigned I = 0, E = VTy->getNumElements(); I != E; ++I) { in isNotOneValue()
182 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNotMinSignedValue() local
183 for (unsigned I = 0, E = VTy->getNumElements(); I != E; ++I) { in isNotMinSignedValue()
204 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isFiniteNonZeroFP() local
205 for (unsigned I = 0, E = VTy->getNumElements(); I != E; ++I) { in isFiniteNonZeroFP()
225 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNormalFP() local
226 for (unsigned I = 0, E = VTy->getNumElements(); I != E; ++I) { in isNormalFP()
246 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in hasExactInverseFP() local
247 for (unsigned I = 0, E = VTy->getNumElements(); I != E; ++I) { in hasExactInverseFP()
267 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in isNaN() local
268 for (unsigned I = 0, E = VTy->getNumElements(); I != E; ++I) { in isNaN()
290 auto *VTy = dyn_cast<VectorType>(getType()); in isElementWiseEqual() local
291 if (!isa<Constant>(Y) || !VTy || VTy != Y->getType()) in isElementWiseEqual()
295 if (!(VTy->getElementType()->isIntegerTy() || in isElementWiseEqual()
296 VTy->getElementType()->isFloatingPointTy())) in isElementWiseEqual()
301 Type *IntTy = VectorType::getInteger(VTy); in isElementWiseEqual()
311 if (auto *VTy = dyn_cast<VectorType>(C->getType())) { in containsUndefinedElement() local
319 for (unsigned i = 0, e = cast<FixedVectorType>(VTy)->getNumElements(); in containsUndefinedElement()
341 if (auto *VTy = dyn_cast<FixedVectorType>(getType())) { in containsConstantExpression() local
342 for (unsigned i = 0, e = VTy->getNumElements(); i != e; ++i) in containsConstantExpression()
389 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getIntegerValue() local
390 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue()
405 VectorType *VTy = cast<VectorType>(Ty); in getAllOnesValue() local
406 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue()
407 getAllOnesValue(VTy->getElementType())); in getAllOnesValue()
756 auto *VTy = dyn_cast<FixedVectorType>(Ty); in replaceUndefsWith() local
757 if (!VTy) in replaceUndefsWith()
760 unsigned NumElts = VTy->getNumElements(); in replaceUndefsWith()
780 auto *VTy = dyn_cast<FixedVectorType>(Ty); in mergeUndefsWith() local
781 if (!VTy) in mergeUndefsWith()
784 Type *EltTy = VTy->getElementType(); in mergeUndefsWith()
785 unsigned NumElts = VTy->getNumElements(); in mergeUndefsWith()
848 if (auto *VTy = dyn_cast<VectorType>(Ty)) in getTrue() local
849 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue()
856 if (auto *VTy = dyn_cast<VectorType>(Ty)) in getFalse() local
857 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse()
883 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get() local
884 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
907 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get() local
908 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
936 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get() local
937 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
948 if (auto *VTy = dyn_cast<VectorType>(Ty)) in get() local
949 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
961 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in get() local
962 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
972 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getNaN() local
973 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN()
983 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getQNaN() local
984 return ConstantVector::getSplat(VTy->getElementCount(), C); in getQNaN()
994 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getSNaN() local
995 return ConstantVector::getSplat(VTy->getElementCount(), C); in getSNaN()
1005 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getZero() local
1006 return ConstantVector::getSplat(VTy->getElementCount(), C); in getZero()
1037 if (VectorType *VTy = dyn_cast<VectorType>(Ty)) in getInfinity() local
1038 return ConstantVector::getSplat(VTy->getElementCount(), C); in getInfinity()
1403 Type *VTy = VectorType::get(V->getType(), EC); in getSplat() local
1406 return ConstantAggregateZero::get(VTy); in getSplat()
1408 return UndefValue::get(VTy); in getSplat()
1410 Type *I32Ty = Type::getInt32Ty(VTy->getContext()); in getSplat()
1413 Constant *PoisonV = PoisonValue::get(VTy); in getSplat()