MLIR  21.0.0git
Macros | Functions
LowerVectorShapeCast.cpp File Reference
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/UB//IR/UBOps.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Dialect/Vector/Transforms/LoweringPatterns.h"
#include "mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h"
#include "mlir/Dialect/Vector/Utils/VectorUtils.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/TypeUtilities.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "vector-shape-cast-lowering"
 

Functions

static void incIdx (SmallVectorImpl< int64_t > &indices, VectorType vecType, int step=1)
 Increments n-D indices by step starting from the innermost dimension. More...
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "vector-shape-cast-lowering"

Definition at line 25 of file LowerVectorShapeCast.cpp.

Function Documentation

◆ incIdx()

static void incIdx ( SmallVectorImpl< int64_t > &  indices,
VectorType  vecType,
int  step = 1 
)
static

Increments n-D indices by step starting from the innermost dimension.

Definition at line 31 of file LowerVectorShapeCast.cpp.