In my pass, I want to use the alias-analysis info provided by “GlobalsModRef”.
How should I use “getModRefBehavior(…)”-method and “alias(…)”, in order to get the best presicion?

More precisely, how can I find the required arguments, particularly “PointerAccessInfo”, for this methods. And is it a good idea to use “GlobalsModRef” in the “doInitialization” of a function-pass? Or it should be at best be used in a “runonModule” of a module-pass ?

many thanks in advance