LLVM  8.0.1
Public Member Functions | List of all members
llvm::IndirectBrInst::succ_op_iterator Struct Reference

Iterator type that casts an operand to a basic block. More...

#include "llvm/IR/Instructions.h"

Inheritance diagram for llvm::IndirectBrInst::succ_op_iterator:
Inheritance graph
[legend]
Collaboration diagram for llvm::IndirectBrInst::succ_op_iterator:
Collaboration graph
[legend]

Public Member Functions

 succ_op_iterator (value_op_iterator I)
 
BasicBlockoperator* () const
 
BasicBlockoperator-> () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< succ_op_iterator, value_op_iterator, std::random_access_iterator_tag, BasicBlock *, ptrdiff_t, BasicBlock *, BasicBlock *>
succ_op_iterator & operator+= (difference_type n)
 
succ_op_iterator & operator-= (difference_type n)
 
difference_type operator- (const succ_op_iterator &RHS) const
 
succ_op_iterator & operator++ ()
 
succ_op_iterator & operator-- ()
 
bool operator== (const succ_op_iterator &RHS) const
 
bool operator< (const succ_op_iterator &RHS) const
 
BasicBlockoperator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< succ_op_iterator, std::random_access_iterator_tag, BasicBlock *, ptrdiff_t, BasicBlock *, BasicBlock * >
succ_op_iterator operator+ (ptrdiff_t n) const
 
succ_op_iterator operator- (ptrdiff_t n) const
 
succ_op_iterator & operator++ ()
 
succ_op_iterator operator++ (int)
 
succ_op_iterator & operator-- ()
 
succ_op_iterator operator-- (int)
 
bool operator!= (const succ_op_iterator &RHS) const
 
bool operator> (const succ_op_iterator &RHS) const
 
bool operator<= (const succ_op_iterator &RHS) const
 
bool operator>= (const succ_op_iterator &RHS) const
 
BasicBlockoperator-> ()
 
BasicBlockoperator-> () const
 
ReferenceProxy operator[] (ptrdiff_t n)
 
ReferenceProxy operator[] (ptrdiff_t n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< succ_op_iterator, value_op_iterator, std::random_access_iterator_tag, BasicBlock *, ptrdiff_t, BasicBlock *, BasicBlock *>
using difference_type = ptrdiff_t
 
- Protected Types inherited from llvm::iterator_facade_base< succ_op_iterator, std::random_access_iterator_tag, BasicBlock *, ptrdiff_t, BasicBlock *, BasicBlock * >
enum  
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< succ_op_iterator, value_op_iterator, std::random_access_iterator_tag, BasicBlock *, ptrdiff_t, BasicBlock *, BasicBlock *>
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (value_op_iterator u)
 
const value_op_iteratorwrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< succ_op_iterator, value_op_iterator, std::random_access_iterator_tag, BasicBlock *, ptrdiff_t, BasicBlock *, BasicBlock *>
value_op_iterator I
 

Detailed Description

Iterator type that casts an operand to a basic block.

This only makes sense because the successors are stored as adjacent operands for indirectbr instructions.

Definition at line 3504 of file Instructions.h.

Constructor & Destructor Documentation

◆ succ_op_iterator()

llvm::IndirectBrInst::succ_op_iterator::succ_op_iterator ( value_op_iterator  I)
inlineexplicit

Definition at line 3508 of file Instructions.h.

Member Function Documentation

◆ operator*()

BasicBlock* llvm::IndirectBrInst::succ_op_iterator::operator* ( ) const
inline

Definition at line 3510 of file Instructions.h.

◆ operator->()

BasicBlock* llvm::IndirectBrInst::succ_op_iterator::operator-> ( ) const
inline

Definition at line 3511 of file Instructions.h.

References llvm::operator*().


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