Lines Matching refs:resultTy
37 TosaOp createOpAndInfer(PatternRewriter &rewriter, Location loc, Type resultTy, in createOpAndInfer() argument
39 auto op = rewriter.create<TosaOp>(loc, resultTy, args...); in createOpAndInfer()
61 mlir::tosa::ValueKnowledge::getKnowledgeFromType(resultTy); in createOpAndInfer()
66 inferredKnowledge.dtype = resultTy.cast<ShapedType>().getElementType(); in createOpAndInfer()
96 ShapedType resultTy = op->getResult(0).getType().cast<ShapedType>(); in matchAndRewrite() local
111 !biasTy.hasStaticShape() || !resultTy.hasStaticShape()) in matchAndRewrite()
131 loc, resultTy, input, reverse2, bias, in matchAndRewrite()
136 loc, resultTy, input, reverse2, bias, in matchAndRewrite()
160 ShapedType resultTy = op->getResult(0).getType().cast<ShapedType>(); in matchAndRewrite() local
165 Type resultETy = resultTy.getElementType(); in matchAndRewrite()
182 !biasTy.hasStaticShape() || !resultTy.hasStaticShape()) in matchAndRewrite()
342 llvm::SmallVector<int64_t, 4> sliceSize(resultTy.getShape().begin(), in matchAndRewrite()
343 resultTy.getShape().begin()); in matchAndRewrite()
350 rewriter.getI64ArrayAttr(resultTy.getShape())) in matchAndRewrite()