Home
last modified time | relevance | path

Searched refs:GEPL (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h346 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
347 int cmpGEPs(const GetElementPtrInst *GEPL, in cmpGEPs() argument
349 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp535 if (const GetElementPtrInst *GEPL = dyn_cast<GetElementPtrInst>(L)) { in cmpOperations() local
539 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations()
541 return cmpGEPs(GEPL, GEPR); in cmpOperations()
698 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() argument
700 unsigned int ASL = GEPL->getPointerAddressSpace(); in cmpGEPs()
711 if (GEPL->accumulateConstantOffset(DL, OffsetL) && in cmpGEPs()
715 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
718 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
721 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs()
722 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()