Home
last modified time | relevance | path

Searched defs:memrefType (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Conversion/LinalgToStandard/
H A DLinalgToStandard.cpp34 if (auto memrefType = type.dyn_cast<MemRefType>()) in extractOperandTypes() local
87 auto memrefType = op.getType().dyn_cast<MemRefType>(); in createTypeCanonicalizedMemRefOperands() local
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DNormalizeMemRefs.cpp216 MemRefType memrefType = opType.dyn_cast<MemRefType>(); in updateFunctionSignature() local
347 MemRefType memrefType = argType.dyn_cast<MemRefType>(); in normalizeFuncOpMemRefs() local
455 MemRefType memrefType = resType.dyn_cast<MemRefType>(); in normalizeFuncOpMemRefs() local
496 MemRefType memrefType = resultType.dyn_cast<MemRefType>(); in createOpResultsNormalized() local
/llvm-project-15.0.7/mlir/test/lib/Analysis/
H A DTestMemRefStrideCalculation.cpp35 auto memrefType = allocOp.getResult().getType().cast<MemRefType>(); in runOnOperation() local
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferResultsToOutParams.cpp49 if (auto memrefType = resultType.value().dyn_cast<MemRefType>()) { in updateFuncOp() local
135 auto memrefType = memref.getType().cast<MemRefType>(); in updateCalls() local
H A DFuncBufferizableOpInterfaceImpl.cpp70 BaseMemRefType memrefType; in getBufferizedFunctionArgType() local
443 Type memrefType = in bufferize() local
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/
H A DMemRefToSPIRV.cpp321 auto memrefType = loadOp.getMemref().getType().cast<MemRefType>(); in matchAndRewrite() local
416 auto memrefType = loadOp.getMemref().getType().cast<MemRefType>(); in matchAndRewrite() local
433 auto memrefType = storeOp.getMemref().getType().cast<MemRefType>(); in matchAndRewrite() local
528 auto memrefType = storeOp.getMemref().getType().cast<MemRefType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Conversion/BufferizationToMemRef/
H A DBufferizationToMemRef.cpp42 MemRefType memrefType = type.cast<MemRefType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/unittests/IR/
H A DShapedTypeTest.cpp32 ShapedType memrefType = in TEST() local
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/
H A DAffineOps.cpp2555 auto memrefType = memref.getType().cast<MemRefType>(); in build() local
2562 auto memrefType = memref.getType().cast<MemRefType>(); in build() local
2632 auto memrefType = getMemRefType(); in verify() local
2704 auto memrefType = memref.getType().cast<MemRefType>(); in build() local
2748 auto memrefType = getMemRefType(); in verify() local
3874 auto memrefType = memref.getType().cast<MemRefType>(); in build() local
3893 MemRefType memrefType; in parse() local
3933 MemRefType memrefType = getMemRefType(); in verify() local
3965 auto memrefType = memref.getType().cast<MemRefType>(); in build() local
3982 MemRefType memrefType; in parse() local
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp166 auto memrefType = alloc.getType(); in matchAndRewrite() local
766 if (auto memrefType = type.dyn_cast<MemRefType>()) { in verify() local
880 auto memrefType = getSource().getType().dyn_cast<MemRefType>(); in fold() local
1175 if (auto memrefType = memref.getType().dyn_cast<MemRefType>()) { in build() local
1209 Type memrefType; in parse() local
1272 auto memrefType = type.dyn_cast<MemRefType>(); in parseGlobalMemrefOpTypeAndInitialValue() local
1296 auto memrefType = getType().dyn_cast<MemRefType>(); in verify() local
2346 auto memrefType = expectedType.cast<ShapedType>(); in produceSubViewErrorMsg() local
2766 auto memrefType = viewOp.getType(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/Utils/
H A DReshapeOpsUtils.cpp269 if (auto memrefType = type.dyn_cast<MemRefType>()) in hasNonIdentityLayout() local
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/Transforms/
H A DBufferizableOpInterfaceImpl.cpp162 auto memrefType = in bufferize() local
393 auto memrefType = in bufferize() local
461 auto memrefType = in bufferize() local
/llvm-project-15.0.7/mlir/lib/Conversion/LLVMCommon/
H A DTypeConverter.cpp505 if (auto memrefType = operand.getType().dyn_cast<MemRefType>()) { in promoteOperands() local
517 if (auto memrefType = operand.getType().dyn_cast<MemRefType>()) { in promoteOperands() local
/llvm-project-15.0.7/mlir/lib/Conversion/AMDGPUToROCDL/
H A DAMDGPUToROCDL.cpp42 MemRefType memrefType = unconvertedMemref.getType().cast<MemRefType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizableOpInterface.cpp539 static void ensureToMemrefOpIsValid(Value tensor, Type memrefType) { in ensureToMemrefOpIsValid()
562 FailureOr<BaseMemRefType> memrefType = getBufferType(value, options); in getBuffer() local
H A DBufferizationOps.cpp591 auto memrefType = MemRefType::get(srcTensorType.getShape(), in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DBufferizableOpInterfaceImpl.cpp31 static void ensureToMemrefOpIsValid(Value tensor, Type memrefType) { in ensureToMemrefOpIsValid()
190 BaseMemRefType memrefType = getMemRefTypeWithFullyDynamicLayout( in bufferize() local
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinTypes.cpp1060 static AffineExpr getOffsetExpr(MemRefType memrefType) { in getOffsetExpr()
1084 bool mlir::isStaticShapeAndContiguousRowMajor(MemRefType memrefType) { in isStaticShapeAndContiguousRowMajor()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransferOpTransforms.cpp347 static int64_t getContiguousInnerDim(MemRefType memrefType, in getContiguousInnerDim()
/llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp152 if (auto memrefType = en.value().dyn_cast<MemRefType>()) { in wrapForExternalCallers() local
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/
H A DUtils.cpp1678 MemRefType memrefType = allocOp->getType(); in normalizeMemRef() local
1735 MemRefType mlir::normalizeMemRefType(MemRefType memrefType, OpBuilder b, in normalizeMemRefType()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DCharacter.cpp680 auto memrefType = memref.getType(); in getLength() local
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DVectorToGPU.cpp94 auto memrefType = type.dyn_cast<MemRefType>(); in getMemrefConstantHorizontalStride() local
/llvm-project-15.0.7/mlir/test/lib/Dialect/Vector/
H A DTestVectorTransforms.cpp767 MemRefType memrefType; in allocateGlobalSharedMemory() local
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/
H A DGPUDialect.cpp1379 auto memrefType = dimOp.getSource().getType().dyn_cast<MemRefType>(); in matchAndRewrite() local

12