Go to the source code of this file.
|
| mlir |
| This header declares functions that assist transformations in the MemRef dialect.
|
|
|
detail::op_matcher< arith::ConstantIndexOp > | mlir::matchConstantIndex () |
| Matches a ConstantIndexOp. More...
|
|
LogicalResult | mlir::foldDynamicIndexList (Builder &b, SmallVectorImpl< OpFoldResult > &ofrs) |
| Returns success when any of the elements in ofrs was produced by arith::ConstantIndexOp. More...
|
|
llvm::SmallBitVector | mlir::getPositionsOfShapeOne (unsigned rank, ArrayRef< int64_t > shape) |
|
Value | mlir::getValueOrCreateConstantIndexOp (OpBuilder &b, Location loc, OpFoldResult ofr) |
| Converts an OpFoldResult to a Value. More...
|
|
SmallVector< Value > | mlir::getValueOrCreateConstantIndexOp (OpBuilder &b, Location loc, ArrayRef< OpFoldResult > valueOrAttrVec) |
| Similar to the other overload, but converts multiple OpFoldResults into Values. More...
|
|
Value | mlir::getValueOrCreateCastToIndexLike (OpBuilder &b, Location loc, Type targetType, Value value) |
| Create a cast from an index-like value (index or integer) to another index-like value. More...
|
|
Value | mlir::convertScalarToDtype (OpBuilder &b, Location loc, Value operand, Type toType, bool isUnsignedCast) |
| Converts a scalar value operand to type toType . More...
|
|