[LLVMdev] Using LoopInfo in a ModulePass

Hans Wennborg hans at hanshq.net
Thu Oct 29 02:29:41 PDT 2009


I'm writing a ModulePass that does work on a subset of the functions in 
a module.

I would like to get the LoopInfo for the functions that it works with. 
Is there some way to do this? As I understand, only a FunctionPass can 
register LoopInfo as a required analysis.


Hans



More information about the llvm-dev mailing list