LLVM 20.0.0git
|
#include "llvm/IR/GetElementPtrTypeIterator.h"
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = Type * |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
bool | operator== (const generic_gep_type_iterator &x) const |
bool | operator!= (const generic_gep_type_iterator &x) const |
Type * | getIndexedType () const |
Value * | getOperand () const |
generic_gep_type_iterator & | operator++ () |
generic_gep_type_iterator | operator++ (int) |
bool | isStruct () const |
bool | isVector () const |
bool | isSequential () const |
TypeSize | getSequentialElementStride (const DataLayout &DL) const |
StructType * | getStructType () const |
StructType * | getStructTypeOrNull () const |
Static Public Member Functions | |
static generic_gep_type_iterator | begin (Type *Ty, ItTy It) |
static generic_gep_type_iterator | end (ItTy It) |
Definition at line 31 of file GetElementPtrTypeIterator.h.
using llvm::generic_gep_type_iterator< ItTy >::difference_type = std::ptrdiff_t |
Definition at line 73 of file GetElementPtrTypeIterator.h.
using llvm::generic_gep_type_iterator< ItTy >::iterator_category = std::forward_iterator_tag |
Definition at line 71 of file GetElementPtrTypeIterator.h.
using llvm::generic_gep_type_iterator< ItTy >::pointer = value_type * |
Definition at line 74 of file GetElementPtrTypeIterator.h.
using llvm::generic_gep_type_iterator< ItTy >::reference = value_type & |
Definition at line 75 of file GetElementPtrTypeIterator.h.
using llvm::generic_gep_type_iterator< ItTy >::value_type = Type * |
Definition at line 72 of file GetElementPtrTypeIterator.h.
|
inlinestatic |
Definition at line 77 of file GetElementPtrTypeIterator.h.
References I.
Referenced by llvm::gep_type_begin().
|
inlinestatic |
Definition at line 84 of file GetElementPtrTypeIterator.h.
References I.
Referenced by llvm::gep_type_end().
|
inline |
Definition at line 102 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::getOperand(), and T.
Referenced by llvm::GEPOperator::accumulateConstantOffset(), computeKnownBitsFromOperator(), getGEPInductionOperand(), llvm::generic_gep_type_iterator< ItTy >::getSequentialElementStride(), llvm::generic_gep_type_iterator< ItTy >::operator++(), llvm::InstCombinerImpl::visitGEPOfGEP(), and llvm::InstCombinerImpl::visitGetElementPtrInst().
|
inline |
Definition at line 110 of file GetElementPtrTypeIterator.h.
Referenced by llvm::DataLayout::getIndexedOffsetInType(), and llvm::generic_gep_type_iterator< ItTy >::getIndexedType().
|
inline |
Definition at line 154 of file GetElementPtrTypeIterator.h.
References assert(), DL, llvm::generic_gep_type_iterator< ItTy >::getIndexedType(), llvm::generic_gep_type_iterator< ItTy >::isSequential(), and llvm::generic_gep_type_iterator< ItTy >::isVector().
Referenced by computeKnownBitsFromOperator(), llvm::emitGEPOffset(), getGEPInductionOperand(), and llvm::DataLayout::getIndexedOffsetInType().
|
inline |
Definition at line 164 of file GetElementPtrTypeIterator.h.
|
inline |
Definition at line 166 of file GetElementPtrTypeIterator.h.
Referenced by computeKnownBitsFromOperator(), llvm::emitGEPOffset(), and llvm::DataLayout::getIndexedOffsetInType().
|
inline |
Definition at line 147 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::isStruct().
Referenced by llvm::generic_gep_type_iterator< ItTy >::getSequentialElementStride().
|
inline |
Definition at line 145 of file GetElementPtrTypeIterator.h.
Referenced by llvm::canReplaceOperandWithVariable(), getGEPInductionOperand(), llvm::generic_gep_type_iterator< ItTy >::isSequential(), and llvm::InstCombinerImpl::visitGetElementPtrInst().
|
inline |
Definition at line 146 of file GetElementPtrTypeIterator.h.
Referenced by llvm::generic_gep_type_iterator< ItTy >::getSequentialElementStride().
|
inline |
Definition at line 94 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::operator==().
|
inline |
Definition at line 112 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::getIndexedType().
|
inline |
Definition at line 124 of file GetElementPtrTypeIterator.h.
|
inline |
Definition at line 90 of file GetElementPtrTypeIterator.h.
Referenced by llvm::generic_gep_type_iterator< ItTy >::operator!=().