LLVM
8.0.1
|
#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. More... | |
CaseIteratorImpl (SwitchInstT *SI, unsigned CaseNum) | |
Initializes case iterator for given SwitchInst and for given case number. More... | |
operator CaseIteratorImpl< ConstCaseHandle > () const | |
Support converting to the const variant. More... | |
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 |
CaseHandleT & | operator* () |
const CaseHandleT & | operator* () const |
Public Member Functions inherited from llvm::iterator_facade_base< CaseIteratorImpl< CaseHandleT >, std::random_access_iterator_tag, 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 |
CaseHandleT * | operator-> () |
CaseHandleT * | operator-> () const |
ReferenceProxy | operator[] (std::ptrdiff_t n) |
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. More... | |
Additional Inherited Members | |
Protected Types inherited from llvm::iterator_facade_base< CaseIteratorImpl< CaseHandleT >, std::random_access_iterator_tag, CaseHandleT > | |
enum | |
Definition at line 3150 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 3245 of file Instructions.h.
|
inlinestatic |
Initializes case iterator for given SwitchInst and for given successor index.
Definition at line 3249 of file Instructions.h.
References assert(), and llvm::Instruction::getNumSuccessors().
|
inline |
Support converting to the const variant.
This will be a no-op for const variant.
Definition at line 3259 of file Instructions.h.
|
inline |
Definition at line 3292 of file Instructions.h.
|
inline |
Definition at line 3293 of file Instructions.h.
|
inline |
Definition at line 3263 of file Instructions.h.
|
inline |
Definition at line 3281 of file Instructions.h.
References assert().
|
inline |
Definition at line 3272 of file Instructions.h.
|
inline |
Definition at line 3288 of file Instructions.h.
References assert().
|
inline |
Definition at line 3285 of file Instructions.h.