Lines Matching refs:GEP1
755 static AliasResult aliasSameBasePointerGEPs(const GEPOperator *GEP1, in aliasSameBasePointerGEPs() argument
761 assert(GEP1->getPointerOperand() == GEP2->getPointerOperand() && in aliasSameBasePointerGEPs()
767 if (GEP1->getNumIndices() != GEP2->getNumIndices() || in aliasSameBasePointerGEPs()
768 GEP1->getNumIndices() < 2) in aliasSameBasePointerGEPs()
778 dyn_cast<ConstantInt>(GEP1->getOperand(GEP1->getNumOperands() - 1)); in aliasSameBasePointerGEPs()
795 assert(GEP1->getNumIndices() > 1 && "Not enough GEP indices to examine"); in aliasSameBasePointerGEPs()
796 IntermediateIndices.push_back(GEP1->getOperand(1)); in aliasSameBasePointerGEPs()
800 for (unsigned i = 1, e = GEP1->getNumIndices() - 1; i != e; ++i) { in aliasSameBasePointerGEPs()
802 GEP1->getSourceElementType(), IntermediateIndices))) in aliasSameBasePointerGEPs()
804 IntermediateIndices.push_back(GEP1->getOperand(i + 1)); in aliasSameBasePointerGEPs()
808 GEP1->getSourceElementType(), IntermediateIndices); in aliasSameBasePointerGEPs()
828 for (unsigned i = 0, e = GEP1->getNumIndices() - 1; i != e; ++i) in aliasSameBasePointerGEPs()
829 if (GEP1->getOperand(i + 1) != GEP2->getOperand(i + 1)) in aliasSameBasePointerGEPs()
842 if (isKnownNonEqual(GEP1->getOperand(GEP1->getNumOperands() - 1), in aliasSameBasePointerGEPs()
889 AliasResult BasicAAResult::aliasGEP(const GEPOperator *GEP1, uint64_t V1Size, in aliasGEP() argument
923 DecomposeGEPExpression(GEP1, GEP1BaseOffset, GEP1VariableIndices, in aliasGEP()
953 DecomposeGEPExpression(GEP1, GEP1BaseOffset, GEP1VariableIndices, in aliasGEP()
973 if (GEP1->getPointerOperand() == GEP2->getPointerOperand()) { in aliasGEP()
974 AliasResult R = aliasSameBasePointerGEPs(GEP1, V1Size, GEP2, V2Size, DL); in aliasGEP()
1010 DecomposeGEPExpression(GEP1, GEP1BaseOffset, GEP1VariableIndices, in aliasGEP()