Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DTypedPointerType.cpp19 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
39 bool TypedPointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in TypedPointerType
H A DType.cpp597 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
648 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
659 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
683 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
694 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
716 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
737 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
764 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
771 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
H A DGlobals.cpp450 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DTypedPointerType.h39 static bool isValidElementType(Type *ElemTy);
H A DDerivedTypes.h326 static bool isValidElementType(Type *ElemTy);
390 static bool isValidElementType(Type *ElemTy);
525 static bool isValidElementType(Type *ElemTy);
673 static bool isValidElementType(Type *ElemTy);
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h206 if (VectorType::isValidElementType(T)) { in matchFirstLengthWAnyType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp953 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
965 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
H A DSLPVectorizer.cpp233 static bool isValidElementType(Type *Ty) { in isValidElementType() function
237 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()
1461 if (!isValidElementType(V1->getType()) || in getShallowScore()
1462 !isValidElementType(V2->getType())) in getShallowScore()
4229 if (!isValidElementType(ScalarTy)) in findReusedOrderedScalars()
5923 !isValidElementType(SI->getValueOperand()->getType())) in collectUserStores()
6392 if (Ty != SrcTy || !isValidElementType(Ty)) { in getScalarsVectorizationState()
7493 if (!isValidElementType(EltTy)) in canMapToVector()
9262 if (!isValidElementType(ScalarTy)) in getEntryCost()
16421 if (!isValidElementType(S in collectSeedInstructions()
[all...]
H A DLoadStoreVectorizer.cpp1337 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectEquivalenceClasses()
H A DLoopVectorize.cpp5191 if (Ty->isTokenTy() || !VectorType::isValidElementType(Ty)) in calculateRegisterUsage()
5460 assert(VectorType::isValidElementType(J->getType()) && in computePredInstDiscount()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1392 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseGlobal()
2974 if (!PointerType::isValidElementType(Result)) in parseType()
2986 if (!PointerType::isValidElementType(Result)) in parseType()
3413 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3421 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3472 if (!VectorType::isValidElementType(EltTy)) in parseArrayVectorType()
3476 if (!ArrayType::isValidElementType(EltTy)) in parseArrayVectorType()
8114 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseAlloc()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp738 if (VectorType::isValidElementType(ArrayTy->getElementType()) && in tryPromoteAllocaToVector()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2527 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()
2686 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()
2698 if (!ResultTy || !VectorType::isValidElementType(ResultTy)) in parseTypeTableBody()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2354 if (VectorType::isValidElementType(DestType)) { in canonicalizeBitCastExtElt()
H A DInstCombineVectorOps.cpp2964 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2222 if (!VectorType::isValidElementType(Ty)) in createAndCheckVectorTypesForPromotion()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4174 static bool isValidElementType(QualType T) {
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1927 !ConstantMatrixType::isValidElementType(ArgTy)) { in checkMathBuiltinElementType()
14487 if (!ConstantMatrixType::isValidElementType(ElementTy)) { in BuiltinMatrixColumnMajorLoad()
H A DSemaType.cpp2433 !MatrixType::isValidElementType(ElementTy)) { in BuildMatrixType()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp4583 assert(MatrixType::isValidElementType(ElementTy) && in getConstantMatrixType()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp40752 FixedVectorType::isValidElementType( in combineTargetShuffle()