Home
last modified time | relevance | path

Searched refs:targetType (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/flang/runtime/
H A Dfindloc.cpp216 auto targetType{target.type().GetCategoryAndKind()}; in RTNAME() local
222 void>(xType->second, terminator, targetType->first, targetType->second, in RTNAME()
228 void>(xType->second, terminator, targetType->first, targetType->second, in RTNAME()
234 void>(xType->second, terminator, targetType->first, targetType->second, in RTNAME()
239 targetType->first == TypeCategory::Character && in RTNAME()
240 targetType->second == xType->second); in RTNAME()
302 auto targetType{target.type().GetCategoryAndKind()}; in RTNAME() local
308 void>(xType->second, terminator, targetType->first, targetType->second, in RTNAME()
314 void>(xType->second, terminator, targetType->first, targetType->second, in RTNAME()
320 void>(xType->second, terminator, targetType->first, targetType->second, in RTNAME()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/Utils/
H A DUtils.cpp63 Type targetType, Value value) { in getValueOrCreateCastToIndexLike() argument
64 if (targetType == value.getType()) in getValueOrCreateCastToIndexLike()
67 bool targetIsIndex = targetType.isIndex(); in getValueOrCreateCastToIndexLike()
70 return b.create<arith::IndexCastOp>(loc, targetType, value); in getValueOrCreateCastToIndexLike()
72 auto targetIntegerType = targetType.dyn_cast<IntegerType>(); in getValueOrCreateCastToIndexLike()
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/
H A DMemRefToSPIRV.cpp42 IntegerType targetType = builder.getIntegerType(targetBits); in getOffsetForBitwidth() local
44 builder.getIntegerAttr(targetType, targetBits / sourceBits); in getOffsetForBitwidth()
45 auto idx = builder.create<spirv::ConstantOp>(loc, targetType, idxAttr); in getOffsetForBitwidth()
46 IntegerAttr srcBitsAttr = builder.getIntegerAttr(targetType, sourceBits); in getOffsetForBitwidth()
48 builder.create<spirv::ConstantOp>(loc, targetType, srcBitsAttr); in getOffsetForBitwidth()
50 return builder.create<spirv::IMulOp>(loc, targetType, m, srcBitsValue); in getOffsetForBitwidth()
67 IntegerType targetType = builder.getIntegerType(targetBits); in adjustAccessChainForBitwidth() local
69 builder.getIntegerAttr(targetType, targetBits / sourceBits); in adjustAccessChainForBitwidth()
70 auto idx = builder.create<spirv::ConstantOp>(loc, targetType, attr); in adjustAccessChainForBitwidth()
83 Type targetType = builder.getIntegerType(targetBits); in shiftValue() local
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Utils/
H A DReshapeOpsUtils.cpp20 ShapedType targetType) { in getReassociationIndicesForReshape() argument
21 if (sourceType.getRank() > targetType.getRank()) in getReassociationIndicesForReshape()
23 targetType.getShape()); in getReassociationIndicesForReshape()
24 if (sourceType.getRank() < targetType.getRank()) in getReassociationIndicesForReshape()
25 return getReassociationIndicesForCollapse(targetType.getShape(), in getReassociationIndicesForReshape()
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToLLVM/
H A DArithmeticToLLVM.cpp134 auto targetType = typeConverter->convertType(op.getResult().getType()); in matchAndRewrite() local
146 rewriter.replaceOpWithNewOp<LLVM::TruncOp>(op, targetType, adaptor.getIn()); in matchAndRewrite()
148 rewriter.replaceOpWithNewOp<LLVM::SExtOp>(op, targetType, adaptor.getIn()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDistribute.cpp287 VectorType targetType) { in cloneWriteOp() argument
294 TypeRange{targetType}, newRetIndices); in cloneWriteOp()
352 VectorType targetType = in tryDistributeOp() local
358 cloneWriteOp(rewriter, warpOp, writeOp, targetType); in tryDistributeOp()
493 Type targetType; in matchAndRewrite() local
497 targetType = in matchAndRewrite()
503 targetType = operandType; in matchAndRewrite()
505 retTypes.push_back(targetType); in matchAndRewrite()
H A DVectorUnrollDistribute.cpp205 auto targetType = in matchAndRewrite() local
221 loc, targetType, readOp.getSource(), indices, in matchAndRewrite()
382 auto targetType = VectorType::get(dstShape, dstVecType.getElementType()); in matchAndRewrite() local
384 rewriter, loc, contractOp, slicesOperands, targetType); in matchAndRewrite()
458 auto targetType = VectorType::get( in matchAndRewrite() local
461 operands, targetType); in matchAndRewrite()
H A DVectorTransforms.cpp2616 auto targetType = readOp.getVectorType(); in matchAndRewrite() local
2617 if (targetType.getRank() <= 1) in matchAndRewrite()
2638 VectorType::get(targetType.getShape().drop_back(dimsToDrop), in matchAndRewrite()
2639 targetType.getElementType()); in matchAndRewrite()
2680 rewriter.replaceOpWithNewOp<vector::ShapeCastOp>(readOp, targetType, in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tensor/IR/
H A DTensor.h118 RankedTensorType targetType);
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Arithmetic/Utils/
H A DUtils.h87 Type targetType, Value value);
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToLLVM/
H A DMemRefToLLVM.cpp916 auto targetType = op.getTarget().getType().cast<BaseMemRefType>(); in lowerToMemCopyFunctionCall() local
938 Value unrankedTarget = targetType.hasRank() in lowerToMemCopyFunctionCall()
939 ? makeUnranked(adaptor.getTarget(), targetType) in lowerToMemCopyFunctionCall()
973 auto targetType = op.getTarget().getType().cast<BaseMemRefType>(); in matchAndRewrite() local
986 if (isContiguousMemrefType(srcType) && isContiguousMemrefType(targetType)) in matchAndRewrite()
1212 auto targetType = in convertSourceMemRefToDescriptor() local
1214 unsigned addressSpace = targetType.getMemorySpaceAsInt(); in convertSourceMemRefToDescriptor()
1215 Type elementType = targetType.getElementType(); in convertSourceMemRefToDescriptor()
1220 rewriter, loc, typeConverter->convertType(targetType)); in convertSourceMemRefToDescriptor()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp47 auto targetType = target.dyn_cast<RankedTensorType>(); in preservesStaticInformation() local
50 if (!sourceType || !targetType) in preservesStaticInformation()
54 if (sourceType.getElementType() != targetType.getElementType()) in preservesStaticInformation()
58 if (sourceType.getRank() != targetType.getRank()) in preservesStaticInformation()
62 for (auto t : llvm::zip(sourceType.getShape(), targetType.getShape())) { in preservesStaticInformation()
1433 OpBuilder &b, Location loc, Value tensor, RankedTensorType targetType) { in createCanonicalRankReducingExtractSliceOp() argument
1449 return b.createOrFold<tensor::ExtractSliceOp>(loc, targetType, tensor, in createCanonicalRankReducingExtractSliceOp()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Utils/
H A DReshapeOpsUtils.h69 getReassociationIndicesForReshape(ShapedType sourceType, ShapedType targetType);
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dintrinsics.cpp2317 if (const auto targetType{targetArg->GetType()}) { in CheckAssociated() local
2318 ok = pointerType->IsTkCompatibleWith(*targetType); in CheckAssociated()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp3949 Type targetType = in verify() local
3955 if (targetType != sourceType) in verify()