Searched refs:BasePtrOffset (Results 1 – 2 of 2) sorted by relevance
2025 APInt BasePtrOffset(IdxWidth, 0); in visitGetElementPtrInst() local2028 BasePtrOffset); in visitGetElementPtrInst()2030 if (GEP.accumulateConstantOffset(DL, BasePtrOffset) && in visitGetElementPtrInst()2031 BasePtrOffset.isNonNegative()) { in visitGetElementPtrInst()2033 if (BasePtrOffset.ule(AllocSize)) { in visitGetElementPtrInst()
3942 APInt BasePtrOffset(IdxWidth, 0); in SimplifyGEPInst() local3945 BasePtrOffset); in SimplifyGEPInst()3950 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset); in SimplifyGEPInst()3956 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset - 1); in SimplifyGEPInst()