Home | History | Annotate | Download | only in VMCore

Lines Matching defs:VectorType

44   if (VectorType *VTy = dyn_cast<VectorType>(this))
62 return cast<VectorType>(this)->getElementType()->isIntegerTy();
74 return cast<VectorType>(this)->getElementType()->isFloatingPointTy();
92 if (const VectorType *thisPTy = dyn_cast<VectorType>(this)) {
93 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty))
101 if (const VectorType *thatPTy = dyn_cast<VectorType>(Ty))
141 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth();
157 if (const VectorType *VTy = dyn_cast<VectorType>(this))
178 if (const VectorType *VTy = dyn_cast<VectorType>(this))
643 // VectorType Implementation
646 VectorType::VectorType(Type *ElType, unsigned NumEl)
651 VectorType *VectorType::get(Type *elementType, unsigned NumElements) {
653 assert(NumElements > 0 && "#Elements of a VectorType must be greater than 0");
655 "Elements of a VectorType must be a primitive type");
658 VectorType *&Entry = ElementType->getContext().pImpl
662 Entry = new (pImpl->TypeAllocator) VectorType(ElementType, NumElements);
666 bool VectorType::isValidElementType(Type *ElemTy) {