search for: naznin

Displaying 9 results from an estimated 9 matches for "naznin".

2011 May 09
2
[LLVMdev] get basic blocks inside a loop
Hi all, I have a question about llvm::LoopBase getBlocks() method. Does it return the basic blocks inside the loop in random order? I need to order the blocks in some valid topological ordering of the AST. If getBlocks() does not do that, what can I do to find the ordering? Thanks, Naznin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110509/19b2bc7a/attachment.html>
2011 May 09
1
[LLVMdev] get basic blocks inside a loop
...ot > need the topological ordering constraint, so I never revisited the > problem. In hindsight, I don't even know if Function guarantees that > they are presented in a topological order, but it always happened to > be the case for me. > > > On Mon, May 9, 2011 at 10:45 AM, Naznin Fauzia <laboni14 at gmail.com> wrote: > > Hi all, > > > > I have a question about llvm::LoopBase getBlocks() method. Does it > return > > the basic blocks inside the loop in random order? I need to order the > blocks > > in some valid topological ordering...
2011 May 09
0
[LLVMdev] get basic blocks inside a loop
...I was writing later evolved to not need the topological ordering constraint, so I never revisited the problem. In hindsight, I don't even know if Function guarantees that they are presented in a topological order, but it always happened to be the case for me. On Mon, May 9, 2011 at 10:45 AM, Naznin Fauzia <laboni14 at gmail.com> wrote: > Hi all, > > I have a question about llvm::LoopBase  getBlocks() method. Does it return > the basic blocks inside the loop in random order? I need to order the blocks > in some valid topological ordering of the AST. If getBlocks() does not...
2011 Feb 28
1
[LLVMdev] LoopInfo of a basic block
On Mon, Feb 28, 2011 at 6:04 PM, Naznin Fauzia <laboni14 at gmail.com> wrote: > Thanks Devang and John. My pass is actually a loop pass, not a function > pass. So, I couldnt override the getAnalysisUsage. > A LoopPass is no different from a FunctionPass here. You can use getAnalysisUsage and getAnalysis in a LoopPass....
2011 Feb 28
2
[LLVMdev] LoopInfo of a basic block
On 2/28/11 4:43 PM, Devang Patel wrote: > > On Feb 28, 2011, at 2:35 PM, Naznin Fauzia wrote: > >> Hi all, >> >> How Can I get the Loops around an Instruction? >> >> I know I can get the basic block of an instruction using >> inst.getParent() which returns a BasicBlock*. Now I want to use the >> getLoopFor(BasicBlock) method of th...
2012 Oct 16
1
[LLVMdev] seg fault in AddReachableCodeToWorklist
...chableCodeToWorklist(llvm::BasicBlock*, llvm::SmallPtrSet<llvm::BasicBlock*, 64u>&, llvm::InstCombiner&, llvm::TargetData const*) () What can be the possible reasons of the segmentation fault here? I am trying to figure it out for many days now. I would appreciate any help. Thanks, Naznin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121016/617efd8d/attachment.html>
2011 Feb 28
0
[LLVMdev] LoopInfo of a basic block
...st loop. Now How can I get the loopInfo from here? I couldn't find helpful methods in the LoopInfo class documents. On Mon, Feb 28, 2011 at 5:52 PM, John Criswell <criswell at illinois.edu>wrote: > On 2/28/11 4:43 PM, Devang Patel wrote: > > > On Feb 28, 2011, at 2:35 PM, Naznin Fauzia wrote: > > Hi all, > > How Can I get the Loops around an Instruction? > > I know I can get the basic block of an instruction using inst.getParent() > which returns a BasicBlock*. Now I want to use the getLoopFor(BasicBlock) > method of the class LoopInfo. > But I d...
2011 Feb 28
2
[LLVMdev] LoopInfo of a basic block
Hi all, How Can I get the Loops around an Instruction? I know I can get the basic block of an instruction using inst.getParent() which returns a BasicBlock*. Now I want to use the getLoopFor(BasicBlock) method of the class LoopInfo. But I dont know how to get the LoopInfo. BasicBlock* bb = inst.getParent(); (... what should I add here?) Loop* innerloop = LI -> getLoopFor(bb): Thanks.
2011 Feb 28
0
[LLVMdev] LoopInfo of a basic block
On Feb 28, 2011, at 2:35 PM, Naznin Fauzia wrote: > Hi all, > > How Can I get the Loops around an Instruction? > > I know I can get the basic block of an instruction using inst.getParent() which returns a BasicBlock*. Now I want to use the getLoopFor(BasicBlock) method of the class LoopInfo. > But I dont know how...