|
LLVM
4.0.0
|
#include <GetElementPtrTypeIterator.h>
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 | isSequential () const |
| StructType * | getStructType () const |
| StructType * | getStructTypeOrNull () const |
| bool | isBoundedSequential () const |
| uint64_t | getSequentialNumElements () 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 30 of file GetElementPtrTypeIterator.h.
|
inlinestatic |
Definition at line 42 of file GetElementPtrTypeIterator.h.
References I.
Referenced by llvm::gep_type_begin().
|
inlinestatic |
Definition at line 49 of file GetElementPtrTypeIterator.h.
References I.
Referenced by llvm::gep_type_end().
|
inline |
Definition at line 67 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::getOperand(), and T.
Referenced by computeKnownBitsFromOperator(), evaluateGEPOffsetExpression(), evaluateICmpRelation(), llvm::getGEPInductionOperand(), llvm::DataLayout::getIndexedOffsetInType(), GetOffsetFromIndex(), llvm::generic_gep_type_iterator< ItTy >::operator++(), and llvm::InstCombiner::visitGetElementPtrInst().
|
inline |
Definition at line 73 of file GetElementPtrTypeIterator.h.
Referenced by llvm::DataLayout::getIndexedOffsetInType(), llvm::generic_gep_type_iterator< ItTy >::getIndexedType(), and IsUserOfGlobalSafeForSRA().
|
inline |
Definition at line 118 of file GetElementPtrTypeIterator.h.
References assert(), and llvm::generic_gep_type_iterator< ItTy >::isBoundedSequential().
Referenced by llvm::ConstantFoldGetElementPtr(), llvm::ConstantExpr::isGEPWithNoNotionalOverIndexing(), and IsUserOfGlobalSafeForSRA().
|
inline |
Definition at line 108 of file GetElementPtrTypeIterator.h.
|
inline |
Definition at line 110 of file GetElementPtrTypeIterator.h.
Referenced by computeKnownBitsFromOperator(), evaluateGEPOffsetExpression(), llvm::DataLayout::getIndexedOffsetInType(), and GetOffsetFromIndex().
|
inline |
Definition at line 114 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::isSequential().
Referenced by llvm::ConstantFoldGetElementPtr(), llvm::generic_gep_type_iterator< ItTy >::getSequentialNumElements(), llvm::ConstantExpr::isGEPWithNoNotionalOverIndexing(), and IsUserOfGlobalSafeForSRA().
|
inline |
Definition at line 106 of file GetElementPtrTypeIterator.h.
Referenced by canReplaceOperandWithVariable(), llvm::ConstantFoldGetElementPtr(), llvm::generic_gep_type_iterator< ItTy >::isBoundedSequential(), and IsUserOfGlobalSafeForSRA().
|
inline |
Definition at line 105 of file GetElementPtrTypeIterator.h.
Referenced by IsUserOfGlobalSafeForSRA(), and llvm::InstCombiner::visitGetElementPtrInst().
|
inline |
Definition at line 59 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::operator==().
|
inline |
Definition at line 75 of file GetElementPtrTypeIterator.h.
References llvm::dyn_cast(), and llvm::generic_gep_type_iterator< ItTy >::getIndexedType().
|
inline |
Definition at line 86 of file GetElementPtrTypeIterator.h.
|
inline |
Definition at line 55 of file GetElementPtrTypeIterator.h.
Referenced by llvm::generic_gep_type_iterator< ItTy >::operator!=().
1.8.6