Home
last modified time | relevance | path

Searched refs:transposeOp (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorOps.cpp676 auto transposeOp = extractOp.vector().getDefiningOp<vector::TransposeOp>(); in foldExtractOpFromTranspose() local
677 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() local
741 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 …]
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp3554 matchAndRewrite(TransposeOp transposeOp, ArrayRef<Value> operands, in matchAndRewrite() argument
3556 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()