Lines Matching refs:GEP1
820 static AliasResult aliasSameBasePointerGEPs(const GEPOperator *GEP1, in aliasSameBasePointerGEPs() argument
826 assert(GEP1->getPointerOperand()->stripPointerCasts() == in aliasSameBasePointerGEPs()
828 GEP1->getPointerOperand()->getType() == in aliasSameBasePointerGEPs()
835 if (GEP1->getNumIndices() != GEP2->getNumIndices() || in aliasSameBasePointerGEPs()
836 GEP1->getNumIndices() < 2) in aliasSameBasePointerGEPs()
846 dyn_cast<ConstantInt>(GEP1->getOperand(GEP1->getNumOperands() - 1)); in aliasSameBasePointerGEPs()
863 assert(GEP1->getNumIndices() > 1 && "Not enough GEP indices to examine"); in aliasSameBasePointerGEPs()
864 IntermediateIndices.push_back(GEP1->getOperand(1)); in aliasSameBasePointerGEPs()
868 for (unsigned i = 1, e = GEP1->getNumIndices() - 1; i != e; ++i) { in aliasSameBasePointerGEPs()
870 GEP1->getSourceElementType(), IntermediateIndices))) in aliasSameBasePointerGEPs()
872 IntermediateIndices.push_back(GEP1->getOperand(i + 1)); in aliasSameBasePointerGEPs()
876 GEP1->getSourceElementType(), IntermediateIndices); in aliasSameBasePointerGEPs()
896 for (unsigned i = 0, e = GEP1->getNumIndices() - 1; i != e; ++i) in aliasSameBasePointerGEPs()
897 if (GEP1->getOperand(i + 1) != GEP2->getOperand(i + 1)) in aliasSameBasePointerGEPs()
910 if (isKnownNonEqual(GEP1->getOperand(GEP1->getNumOperands() - 1), in aliasSameBasePointerGEPs()
1018 AliasResult BasicAAResult::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size, in aliasGEP() argument
1025 DecomposeGEPExpression(GEP1, DecompGEP1, DL, &AC, DT); in aliasGEP()
1040 isGEPBaseAtNegativeOffset(GEP1, DecompGEP1, DecompGEP2, V2Size)) in aliasGEP()
1087 if (GEP1->getPointerOperand()->stripPointerCasts() == in aliasGEP()
1089 GEP1->getPointerOperand()->getType() == in aliasGEP()
1091 AliasResult R = aliasSameBasePointerGEPs(GEP1, V1Size, GEP2, V2Size, DL); in aliasGEP()