Next:GIMPLE_DEBUG, Previous:GIMPLE_CATCH, Up:Tuple specific accessors [Contents][Index]
GIMPLE_COND ¶gcond*gimple_build_cond( enum tree_code pred_code, tree lhs, tree rhs, tree t_label, tree f_label) ¶Build aGIMPLE_COND statement.AGIMPLE_COND statement comparesLHS andRHS and if the condition inPRED_CODE is true, jump tothe label int_label, otherwise jump to the label inf_label.PRED_CODE are relational operator tree codes likeEQ_EXPR,LT_EXPR,LE_EXPR,NE_EXPR, etc.
gcond*gimple_build_cond_from_tree(tree cond, tree t_label, tree f_label) ¶Build aGIMPLE_COND statement from the conditional expressiontreeCOND.T_LABEL andF_LABEL are as ingimple_build_cond.
enum tree_codegimple_cond_code(gimple g) ¶Return the code of the predicate computed by conditionalstatementG.
voidgimple_cond_set_code(gcond *g, enum tree_code code) ¶SetCODE to be the predicate code for the conditional statementG.
treegimple_cond_lhs(gimple g) ¶Return theLHS of the predicate computed by conditional statementG.
voidgimple_cond_set_lhs(gcond *g, tree lhs) ¶SetLHS to be theLHS operand of the predicate computed byconditional statementG.
treegimple_cond_rhs(gimple g) ¶Return theRHS operand of the predicate computed by conditionalG.
voidgimple_cond_set_rhs(gcond *g, tree rhs) ¶SetRHS to be theRHS operand of the predicate computed byconditional statementG.
treegimple_cond_true_label(const gcond *g) ¶Return the label used by conditional statementG when itspredicate evaluates to true.
voidgimple_cond_set_true_label(gcond *g, tree label) ¶SetLABEL to be the label used by conditional statementG whenits predicate evaluates to true.
voidgimple_cond_set_false_label(gcond *g, tree label) ¶SetLABEL to be the label used by conditional statementG whenits predicate evaluates to false.
treegimple_cond_false_label(const gcond *g) ¶Return the label used by conditional statementG when itspredicate evaluates to false.
voidgimple_cond_make_false(gcond *g) ¶Set the conditionalCOND_STMT to be of the form ’if (1 == 0)’.
voidgimple_cond_make_true(gcond *g) ¶Set the conditionalCOND_STMT to be of the form ’if (1 == 1)’.
Next:GIMPLE_DEBUG, Previous:GIMPLE_CATCH, Up:Tuple specific accessors [Contents][Index]