Lines Matching refs:GEPL
422 if (auto *GEPL = dyn_cast<GEPOperator>(LE)) { in cmpConstants() local
424 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpConstants()
427 if (int Res = cmpNumbers(GEPL->isInBounds(), GEPR->isInBounds())) in cmpConstants()
429 if (int Res = cmpNumbers(GEPL->getInRangeIndex().value_or(unsigned(-1)), in cmpConstants()
617 if (const GetElementPtrInst *GEPL = dyn_cast<GetElementPtrInst>(L)) { in cmpOperations() local
621 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations()
623 return cmpGEPs(GEPL, GEPR); in cmpOperations()
778 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() argument
780 unsigned int ASL = GEPL->getPointerAddressSpace(); in cmpGEPs()
791 if (GEPL->accumulateConstantOffset(DL, OffsetL) && in cmpGEPs()
795 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
798 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
801 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs()
802 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()