|
MLIR
22.0.0git
|
Helpers extracted from: More...
Namespaces | |
| inline_asm | |
| intrin | |
Classes | |
| struct | TransposeLoweringOptions |
| Structure to control the behavior of specialized AVX2 transpose lowering. More... | |
| struct | LoweringOptions |
| Options for controlling specialized AVX2 lowerings. More... | |
Functions | |
| void | transpose4x8xf32 (ImplicitLocOpBuilder &ib, MutableArrayRef< Value > vs) |
| Generic lowerings may either use intrin or inline_asm depending on needs. More... | |
| void | transpose8x8xf32 (ImplicitLocOpBuilder &ib, MutableArrayRef< Value > vs) |
| 8x8xf32-specific AVX2 transpose lowering. More... | |
| void | populateSpecializedTransposeLoweringPatterns (RewritePatternSet &patterns, LoweringOptions options=LoweringOptions(), int benefit=10) |
| Insert specialized transpose lowering patterns. More... | |
Helpers extracted from:
| void mlir::x86vector::avx2::populateSpecializedTransposeLoweringPatterns | ( | RewritePatternSet & | patterns, |
| LoweringOptions | options = LoweringOptions(), |
||
| int | benefit = 10 |
||
| ) |
Insert specialized transpose lowering patterns.
Definition at line 287 of file AVXTranspose.cpp.
References options, and mlir::patterns.
| void mlir::x86vector::avx2::transpose4x8xf32 | ( | ImplicitLocOpBuilder & | ib, |
| MutableArrayRef< Value > | vs | ||
| ) |
Generic lowerings may either use intrin or inline_asm depending on needs.
AVX2 4x8xf32-specific transpose lowering using a "C intrinsics" model.
4x8xf32-specific AVX2 transpose lowering.
Definition at line 114 of file AVXTranspose.cpp.
References mlir::get(), mlir::Builder::getContext(), mlir::x86vector::avx2::intrin::mm256Permute2f128Ps(), mlir::x86vector::avx2::intrin::mm256ShufflePs(), mlir::x86vector::avx2::intrin::mm256UnpackHiPs(), and mlir::x86vector::avx2::intrin::mm256UnpackLoPs().
Referenced by TransposeOpLowering::matchAndRewrite().
| void mlir::x86vector::avx2::transpose8x8xf32 | ( | ImplicitLocOpBuilder & | ib, |
| MutableArrayRef< Value > | vs | ||
| ) |
8x8xf32-specific AVX2 transpose lowering.
AVX2 8x8xf32-specific transpose lowering using a "C intrinsics" model.
Definition at line 139 of file AVXTranspose.cpp.
References mlir::get(), mlir::Builder::getContext(), mlir::x86vector::avx2::inline_asm::mm256BlendPsAsm(), mlir::x86vector::avx2::intrin::mm256Permute2f128Ps(), mlir::x86vector::avx2::intrin::mm256ShufflePs(), mlir::x86vector::avx2::intrin::mm256UnpackHiPs(), and mlir::x86vector::avx2::intrin::mm256UnpackLoPs().
Referenced by TransposeOpLowering::matchAndRewrite().