https://github.com/fhahn commented: > I'd expect something like get the number of the corresponding ptrtoint expression and check if we have a leader for it. Should not do use scanning. Ah yes that's much better, updated thanks! https://github.com/llvm/llvm-project/pull/209164