MLIR
20.0.0git
|
#include <utility>
#include "mlir/Dialect/Affine/Analysis/AffineStructures.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/SCF/IR/SCF.h"
#include "mlir/Dialect/SCF/Utils/AffineCanonicalizationUtils.h"
#include "mlir/Dialect/Utils/StaticValueUtils.h"
#include "mlir/IR/AffineMap.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/PatternMatch.h"
#include "llvm/Support/Debug.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "mlir-scf-affine-utils" |
Functions | |
static FailureOr< AffineApplyOp > | canonicalizeMinMaxOp (RewriterBase &rewriter, Operation *op, FlatAffineValueConstraints constraints) |
#define DEBUG_TYPE "mlir-scf-affine-utils" |
Definition at line 27 of file AffineCanonicalizationUtils.cpp.
|
static |
Definition at line 67 of file AffineCanonicalizationUtils.cpp.
References mlir::Operation::getOperands(), mlir::RewriterBase::replaceOpWithNewOp(), mlir::OpBuilder::setInsertionPoint(), and mlir::affine::simplifyConstrainedMinMaxOp().
Referenced by mlir::scf::canonicalizeMinMaxOpInLoop(), and mlir::scf::rewritePeeledMinMaxOp().