Next: GIMPLE_BIND
, Previous: GIMPLE_ASM
, Up: Tuple specific accessors [Contents][Index]
GIMPLE_ASSIGN
Build a GIMPLE_ASSIGN
statement. The left-hand side is an lvalue
passed in lhs. The right-hand side can be either a unary or
binary tree expression. The expression tree rhs will be
flattened and its operands assigned to the corresponding operand
slots in the new statement. This function is useful when you
already have a tree expression that you want to convert into a
tuple. However, try to avoid building expression trees for the
sole purpose of calling this function. If you already have the
operands in separate trees, it is better to use
gimple_build_assign
with enum tree_code
argument and separate
arguments for each operand.
This function is similar to two operand gimple_build_assign
,
but is used to build a GIMPLE_ASSIGN
statement when the operands of the
right-hand side of the assignment are already split into
different operands.
The left-hand side is an lvalue passed in lhs. Subcode is the
tree_code
for the right-hand side of the assignment. Op1, op2 and op3
are the operands.
Like the above 5 operand gimple_build_assign
, but with the last
argument NULL
- this overload should not be used for
GIMPLE_TERNARY_RHS
assignments.
Like the above 4 operand gimple_build_assign
, but with the last
argument NULL
- this overload should be used only for
GIMPLE_UNARY_RHS
and GIMPLE_SINGLE_RHS
assignments.
Build a new GIMPLE_ASSIGN
tuple and append it to the end of
*SEQ_P
.
DST
/SRC
are the destination and source respectively. You can
pass ungimplified trees in DST
or SRC
, in which
case they will be converted to a gimple operand if necessary.
This function returns the newly created GIMPLE_ASSIGN
tuple.
Return the code of the expression computed on the RHS
of
assignment statement G
.
Return the gimple rhs class of the code for the expression
computed on the rhs of assignment statement G
. This will never
return GIMPLE_INVALID_RHS
.
Return the LHS
of assignment statement G
.
Return a pointer to the LHS
of assignment statement G
.
Return the first operand on the RHS
of assignment statement G
.
Return the address of the first operand on the RHS
of assignment
statement G
.
Return the second operand on the RHS
of assignment statement G
.
Return the address of the second operand on the RHS
of assignment
statement G
.
Return the third operand on the RHS
of assignment statement G
.
Return the address of the third operand on the RHS
of assignment
statement G
.
Set LHS
to be the LHS
operand of assignment statement G
.
Set RHS
to be the first operand on the RHS
of assignment
statement G
.
Set RHS
to be the second operand on the RHS
of assignment
statement G
.
Set RHS
to be the third operand on the RHS
of assignment
statement G
.
Return true if S
is a type-cast assignment.
Next: GIMPLE_BIND
, Previous: GIMPLE_ASM
, Up: Tuple specific accessors [Contents][Index]