GIMPLE_SWITCHBuild a
GIMPLE_SWITCHstatement.NLABELSare the number of labels excluding the default label. The default label is passed inDEFAULT_LABEL. The rest of the arguments are trees representing the labels. Each label is a tree of codeCASE_LABEL_EXPR.
VEC(tree,heap) *args)This function is an alternate way of building
GIMPLE_SWITCHstatements.INDEXandDEFAULT_LABELare as in gimple_build_switch.ARGSis a vector ofCASE_LABEL_EXPRtrees that contain the labels.
Return the number of labels associated with the switch statement
G.
Set
NLABELSto be the number of labels for the switch statementG.
Return the index variable used by the switch statement
G.
Set
INDEXto 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
INDEXtoLABEL. 0 is always the default label.