Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h347 LLVM_ABI int cmpGEPs(const GEPOperator *GEPL, const GEPOperator *GEPR) const;
348 int cmpGEPs(const GetElementPtrInst *GEPL, in cmpGEPs() argument
350 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR)); in cmpGEPs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp447 if (auto *GEPL = dyn_cast<GEPOperator>(LE)) { in cmpConstants() local
449 if (int Res = cmpTypes(GEPL->getSourceElementType(), in cmpConstants()
452 if (int Res = cmpNumbers(GEPL->getNoWrapFlags().getRaw(), in cmpConstants()
456 std::optional<ConstantRange> InRangeL = GEPL->getInRange(); in cmpConstants()
651 if (const GetElementPtrInst *GEPL = dyn_cast<GetElementPtrInst>(L)) { in cmpOperations() local
655 cmpValues(GEPL->getPointerOperand(), GEPR->getPointerOperand())) in cmpOperations()
657 return cmpGEPs(GEPL, GEPR); in cmpOperations()
812 int FunctionComparator::cmpGEPs(const GEPOperator *GEPL, in cmpGEPs() argument
814 unsigned int ASL = GEPL->getPointerAddressSpace(); in cmpGEPs()
825 if (GEPL->accumulateConstantOffset(DL, OffsetL) && in cmpGEPs()
[all …]