LLVM 23.0.0git
llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT > Class Template Reference

Iterate over all lanes and Value pairs. More...

#include "llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h"

Public Types

using iterator_catecotry = std::input_iterator_tag
using value_type = std::pair<unsigned, Value *>
using difference_type = std::ptrdiff_t
using pointer = std::pair<unsigned, Value *> *
using reference = std::pair<unsigned, Value *> &

Public Member Functions

 LaneValueEnumerator (RangeIteratorT Begin, RangeIteratorT End, unsigned BeginLane)
LaneValueEnumerator operator++ ()
value_type operator* () const
bool operator== (const LaneValueEnumerator &Other) const
bool operator!= (const LaneValueEnumerator &Other) const

Detailed Description

template<typename RangeIteratorT>
class llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >

Iterate over all lanes and Value pairs.

Definition at line 314 of file VecUtils.h.

Member Typedef Documentation

◆ difference_type

template<typename RangeIteratorT>
using llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::difference_type = std::ptrdiff_t

Definition at line 330 of file VecUtils.h.

◆ iterator_catecotry

template<typename RangeIteratorT>
using llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::iterator_catecotry = std::input_iterator_tag

Definition at line 327 of file VecUtils.h.

◆ pointer

template<typename RangeIteratorT>
using llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::pointer = std::pair<unsigned, Value *> *

Definition at line 331 of file VecUtils.h.

◆ reference

template<typename RangeIteratorT>
using llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::reference = std::pair<unsigned, Value *> &

Definition at line 332 of file VecUtils.h.

◆ value_type

template<typename RangeIteratorT>
using llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::value_type = std::pair<unsigned, Value *>

Definition at line 329 of file VecUtils.h.

Constructor & Destructor Documentation

◆ LaneValueEnumerator()

template<typename RangeIteratorT>
llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::LaneValueEnumerator ( RangeIteratorT Begin,
RangeIteratorT End,
unsigned BeginLane )
inline

Definition at line 324 of file VecUtils.h.

Referenced by operator!=(), operator++(), and operator==().

Member Function Documentation

◆ operator!=()

template<typename RangeIteratorT>
bool llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::operator!= ( const LaneValueEnumerator< RangeIteratorT > & Other) const
inline

Definition at line 349 of file VecUtils.h.

References LaneValueEnumerator(), and llvm::Other.

◆ operator*()

template<typename RangeIteratorT>
value_type llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::operator* ( ) const
inline

Definition at line 345 of file VecUtils.h.

◆ operator++()

template<typename RangeIteratorT>
LaneValueEnumerator llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::operator++ ( )
inline

◆ operator==()

template<typename RangeIteratorT>
bool llvm::sandboxir::VecUtils::LaneValueEnumerator< RangeIteratorT >::operator== ( const LaneValueEnumerator< RangeIteratorT > & Other) const
inline

Definition at line 346 of file VecUtils.h.

References LaneValueEnumerator(), and llvm::Other.


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