Searched refs:isValidElementType (Results 1 – 13 of 13) sorted by relevance
511 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType588 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()599 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType616 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()628 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType639 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()663 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType669 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
345 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()365 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
275 static bool isValidElementType(Type *ElemTy);356 static bool isValidElementType(Type *ElemTy);424 static bool isValidElementType(Type *ElemTy);465 static bool isValidElementType(Type *ElemTy);
335 static bool isValidElementType(Type *ElemTy);419 static bool isValidElementType(Type *ElemTy);538 static bool isValidElementType(Type *ElemTy);601 static bool isValidElementType(Type *ElemTy);
719 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()731 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
759 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()806 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
194 static bool isValidElementType(Type *Ty) { in isValidElementType() function195 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()2746 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()3134 if (!isValidElementType(EltTy)) in canMapToVector()5835 if (!isValidElementType(SI->getValueOperand()->getType())) in collectSeedInstructions()5847 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()5892 if (!isValidElementType(Ty)) { in tryToVectorizeList()6584 if (!isValidElementType(Ty)) in matchAssociativeReduction()
5690 assert(VectorType::isValidElementType(J->getType()) && in computePredInstDiscount()
379 !VectorType::isValidElementType(AllocaTy->getElementType())) { in tryPromoteAllocaToVector()
1059 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in ParseGlobal()2398 if (!PointerType::isValidElementType(Result)) in ParseType()2410 if (!PointerType::isValidElementType(Result)) in ParseType()2762 if (!StructType::isValidElementType(Ty)) in ParseStructBody()2769 if (!StructType::isValidElementType(Ty)) in ParseStructBody()2819 if (!VectorType::isValidElementType(EltTy)) in ParseArrayVectorType()2823 if (!ArrayType::isValidElementType(EltTy)) in ParseArrayVectorType()6901 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in ParseAlloc()
1777 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()1895 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()1906 if (!ResultTy || !StructType::isValidElementType(ResultTy)) in parseTypeTableBody()
2024 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
2105 if (!VectorType::isValidElementType(DestType)) in canonicalizeBitCastExtElt()