Displaying 4 results from an estimated 4 matches for "scevnode".
Did you mean:
devnode
2015 Mar 19
2
[LLVMdev] Cast to SCEVAddRecExpr
...,
I'm trying to cast one of the SCEV node to "SCEVAddRecExpr".
Every time cast return NULL, and I'm unable to do this.
SCEV Node:
((4 * (sext i32 {2,+,2}<%for.body4> to i64))<nsw> + %var)<nsw>
Casting:
const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SCEVNode);
'var' is of type float pointer (float*).
Without 'sext' it works, but I'm wondering why it not working in above case.
I'm not sure, is such casting allowed ?
Regards,
Ashutosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://...
2015 Mar 19
2
[LLVMdev] Cast to SCEVAddRecExpr
...ast one of the SCEV node to "SCEVAddRecExpr".
> Every time cast return NULL, and I'm unable to do this.
> SCEV Node:
> ((4 * (sext i32 {2,+,2}<%for.body4> to i64))<nsw> + %var)<nsw>
> Casting:
> const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SCEVNode);
> 'var' is of type float pointer (float*).
> Without 'sext' it works, but I'm wondering why it not working in above case.
> I'm not sure, is such casting allowed ?
It looks like your node is a SCEVAddExpr whose LHS is "(4 * (sext i32
{2,+,2}<%for.body4&g...
2015 Mar 19
3
[LLVMdev] Cast to SCEVAddRecExpr
...de to "SCEVAddRecExpr".
>> Every time cast return NULL, and I'm unable to do this.
>> SCEV Node:
>> ((4 * (sext i32 {2,+,2}<%for.body4> to i64))<nsw> + %var)<nsw>
>> Casting:
>> const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SCEVNode);
>> 'var' is of type float pointer (float*).
>> Without 'sext' it works, but I'm wondering why it not working in above case.
>> I'm not sure, is such casting allowed ?
>
> It looks like your node is a SCEVAddExpr whose LHS is "(4 * (sext i32
>...
2015 Mar 31
2
[LLVMdev] Cast to SCEVAddRecExpr
...Expr".
>>> Every time cast return NULL, and I'm unable to do this.
>>> SCEV Node:
>>> ((4 * (sext i32 {2,+,2}<%for.body4> to i64))<nsw> + %var)<nsw>
>>> Casting:
>>> const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SCEVNode);
>>> 'var' is of type float pointer (float*).
>>> Without 'sext' it works, but I'm wondering why it not working in above case.
>>> I'm not sure, is such casting allowed ?
>>
>> It looks like your node is a SCEVAddExpr whose LHS is &quo...