Home | History | Annotate | Download | only in VMCore

Lines Matching full:vectortype

45   if (VectorType *VTy = dyn_cast<VectorType>(this))
63 return cast<VectorType>(this)->getElementType()->isIntegerTy();
76 return cast<VectorType>(this)->getElementType()->isFloatingPointTy();
94 if (const VectorType *thisPTy = dyn_cast<VectorType>(this)) {
95 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty))
103 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty))
144 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth();
160 if (const VectorType *VTy = dyn_cast<VectorType>(this))
182 if (const VectorType *VTy = dyn_cast<VectorType>(this))
234 return cast<VectorType>(this)->getNumElements();
713 // VectorType Implementation
716 VectorType::VectorType(Type *ElType, unsigned NumEl)
721 VectorType *VectorType::get(Type *elementType, unsigned NumElements) {
723 assert(NumElements > 0 && "#Elements of a VectorType must be greater than 0");
725 "Elements of a VectorType must be a primitive type");
728 VectorType *&Entry = ElementType->getContext().pImpl
732 Entry = new (pImpl->TypeAllocator) VectorType(ElementType, NumElements);
736 bool VectorType::isValidElementType(Type *ElemTy) {