Lines Matching refs:GEPR
298 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR);
299 int cmpGEPs(const GetElementPtrInst *GEPL, const GetElementPtrInst *GEPR) { in cmpGEPs() argument
300 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
844 const GEPOperator *GEPR) { in cmpGEPs() argument
847 unsigned int ASR = GEPR->getPointerAddressSpace(); in cmpGEPs()
858 GEPR->accumulateConstantOffset(DL, OffsetR)) in cmpGEPs()
862 (uint64_t)GEPR->getPointerOperand()->getType())) in cmpGEPs()
865 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
869 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()
931 const GetElementPtrInst *GEPR = dyn_cast<GetElementPtrInst>(InstR); in compare() local
933 if (GEPL && !GEPR) in compare()
935 if (GEPR && !GEPL) in compare()
938 if (GEPL && GEPR) { in compare()
940 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in compare()
942 if (int Res = cmpGEPs(GEPL, GEPR)) in compare()