Go to the source code of this file.
|
SmallVector< Range, 8 > | mlir::getOrCreateRanges (OffsetSizeAndStrideOpInterface op, OpBuilder &b, Location loc) |
| Return the list of Range (i.e. More...
|
|
bool | mlir::tensor::preservesStaticInformation (Type source, Type target) |
| Returns true if target is a ranked tensor type that preserves static information available in the source ranked tensor type. More...
|
|
bool | mlir::tensor::canFoldIntoConsumerOp (CastOp castOp) |
| Determines whether tensor::CastOp casts to a more dynamic version of the source tensor. More...
|
|
bool | mlir::tensor::canFoldIntoProducerOp (CastOp castOp) |
| Determines whether the tensor::CastOp casts to a more static version of the source tensor. More...
|
|
LogicalResult | mlir::tensor::foldTensorCast (Operation *op) |
| Performs folding of any operand of op if it comes from a tensor::CastOp that can be folded. More...
|
|
Value | mlir::tensor::createCanonicalRankReducingExtractSliceOp (OpBuilder &b, Location loc, Value tensor, RankedTensorType targetType) |
| Create a rank-reducing ExtractSliceOp @[0 . More...
|
|
Value | mlir::tensor::createCanonicalRankReducingInsertSliceOp (OpBuilder &b, Location loc, Value tensor, Value dest) |
| Create a rank-reducing InsertSliceOp @[0 . More...
|
|
void | mlir::tensor::populateFoldConstantExtractSlicePatterns (RewritePatternSet &patterns, const ControlConstantExtractSliceFusionFn &controlFn=[](ExtractSliceOp op) { return false;}) |
| Patterns to fold the extract slice op with its constant operand. More...
|
|
◆ GET_OP_CLASSES