Searched refs:transposeOp (Results 1 – 2 of 2) sorted by relevance
676 auto transposeOp = extractOp.vector().getDefiningOp<vector::TransposeOp>(); in foldExtractOpFromTranspose() local677 if (!transposeOp) in foldExtractOpFromTranspose()680 auto permutation = extractVector<unsigned>(transposeOp.transp()); in foldExtractOpFromTranspose()719 extractOp.setOperand(transposeOp.vector()); in foldExtractOpFromTranspose()740 auto transposeOp = extractOp.vector().getDefiningOp<vector::TransposeOp>(); in foldExtractOpFromInsertChainAndTranspose() local741 while (insertOp || transposeOp) { in foldExtractOpFromInsertChainAndTranspose()742 if (transposeOp) { in foldExtractOpFromInsertChainAndTranspose()744 auto permutation = extractVector<unsigned>(transposeOp.transp()); in foldExtractOpFromInsertChainAndTranspose()753 Value transposed = transposeOp.vector(); in foldExtractOpFromInsertChainAndTranspose()755 transposeOp = transposed.getDefiningOp<vector::TransposeOp>(); in foldExtractOpFromInsertChainAndTranspose()[all …]
3554 matchAndRewrite(TransposeOp transposeOp, ArrayRef<Value> operands, in matchAndRewrite() argument3556 auto loc = transposeOp.getLoc(); in matchAndRewrite()3561 if (transposeOp.permutation().isIdentity()) in matchAndRewrite()3562 return rewriter.replaceOp(transposeOp, {viewMemRef}), success(); in matchAndRewrite()3565 rewriter, loc, typeConverter->convertType(transposeOp.getShapedType())); in matchAndRewrite()3578 for (auto en : llvm::enumerate(transposeOp.permutation().getResults())) { in matchAndRewrite()3587 rewriter.replaceOp(transposeOp, {targetMemRef}); in matchAndRewrite()