MLIR
20.0.0git
|
#include "mlir/Dialect/Affine/Passes.h"
#include "mlir/Dialect/Affine/Analysis/LoopAnalysis.h"
#include "mlir/Dialect/Affine/IR/AffineOps.h"
#include "mlir/Dialect/Affine/LoopUtils.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/AffineExpr.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/Builders.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include <optional>
#include "mlir/Dialect/Affine/Passes.h.inc"
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::affine | |
Macros | |
#define | GEN_PASS_DEF_AFFINELOOPUNROLL |
#define | DEBUG_TYPE "affine-loop-unroll" |
Functions | |
static bool | isInnermostAffineForOp (AffineForOp op) |
Returns true if no other affine.for ops are nested within op . More... | |
static void | gatherInnermostLoops (func::FuncOp f, SmallVectorImpl< AffineForOp > &loops) |
Gathers loops that have no affine.for's nested within. More... | |
#define DEBUG_TYPE "affine-loop-unroll" |
Definition at line 34 of file LoopUnroll.cpp.
#define GEN_PASS_DEF_AFFINELOOPUNROLL |
Definition at line 29 of file LoopUnroll.cpp.
|
static |
Gathers loops that have no affine.for's nested within.
Definition at line 85 of file LoopUnroll.cpp.
References isInnermostAffineForOp().
|
static |
Returns true if no other affine.for ops are nested within op
.
Definition at line 76 of file LoopUnroll.cpp.
References mlir::WalkResult::interrupt().
Referenced by gatherInnermostLoops().