Preprocessing
-iree-preprocessing-apply-pdl-patterns
link
Parse an input file containing PDL patterns and apply them as patterns
Optionslink
-patterns-file : File path to file containing PDL patterns to use.
-iree-preprocessing-attr-based-pipeline
link
Run a pass pipeline specified as an attribute on any function-like operation
The textual representation of the pass pipeline specified in the attribute
preprocessing_pipeline=#util.preprocessing_pipeline<...>
is to be run on the
function-like operation.
-iree-preprocessing-convert-conv-filter-to-channels-last
link
Convert linalg convolutions filter from hwcf to channel last layout.
Optionslink
-filter-layout : Filter layout of convolution.
-iree-preprocessing-convert-conv-to-channels-last
link
Convert linalg convolutions to channels last.
Optionslink
-tiling-factor : Tiling factor for the channel dimension of NCHW-like convolutions. Defaults to fully transposing all channel-like dimensions
-iree-preprocessing-convert-conv2d-to-img2col
link
Convert linalg convolution ops to matmul img2col based implementation
-iree-preprocessing-fold-attention-with-transpose
link
Fold attention operation with transpose
-iree-preprocessing-generalize-linalg-matmul-experimental
link
Convert linalg matmul ops to linalg.generics.
-iree-preprocessing-make-single-dispatch-for-function
link
Convert entire function into a single dispatch
-iree-preprocessing-pad-linalg-ops
link
Pad linalg ops to the next integer multiple of paddingSize.
Optionslink
-pad-size : Specify the padding size
-iree-preprocessing-pad-to-intrinsics
link
Pad linalg ops such that we can use target's intrinsics.
Optionslink
-pad-target-type : Pad target-op type that is being specified.
-iree-preprocessing-transform-interpreter
link
Transform dialect interpreter
This pass runs the transform dialect interpreter and applies the named
sequence transformation named __transform_main
.
TODO: Drop this pass in favor of the one upstream. The one upstream requires separate loading of the module and thus isn't suited for single-use transform scripts.
Optionslink
-disable-expensive-checks : Disable expensive checks in the interpreter for a faster run.
-transform-spec-path : File path to the transform spec to use.
-iree-preprocessing-transpose-matmul-pass
link
Convert Linalg matmul ops to transposed variants
Optionslink
-input : Input to transpose, one of: 'lhs' (default), 'rhs'