This implements a function that creates a map that maps basic blocks to their parents. It is useful for data flow analysis.