GIMPLE_SWITCH
vec
<tree> *args)Build a
GIMPLE_SWITCH
statement.INDEX
is the index variable to switch on, andDEFAULT_LABEL
represents the default label.ARGS
is a vector ofCASE_LABEL_EXPR
trees that contain the non-default case labels. Each label is a tree of codeCASE_LABEL_EXPR
.
Return the number of labels associated with the switch statement
G
.
Set
NLABELS
to be the number of labels for the switch statementG
.
Return the index variable used by the switch statement
G
.
Set
INDEX
to be the index variable for switch statementG
.
Return the label numbered
INDEX
. The default label is 0, followed by any labels in a switch statement.
Set the label number
INDEX
toLABEL
. 0 is always the default label.