Displaying 5 results from an estimated 5 matches for "_z6simplei".
2010 May 10
0
[LLVMdev] Separate loop condition and loop body
...you the attached CFG. bb1 is the loop header; bb2 and
bb3 are the other loop conditionals; bb is the loop body.
Note that bb3 is part of the condition but is not a basic block from
the loop header.
Trevor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg._Z6simplei.dot
Type: application/octet-stream
Size: 2002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100510/2b9c3c70/attachment.obj>
-------------- next part --------------
2010 May 10
0
[LLVMdev] Separate loop condition and loop body
...(j == 9)
break;
}
In this example, block bb is in the loop body, has a successor not in
the loop body, but is not building the condition. This appears to be a
violation of your rule.
Trevor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg._Z6simplei.dot
Type: application/octet-stream
Size: 2180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100510/6b17f2c6/attachment.obj>
-------------- next part --------------
2010 May 10
2
[LLVMdev] Separate loop condition and loop body
On Mon, May 10, 2010 at 8:05 PM, Trevor Harmon <Trevor.W.Harmon at nasa.gov> wrote:
> On May 10, 2010, at 8:43 AM, Xinfinity wrote:
>
>> Is it possible to get the list of BasicBlocks building the condition
>> of a loop and the list of BasicBlocks that form the body?
>
> Based on my (limited) experience with Loop and LoopInfo, this isn't
> possible. (But
2010 Mar 31
2
[LLVMdev] CFG entry and exit blocks
...how would one identify the "real" exit block
(the one labeled "return")? Obviously I can't just search for the
block without successors because there are 3 of them.
Thanks,
Trevor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg._Z6simplei.dot
Type: application/octet-stream
Size: 4665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100330/9a780a4f/attachment.obj>
-------------- next part --------------
2010 May 10
3
[LLVMdev] Separate loop condition and loop body
On Mon, May 10, 2010 at 12:32:06PM -0700, Trevor Harmon wrote:
> On May 10, 2010, at 11:35 AM, Benoit Boissinot wrote:
>
> >To me it looks like any basic block from the loop body with a
> >successor not in the loop body is a BB "building the condition" (an
> >"exit" block).
>
> I assume you mean "any basic block from the loop header".