Searched refs:GEPL (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/ |
| H A D | FunctionComparator.h | 346 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()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 496 if (const GetElementPtrInst *GEPL = dyn_cast<GetElementPtrInst>(L)) { in cmpOperations() local 500 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations() 502 return cmpGEPs(GEPL, GEPR); in cmpOperations() 661 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() argument 663 unsigned int ASL = GEPL->getPointerAddressSpace(); in cmpGEPs() 674 if (GEPL->accumulateConstantOffset(DL, OffsetL) && in cmpGEPs() 677 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpGEPs() 681 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs() 684 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs() 685 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()
|