Home
last modified time | relevance | path

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

12

/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMTypes.cpp261 bool LLVMArrayType::isValidElementType(LLVMType type) { in isValidElementType() function in LLVMArrayType
284 if (!isValidElementType(elementType)) in verifyConstructionInvariants()
368 bool LLVMPointerType::isValidElementType(LLVMType type) { in isValidElementType() function in LLVMPointerType
390 if (!isValidElementType(pointee)) in verifyConstructionInvariants()
398 bool LLVMStructType::isValidElementType(LLVMType type) { in isValidElementType() function in LLVMStructType
435 assert(llvm::all_of(types, LLVMStructType::isValidElementType) && in setBody()
462 if (!isValidElementType(t)) in verifyConstructionInvariants()
471 bool LLVMVectorType::isValidElementType(LLVMType type) { in isValidElementType() function in LLVMVectorType
500 if (!isValidElementType(elementType)) in verifyConstructionInvariants()
DLLVMTypeSyntax.cpp313 if (!LLVMStructType::isValidElementType(t)) { in trySetStructBody()
/external/llvm-project/llvm/lib/IR/
DType.cpp521 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
572 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
583 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
607 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
618 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
640 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
661 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
685 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
691 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
DGlobals.cpp342 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
366 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/external/llvm/lib/IR/
DType.cpp530 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
609 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
620 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
637 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
650 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
661 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
689 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
695 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp511 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
588 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
599 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
616 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
628 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
639 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
663 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
669 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
DGlobals.cpp345 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
365 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h275 static bool isValidElementType(Type *ElemTy);
356 static bool isValidElementType(Type *ElemTy);
424 static bool isValidElementType(Type *ElemTy);
465 static bool isValidElementType(Type *ElemTy);
/external/llvm/include/llvm/IR/
DDerivedTypes.h270 static bool isValidElementType(Type *ElemTy);
350 static bool isValidElementType(Type *ElemTy);
421 static bool isValidElementType(Type *ElemTy);
460 static bool isValidElementType(Type *ElemTy);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h335 static bool isValidElementType(Type *ElemTy);
419 static bool isValidElementType(Type *ElemTy);
538 static bool isValidElementType(Type *ElemTy);
601 static bool isValidElementType(Type *ElemTy);
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMTypes.h271 static bool isValidElementType(LLVMType type);
379 static bool isValidElementType(LLVMType type);
434 static bool isValidElementType(LLVMType type);
510 static bool isValidElementType(LLVMType type);
/external/llvm-project/mlir/lib/IR/
DBuiltinTypes.cpp298 if (!isValidElementType(elementType)) in verifyConstructionInvariants()
317 if (!TensorType::isValidElementType(elementType)) in checkTensorElementType()
323 bool TensorType::isValidElementType(Type type) { in isValidElementType() function in TensorType
427 if (!BaseMemRefType::isValidElementType(elementType)) in getImpl()
495 if (!BaseMemRefType::isValidElementType(elementType)) in verifyConstructionInvariants()
/external/llvm-project/llvm/include/llvm/IR/
DDerivedTypes.h317 static bool isValidElementType(Type *ElemTy);
381 static bool isValidElementType(Type *ElemTy);
525 static bool isValidElementType(Type *ElemTy);
683 static bool isValidElementType(Type *ElemTy);
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinTypes.h431 static bool isValidElementType(Type t) { in isValidElementType() function
449 static bool isValidElementType(Type type);
525 static bool isValidElementType(Type type) { in isValidElementType() function
/external/llvm-project/mlir/lib/Parser/
DTypeParser.cpp406 if (!TensorType::isValidElementType(elementType)) in parseTensorType()
466 if (!VectorType::isValidElementType(elementType)) in parseVectorType()
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DSuperVectorize.cpp758 assert(VectorType::isValidElementType(elementType) && in vectorizeRootOrTerminal()
896 !VectorType::isValidElementType(constant.getType())) { in vectorizeConstant()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp719 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
731 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
DLoadStoreVectorizer.cpp759 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
806 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
DSLPVectorizer.cpp194 static bool isValidElementType(Type *Ty) { in isValidElementType() function
195 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()
2746 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()
3134 if (!isValidElementType(EltTy)) in canMapToVector()
5835 if (!isValidElementType(SI->getValueOperand()->getType())) in collectSeedInstructions()
5847 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()
5892 if (!isValidElementType(Ty)) { in tryToVectorizeList()
6584 if (!isValidElementType(Ty)) in matchAssociativeReduction()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp759 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
771 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
DLoadStoreVectorizer.cpp801 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
848 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp509 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
545 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
DSLPVectorizer.cpp108 static bool isValidElementType(Type *Ty) { in isValidElementType() function
109 return VectorType::isValidElementType(Ty) && !Ty->isX86_FP80Ty() && in isValidElementType()
1197 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()
1471 if (!isValidElementType(EltTy)) in canMapToVector()
3715 if (!isValidElementType(SI->getValueOperand()->getType())) in collectSeedInstructions()
3727 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()
3765 if (!isValidElementType(Ty)) in tryToVectorizeList()
3992 if (!isValidElementType(Ty)) in matchAssociativeReduction()
/external/llvm/lib/AsmParser/
DLLParser.cpp867 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in ParseGlobal()
2041 if (!PointerType::isValidElementType(Result)) in ParseType()
2053 if (!PointerType::isValidElementType(Result)) in ParseType()
2380 if (!StructType::isValidElementType(Ty)) in ParseStructBody()
2387 if (!StructType::isValidElementType(Ty)) in ParseStructBody()
2426 if (!VectorType::isValidElementType(EltTy)) in ParseArrayVectorType()
2430 if (!ArrayType::isValidElementType(EltTy)) in ParseArrayVectorType()
5970 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in ParseAlloc()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp379 !VectorType::isValidElementType(AllocaTy->getElementType())) { in tryPromoteAllocaToVector()

12