Searched refs:BaseAndOffset (Results 1 – 2 of 2) sorted by relevance
489 std::pair<Value *, APInt> BaseAndOffset = {nullptr, ZeroOffset}; in visitPHI() local491 BaseAndOffset = ConstantOffsetPtrs.lookup(V); in visitPHI()493 if (!C && !BaseAndOffset.first) in visitPHI()510 if (FirstBaseAndOffset == BaseAndOffset) in visitPHI()524 FirstBaseAndOffset = BaseAndOffset; in visitPHI()552 std::pair<Value *, APInt> BaseAndOffset = in canFoldInboundsGEP() local554 if (!BaseAndOffset.first) in canFoldInboundsGEP()559 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) in canFoldInboundsGEP()563 ConstantOffsetPtrs[&I] = BaseAndOffset; in canFoldInboundsGEP()625 std::pair<Value *, APInt> BaseAndOffset = in visitBitCast() local[all …]
393 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Ptr); in visitGetElementPtr() local394 if (BaseAndOffset.first) { in visitGetElementPtr()397 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) { in visitGetElementPtr()405 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitGetElementPtr()442 std::pair<Value *, APInt> BaseAndOffset = in visitBitCast() local445 if (BaseAndOffset.first) in visitBitCast()446 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitBitCast()474 std::pair<Value *, APInt> BaseAndOffset = in visitPtrToInt() local476 if (BaseAndOffset.first) in visitPtrToInt()477 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitPtrToInt()[all …]