Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2025 APInt BasePtrOffset(IdxWidth, 0); in visitGetElementPtrInst() local
2028 BasePtrOffset); in visitGetElementPtrInst()
2030 if (GEP.accumulateConstantOffset(DL, BasePtrOffset) && in visitGetElementPtrInst()
2031 BasePtrOffset.isNonNegative()) { in visitGetElementPtrInst()
2033 if (BasePtrOffset.ule(AllocSize)) { in visitGetElementPtrInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp3942 APInt BasePtrOffset(IdxWidth, 0); in SimplifyGEPInst() local
3945 BasePtrOffset); in SimplifyGEPInst()
3950 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset); in SimplifyGEPInst()
3956 auto *CI = ConstantInt::get(GEPTy->getContext(), BasePtrOffset - 1); in SimplifyGEPInst()