| /llvm-project-15.0.7/mlir/lib/Conversion/ArmNeon2dToIntr/ |
| H A D | ArmNeon2dToIntr.cpp | 31 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 D | VectorInsertExtractStridedSliceRewritePatterns.cpp | 262 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 D | ArrayBoundCheckerV2.cpp | 328 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 D | SPIRVOps.cpp | 1869 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 D | ConvertVectorToLLVM.cpp | 868 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 D | MemRegion.cpp | 1379 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 D | Vectorization.cpp | 703 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 D | LLVMDialect.cpp | 230 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 D | TestDialect.cpp | 148 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 D | VectorOps.cpp | 2773 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 D | Type.h | 6413 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 D | CGExpr.cpp | 3673 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 D | CGExprScalar.cpp | 4617 llvm::Type *elemType = vecTy->getElementType(); in VisitAbstractConditionalOperator() local 4622 TestMSB, llvm::FixedVectorType::get(elemType, numElem), "sext"); in VisitAbstractConditionalOperator()
|