Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2483 APInt BasePtrOffset(IdxWidth, 0); in visitGetElementPtrInst() local
2486 BasePtrOffset); in visitGetElementPtrInst()
2488 if (GEP.accumulateConstantOffset(DL, BasePtrOffset) && in visitGetElementPtrInst()
2489 BasePtrOffset.isNonNegative()) { in visitGetElementPtrInst()
2493 if (BasePtrOffset.ule(AllocSize)) { in visitGetElementPtrInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4331 APInt BasePtrOffset(IdxWidth, 0); in SimplifyGEPInst() local
4334 BasePtrOffset); in SimplifyGEPInst()
4343 !BasePtrOffset.isNullValue()) { in SimplifyGEPInst()
4344 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset); in SimplifyGEPInst()
4350 !BasePtrOffset.isOneValue()) { in SimplifyGEPInst()
4351 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset - 1); in SimplifyGEPInst()