Lines Matching refs:BaseAndOffset
1546 std::pair<Value *, APInt> BaseAndOffset = {nullptr, ZeroOffset}; in visitPHI() local
1548 BaseAndOffset = ConstantOffsetPtrs.lookup(V); in visitPHI()
1550 if (!C && !BaseAndOffset.first) in visitPHI()
1567 if (FirstBaseAndOffset == BaseAndOffset) in visitPHI()
1581 FirstBaseAndOffset = BaseAndOffset; in visitPHI()
1607 std::pair<Value *, APInt> BaseAndOffset = in canFoldInboundsGEP() local
1609 if (!BaseAndOffset.first) in canFoldInboundsGEP()
1614 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) in canFoldInboundsGEP()
1618 ConstantOffsetPtrs[&I] = BaseAndOffset; in canFoldInboundsGEP()
1711 std::pair<Value *, APInt> BaseAndOffset = in visitBitCast() local
1714 if (BaseAndOffset.first) in visitBitCast()
1715 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitBitCast()
1735 std::pair<Value *, APInt> BaseAndOffset = in visitPtrToInt() local
1737 if (BaseAndOffset.first) in visitPtrToInt()
1738 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitPtrToInt()
1765 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Op); in visitIntToPtr() local
1766 if (BaseAndOffset.first) in visitIntToPtr()
1767 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitIntToPtr()
2434 std::pair<Value *, APInt> BaseAndOffset = in visitSelectInst() local
2436 if (BaseAndOffset.first) { in visitSelectInst()
2437 ConstantOffsetPtrs[&SI] = BaseAndOffset; in visitSelectInst()