MLIR  15.0.0git
Classes | Macros
VectorMultiDimReductionTransforms.cpp File Reference
#include "mlir/Dialect/Arithmetic/IR/Arithmetic.h"
#include "mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h"
#include "mlir/Dialect/Vector/Utils/VectorUtils.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/TypeUtilities.h"
+ Include dependency graph for VectorMultiDimReductionTransforms.cpp:

Go to the source code of this file.

Classes

class  InnerOuterDimReductionConversion
 This file implements the following transformations as composable atomic patterns. More...
 
class  ReduceMultiDimReductionRank
 Reduces the rank of vector.multi_reduction nd -> 2d given all reduction dimensions are either inner most or outer most. More...
 
struct  TwoDimMultiReductionToElementWise
 Unrolls vector.multi_reduction with outermost reductions and combines results. More...
 
struct  TwoDimMultiReductionToReduction
 Converts 2d vector.multi_reduction with inner most reduction dimension into a sequence of vector.reduction ops. More...
 
struct  OneDimMultiReductionToTwoDim
 Converts 1d vector.multi_reduction with a single reduction dimension to a 2d form with both a single parallel and reduction dimension. More...
 

Macros

#define DEBUG_TYPE   "vector-multi-reduction"
 Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "vector-multi-reduction"

Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

See https://llvm.org/LICENSE.txt for license information. SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception This file implements target-independent rewrites of MultiDimReductionOp.

Definition at line 20 of file VectorMultiDimReductionTransforms.cpp.