The <ptr b> placeholder denotes a pointer to the compiler datastructures for b, which in GHC are values of type compiler/basictypes/Id.hs.
The <srcloc x> placeholder denotes the source code location information for the expression x.