Lines Matching refs:GEP
635 if (auto *GEP = dyn_cast<GEPOperator>(V)) { in stripPointerCastsAndOffsets() local
641 if (!GEP->hasAllZeroIndices()) in stripPointerCastsAndOffsets()
645 if (!GEP->hasAllConstantIndices()) in stripPointerCastsAndOffsets()
649 if (!GEP->isInBounds()) in stripPointerCastsAndOffsets()
653 V = GEP->getPointerOperand(); in stripPointerCastsAndOffsets()
731 if (auto *GEP = dyn_cast<GEPOperator>(V)) { in stripAndAccumulateConstantOffsets() local
733 if (!AllowNonInbounds && !GEP->isInBounds()) in stripAndAccumulateConstantOffsets()
743 if (!GEP->accumulateConstantOffset(DL, GEPOffset, ExternalAnalysis)) in stripAndAccumulateConstantOffsets()
766 V = GEP->getPointerOperand(); in stripAndAccumulateConstantOffsets()
996 getOffsetFromIndex(const GEPOperator *GEP, unsigned Idx, const DataLayout &DL) { in getOffsetFromIndex() argument
998 gep_type_iterator GTI = gep_type_begin(GEP); in getOffsetFromIndex()
1004 for (unsigned i = Idx, e = GEP->getNumOperands(); i != e; ++i, ++GTI) { in getOffsetFromIndex()
1005 ConstantInt *OpC = dyn_cast<ConstantInt>(GEP->getOperand(i)); in getOffsetFromIndex()