GIMPLE_COND#
-
gcond *gimple_build_cond(enum tree_code pred_code, tree lhs, tree rhs, tree t_label, tree f_label)#
Build a
GIMPLE_CONDstatement.AGIMPLE_CONDstatement comparesLHSandRHSand if the condition inPRED_CODEis true, jump to the label int_label, otherwise jump to the label inf_label.PRED_CODEare 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 a
GIMPLE_CONDstatement from the conditional expression treeCOND.T_LABELandF_LABELare as ingimple_build_cond.
-
enum tree_code gimple_cond_code(gimple g)#
Return the code of the predicate computed by conditional statement
G.
-
void gimple_cond_set_code(gcond *g, enum tree_code code)#
Set
CODEto be the predicate code for the conditional statementG.
-
tree gimple_cond_lhs(gimple g)#
Return the
LHSof the predicate computed by conditional statementG.
-
void gimple_cond_set_lhs(gcond *g, tree lhs)#
Set
LHSto be theLHSoperand of the predicate computed by conditional statementG.
-
tree gimple_cond_rhs(gimple g)#
Return the
RHSoperand of the predicate computed by conditionalG.
-
void gimple_cond_set_rhs(gcond *g, tree rhs)#
Set
RHSto be theRHSoperand of the predicate computed by conditional statementG.
-
tree gimple_cond_true_label(const gcond *g)#
Return the label used by conditional statement
Gwhen its predicate evaluates to true.
-
void gimple_cond_set_true_label(gcond *g, tree label)#
Set
LABELto be the label used by conditional statementGwhen its predicate evaluates to true.
-
void gimple_cond_set_false_label(gcond *g, tree label)#
Set
LABELto be the label used by conditional statementGwhen its predicate evaluates to false.
-
tree gimple_cond_false_label(const gcond *g)#
Return the label used by conditional statement
Gwhen its predicate evaluates to false.
-
void gimple_cond_make_false(gcond *g)#
Set the conditional
COND_STMTto be of the form ‘if (1 == 0)’.
-
void gimple_cond_make_true(gcond *g)#
Set the conditional
COND_STMTto be of the form ‘if (1 == 1)’.