Displaying 8 results from an estimated 8 matches for "laboni14".
2011 May 09
1
[LLVMdev] get basic blocks inside a loop
...opological 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 getBl...
2011 May 09
0
[LLVMdev] get basic blocks inside a loop
...er 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 do
> that, what...
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:
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.
> I am in a loop...
2011 Feb 28
0
[LLVMdev] LoopInfo of a basic block
Thanks Devang and John. My pass is actually a loop pass, not a function
pass. So, I couldnt override the getAnalysisUsage.
I am in a loop pass, I know the outermost 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,
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 the class
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.
2012 Oct 16
1
[LLVMdev] seg fault in AddReachableCodeToWorklist
Hi,
I am running into this segmentation fault while running a simple function
pass on some C benchmarks
Program received signal SIGSEGV, Segmentation fault.
0x00000000005c5c00 in AddReachableCodeToWorklist(llvm::BasicBlock*,
llvm::SmallPtrSet<llvm::BasicBlock*, 64u>&, llvm::InstCombiner&,
llvm::TargetData const*) ()
What can be the possible reasons of the segmentation fault here?