<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My project is outside of LLVM. Now I need get 
LoopInfo for a function. I know that if my project were a pass inside LLVM. 
I can get LoopInfo by "AU.addRequired<LoopInfo>()" and 
"getAnalysis<LoopInfo>()". Also I know I can get a function pass by 
"</FONT><FONT face=Arial size=2>llvm::FunctionPass* dce = 
llvm::createDeadCodeEliminationPass(); dce->runOnFunction(*func)" outside of 
LLVM. But I can't figure out a way to get LoopInfo outside of LLVM. Is there any 
possible way to do it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>-Junjuan</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>