MLIR
20.0.0git
|
Helper struct to build simple AffineValueExprs with minimal type inference support. More...
#include "mlir/Dialect/Affine/Utils.h"
Public Member Functions | |
AffineBuilder (OpBuilder &b, Location loc) | |
OpFoldResult | add (AffineValueExpr lhs, AffineValueExpr rhs) |
OpFoldResult | sub (AffineValueExpr lhs, AffineValueExpr rhs) |
OpFoldResult | mul (AffineValueExpr lhs, AffineValueExpr rhs) |
OpFoldResult | floor (AffineValueExpr lhs, AffineValueExpr rhs) |
OpFoldResult | ceil (AffineValueExpr lhs, AffineValueExpr rhs) |
OpFoldResult | min (ArrayRef< OpFoldResult > vals) |
OpFoldResult | max (ArrayRef< OpFoldResult > vals) |
Helper struct to build simple AffineValueExprs with minimal type inference support.
|
inline |
Definition at line 366 of file Utils.h.
References mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 379 of file Utils.h.
References mlir::AffineExpr::ceilDiv(), mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 375 of file Utils.h.
References mlir::affine::AffineValueExpr::e, mlir::AffineExpr::floorDiv(), and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 388 of file Utils.h.
References mlir::Builder::getContext(), mlir::AffineMap::getMultiDimIdentityMap(), and mlir::affine::makeComposedFoldedAffineMax().
|
inline |
Definition at line 383 of file Utils.h.
References mlir::Builder::getContext(), mlir::AffineMap::getMultiDimIdentityMap(), and mlir::affine::makeComposedFoldedAffineMin().
|
inline |
Definition at line 372 of file Utils.h.
References mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 369 of file Utils.h.
References mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().