predicate for getting declaration tree node for SUBREG
srinivas dama
srinivas.ind@gmail.com
Mon Sep 24 13:01:00 GMT 2012
Hi,
I see there is predicate REG_EXPR for getting declaration node for a REG rtx.
It would be helpful If I get an equivalent predicate for a SUBREG rtx.
I couldn't find such thing.
My requirement is :
I need find out if an operand is signed/unsigned from rtx.I am doing as below.
rtx op0;
tree decl0;
decl0 = REG_EXPR (op0);
unsignedp =TYPE_UNSIGNED (TREE_TYPE (decl0)):
But if my rtx is SUBREG ,I couldn't find equivalent predicate similar
to REG_EXPR.
Regards,
srinivas
More information about the Gcc
mailing list