GCC Middle and Back End API Reference
label_record Struct Reference

Data Fields

tree label
bool used

Detailed Description

Cleanup useless labels in basic blocks. This is something we wish to do early because it allows us to group case labels before creating the edges for the CFG, and it speeds up block statement iterators in all passes later on. We rerun this pass after CFG is created, to get rid of the labels that are no longer referenced. After then we do not run it any more, since (almost) no new labels should be created. A map from basic block index to the leading label of that block.


Field Documentation

tree label_record::label

The label.

bool label_record::used

True if the label is referenced from somewhere.


The documentation for this struct was generated from the following file: