LLVM
8.0.1
|
#include "llvm/IR/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 32 of file GetElementPtrTypeIterator.h.
|
inlinestatic |
Definition at line 44 of file GetElementPtrTypeIterator.h.
References I.
Referenced by llvm::gep_type_begin().
|
inlinestatic |
Definition at line 51 of file GetElementPtrTypeIterator.h.
References I.
Referenced by llvm::gep_type_end().
|
inline |
Definition at line 69 of file GetElementPtrTypeIterator.h.
References llvm::PointerUnion< PT1, PT2 >::dyn_cast(), llvm::PointerUnion< PT1, PT2 >::get(), llvm::generic_gep_type_iterator< ItTy >::getOperand(), and T.
Referenced by CC_MipsO32_FP64(), computeKnownBitsFromOperator(), llvm::createSeparateConstOffsetFromGEPPass(), llvm::EmitGEPOffset(), evaluateGEPOffsetExpression(), evaluateICmpRelation(), getComparePred(), llvm::getGEPInductionOperand(), llvm::DataLayout::getIndexedOffsetInType(), getMaxPointerSize(), GetOffsetFromIndex(), isGEPFoldable(), isPromotedInstructionLegal(), llvm::AArch64TargetLowering::isZExtFree(), matchesOr(), llvm::generic_gep_type_iterator< ItTy >::operator++(), propagateMetadata(), llvm::Interpreter::visitAllocaInst(), and llvm::InstCombiner::visitGetElementPtrInst().
|
inline |
Definition at line 75 of file GetElementPtrTypeIterator.h.
Referenced by llvm::DataLayout::getIndexedOffsetInType(), llvm::generic_gep_type_iterator< ItTy >::getIndexedType(), isSafeSROAGEP(), propagateMetadata(), and llvm::Interpreter::visitAllocaInst().
|
inline |
Definition at line 120 of file GetElementPtrTypeIterator.h.
References assert(), and llvm::generic_gep_type_iterator< ItTy >::isBoundedSequential().
Referenced by llvm::ConstantFoldGetElementPtr(), llvm::ConstantExpr::isGEPWithNoNotionalOverIndexing(), and isSafeSROAGEP().
|
inline |
Definition at line 110 of file GetElementPtrTypeIterator.h.
References llvm::PointerUnion< PT1, PT2 >::get().
Referenced by llvm::createSeparateConstOffsetFromGEPPass().
|
inline |
Definition at line 112 of file GetElementPtrTypeIterator.h.
References llvm::PointerUnion< PT1, PT2 >::dyn_cast().
Referenced by CC_MipsO32_FP64(), computeKnownBitsFromOperator(), llvm::EmitGEPOffset(), evaluateGEPOffsetExpression(), getComparePred(), llvm::DataLayout::getIndexedOffsetInType(), getMaxPointerSize(), GetOffsetFromIndex(), isPromotedInstructionLegal(), and llvm::Interpreter::visitAllocaInst().
|
inline |
Definition at line 116 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 isSafeSROAGEP().
|
inline |
Definition at line 108 of file GetElementPtrTypeIterator.h.
References llvm::PointerUnion< PT1, PT2 >::is().
Referenced by llvm::ConstantFoldGetElementPtr(), llvm::createSeparateConstOffsetFromGEPPass(), GEPSequentialConstIndexed(), llvm::generic_gep_type_iterator< ItTy >::isBoundedSequential(), and isGEPFoldable().
|
inline |
Definition at line 107 of file GetElementPtrTypeIterator.h.
References llvm::PointerUnion< PT1, PT2 >::is().
Referenced by llvm::canReplaceOperandWithVariable(), isSafeSROAGEP(), matchesOr(), and llvm::InstCombiner::visitGetElementPtrInst().
|
inline |
Definition at line 61 of file GetElementPtrTypeIterator.h.
References llvm::generic_gep_type_iterator< ItTy >::operator==().
|
inline |
Definition at line 77 of file GetElementPtrTypeIterator.h.
References llvm::dyn_cast(), and llvm::generic_gep_type_iterator< ItTy >::getIndexedType().
|
inline |
Definition at line 88 of file GetElementPtrTypeIterator.h.
|
inline |
Definition at line 57 of file GetElementPtrTypeIterator.h.
Referenced by llvm::generic_gep_type_iterator< ItTy >::operator!=().