Searched refs:isValidElementType (Results 1 – 12 of 12) sorted by relevance
507 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType582 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()593 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType608 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()621 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType632 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()656 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType662 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
320 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()340 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
298 static bool isValidElementType(Type *ElemTy);380 static bool isValidElementType(Type *ElemTy);448 static bool isValidElementType(Type *ElemTy);489 static bool isValidElementType(Type *ElemTy);
760 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()772 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
744 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()791 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
171 static bool isValidElementType(Type *Ty) { in isValidElementType() function172 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()1689 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()1965 if (!isValidElementType(EltTy)) in canMapToVector()4830 if (!isValidElementType(SI->getValueOperand()->getType())) in collectSeedInstructions()4842 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()4887 if (!isValidElementType(Ty)) { in tryToVectorizeList()5626 if (!isValidElementType(Ty)) in matchAssociativeReduction()
5361 assert(VectorType::isValidElementType(J->getType()) && in computePredInstDiscount()
374 !VectorType::isValidElementType(AllocaTy->getElementType())) { in tryPromoteAllocaToVector()
1027 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in ParseGlobal()2332 if (!PointerType::isValidElementType(Result)) in ParseType()2344 if (!PointerType::isValidElementType(Result)) in ParseType()2666 if (!StructType::isValidElementType(Ty)) in ParseStructBody()2673 if (!StructType::isValidElementType(Ty)) in ParseStructBody()2712 if (!VectorType::isValidElementType(EltTy)) in ParseArrayVectorType()2716 if (!ArrayType::isValidElementType(EltTy)) in ParseArrayVectorType()6616 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in ParseAlloc()
1633 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()1751 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()1761 if (!ResultTy || !StructType::isValidElementType(ResultTy)) in parseTypeTableBody()
1724 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
2040 if (!VectorType::isValidElementType(DestType)) in canonicalizeBitCastExtElt()