Searched refs:BasePtrOffset (Results 1 – 2 of 2) sorted by relevance
2287 APInt BasePtrOffset(IdxWidth, 0); in visitGetElementPtrInst() local2290 BasePtrOffset); in visitGetElementPtrInst()2292 if (GEP.accumulateConstantOffset(DL, BasePtrOffset) && in visitGetElementPtrInst()2293 BasePtrOffset.isNonNegative()) { in visitGetElementPtrInst()2295 if (BasePtrOffset.ule(AllocSize)) { in visitGetElementPtrInst()
4122 APInt BasePtrOffset(IdxWidth, 0); in SimplifyGEPInst() local4125 BasePtrOffset); in SimplifyGEPInst()4130 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset); in SimplifyGEPInst()4136 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset - 1); in SimplifyGEPInst()