llvm-project/mlir/test/Dialect/Linalg
Amy Wang 6ac632ad83 [MLIR][Linalg] Generate unique LibraryCallName for LinalgOps.
When lowering LinalgToStandard for named UnaryFn/BinaryFn ops, ensure
the fun name appears in the generated library name. Further, for
linalg.copy to/from different address spaces, ensure the to/from
address spaces are appended onto the library name for uniqueness.
This fixes the lowering error with the linalg.copy testcase shown in
this patch.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D145467
2023-03-20 13:50:22 -04:00
..
affine.mlir [mlir][LinalgToLLVM] Add pass option for emitting opaque-pointers 2023-02-24 14:27:16 +01:00
bubble-up-extract-slice-op.mlir
bufferize.mlir
canonicalize.mlir
collapse-dim.mlir
conv-interface-invalid.mlir
convert-conv2d-to-img2col.mlir [mlir][LinAlg][Transform] Add a transform op for conv2d to im2col 2023-02-23 22:27:16 +00:00
convert-elementwise-to-linalg.mlir
data-layout-propagation.mlir [MLIR][Linalg] Fix propagation for rank-zero tensor 2023-03-01 09:31:29 +01:00
decompose-ops.mlir
detensorize_0d.mlir
detensorize_br_operands.mlir
detensorize_if.mlir
detensorize_trivial.mlir
detensorize_while_impure_cf.mlir
detensorize_while_pure_cf.mlir
detensorize_while.mlir
drop-unit-extent-dims.mlir [mlir][scf] Rename ForeachThreadOp->ForallOp, PerformConcurrentlyOp->InParallelOp. 2023-02-17 09:59:39 +01:00
erase-unused-operands-and-results.mlir
fill-interface-invalid.mlir
fold-unit-trip-loops.mlir
forward-vector-transfers.mlir
fuse-with-reshape-by-collapsing.mlir
fusion-elementwise-ops.mlir
fusion-elementwise-options.mlir
fusion-elementwise.mlir
fusion-multiuse-producer.mlir [mlir][Linalg] Make Elementwise op fusion return a map from existing values to values in the fused op. 2023-01-31 20:33:44 +00:00
fusion-push-reshape.mlir
generalize-named-ops.mlir
generalize-named-polymorphic-ops.mlir
generalize-pad-tensor.mlir
generalize-tensor-pack-tile.mlir [mlir][tensor] Improve size inference in tiling tensor.pack ops. 2023-02-23 10:35:00 -08:00
generalize-tensor-pack.mlir [mlir][tensor] Fix transpose permutation in tensor.pack generalization pattern 2023-02-22 14:49:49 -05:00
generalize-tensor-unpack-tile.mlir [mlir] provide a base class for transform interpreter passes 2023-02-03 14:12:31 +00:00
generalize-tensor-unpack.mlir [mlir] provide a base class for transform interpreter passes 2023-02-03 14:12:31 +00:00
hoisting.mlir Revert "[mlir][Linalg][Transform] Avoid FunctionalStyleTransformOpTrait where unnecesseary to improve usability" 2023-03-20 07:07:27 -07:00
inline-scalar-operands.mlir
inlining.mlir
invalid.mlir
library-calls.mlir [MLIR][Linalg] Generate unique LibraryCallName for LinalgOps. 2023-03-20 13:50:22 -04:00
loops.mlir [mlir][LinalgToLLVM] Add pass option for emitting opaque-pointers 2023-02-24 14:27:16 +01:00
lower-pad-tensor.mlir
multisize-tiling-full.mlir
named-ops.mlir
namedop_conversion.mlir
one-shot-bufferize-analysis-2fill-extract-matmul-all-perms.mlir
one-shot-bufferize.mlir
pad_fusion.mlir
parallel-loops.mlir
promote.mlir [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op 2023-02-27 16:33:58 +01:00
promotion_options.mlir
reshape_control_fusion.mlir
reshape_fusion.mlir
resolve-shaped-type-result-dims.mlir
roundtrip.mlir [mlir][LinalgToLLVM] Add pass option for emitting opaque-pointers 2023-02-24 14:27:16 +01:00
standard.mlir
subtensor-of-padtensor.mlir
swap-extract-slice-with-fill.mlir
tile-and-fuse-tensors.mlir
tile-conv.mlir
tile-indexed.mlir
tile-tensors.mlir
tile-to-foreach-thread.mlir [mlir][scf] Rename ForeachThreadOp->ForallOp, PerformConcurrentlyOp->InParallelOp. 2023-02-17 09:59:39 +01:00
transform-lower-pack.mlir [mlir][Linalg] Add a transform.structured.lower_unpack op 2023-02-01 02:26:44 -08:00
transform-op-bufferize-to-allocation.mlir [mlir][linalg] Fix insertion point bug in D144022 2023-02-15 16:54:23 +01:00
transform-op-decompose.mlir [mlir][linalg] Downscale 2D convolution with unit dimensions to 1D convolution 2023-03-08 14:31:54 -08:00
transform-op-fuse-into-containing.mlir [mlir][scf] Rename ForeachThreadOp->ForallOp, PerformConcurrentlyOp->InParallelOp. 2023-02-17 09:59:39 +01:00
transform-op-fuse.mlir
transform-op-generalize.mlir
transform-op-hoist-pad.mlir [mlir][Linalg] Improve HoistPadding to propagate through iter_args 2023-03-01 05:22:20 -08:00
transform-op-interchange.mlir
transform-op-match.mlir [mlir] add support for transform dialect value handles 2023-02-09 12:11:24 +00:00
transform-op-multitile-sizes.mlir
transform-op-pack.mlir
transform-op-pad.mlir [mlir][AsmParser] Improve parse{Attribute,Type} error handling 2023-03-01 17:14:59 -05:00
transform-op-replace.mlir
transform-op-rewrite-in-destination-passing-style.mlir [mlir][Linalg] Add a transform dialect op to rewrite ops to destination passing style. 2023-02-16 05:26:33 -08:00
transform-op-scalarize.mlir
transform-op-split-reduction-by-scaling.mlir
transform-op-split-reduction.mlir
transform-op-split.mlir
transform-op-tile.mlir
transform-op-vectorize.mlir Revert "[mlir][Linalg][Transform] Avoid FunctionalStyleTransformOpTrait where unnecesseary to improve usability" 2023-03-20 07:07:27 -07:00
transform-ops-invalid.mlir [mlir][Linalg] Refactor transform.structured.pad to separate out hoisting 2023-02-28 03:26:57 -08:00
transform-ops.mlir
transform-pack-greedily.mlir
transform-patterns.mlir [mlir] provide a base class for transform interpreter passes 2023-02-03 14:12:31 +00:00
transform-promotion.mlir
transform-tile-and-fuse.mlir [mlir][scf] Rename ForeachThreadOp->ForallOp, PerformConcurrentlyOp->InParallelOp. 2023-02-17 09:59:39 +01:00
transform-tile-reduction.mlir [mlir][scf] Rename ForeachThreadOp->ForallOp, PerformConcurrentlyOp->InParallelOp. 2023-02-17 09:59:39 +01:00
vectorization.mlir Revert "[mlir][Linalg][Transform] Avoid FunctionalStyleTransformOpTrait where unnecesseary to improve usability" 2023-03-20 07:07:27 -07:00
vectorize-convolution.mlir [mlir][linalg] Add vectorization support for conv_1d 2023-03-08 14:23:36 -08:00