LLVM 20.0.0git
Public Member Functions | List of all members
llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT > Class Template Reference

Iterator to walk just the phi nodes in the basic block. More...

#include "llvm/IR/BasicBlock.h"

Inheritance diagram for llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT >:
Inheritance graph
[legend]

Public Member Functions

 phi_iterator_impl ()=default
 
template<typename PHINodeU , typename BBIteratorU , typename = std::enable_if_t< std::is_convertible<PHINodeU *, PHINodeT *>::value>>
 phi_iterator_impl (const phi_iterator_impl< PHINodeU, BBIteratorU > &Arg)
 
bool operator== (const phi_iterator_impl &Arg) const
 
PHINodeT & operator* () const
 
phi_iterator_imploperator++ ()
 
- Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
 
DerivedT operator- (DifferenceTypeT n) const
 
DerivedT & operator++ ()
 
DerivedT operator++ (int)
 
DerivedT & operator-- ()
 
DerivedT operator-- (int)
 
bool operator!= (const DerivedT &RHS) const
 
bool operator> (const DerivedT &RHS) const
 
bool operator<= (const DerivedT &RHS) const
 
bool operator>= (const DerivedT &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using iterator_category = IteratorCategoryT
 
using value_type = T
 
using difference_type = DifferenceTypeT
 
using pointer = PointerT
 
using reference = ReferenceT
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
 

Detailed Description

template<typename PHINodeT = PHINode, typename BBIteratorT = iterator>
class llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT >

Iterator to walk just the phi nodes in the basic block.

Definition at line 478 of file BasicBlock.h.

Constructor & Destructor Documentation

◆ phi_iterator_impl() [1/2]

template<typename PHINodeT = PHINode, typename BBIteratorT = iterator>
llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT >::phi_iterator_impl ( )
default

◆ phi_iterator_impl() [2/2]

template<typename PHINodeT = PHINode, typename BBIteratorT = iterator>
template<typename PHINodeU , typename BBIteratorU , typename = std::enable_if_t< std::is_convertible<PHINodeU *, PHINodeT *>::value>>
llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT >::phi_iterator_impl ( const phi_iterator_impl< PHINodeU, BBIteratorU > &  Arg)
inline

Definition at line 496 of file BasicBlock.h.

Member Function Documentation

◆ operator*()

template<typename PHINodeT = PHINode, typename BBIteratorT = iterator>
PHINodeT & llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT >::operator* ( ) const
inline

Definition at line 501 of file BasicBlock.h.

◆ operator++()

template<typename PHINodeT = PHINode, typename BBIteratorT = iterator>
phi_iterator_impl & llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT >::operator++ ( )
inline

Definition at line 504 of file BasicBlock.h.

References assert().

◆ operator==()

template<typename PHINodeT = PHINode, typename BBIteratorT = iterator>
bool llvm::BasicBlock::phi_iterator_impl< PHINodeT, BBIteratorT >::operator== ( const phi_iterator_impl< PHINodeT, BBIteratorT > &  Arg) const
inline

Definition at line 499 of file BasicBlock.h.


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