Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DTypedPointerType.cpp19 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
38 bool TypedPointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in TypedPointerType
H A DVectorTypeUtils.cpp21 assert(all_of(StructTy->elements(), VectorType::isValidElementType) && in toVectorizedStructTy()
61 all_of(ElemTys, VectorType::isValidElementType); in canVectorizeStructTy()
H A DType.cpp706 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
757 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
768 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
792 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
807 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
830 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
851 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
878 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
885 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
H A DGlobals.cpp473 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h353 LLVM_ABI static bool isValidElementType(Type *ElemTy);
417 LLVM_ABI static bool isValidElementType(Type *ElemTy);
578 LLVM_ABI static bool isValidElementType(Type *ElemTy);
722 assert(isValidElementType(ElementType) && in getUnqual()
734 LLVM_ABI static bool isValidElementType(Type *ElemTy);
H A DTypedPointerType.h41 LLVM_ABI static bool isValidElementType(Type *ElemTy);
H A DVectorTypeUtils.h88 return Ty->isVoidTy() || VectorType::isValidElementType(Ty); in canVectorizeTy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DSeedCollector.cpp153 return VectorType::isValidElementType(VTy->getElementType()); in isValidMemSeed()
154 return VectorType::isValidElementType(Ty); in isValidMemSeed()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DType.cpp109 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
110 return llvm::VectorType::isValidElementType(ElemTy->LLVMTy); in isValidElementType()
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h209 if (VectorType::isValidElementType(T)) { in matchFirstLengthWAnyType()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DType.h351 LLVM_ABI static bool isValidElementType(Type *ElemTy);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp974 !VectorType::isValidElementType(I.getOperand(0)->getType())) || in canVectorizeInstrs()
985 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
H A DVPlanAnalysis.cpp501 if (Ty->isTokenTy() || !VectorType::isValidElementType(Ty) || in calculateRegisterUsageForPlan()
H A DSLPVectorizer.cpp236 static bool isValidElementType(Type *Ty) { in isValidElementType() function
240 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()
278 if (!isValidElementType(Ty)) in getFullVectorNumberOfElements()
293 if (!isValidElementType(Ty)) in getFloorFullVectorNumberOfElements()
1738 if (!isValidElementType(Ty) && !isa<FixedVectorType>(Ty)) in hasFullVectorsOrPowerOf2()
2193 if (!isValidElementType(V1->getType()) || in getShallowScore()
2194 !isValidElementType(V2->getType())) in getShallowScore()
5372 if (!isValidElementType(ScalarTy)) in findReusedOrderedScalars()
7977 !isValidElementType(SI->getValueOperand()->getType())) in collectUserStores()
8128 if (!isValidElementType(ScalarTy)) in gatherPossiblyVectorizableLoads()
[all …]
H A DLoadStoreVectorizer.cpp1465 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectEquivalenceClasses()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1380 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseGlobal()
3004 if (!PointerType::isValidElementType(Result)) in parseType()
3016 if (!PointerType::isValidElementType(Result)) in parseType()
3512 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3520 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3571 if (!VectorType::isValidElementType(EltTy)) in parseArrayVectorType()
3575 if (!ArrayType::isValidElementType(EltTy)) in parseArrayVectorType()
8425 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseAlloc()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp815 if (VectorType::isValidElementType(ElemTy) && NumElems > 0) { in tryPromoteAllocaToVector()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2616 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()
2780 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()
2792 if (!ResultTy || !VectorType::isValidElementType(ResultTy)) in parseTypeTableBody()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp2421 if (VectorType::isValidElementType(DestType)) { in canonicalizeBitCastExtElt()
H A DInstCombineVectorOps.cpp3068 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp2569 if (TypedPointerType::isValidElementType(ElemTy) && in parseFunDeclarations()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2315 if (!VectorType::isValidElementType(Ty)) in createAndCheckVectorTypesForPromotion()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DType.h4284 static bool isValidElementType(QualType T) {
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp2123 !ConstantMatrixType::isValidElementType(ArgTy)) { in checkMathBuiltinElementType()
15957 if (!ConstantMatrixType::isValidElementType(ElementTy)) { in BuiltinMatrixColumnMajorLoad()
H A DSemaType.cpp2458 !MatrixType::isValidElementType(ElementTy)) { in BuildMatrixType()

12