Home
last modified time | relevance | path

Searched refs:dimValue (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DResolveShapedTypeResultDims.cpp33 OpResult dimValue = dimOp.getSource().template dyn_cast<OpResult>(); in matchAndRewrite() local
34 if (!dimValue) in matchAndRewrite()
37 dyn_cast<InferShapedTypeOpInterface>(dimValue.getOwner()); in matchAndRewrite()
53 Value resultShape = reifiedResultShapes[dimValue.getResultNumber()]; in matchAndRewrite()
73 OpResult dimValue = dimOp.getSource().template dyn_cast<OpResult>(); in matchAndRewrite() local
74 if (!dimValue) in matchAndRewrite()
77 dyn_cast<ReifyRankedShapedTypeOpInterface>(dimValue.getOwner()); in matchAndRewrite()
93 unsigned resultNumber = dimValue.getResultNumber(); in matchAndRewrite()
94 auto sourceType = dimValue.getType().dyn_cast<RankedTensorType>(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/CAPI/
H A Dir.c159 MlirValue dimValue = mlirOperationGetResult(dim, 0); in makeAndDumpAdd() local
161 MlirValue loopOperands[] = {constZeroValue, dimValue, constOneValue}; in makeAndDumpAdd()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/
H A DAffineOps.cpp2925 Value dimValue = dimOperands[dimExpr.getPosition()]; in matchAndRewrite() local
2926 if (auto producerOp = dimValue.getDefiningOp<T>()) { in matchAndRewrite()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DCodeGen.cpp188 auto dimValue = genConstantIndex(loc, idxTy, rewriter, dim); in loadStrideFromBox() local
189 return loadFromOffset(loc, box, c0, cDims, dimValue, kDimStridePos, idxTy, in loadStrideFromBox()
/llvm-project-15.0.7/flang/lib/Lower/
H A DIntrinsicCall.cpp3903 mlir::Value dimValue = builder.create<fir::LoadOp>(loc, dim); in genSize() local
3906 fir::runtime::genSizeDim(builder, loc, array, dimValue)); in genSize()