Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp34 bool LLVMArrayType::isValidElementType(Type type) { in isValidElementType() function in LLVMArrayType
61 if (!isValidElementType(elementType)) in verify()
183 bool LLVMPointerType::isValidElementType(Type type) { in isValidElementType() function in LLVMPointerType
227 if (!isValidElementType(pointee)) in verify()
396 bool LLVMStructType::isValidElementType(Type type) { in isValidElementType() function in LLVMStructType
480 if (!isValidElementType(t)) in verify()
654 if (!VecTy::isValidElementType(elementType)) in verifyVectorConstructionInvariants()
682 bool LLVMFixedVectorType::isValidElementType(Type type) { in isValidElementType() function in LLVMFixedVectorType
730 bool LLVMScalableVectorType::isValidElementType(Type type) { in isValidElementType() function in LLVMScalableVectorType
928 bool useBuiltIn = VectorType::isValidElementType(elementType); in getVectorType()
[all …]
H A DLLVMTypeSyntax.cpp316 if (!LLVMStructType::isValidElementType(t)) { in trySetStructBody()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h85 static bool isValidElementType(Type type);
203 static bool isValidElementType(Type type);
293 static bool isValidElementType(Type type);
413 static bool isValidElementType(Type type);
455 static bool isValidElementType(Type type);
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPointerType.cpp31 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
62 bool TypedPointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in TypedPointerType
H A DDXILPointerType.h36 static bool isValidElementType(Type *ElemTy);
/llvm-project-15.0.7/llvm/lib/IR/
H A DType.cpp588 bool StructType::isValidElementType(Type *ElemTy) { in isValidElementType() function in StructType
639 assert(isValidElementType(ElementType) && "Invalid type for array element!"); in get()
650 bool ArrayType::isValidElementType(Type *ElemTy) { in isValidElementType() function in ArrayType
675 bool VectorType::isValidElementType(Type *ElemTy) { in isValidElementType() function in VectorType
686 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
708 assert(isValidElementType(ElementType) && "Element type of a VectorType must " in get()
729 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); in get()
778 bool PointerType::isValidElementType(Type *ElemTy) { in isValidElementType() function in PointerType
785 return isValidElementType(ElemTy) && !ElemTy->isFunctionTy(); in isLoadableOrStorableType()
H A DGlobals.cpp414 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
438 assert(!Ty->isFunctionTy() && PointerType::isValidElementType(Ty) && in GlobalVariable()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypes.h96 static bool isValidElementType(Type type);
132 static bool isValidElementType(Type type);
373 inline bool BaseMemRefType::isValidElementType(Type type) { in isValidElementType() function
H A DBuiltinTypes.td1001 static bool isValidElementType(Type t) {
/llvm-project-15.0.7/llvm/include/llvm/IR/
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);
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DTypeParser.cpp221 if (!BaseMemRefType::isValidElementType(elementType)) in parseMemRefType()
414 if (!TensorType::isValidElementType(elementType)) in parseTensorType()
476 if (!VectorType::isValidElementType(elementType)) in parseVectorType()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/GPU/IR/
H A DGPUDialect.h139 static bool isValidElementType(Type elementType);
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinTypes.cpp235 if (!isValidElementType(elementType)) in verify()
313 if (!TensorType::isValidElementType(elementType)) in checkTensorElementType()
319 bool TensorType::isValidElementType(Type type) { in isValidElementType() function in TensorType
662 if (!BaseMemRefType::isValidElementType(elementType)) in verify()
709 if (!BaseMemRefType::isValidElementType(elementType)) in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/
H A DSuperVectorize.cpp951 if (!VectorType::isValidElementType(scalarTy)) in vectorizeConstant()
981 if (!VectorType::isValidElementType(scalarTy)) in createInitialVector()
1254 if (!VectorType::isValidElementType(scalarTy)) in isNeutralElementConst()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp791 if ((!VectorType::isValidElementType(I.getType()) && in canVectorizeInstrs()
803 if (!VectorType::isValidElementType(T)) { in canVectorizeInstrs()
H A DLoadStoreVectorizer.cpp828 if (!VectorType::isValidElementType(Ty->getScalarType())) in collectInstructions()
868 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()
4298 !isValidElementType(SI->getValueOperand()->getType())) in collectUserStores()
5066 if (Ty != SrcTy || !isValidElementType(Ty)) { in buildTree_rec()
5556 if (!isValidElementType(EltTy)) in canMapToVector()
10270 if (!isValidElementType(Idx->getType())) in collectSeedInstructions()
10842 if (!isValidElementType(Ty) || Ty->isPointerTy()) in matchAssociativeReduction()
11916 if (IsDeleted(CI2) || !isValidElementType(CI2->getType())) in compareCmp()
12044 assert(isValidElementType(V1->getType()) && in vectorizeChainsInBlock()
12045 isValidElementType(V2->getType()) && in vectorizeChainsInBlock()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/
H A DGPUDialect.cpp63 bool MMAMatrixType::isValidElementType(Type elementType) { in isValidElementType() function in MMAMatrixType
78 if (!MMAMatrixType::isValidElementType(elementType)) in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp555 return !VectorType::isValidElementType(type); in vectorizeStaticLinalgOpPrecondition()
560 return !VectorType::isValidElementType(type); in vectorizeStaticLinalgOpPrecondition()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DBlockGenerators.cpp1125 if (!VectorType::isValidElementType(Load->getType())) { in generateLoad()
1269 if (!VectorType::isValidElementType(Inst->getType()) || !HasVectorOperand) in copyInstScalarized()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp393 if (VectorType::isValidElementType(ArrayTy->getElementType()) && in tryPromoteAllocaToVector()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp1195 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseGlobal()
2454 if (!PointerType::isValidElementType(Result)) in parseType()
2466 if (!PointerType::isValidElementType(Result)) in parseType()
2824 if (!StructType::isValidElementType(Ty)) in parseStructBody()
2832 if (!StructType::isValidElementType(Ty)) in parseStructBody()
2883 if (!VectorType::isValidElementType(EltTy)) in parseArrayVectorType()
2887 if (!ArrayType::isValidElementType(EltTy)) in parseArrayVectorType()
7219 if (Ty->isFunctionTy() || !PointerType::isValidElementType(Ty)) in parseAlloc()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp925 bool fir::VectorType::isValidElementType(mlir::Type t) { in isValidElementType() function in fir::VectorType
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIRTypes.td531 static bool isValidElementType(mlir::Type t);
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2264 !PointerType::isValidElementType(ResultTy)) in parseTypeTableBody()
2401 if (!ResultTy || !ArrayType::isValidElementType(ResultTy)) in parseTypeTableBody()
2413 if (!ResultTy || !VectorType::isValidElementType(ResultTy)) in parseTypeTableBody()

12