Home
last modified time | relevance | path

Searched refs:elemType (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/ArmNeon2dToIntr/
H A DArmNeon2dToIntr.cpp31 Type elemType = op.getB().getType().cast<VectorType>().getElementType(); in matchAndRewrite() local
34 VectorType flattenedVectorType = VectorType::get({length}, elemType); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorInsertExtractStridedSliceRewritePatterns.cpp262 auto elemType = dstType.getElementType(); in matchAndRewrite() local
263 assert(elemType.isSignlessIntOrIndexOrFloat()); in matchAndRewrite()
272 loc, elemType, rewriter.getZeroAttr(elemType)); in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp328 QualType elemType = elemReg->getElementType(); in computeOffset() local
331 if (elemType->isIncompleteType()) in computeOffset()
339 astContext.getTypeSizeInChars(elemType), in computeOffset()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp1869 Type elemType = arrayType.getElementType(); in verifyConstantType() local
1872 if (failed(verifyConstantType(op, element, elemType))) in verifyConstantType()
1915 Type elemType = vectorType.getElementType(); in getZero() local
1916 if (elemType.isa<IntegerType>()) { in getZero()
1920 IntegerAttr::get(elemType, 0.0).getValue())); in getZero()
1922 if (elemType.isa<FloatType>()) { in getZero()
1926 FloatAttr::get(elemType, 0.0).getValue())); in getZero()
1948 Type elemType = vectorType.getElementType(); in getOne() local
1949 if (elemType.isa<IntegerType>()) { in getOne()
1953 IntegerAttr::get(elemType, 1.0).getValue())); in getOne()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp868 auto elemType = vType.getElementType(); in matchAndRewrite() local
870 loc, elemType, rewriter.getZeroAttr(elemType)); in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp1379 QualType elemType = ER->getElementType(); in getAsArrayOffset() local
1382 if (elemType->isIncompleteType()) { in getAsArrayOffset()
1387 int64_t size = C.getTypeSizeInChars(elemType).getQuantity(); in getAsArrayOffset()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp703 auto elemType = sourceType.getElementType(); in tryVectorizeCopy() local
705 padOp.getLoc(), elemType, rewriter.getZeroAttr(elemType)); in tryVectorizeCopy()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp230 Type type, elemType; in parse() local
233 parser.parseType(elemType) || in parse()
264 result.addAttribute(kElemTypeAttrName, TypeAttr::get(elemType)); in parse()
679 if (Optional<Type> elemType = getElemType()) in getSourceElementType() local
680 return *elemType; in getSourceElementType()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestDialect.cpp148 llvm::all_of(tupleType.getTypes(), [](Type elemType) { in getAlias() argument
149 return elemType.isa<SimpleAType>(); in getAlias()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp2773 Type elemType = source.getType().cast<ShapedType>().getElementType(); in build() local
2775 result.location, elemType, builder.getZeroAttr(elemType)); in build()
2815 Type elemType = source.getType().cast<ShapedType>().getElementType(); in build() local
2817 result.location, elemType, builder.getZeroAttr(elemType)); in build()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DType.h6413 PipeType(QualType elemType, QualType CanonicalPtr, bool isRead)
6414 : Type(Pipe, CanonicalPtr, elemType->getDependence()),
6415 ElementType(elemType), isRead(isRead) {}
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExpr.cpp3673 llvm::Type *elemType, in emitArraySubscriptGEP() argument
3681 return CGF.EmitCheckedInBoundsGEP(elemType, ptr, indices, signedIndices, in emitArraySubscriptGEP()
3685 return CGF.Builder.CreateGEP(elemType, ptr, indices, name); in emitArraySubscriptGEP()
H A DCGExprScalar.cpp4617 llvm::Type *elemType = vecTy->getElementType(); in VisitAbstractConditionalOperator() local
4622 TestMSB, llvm::FixedVectorType::get(elemType, numElem), "sext"); in VisitAbstractConditionalOperator()