Home
last modified time | relevance | path

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

/src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h343 int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
345 const GetElementPtrInst *GEPR) const { in cmpGEPs() argument
346 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp432 auto *GEPR = cast<GEPOperator>(RE); in cmpConstants() local
434 GEPR->getSourceElementType())) in cmpConstants()
437 GEPR->getNoWrapFlags().getRaw())) in cmpConstants()
441 std::optional<ConstantRange> InRangeR = GEPR->getInRange(); in cmpConstants()
639 const GetElementPtrInst *GEPR = cast<GetElementPtrInst>(R); in cmpOperations() local
641 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations()
643 return cmpGEPs(GEPL, GEPR); in cmpOperations()
799 const GEPOperator *GEPR) const { in cmpGEPs()
801 unsigned int ASR = GEPR->getPointerAddressSpace(); in cmpGEPs()
812 GEPR->accumulateConstantOffset(DL, OffsetR)) in cmpGEPs()
[all …]