Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DType.cpp548 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
599 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
610 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
635 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
646 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
668 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
689 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
732 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
740 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDerivedTypes.h314 static bool isValidElementType(Type *ElemTy);
378 static bool isValidElementType(Type *ElemTy);
513 static bool isValidElementType(Type *ElemTy);
671 static bool isValidElementType(Type *ElemTy);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp747 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
759 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
H A DLoadStoreVectorizer.cpp809 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
856 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
H A DSLPVectorizer.cpp197 static bool isValidElementType(Type *Ty) { in isValidElementType() function
198 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()
3022 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()
3426 if (!isValidElementType(EltTy)) in canMapToVector()
6753 if (!isValidElementType(SI->getValueOperand()->getType())) in collectSeedInstructions()
6765 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()
6800 if (!isa<InsertElementInst>(V) && !isValidElementType(Ty)) { in tryToVectorizeList()
7314 if (!isValidElementType(Ty) || Ty->isPointerTy()) in matchAssociativeReduction()
H A DLoopVectorize.cpp6570 if (Ty->isTokenTy() || !VectorType::isValidElementType(Ty)) in calculateRegisterUsage()
6822 assert(VectorType::isValidElementType(J->getType()) && in computePredInstDiscount()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp1146 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseGlobal()
2626 if (!PointerType::isValidElementType(Result)) in parseType()
2638 if (!PointerType::isValidElementType(Result)) in parseType()
3010 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3018 if (!StructType::isValidElementType(Ty)) in parseStructBody()
3069 if (!VectorType::isValidElementType(EltTy)) in parseArrayVectorType()
3073 if (!ArrayType::isValidElementType(EltTy)) in parseArrayVectorType()
7396 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseAlloc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp418 if (VectorType::isValidElementType(ArrayTy->getElementType()) && in tryPromoteAllocaToVector()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1807 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()
1932 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()
1943 if (!ResultTy || !StructType::isValidElementType(ResultTy)) in parseTypeTableBody()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2465 if (!VectorType::isValidElementType(TgtTy)) in visitShuffleVectorInst()
H A DInstCombineCasts.cpp2269 if (!VectorType::isValidElementType(DestType)) in canonicalizeBitCastExtElt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DType.h3434 static bool isValidElementType(QualType T) {
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaType.cpp2658 !MatrixType::isValidElementType(ElementTy)) { in BuildMatrixType()
H A DSemaChecking.cpp16159 if (!ConstantMatrixType::isValidElementType(ElementTy)) { in SemaBuiltinMatrixColumnMajorLoad()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp4056 assert(MatrixType::isValidElementType(ElementTy) && in getConstantMatrixType()