|
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...
|
|
OpFoldResult | mlir::tensor::getMixedSize (OpBuilder &builder, Location loc, Value value, int64_t dim) |
| Return the dimension of the given tensor value. More...
|
|
SmallVector< OpFoldResult > | mlir::tensor::getMixedSizes (OpBuilder &builder, Location loc, Value value) |
| Return the dimensions of the given tensor value. 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...
|
|
FailureOr< Value > | mlir::tensor::getOrCreateDestination (OpBuilder &b, Location loc, OpResult opResult) |
| This is a helper function for DestinationStyleOpInterface. More...
|
|
LogicalResult | mlir::tensor::getOrCreateDestinations (OpBuilder &b, Location loc, Operation *op, SmallVector< Value > &result) |
| This is a helper function for DestinationStyleOpInterface. More...
|
|
bool | mlir::tensor::isSameTypeWithoutEncoding (Type tp1, Type tp2) |
| Tests if types are the same when ignoring encoding on ranked tensors. 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...
|
|