[LLVMdev] About loop information in LLVM during compiling
grosbach at apple.com
Thu Aug 19 11:18:29 PDT 2010
I'd suggest starting by having a look at the LoopInfo analysis pass in lib/Analysis/LoopInfo.cpp. Other passes which operate on loops use this pass via getAnalysis<LoopInfo>. There are various examples of usage in lib/Transforms/Scalar/Loop*.cpp.
On Aug 19, 2010, at 1:39 AM, Li Shengmei wrote:
> Hi, all
> Can we get the loop information in LLVM during compiling? In which
> phase or function we can obtain the loop related information?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev