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 351 of file Utils.h.
References mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 364 of file Utils.h.
References mlir::AffineExpr::ceilDiv(), mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 360 of file Utils.h.
References mlir::affine::AffineValueExpr::e, mlir::AffineExpr::floorDiv(), and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 373 of file Utils.h.
References mlir::Builder::getContext(), mlir::AffineMap::getMultiDimIdentityMap(), and mlir::affine::makeComposedFoldedAffineMax().
|
inline |
Definition at line 368 of file Utils.h.
References mlir::Builder::getContext(), mlir::AffineMap::getMultiDimIdentityMap(), and mlir::affine::makeComposedFoldedAffineMin().
|
inline |
Definition at line 357 of file Utils.h.
References mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().
|
inline |
Definition at line 354 of file Utils.h.
References mlir::affine::AffineValueExpr::e, and mlir::affine::makeComposedFoldedAffineApply().