|
MLIR
22.0.0git
|
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< OpFoldResult > | getMixedOffsets () const |
| ArrayRef< OpFoldResult > | getMixedSizes () const |
| ArrayRef< OpFoldResult > | getMixedStrides () const |
A hyperrectangular slice, represented as a list of offsets, sizes and strides.
Definition at line 28 of file ValueBoundsOpInterface.h.
| HyperrectangularSlice::HyperrectangularSlice | ( | ArrayRef< OpFoldResult > | offsets, |
| ArrayRef< OpFoldResult > | sizes, | ||
| ArrayRef< OpFoldResult > | strides | ||
| ) |
Definition at line 36 of file ValueBoundsOpInterface.cpp.
| HyperrectangularSlice::HyperrectangularSlice | ( | ArrayRef< OpFoldResult > | offsets, |
| ArrayRef< OpFoldResult > | sizes | ||
| ) |
Create a hyperrectangular slice with unit strides.
Definition at line 46 of file ValueBoundsOpInterface.cpp.
| HyperrectangularSlice::HyperrectangularSlice | ( | OffsetSizeAndStrideOpInterface | op | ) |
Infer a hyperrectangular slice from OffsetSizeAndStrideOpInterface.
Definition at line 58 of file ValueBoundsOpInterface.cpp.
|
inline |
Definition at line 41 of file ValueBoundsOpInterface.h.
Referenced by mlir::ValueBoundsConstraintSet::areEquivalentSlices(), and mlir::ValueBoundsConstraintSet::areOverlappingSlices().
|
inline |
Definition at line 42 of file ValueBoundsOpInterface.h.
Referenced by mlir::ValueBoundsConstraintSet::areEquivalentSlices(), and mlir::ValueBoundsConstraintSet::areOverlappingSlices().
|
inline |
Definition at line 43 of file ValueBoundsOpInterface.h.
Referenced by mlir::ValueBoundsConstraintSet::areEquivalentSlices(), and mlir::ValueBoundsConstraintSet::areOverlappingSlices().