[LLVMdev] GlobalsModRef

RAAD B raad_7007 at yahoo.com
Sat Apr 18 10:55:33 PDT 2009


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090418/f8bc805a/attachment.html>

More information about the llvm-dev mailing list