Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp590 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
641 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
652 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
677 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
688 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
710 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
731 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
780 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
787 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
H A DGlobals.cpp415 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
439 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DTypedPointerType.h39 static bool isValidElementType(Type *ElemTy);
H A DDerivedTypes.h312 static bool isValidElementType(Type *ElemTy);
376 static bool isValidElementType(Type *ElemTy);
511 static bool isValidElementType(Type *ElemTy);
676 static bool isValidElementType(Type *ElemTy);
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp802 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
814 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
H A DLoadStoreVectorizer.cpp831 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
871 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
H A DSLPVectorizer.cpp200 static bool isValidElementType(Type *Ty) { in isValidElementType() function
201 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()
1260 if (!isValidElementType(V1->getType()) || in getShallowScore()
1261 !isValidElementType(V2->getType())) in getShallowScore()
4720 !isValidElementType(SI->getValueOperand()->getType())) in collectUserStores()
5496 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()
5982 if (!isValidElementType(EltTy)) in canMapToVector()
11600 if (!isValidElementType(SI->getValueOperand()->getType())) in collectSeedInstructions()
11612 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()
11649 if (!isa<InsertElementInst>(V) && !isValidElementType(Ty)) { in tryToVectorizeList()
[all …]
H A DLoopVectorize.cpp6002 if (Ty->isTokenTy() || !VectorType::isValidElementType(Ty)) in calculateRegisterUsage()
6265 assert(VectorType::isValidElementType(J->getType()) && in computePredInstDiscount()
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp1240 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseGlobal()
2666 if (!PointerType::isValidElementType(Result)) in parseType()
2678 if (!PointerType::isValidElementType(Result)) in parseType()
3036 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3044 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3095 if (!VectorType::isValidElementType(EltTy)) in parseArrayVectorType()
3099 if (!ArrayType::isValidElementType(EltTy)) in parseArrayVectorType()
7488 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseAlloc()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp398 if (VectorType::isValidElementType(ArrayTy->getElementType()) && in tryPromoteAllocaToVector()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2363 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()
2525 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()
2537 if (!ResultTy || !VectorType::isValidElementType(ResultTy)) in parseTypeTableBody()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2903 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
H A DInstCombineCasts.cpp2375 if (VectorType::isValidElementType(DestType)) { in canonicalizeBitCastExtElt()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DType.h3574 static bool isValidElementType(QualType T) {
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp2036 if (!Ty->getAs<VectorType>() && !ConstantMatrixType::isValidElementType(Ty)) { in checkMathBuiltinElementType()
17952 if (!ConstantMatrixType::isValidElementType(ElementTy)) { in SemaBuiltinMatrixColumnMajorLoad()
H A DSemaType.cpp2799 !MatrixType::isValidElementType(ElementTy)) { in BuildMatrixType()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DASTContext.cpp4195 assert(MatrixType::isValidElementType(ElementTy) && in getConstantMatrixType()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp40995 FixedVectorType::isValidElementType( in combineTargetShuffle()