Home
last modified time | relevance | path

Searched refs:isValidElementType (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/IR/
H A DType.cpp507 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
582 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
593 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
608 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
621 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
632 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
656 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
662 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
H A DGlobals.cpp320 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
340 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDerivedTypes.h298 static bool isValidElementType(Type *ElemTy);
380 static bool isValidElementType(Type *ElemTy);
448 static bool isValidElementType(Type *ElemTy);
489 static bool isValidElementType(Type *ElemTy);
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp760 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
772 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
H A DLoadStoreVectorizer.cpp744 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
791 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
H A DSLPVectorizer.cpp171 static bool isValidElementType(Type *Ty) { in isValidElementType() function
172 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()
H A DLoopVectorize.cpp5361 assert(VectorType::isValidElementType(J->getType()) && in computePredInstDiscount()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp374 !VectorType::isValidElementType(AllocaTy->getElementType())) { in tryPromoteAllocaToVector()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp1027 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()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1633 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()
1751 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()
1761 if (!ResultTy || !StructType::isValidElementType(ResultTy)) in parseTypeTableBody()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp1724 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
H A DInstCombineCasts.cpp2040 if (!VectorType::isValidElementType(DestType)) in canonicalizeBitCastExtElt()