Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h343 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
344 int cmpGEPs(const GetElementPtrInst *GEPL, in cmpGEPs() argument
346 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp422 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()
617 if (const GetElementPtrInst *GEPL = dyn_cast<GetElementPtrInst>(L)) { in cmpOperations() local
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()
798 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
801 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs()
[all …]