MLIR  20.0.0git
Public Member Functions | List of all members
mlir::HyperrectangularSlice Class Reference

A hyperrectangular slice, represented as a list of offsets, sizes and strides. More...

#include "mlir/Interfaces/ValueBoundsOpInterface.h"

Public Member Functions

 HyperrectangularSlice (ArrayRef< OpFoldResult > offsets, ArrayRef< OpFoldResult > sizes, ArrayRef< OpFoldResult > strides)
 
 HyperrectangularSlice (ArrayRef< OpFoldResult > offsets, ArrayRef< OpFoldResult > sizes)
 Create a hyperrectangular slice with unit strides. More...
 
 HyperrectangularSlice (OffsetSizeAndStrideOpInterface op)
 Infer a hyperrectangular slice from OffsetSizeAndStrideOpInterface. More...
 
ArrayRef< OpFoldResultgetMixedOffsets () const
 
ArrayRef< OpFoldResultgetMixedSizes () const
 
ArrayRef< OpFoldResultgetMixedStrides () const
 

Detailed Description

A hyperrectangular slice, represented as a list of offsets, sizes and strides.

Definition at line 28 of file ValueBoundsOpInterface.h.

Constructor & Destructor Documentation

◆ HyperrectangularSlice() [1/3]

HyperrectangularSlice::HyperrectangularSlice ( ArrayRef< OpFoldResult offsets,
ArrayRef< OpFoldResult sizes,
ArrayRef< OpFoldResult strides 
)

Definition at line 34 of file ValueBoundsOpInterface.cpp.

◆ HyperrectangularSlice() [2/3]

HyperrectangularSlice::HyperrectangularSlice ( ArrayRef< OpFoldResult offsets,
ArrayRef< OpFoldResult sizes 
)

Create a hyperrectangular slice with unit strides.

Definition at line 44 of file ValueBoundsOpInterface.cpp.

◆ HyperrectangularSlice() [3/3]

HyperrectangularSlice::HyperrectangularSlice ( OffsetSizeAndStrideOpInterface  op)

Infer a hyperrectangular slice from OffsetSizeAndStrideOpInterface.

Definition at line 56 of file ValueBoundsOpInterface.cpp.

Member Function Documentation

◆ getMixedOffsets()

ArrayRef<OpFoldResult> mlir::HyperrectangularSlice::getMixedOffsets ( ) const
inline

◆ getMixedSizes()

ArrayRef<OpFoldResult> mlir::HyperrectangularSlice::getMixedSizes ( ) const
inline

◆ getMixedStrides()

ArrayRef<OpFoldResult> mlir::HyperrectangularSlice::getMixedStrides ( ) const
inline

The documentation for this class was generated from the following files: