MLIR  15.0.0git
Classes | Namespaces | Functions
ViewLikeInterface.h File Reference
#include "mlir/Dialect/Utils/StaticValueUtils.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/Interfaces/ViewLikeInterface.h.inc"
+ Include dependency graph for ViewLikeInterface.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mlir::Range
 Auxiliary range data structure to unpack the offset, size and stride operands into a list of triples. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::detail
 

Functions

SmallVector< OpFoldResult, 4 > mlir::getMixedOffsets (OffsetSizeAndStrideOpInterface op, ArrayAttr staticOffsets, ValueRange offsets)
 Return a vector of all the static or dynamic offsets of the op from provided external static and dynamic offsets. More...
 
SmallVector< OpFoldResult, 4 > mlir::getMixedSizes (OffsetSizeAndStrideOpInterface op, ArrayAttr staticSizes, ValueRange sizes)
 Return a vector of all the static or dynamic sizes of the op from provided external static and dynamic sizes. More...
 
SmallVector< OpFoldResult, 4 > mlir::getMixedStrides (OffsetSizeAndStrideOpInterface op, ArrayAttr staticStrides, ValueRange strides)
 Return a vector of all the static or dynamic strides of the op from provided external static and dynamic strides. More...
 
LogicalResult mlir::detail::verifyOffsetSizeAndStrideOp (OffsetSizeAndStrideOpInterface op)
 
bool mlir::detail::sameOffsetsSizesAndStrides (OffsetSizeAndStrideOpInterface a, OffsetSizeAndStrideOpInterface b, llvm::function_ref< bool(OpFoldResult, OpFoldResult)> cmp)
 
void mlir::printOperandsOrIntegersOffsetsOrStridesList (OpAsmPrinter &printer, Operation *op, OperandRange values, ArrayAttr integers)
 Printer hook for custom directive in assemblyFormat. More...
 
void mlir::printOperandsOrIntegersSizesList (OpAsmPrinter &printer, Operation *op, OperandRange values, ArrayAttr integers)
 Printer hook for custom directive in assemblyFormat. More...
 
ParseResult mlir::parseOperandsOrIntegersOffsetsOrStridesList (OpAsmParser &parser, SmallVectorImpl< OpAsmParser::UnresolvedOperand > &values, ArrayAttr &integers)
 Pasrer hook for custom directive in assemblyFormat. More...
 
ParseResult mlir::parseOperandsOrIntegersSizesList (OpAsmParser &parser, SmallVectorImpl< OpAsmParser::UnresolvedOperand > &values, ArrayAttr &integers)
 Pasrer hook for custom directive in assemblyFormat. More...
 
LogicalResult mlir::verifyListOfOperandsOrIntegers (Operation *op, StringRef name, unsigned expectedNumElements, ArrayAttr attr, ValueRange values, llvm::function_ref< bool(int64_t)> isDynamic)
 Verify that a the values has as many elements as the number of entries in attr for which isDynamic evaluates to true. More...