Lines Matching refs:dimOp
2916 matchAndRewrite(DimOp dimOp, ArrayRef<Value> operands, in matchAndRewrite()
2918 Type operandType = dimOp.memrefOrTensor().getType(); in matchAndRewrite()
2920 rewriter.replaceOp(dimOp, {extractSizeOfUnrankedMemRef( in matchAndRewrite()
2921 operandType, dimOp, operands, rewriter)}); in matchAndRewrite()
2926 rewriter.replaceOp(dimOp, {extractSizeOfRankedMemRef( in matchAndRewrite()
2927 operandType, dimOp, operands, rewriter)}); in matchAndRewrite()
2934 Value extractSizeOfUnrankedMemRef(Type operandType, DimOp dimOp, in extractSizeOfUnrankedMemRef()
2937 Location loc = dimOp.getLoc(); in extractSizeOfUnrankedMemRef()
2976 Value extractSizeOfRankedMemRef(Type operandType, DimOp dimOp, in extractSizeOfRankedMemRef()
2979 Location loc = dimOp.getLoc(); in extractSizeOfRankedMemRef()
2983 if (Optional<int64_t> index = dimOp.getConstantIndex()) { in extractSizeOfRankedMemRef()
2994 Value index = dimOp.index(); in extractSizeOfRankedMemRef()