LLVM 20.0.0git
|
#include "llvm/IR/Instructions.h"
Public Member Functions | |
CaseIteratorImpl ()=default | |
Default constructed iterator is in an invalid state until assigned to a case for a particular switch. | |
CaseIteratorImpl (SwitchInstT *SI, unsigned CaseNum) | |
Initializes case iterator for given SwitchInst and for given case number. | |
operator CaseIteratorImpl< ConstCaseHandle > () const | |
Support converting to the const variant. | |
CaseIteratorImpl & | operator+= (ptrdiff_t N) |
CaseIteratorImpl & | operator-= (ptrdiff_t N) |
ptrdiff_t | operator- (const CaseIteratorImpl &RHS) const |
bool | operator== (const CaseIteratorImpl &RHS) const |
bool | operator< (const CaseIteratorImpl &RHS) const |
const CaseHandleT & | operator* () const |
Public Member Functions inherited from llvm::iterator_facade_base< CaseIteratorImpl< CaseHandleT >, std::random_access_iterator_tag, const CaseHandleT > | |
CaseIteratorImpl< CaseHandleT > | operator+ (std::ptrdiff_t n) const |
CaseIteratorImpl< CaseHandleT > | operator- (std::ptrdiff_t n) const |
CaseIteratorImpl< CaseHandleT > & | operator++ () |
CaseIteratorImpl< CaseHandleT > | operator++ (int) |
CaseIteratorImpl< CaseHandleT > & | operator-- () |
CaseIteratorImpl< CaseHandleT > | operator-- (int) |
bool | operator!= (const CaseIteratorImpl< CaseHandleT > &RHS) const |
bool | operator> (const CaseIteratorImpl< CaseHandleT > &RHS) const |
bool | operator<= (const CaseIteratorImpl< CaseHandleT > &RHS) const |
bool | operator>= (const CaseIteratorImpl< CaseHandleT > &RHS) const |
PointerProxy | operator-> () const |
ReferenceProxy | operator[] (std::ptrdiff_t n) const |
Static Public Member Functions | |
static CaseIteratorImpl | fromSuccessorIndex (SwitchInstT *SI, unsigned SuccessorIndex) |
Initializes case iterator for given SwitchInst and for given successor index. | |
Additional Inherited Members | |
Public Types inherited from llvm::iterator_facade_base< CaseIteratorImpl< CaseHandleT >, std::random_access_iterator_tag, const CaseHandleT > | |
using | iterator_category = std::random_access_iterator_tag |
using | value_type = const CaseHandleT |
using | difference_type = std::ptrdiff_t |
using | pointer = const CaseHandleT * |
using | reference = const CaseHandleT & |
Protected Types inherited from llvm::iterator_facade_base< CaseIteratorImpl< CaseHandleT >, std::random_access_iterator_tag, const CaseHandleT > | |
enum | |
Definition at line 3265 of file Instructions.h.
|
default |
Default constructed iterator is in an invalid state until assigned to a case for a particular switch.
|
inline |
Initializes case iterator for given SwitchInst and for given case number.
Definition at line 3280 of file Instructions.h.
|
inlinestatic |
Initializes case iterator for given SwitchInst and for given successor index.
Definition at line 3284 of file Instructions.h.
References assert(), and SI().
Referenced by llvm::DOTGraphTraits< DOTFuncInfo * >::getEdgeSourceLabel().
|
inline |
Support converting to the const variant.
This will be a no-op for const variant.
Definition at line 3294 of file Instructions.h.
|
inline |
Definition at line 3327 of file Instructions.h.
|
inline |
Definition at line 3298 of file Instructions.h.
|
inline |
Definition at line 3316 of file Instructions.h.
|
inline |
Definition at line 3307 of file Instructions.h.
|
inline |
Definition at line 3323 of file Instructions.h.
|
inline |
Definition at line 3320 of file Instructions.h.
References RHS.