Next: Tuple specific accessors, Previous: Operands, Up: GIMPLE [Contents][Index]
This section documents all the functions available to handle each of the GIMPLE instructions.
The following are common accessors for gimple statements.
Return the code for statement G.
Return the basic block to which statement G belongs to.
Return the lexical scope block holding statement G.
Return the type of the main expression computed by STMT. Return
void_type_node if STMT computes nothing. This will only return
something meaningful for GIMPLE_ASSIGN, GIMPLE_COND and
GIMPLE_CALL. For all other tuple codes, it will return
void_type_node.
Return the tree code for the expression computed by STMT. This
is only meaningful for GIMPLE_CALL, GIMPLE_ASSIGN and
GIMPLE_COND. If STMT is GIMPLE_CALL, it will return CALL_EXPR.
For GIMPLE_COND, it returns the code of the comparison predicate.
For GIMPLE_ASSIGN it returns the code of the operation performed
by the RHS of the assignment.
Set the lexical scope block of G to BLOCK.
Return locus information for statement G.
Set locus information for statement G.
Return true if G does not have locus information.
Return true if no warnings should be emitted for statement STMT.
Set the visited status on statement STMT to VISITED_P.
Return the visited status on statement STMT.
Set pass local flag PLF on statement STMT to VAL_P.
Return the value of pass local flag PLF on statement STMT.
Return true if statement G has register or memory operands.
Return true if statement G has memory operands.
Return the number of operands for statement G.
Return the array of operands for statement G.
Return operand I for statement G.
Return a pointer to operand I for statement G.
Set operand I of statement G to OP.
Return the set of symbols that have had their address taken by
STMT.
Return the set of DEF operands for statement G.
Set DEF to be the set of DEF operands for statement G.
Return the set of USE operands for statement G.
Set USE to be the set of USE operands for statement G.
Return the set of VUSE operands for statement G.
Set OPS to be the set of VUSE operands for statement G.
Return the set of VDEF operands for statement G.
Set OPS to be the set of VDEF operands for statement G.
Return the set of symbols loaded by statement G. Each element of
the set is the DECL_UID of the corresponding symbol.
Return the set of symbols stored by statement G. Each element of
the set is the DECL_UID of the corresponding symbol.
Return true if statement G has operands and the modified field
has been set.
Return true if statement STMT contains volatile operands.
Return true if statement STMT contains volatile operands.
Mark statement S as modified, and update it.
Update statement S if it has been marked modified.
Return a deep copy of statement STMT.
Next: Tuple specific accessors, Previous: Operands, Up: GIMPLE [Contents][Index]