|
MLIR 23.0.0git
|
Add support for llvm style casts. More...
#include "mlir/IR/AffineExpr.h"
Static Public Member Functions | |
| static bool | isPossible (mlir::AffineExpr expr) |
| static To | doCast (mlir::AffineExpr expr) |
Add support for llvm style casts.
We provide a cast between To and From if From is mlir::AffineExpr or derives from it.
Definition at line 376 of file AffineExpr.h.
|
inlinestatic |
Definition at line 399 of file AffineExpr.h.
References mlir::AffineExpr::getImpl().
|
inlinestatic |
Return a constant true instead of a dynamic true when casting to self or up the hierarchy.
Definition at line 383 of file AffineExpr.h.
References mlir::Constant, mlir::DimId, mlir::AffineExpr::getKind(), mlir::LAST_AFFINE_BINARY_OP, and mlir::SymbolId.