MLIR
16.0.0git
|
#include "PassDetail.h"
#include "mlir/Dialect/Affine/Analysis/AffineAnalysis.h"
#include "mlir/Dialect/Affine/Analysis/AffineStructures.h"
#include "mlir/Dialect/Affine/Analysis/LoopAnalysis.h"
#include "mlir/Dialect/Affine/Analysis/Utils.h"
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Affine/IR/AffineValueMap.h"
#include "mlir/Dialect/Affine/LoopUtils.h"
#include "mlir/Dialect/Affine/Passes.h"
#include "mlir/Dialect/Affine/Utils.h"
#include "mlir/IR/BlockAndValueMapping.h"
#include "mlir/IR/Builders.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "affine-loop-tile" |
Functions | |
static void | adjustToDivisorsOfTripCounts (ArrayRef< AffineForOp > band, SmallVectorImpl< unsigned > *tileSizes) |
Reduces each tile size to the largest divisor of the corresponding trip count (if the trip count is known). More... | |
#define DEBUG_TYPE "affine-loop-tile" |
Definition at line 29 of file LoopTiling.cpp.
|
static |
Reduces each tile size to the largest divisor of the corresponding trip count (if the trip count is known).
Definition at line 66 of file LoopTiling.cpp.
References diag(), mlir::failed(), mlir::getConstantTripCount(), mlir::getMemoryFootprintBytes(), mlir::getTileableBands(), max(), mlir::separateFullTiles(), and mlir::tilePerfectlyNested().