Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h346 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
348 const GetElementPtrInst *GEPR) const { in cmpGEPs() argument
349 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp546 const GetElementPtrInst *GEPR = cast<GetElementPtrInst>(R); in cmpOperations() local
548 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations()
550 return cmpGEPs(GEPL, GEPR); in cmpOperations()
708 const GEPOperator *GEPR) const { in cmpGEPs()
710 unsigned int ASR = GEPR->getPointerAddressSpace(); in cmpGEPs()
721 GEPR->accumulateConstantOffset(DL, OffsetR)) in cmpGEPs()
724 cmpTypes(GEPL->getSourceElementType(), GEPR->getSourceElementType())) in cmpGEPs()
727 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
731 if (int Res = cmpValues(GEPL->getOperand(i), GEPR->getOperand(i))) in cmpGEPs()