Flandini wrote: Made the above changes. I moved it all into `MemRegion` and changed the names of and added deprecation comments to the old `MemRegion` instance methods that queried mem space info. https://github.com/llvm/llvm-project/pull/123003