Lines Matching refs:BaseAndOffset
329 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Ptr); in visitGetElementPtr() local
330 if (BaseAndOffset.first) { in visitGetElementPtr()
333 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) { in visitGetElementPtr()
341 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitGetElementPtr()
378 std::pair<Value *, APInt> BaseAndOffset in visitBitCast() local
381 if (BaseAndOffset.first) in visitBitCast()
382 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitBitCast()
410 std::pair<Value *, APInt> BaseAndOffset in visitPtrToInt() local
412 if (BaseAndOffset.first) in visitPtrToInt()
413 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitPtrToInt()
448 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Op); in visitIntToPtr() local
449 if (BaseAndOffset.first) in visitIntToPtr()
450 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitIntToPtr()