Searched refs:isValidElementType (Results 1 – 4 of 4) sorted by relevance
275 static bool isValidElementType(Type *ElemTy);350 static bool isValidElementType(Type *ElemTy);410 static bool isValidElementType(Type *ElemTy);448 static bool isValidElementType(Type *ElemTy);
623 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType706 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()717 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType734 assert(isValidElementType(ElementType) && in get()746 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType758 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()786 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
1347 if (!PointerType::isValidElementType(Result)) in ParseType()1359 if (!PointerType::isValidElementType(Result)) in ParseType()1605 if (!StructType::isValidElementType(Ty)) in ParseStructBody()1612 if (!StructType::isValidElementType(Ty)) in ParseStructBody()1651 if (!VectorType::isValidElementType(EltTy)) in ParseArrayVectorType()1656 if (!ArrayType::isValidElementType(EltTy)) in ParseArrayVectorType()
666 if (!(VectorType::isValidElementType(T1) || T1->isVectorTy()) || in isInstVectorizable()667 !(VectorType::isValidElementType(T2) || T2->isVectorTy())) in isInstVectorizable()