Displaying 7 results from an estimated 7 matches for "isusedoutsideofblock".
2009 May 30
4
[LLVMdev] Value liveout (uses)
Thank you.
Is it possible to determine the liveout of the operands (see example bellow)
?
%5 = add i32 %4, %3
For '%5': i can simply use " i->isUsedOutsideOfBlock() "
For '%3' and '%4' : this is the question ...
>From your answer, is it possible to determine *which* value is liveout ( in
binary instruction)?
On Sat, May 30, 2009 at 2:57 AM, John McCall <rjmccall at apple.com> wrote:
> On May 29, 2009, at 11:37 PM, Rotem V...
2009 May 30
0
[LLVMdev] Value liveout (uses)
On May 30, 2009, at 5:03 AM, Rotem Varon wrote:
> Is it possible to determine the liveout of the operands (see example
> bellow) ?
>
> %5 = add i32 %4, %3
>
> For '%5': i can simply use " i->isUsedOutsideOfBlock() "
> For '%3' and '%4' : this is the question ...
By definition, operands are live out if they're used in any block
that's reachable from
the block containing the instruction. Barring a few special cases
we've already
covered, the easiest way I know to com...
2009 May 30
0
[LLVMdev] Value liveout (uses)
...my iPhone
On May 30, 2009, at 5:03 AM, Rotem Varon <varonrotem at gmail.com> wrote:
> Thank you.
>
> Is it possible to determine the liveout of the operands (see example
> bellow) ?
>
> %5 = add i32 %4, %3
>
> For '%5': i can simply use " i->isUsedOutsideOfBlock() "
> For '%3' and '%4' : this is the question ...
>
> From your answer, is it possible to determine which value is liveout
> ( in binary instruction)?
>
>
> On Sat, May 30, 2009 at 2:57 AM, John McCall <rjmccall at apple.com>
> wrote:
> On...
2009 May 31
1
[LLVMdev] Value liveout (uses)
...AM, Rotem Varon <varonrotem at gmail.com> wrote:
>
>> Thank you.
>>
>> Is it possible to determine the liveout of the operands (see
>> example bellow) ?
>>
>> %5 = add i32 %4, %3
>>
>> For '%5': i can simply use " i->isUsedOutsideOfBlock() "
>> For '%3' and '%4' : this is the question ...
>>
>> From your answer, is it possible to determine which value is
>> liveout ( in binary instruction)?
>>
>>
>> On Sat, May 30, 2009 at 2:57 AM, John McCall <rjmccall at apple.co...
2009 May 30
0
[LLVMdev] Value liveout (uses)
On May 29, 2009, at 11:37 PM, Rotem Varon wrote:
> How can i know, if a value have uses outside of the current basic
> block (liveout), without iterating through all the basic block ?
If the value is created within the basic block in question, and the
block doesn't loop to itself, then you can just iterate through the
uses and note if the use is an instruction in a different
2009 May 31
1
[LLVMdev] Value liveout (uses)
...32 PM, John McCall <rjmccall at apple.com> wrote:
> On May 30, 2009, at 5:03 AM, Rotem Varon wrote:
>
> Is it possible to determine the liveout of the operands (see example
> bellow) ?
>
> %5 = add i32 %4, %3
>
> For '%5': i can simply use " i->isUsedOutsideOfBlock() "
> For '%3' and '%4' : this is the question ...
>
>
> By definition, operands are live out if they're used in any block
> that's reachable from
> the block containing the instruction. Barring a few special cases we've
> already
> covered,...
2009 May 30
4
[LLVMdev] Value liveout (uses)
Hi,
How can i know, if a value have uses outside of the current basic block
(liveout), without iterating through all the basic block ?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090530/71681bc2/attachment.html>