gccint: GIMPLE_ASSIGN
1
1 12.8.2 'GIMPLE_ASSIGN'
1 ----------------------
1
1 -- GIMPLE function: gassign *gimple_build_assign (tree lhs, tree rhs)
1 Build a 'GIMPLE_ASSIGN' statement. The left-hand side is an lvalue
1 passed in lhs. The right-hand side can be either a unary or binary
1 tree expression. The expression tree rhs will be flattened and its
1 operands assigned to the corresponding operand slots in the new
1 statement. This function is useful when you already have a tree
1 expression that you want to convert into a tuple. However, try to
1 avoid building expression trees for the sole purpose of calling
1 this function. If you already have the operands in separate trees,
1 it is better to use 'gimple_build_assign' with 'enum tree_code'
1 argument and separate arguments for each operand.
1
1 -- GIMPLE function: gassign *gimple_build_assign (tree lhs, enum
1 tree_code subcode, tree op1, tree op2, tree op3)
1 This function is similar to two operand 'gimple_build_assign', but
1 is used to build a 'GIMPLE_ASSIGN' statement when the operands of
1 the right-hand side of the assignment are already split into
1 different operands.
1
1 The left-hand side is an lvalue passed in lhs. Subcode is the
1 'tree_code' for the right-hand side of the assignment. Op1, op2
1 and op3 are the operands.
1
1 -- GIMPLE function: gassign *gimple_build_assign (tree lhs, enum
1 tree_code subcode, tree op1, tree op2)
1 Like the above 5 operand 'gimple_build_assign', but with the last
1 argument 'NULL' - this overload should not be used for
1 'GIMPLE_TERNARY_RHS' assignments.
1
1 -- GIMPLE function: gassign *gimple_build_assign (tree lhs, enum
1 tree_code subcode, tree op1)
1 Like the above 4 operand 'gimple_build_assign', but with the last
1 argument 'NULL' - this overload should be used only for
1 'GIMPLE_UNARY_RHS' and 'GIMPLE_SINGLE_RHS' assignments.
1
1 -- GIMPLE function: gimple gimplify_assign (tree dst, tree src,
1 gimple_seq *seq_p)
1 Build a new 'GIMPLE_ASSIGN' tuple and append it to the end of
1 '*SEQ_P'.
1
1 'DST'/'SRC' are the destination and source respectively. You can pass
1 ungimplified trees in 'DST' or 'SRC', in which case they will be
1 converted to a gimple operand if necessary.
1
1 This function returns the newly created 'GIMPLE_ASSIGN' tuple.
1
1 -- GIMPLE function: enum tree_code gimple_assign_rhs_code (gimple g)
1 Return the code of the expression computed on the 'RHS' of
1 assignment statement 'G'.
1
1 -- GIMPLE function: enum gimple_rhs_class gimple_assign_rhs_class
1 (gimple g)
1 Return the gimple rhs class of the code for the expression computed
1 on the rhs of assignment statement 'G'. This will never return
1 'GIMPLE_INVALID_RHS'.
1
1 -- GIMPLE function: tree gimple_assign_lhs (gimple g)
1 Return the 'LHS' of assignment statement 'G'.
1
1 -- GIMPLE function: tree * gimple_assign_lhs_ptr (gimple g)
1 Return a pointer to the 'LHS' of assignment statement 'G'.
1
1 -- GIMPLE function: tree gimple_assign_rhs1 (gimple g)
1 Return the first operand on the 'RHS' of assignment statement 'G'.
1
1 -- GIMPLE function: tree * gimple_assign_rhs1_ptr (gimple g)
1 Return the address of the first operand on the 'RHS' of assignment
1 statement 'G'.
1
1 -- GIMPLE function: tree gimple_assign_rhs2 (gimple g)
1 Return the second operand on the 'RHS' of assignment statement 'G'.
1
1 -- GIMPLE function: tree * gimple_assign_rhs2_ptr (gimple g)
1 Return the address of the second operand on the 'RHS' of assignment
1 statement 'G'.
1
1 -- GIMPLE function: tree gimple_assign_rhs3 (gimple g)
1 Return the third operand on the 'RHS' of assignment statement 'G'.
1
1 -- GIMPLE function: tree * gimple_assign_rhs3_ptr (gimple g)
1 Return the address of the third operand on the 'RHS' of assignment
1 statement 'G'.
1
1 -- GIMPLE function: void gimple_assign_set_lhs (gimple g, tree lhs)
1 Set 'LHS' to be the 'LHS' operand of assignment statement 'G'.
1
1 -- GIMPLE function: void gimple_assign_set_rhs1 (gimple g, tree rhs)
1 Set 'RHS' to be the first operand on the 'RHS' of assignment
1 statement 'G'.
1
1 -- GIMPLE function: void gimple_assign_set_rhs2 (gimple g, tree rhs)
1 Set 'RHS' to be the second operand on the 'RHS' of assignment
1 statement 'G'.
1
1 -- GIMPLE function: void gimple_assign_set_rhs3 (gimple g, tree rhs)
1 Set 'RHS' to be the third operand on the 'RHS' of assignment
1 statement 'G'.
1
1 -- GIMPLE function: bool gimple_assign_cast_p (const_gimple s)
1 Return true if 'S' is a type-cast assignment.
1