llvm/tools/mlir/include/mlir/Interfaces/ViewLikeInterface.cpp.inc

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Interface Definitions                                                      *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

/// Return the number of leading operands before the `offsets`, `sizes` and
/// and `strides` operands.
unsigned mlir::OffsetSizeAndStrideOpInterface::getOffsetSizeAndStrideStartOperandIndex() {}
/// Return the expected rank of each of the`static_offsets`, `static_sizes`
/// and `static_strides` attributes.
std::array<unsigned, 3> mlir::OffsetSizeAndStrideOpInterface::getArrayAttrMaxRanks() {}
/// Return the dynamic offset operands.
::mlir::OperandRange mlir::OffsetSizeAndStrideOpInterface::getOffsets() {}
/// Return the dynamic size operands.
::mlir::OperandRange mlir::OffsetSizeAndStrideOpInterface::getSizes() {}
/// Return the dynamic stride operands.
::mlir::OperandRange mlir::OffsetSizeAndStrideOpInterface::getStrides() {}
/// Return the static offset attributes.
::llvm::ArrayRef<int64_t> mlir::OffsetSizeAndStrideOpInterface::getStaticOffsets() {}
/// Return the static size attributes.
::llvm::ArrayRef<int64_t> mlir::OffsetSizeAndStrideOpInterface::getStaticSizes() {}
/// Return the dynamic stride attributes.
::llvm::ArrayRef<int64_t> mlir::OffsetSizeAndStrideOpInterface::getStaticStrides() {}
/// Return a vector of all the static or dynamic offsets of the op.
::llvm::SmallVector<::mlir::OpFoldResult, 4> mlir::OffsetSizeAndStrideOpInterface::getMixedOffsets() {}
/// Return a vector of all the static or dynamic sizes of the op.
::llvm::SmallVector<::mlir::OpFoldResult, 4> mlir::OffsetSizeAndStrideOpInterface::getMixedSizes() {}
/// Return a vector of all the static or dynamic strides of the op.
::llvm::SmallVector<::mlir::OpFoldResult, 4> mlir::OffsetSizeAndStrideOpInterface::getMixedStrides() {}
/// Return true if the offset `idx` is dynamic.
bool mlir::OffsetSizeAndStrideOpInterface::isDynamicOffset(unsigned idx) {}
/// Return true if the size `idx` is dynamic.
bool mlir::OffsetSizeAndStrideOpInterface::isDynamicSize(unsigned idx) {}
/// Return true if the stride `idx` is dynamic.
bool mlir::OffsetSizeAndStrideOpInterface::isDynamicStride(unsigned idx) {}
/// Assert the offset `idx` is a static constant and return its value.
int64_t mlir::OffsetSizeAndStrideOpInterface::getStaticOffset(unsigned idx) {}
/// Assert the size `idx` is a static constant and return its value.
int64_t mlir::OffsetSizeAndStrideOpInterface::getStaticSize(unsigned idx) {}
/// Assert the stride `idx` is a static constant and return its value.
int64_t mlir::OffsetSizeAndStrideOpInterface::getStaticStride(unsigned idx) {}
/// Assert the offset `idx` is dynamic and return the position of the
/// corresponding operand.
unsigned mlir::OffsetSizeAndStrideOpInterface::getIndexOfDynamicOffset(unsigned idx) {}
/// Assert the size `idx` is dynamic and return the position of the
/// corresponding operand.
unsigned mlir::OffsetSizeAndStrideOpInterface::getIndexOfDynamicSize(unsigned idx) {}
/// Assert the stride `idx` is dynamic and return the position of the
/// corresponding operand.
unsigned mlir::OffsetSizeAndStrideOpInterface::getIndexOfDynamicStride(unsigned idx) {}
/// Assert the offset `idx` is dynamic and return its value.
::mlir::Value mlir::OffsetSizeAndStrideOpInterface::getDynamicOffset(unsigned idx) {}
/// Assert the size `idx` is dynamic and return its value.
::mlir::Value mlir::OffsetSizeAndStrideOpInterface::getDynamicSize(unsigned idx) {}
/// Assert the stride `idx` is dynamic and return its value.
::mlir::Value mlir::OffsetSizeAndStrideOpInterface::getDynamicStride(unsigned idx) {}
/// Return true if all `other`'s offsets, sizes and strides are the same.
/// Takes a custom `cmp` comparison function on OpFoldResult to avoid taking
/// a dialect dependence.
bool mlir::OffsetSizeAndStrideOpInterface::isSameAs(::mlir::OffsetSizeAndStrideOpInterface other, ::llvm::function_ref<bool(::mlir::OpFoldResult, ::mlir::OpFoldResult)> cmp) {}
/// Return true if all strides are guaranteed to be 1.
bool mlir::OffsetSizeAndStrideOpInterface::hasUnitStride() {}
/// Return true if all offsets are guaranteed to be 0.
bool mlir::OffsetSizeAndStrideOpInterface::hasZeroOffset() {}
/// Returns the source buffer from which the view is created.
::mlir::Value mlir::ViewLikeOpInterface::getViewSource() {}