search for: isloop

Displaying 4 results from an estimated 4 matches for "isloop".

Did you mean: ioloop
2012 Apr 26
2
[LLVMdev] Detect if a basicblock is part of a loop
Hi, I'm trying to detect if a basicblock is part of a loop or not. I tried the llvm::LoopInfo like that (http://llvm.org/docs/doxygen/html/classllvm_1_1LoopInfo.html#a4abca289c73cd09487e05d11d9f7d877): LoopInfo *loop = new LoopInfo(); bool isLoop = loop->getLoopFor(myBB); // getLoopFor - Return the inner most loop that BB lives in. If a basic block is in no loop (for example the entry node), null is returned. See doxygen But getLoopFor() always return me NULL even if my basicblock is inside a for loop... I tried this: http://comments.g...
2012 Apr 26
0
[LLVMdev] Detect if a basicblock is part of a loop
...wrote: > Hi, > > I'm trying to detect if a basicblock is part of a loop or not. > > I tried the llvm::LoopInfo like that > (http://llvm.org/docs/doxygen/html/classllvm_1_1LoopInfo.html#a4abca289c73cd09487e05d11d9f7d877): > > LoopInfo *loop = new LoopInfo(); > bool isLoop = loop->getLoopFor(myBB); // getLoopFor - Return the > inner most loop that BB lives in. If a basic block is in no loop (for > example the entry node), null is returned. See doxygen > > But getLoopFor() always return me NULL even if my basicblock is > inside a for loop... I trie...
2012 Apr 26
2
[LLVMdev] Detect if a basicblock is part of a loop
...#39;m trying to detect if a basicblock is part of a loop or not. > > > > I tried the llvm::LoopInfo like that > > (http://llvm.org/docs/doxygen/html/classllvm_1_1LoopInfo.html#a4abca289c73cd09487e05d11d9f7d877): > > > > LoopInfo *loop = new LoopInfo(); > > bool isLoop = loop->getLoopFor(myBB); // getLoopFor - Return the > > inner most loop that BB lives in. If a basic block is in no loop (for > > example the entry node), null is returned. See doxygen > > > > But getLoopFor() always return me NULL even if my basicblock is > > in...
2012 Apr 26
0
[LLVMdev] Detect if a basicblock is part of a loop
...ailto:julien.rinaldini at heig-vd.ch>> wrote: Hi, I'm trying to detect if a basicblock is part of a loop or not. I tried the llvm::LoopInfo like that (http://llvm.org/docs/doxygen/html/classllvm_1_1LoopInfo.html#a4abca289c73cd09487e05d11d9f7d877): LoopInfo *loop = new LoopInfo(); bool isLoop = loop->getLoopFor(myBB); // getLoopFor - Return the inner most loop that BB lives in. If a basic block is in no loop (for example the entry node), null is returned. See doxygen But getLoopFor() always return me NULL even if my basicblock is inside a for loop... I tried this: http://comments.gm...