|
| std::string | mlir::linalg::generateLibraryCallName (Operation *op) |
| | Returns the name mangled library call name to disambiguate between different overloads at the C level.
|
| SmallVector< AffineExpr, 4 > | mlir::linalg::makeAffineDimExprs (unsigned num, unsigned &startIdx, MLIRContext *context) |
| | Returns num AffineDimExpr dimensions at positions [startIdx, startIdx + num) and increments startIdx to startIdx + num.
|
| AffineMap | mlir::linalg::extractOrIdentityMap (std::optional< AffineMap > maybeMap, unsigned rank, MLIRContext *context) |
| | Returns maybeMap.get() if maybeMap is set, otherwise returns the symbol-less identity map of rank.
|
| SmallVector< AffineExpr, 4 > | mlir::linalg::concat (ArrayRef< AffineExpr > a, ArrayRef< AffineExpr > b) |
| | Return the vector that is the concatenation of a and b.
|
| Value | mlir::linalg::createOrFoldDimOp (OpBuilder &b, Location loc, Value val, int64_t dim) |
| | Create one memref::DimOp or tensor::DimOp depending on the type of val.
|
| OpFoldResult | mlir::linalg::createFoldedDimOp (OpBuilder &b, Location loc, Value val, int64_t dim) |
| | Create one memref::DimOp or tensor::DimOp depending on the type of val.
|
| std::optional< WinogradConv2DFmr > | mlir::linalg::getWinogradConv2DFmr (int64_t m, int64_t r) |
| | Converts the given m and r parameters to a WinogradConv2DFmr enumeration value.
|
| std::pair< int64_t, int64_t > | mlir::linalg::getFmrFromWinogradConv2DFmr (WinogradConv2DFmr fmr) |
| | Converts the given WinogradConv2DFmr enumeration value to a pair of m and r parameters.
|
| template<typename OpTy, typename = std::enable_if_t<std::is_same_v<OpTy, linalg::PackOp> || std::is_same_v<OpTy, linalg::UnPackOp>>> |
| SmallVector< int64_t > | mlir::linalg::getPackedOuterShapeWithoutTransposition (OpTy packOrUnPack) |
| | Returns the outer shape in the packed domain before applying the transposition.
|
| ArityGroupAndKind | mlir::linalg::getArityGroupAndKind (ElementwiseKind kind) |