Searched refs:canFoldIntoConsumerOp (Results 1 – 6 of 6) sorted by relevance
85 bool canFoldIntoConsumerOp(CastOp castOp);
93 bool mlir::tensor::canFoldIntoConsumerOp(CastOp castOp) { in canFoldIntoConsumerOp() function in mlir::tensor136 if (castOp && tensor::canFoldIntoConsumerOp(castOp)) { in foldTensorCast()1204 if (!canFoldIntoConsumerOp(castOp)) in matchAndRewrite()1669 if (!castOp || !canFoldIntoConsumerOp(castOp)) in matchAndRewrite()1978 if (!tensor::canFoldIntoConsumerOp(castOp)) in matchAndRewrite()
264 if (castOp && memref::CastOp::canFoldIntoConsumerOp(castOp)) { in foldMemRefCast()1661 return castOp && canFoldIntoConsumerOp(castOp); in matchAndRewrite()1673 newOperands.push_back(canFoldIntoConsumerOp(tensorCastOp) in matchAndRewrite()1680 bool fold = canFoldIntoConsumerOp(tensorCastOp); in matchAndRewrite()
516 bool CastOp::canFoldIntoConsumerOp(CastOp castOp) { in canFoldIntoConsumerOp() function in CastOp717 if (castOp && memref::CastOp::canFoldIntoConsumerOp(castOp)) { in fold()1995 if (!CastOp::canFoldIntoConsumerOp(cast)) in matchAndRewrite()2546 if (!CastOp::canFoldIntoConsumerOp(castOp)) in matchAndRewrite()
3073 if (castOp && memref::CastOp::canFoldIntoConsumerOp(castOp)) { in foldMemRefCast()3085 if (castOp && tensor::canFoldIntoConsumerOp(castOp)) { in foldTensorCast()
374 static bool canFoldIntoConsumerOp(CastOp castOp);