Lines Matching refs:VectorType
1924 const auto *VT = cast<VectorType>(T);
3751 /// type of the specified element type and size. VectorType must be a built-in
3778 /// the specified element type and size. VectorType must be a built-in type.
3780 VectorType::VectorKind VecKind) const {
3785 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind);
3788 if (VectorType *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))
3798 VectorType *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);
3802 VectorType(vecType, NumElts, Canonical, VecKind);
3811 VectorType::VectorKind VecKind) const {
3848 /// the specified element type and size. VectorType must be a built-in type.
3855 VectorType::Profile(ID, vecType, NumElts, Type::ExtVector,
3856 VectorType::GenericVector);
3858 if (VectorType *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))
3868 VectorType *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);
8426 static bool areCompatVectorTypes(const VectorType *LHS,
8427 const VectorType *RHS) {
8453 const auto *First = FirstVec->castAs<VectorType>();
8454 const auto *Second = SecondVec->castAs<VectorType>();
8457 First->getVectorKind() != VectorType::AltiVecPixel &&
8458 First->getVectorKind() != VectorType::AltiVecBool &&
8459 Second->getVectorKind() != VectorType::AltiVecPixel &&
8460 Second->getVectorKind() != VectorType::AltiVecBool)
9644 if (areCompatVectorTypes(LHSCan->castAs<VectorType>(),
9645 RHSCan->castAs<VectorType>()))
9844 if (const auto *VTy = T->getAs<VectorType>())
10141 VectorType::GenericVector);