Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp554 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
605 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
616 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
641 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
652 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
674 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
695 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
742 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
749 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
H A DGlobals.cpp342 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
366 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h311 static bool isValidElementType(Type *ElemTy);
375 static bool isValidElementType(Type *ElemTy);
510 static bool isValidElementType(Type *ElemTy);
680 static bool isValidElementType(Type *ElemTy);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp763 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
775 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
H A DLoadStoreVectorizer.cpp841 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
888 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
H A DSLPVectorizer.cpp198 static bool isValidElementType(Type *Ty) { in isValidElementType() function
199 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()
3050 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()
3455 if (!isValidElementType(EltTy)) in canMapToVector()
7070 if (!isValidElementType(SI->getValueOperand()->getType())) in collectSeedInstructions()
7082 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()
7117 if (!isa<InsertElementInst>(V) && !isValidElementType(Ty)) { in tryToVectorizeList()
7664 if (!isValidElementType(Ty) || Ty->isPointerTy()) in matchAssociativeReduction()
8408 isValidElementType(P->getType())) in vectorizeChainsInBlock()
8437 assert(isValidElementType(V1->getType()) && in vectorizeChainsInBlock()
[all …]
H A DLoopVectorize.cpp6625 if (Ty->isTokenTy() || !VectorType::isValidElementType(Ty)) in calculateRegisterUsage()
6881 assert(VectorType::isValidElementType(J->getType()) && in computePredInstDiscount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1121 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseGlobal()
2312 if (!PointerType::isValidElementType(Result)) in parseType()
2324 if (!PointerType::isValidElementType(Result)) in parseType()
2681 if (!StructType::isValidElementType(Ty)) in parseStructBody()
2689 if (!StructType::isValidElementType(Ty)) in parseStructBody()
2740 if (!VectorType::isValidElementType(EltTy)) in parseArrayVectorType()
2744 if (!ArrayType::isValidElementType(EltTy)) in parseArrayVectorType()
7097 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseAlloc()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp418 if (VectorType::isValidElementType(ArrayTy->getElementType()) && in tryPromoteAllocaToVector()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1780 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()
1905 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()
1916 if (!ResultTy || !StructType::isValidElementType(ResultTy)) in parseTypeTableBody()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2525 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
H A DInstCombineCasts.cpp2334 if (!VectorType::isValidElementType(DestType)) in canonicalizeBitCastExtElt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DType.h3434 static bool isValidElementType(QualType T) {
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp2682 !MatrixType::isValidElementType(ElementTy)) { in BuildMatrixType()
H A DSemaChecking.cpp16500 if (!ConstantMatrixType::isValidElementType(ElementTy)) { in SemaBuiltinMatrixColumnMajorLoad()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp4071 assert(MatrixType::isValidElementType(ElementTy) && in getConstantMatrixType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp37712 FixedVectorType::isValidElementType( in combineTargetShuffle()