MLIR-AIE 1.4.5.dev
Utils.h File Reference
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include <cstdint>
#include <optional>
#include <type_traits>
Include dependency graph for Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mlir
namespace  xilinx
namespace  xilinx::aievec

Functions

template<typename TransferReadLikeOp, typename = std::enable_if_t< std::is_same_v<TransferReadLikeOp, mlir::vector::TransferReadOp> || std::is_same_v<TransferReadLikeOp, mlir::vector::TransferReadOp::Adaptor>>>
std::optional< int64_t > xilinx::aievec::getTransferReadAlignmentOffset (TransferReadLikeOp readOp, mlir::VectorType vType, int64_t alignment)
mlir::VectorType xilinx::aievec::getFlattenedVectorType (mlir::VectorType vecTy)