How to use the map declared in one pass from another pass?

i want to use the values in the map which is declared and stored in one pass from another pass…i am asking like how to transmit the information/values from one pass to another pass

In general you can’t just “use a map from one pass in another pass”, however you should look into the concept of Analysis: Using the New Pass Manager — LLVM 17.0.0git documentation

can you please explain any alternatives fro this?