LLVM 23.0.0git
llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator Class Reference

Fallible iterator for iterating over WaitingOnGraph ops. More...

#include "llvm/ExecutionEngine/Orc/WaitingOnGraphOpReplay.h"

Public Member Functions

 OpIterator ()=default
 Default constructed fallible iterator. Serves as end value.
 OpIterator (std::shared_ptr< OpParser > P, StringRef Input)
 Construct a fallible iterator reading from the given input buffer using the given parser.
 OpIterator (const OpIterator &Other)
OpIteratoroperator= (const OpIterator &Other)
 OpIterator (OpIterator &&)=default
OpIteratoroperator= (OpIterator &&)=default
Error inc ()
 Move to next record.
Opoperator* ()
const Opoperator* () const

Friends

bool operator== (const OpIterator &LHS, const OpIterator &RHS)
 Compare iterators. End iterators compare equal.
bool operator!= (const OpIterator &LHS, const OpIterator &RHS)

Detailed Description

template<typename ContainerIdT, typename ElementIdT>
class llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator

Fallible iterator for iterating over WaitingOnGraph ops.

Definition at line 239 of file WaitingOnGraphOpReplay.h.

Constructor & Destructor Documentation

◆ OpIterator() [1/4]

template<typename ContainerIdT, typename ElementIdT>
llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::OpIterator ( )
default

Default constructed fallible iterator. Serves as end value.

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

◆ OpIterator() [2/4]

template<typename ContainerIdT, typename ElementIdT>
llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::OpIterator ( std::shared_ptr< OpParser > P,
StringRef Input )
inline

Construct a fallible iterator reading from the given input buffer using the given parser.

Definition at line 246 of file WaitingOnGraphOpReplay.h.

References llvm::move().

◆ OpIterator() [3/4]

template<typename ContainerIdT, typename ElementIdT>
llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::OpIterator ( const OpIterator & Other)
inline

Definition at line 249 of file WaitingOnGraphOpReplay.h.

References llvm::cantFail(), inc(), OpIterator(), and llvm::Other.

◆ OpIterator() [4/4]

template<typename ContainerIdT, typename ElementIdT>
llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::OpIterator ( OpIterator && )
default

References OpIterator().

Member Function Documentation

◆ inc()

template<typename ContainerIdT, typename ElementIdT>
Error llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::inc ( )
inline

Move to next record.

Definition at line 268 of file WaitingOnGraphOpReplay.h.

References llvm::Error::success().

Referenced by operator=(), and OpIterator().

◆ operator*() [1/2]

template<typename ContainerIdT, typename ElementIdT>
Op & llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::operator* ( )
inline

Definition at line 282 of file WaitingOnGraphOpReplay.h.

References assert().

◆ operator*() [2/2]

template<typename ContainerIdT, typename ElementIdT>
const Op & llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::operator* ( ) const
inline

Definition at line 288 of file WaitingOnGraphOpReplay.h.

References assert().

◆ operator=() [1/2]

template<typename ContainerIdT, typename ElementIdT>
OpIterator & llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::operator= ( const OpIterator & Other)
inline

Definition at line 256 of file WaitingOnGraphOpReplay.h.

References llvm::cantFail(), inc(), OpIterator(), and llvm::Other.

◆ operator=() [2/2]

template<typename ContainerIdT, typename ElementIdT>
OpIterator & llvm::orc::detail::WaitingOnGraphOpReplay< ContainerIdT, ElementIdT >::OpIterator::operator= ( OpIterator && )
default

References OpIterator().

◆ operator!=

template<typename ContainerIdT, typename ElementIdT>
bool operator!= ( const OpIterator & LHS,
const OpIterator & RHS )
friend

Definition at line 298 of file WaitingOnGraphOpReplay.h.

References LHS, OpIterator(), and RHS.

◆ operator==

template<typename ContainerIdT, typename ElementIdT>
bool operator== ( const OpIterator & LHS,
const OpIterator & RHS )
friend

Compare iterators. End iterators compare equal.

Definition at line 294 of file WaitingOnGraphOpReplay.h.

References LHS, OpIterator(), and RHS.


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