My Project
Public Member Functions | List of all members
mlir::edsc::VectorView Class Reference

#include <Helpers.h>

Inheritance diagram for mlir::edsc::VectorView:
Inheritance graph
[legend]
Collaboration diagram for mlir::edsc::VectorView:
Collaboration graph
[legend]

Public Member Functions

 VectorView (Value v)
 
 VectorView (const VectorView &)=default
 
VectorViewoperator= (const VectorView &)=default
 
- Public Member Functions inherited from mlir::edsc::View
unsigned rank () const
 
ValueHandle lb (unsigned idx)
 
ValueHandle ub (unsigned idx)
 
int64_t step (unsigned idx)
 
std::tuple< ValueHandle, ValueHandle, int64_t > range (unsigned idx)
 
void swapRanges (unsigned i, unsigned j)
 
ArrayRef< ValueHandlegetLbs ()
 
ArrayRef< ValueHandlegetUbs ()
 
ArrayRef< int64_t > getSteps ()
 

Additional Inherited Members

- Protected Attributes inherited from mlir::edsc::View
SmallVector< ValueHandle, 8 > lbs
 
SmallVector< ValueHandle, 8 > ubs
 
SmallVector< int64_t, 8 > steps
 

Detailed Description

A VectorView represents the information required to step through a Vector accessing each scalar element at a time. It is the counterpart of a MemRefView but for vectors. This exists purely for boilerplate avoidance.

Constructor & Destructor Documentation

◆ VectorView() [1/2]

mlir::edsc::VectorView::VectorView ( Value  v)
explicit

◆ VectorView() [2/2]

mlir::edsc::VectorView::VectorView ( const VectorView )
default

Member Function Documentation

◆ operator=()

VectorView& mlir::edsc::VectorView::operator= ( const VectorView )
default

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