Where are bsi_ functions as mentioned in gcc internals-cfg section?
Ian Lance Taylor
iant@google.com
Sat Jul 24 03:48:00 GMT 2010
Jeff Saremi <jeffsaremi@yahoo.com> writes:
> i'm going through building a basic plugin to analyze cfg. Reading
> through the CFG section of the internals there are a lot of refernces
> and a few lines of sample code to "block_stmt_iterator" and functions
> such as "bsi_start" however I cannot locate any of these in the code
> (gcc 4.5.0). Did i perhaps missed something during the download,
> config, or build?
In gcc 4.4 the main IR changed to GIMPLE, which works slightly
differently. Instead of block_stmt_iterator use gimple_stmt_iterator.
Instead of bsi_start use gsi_start.
Ian
More information about the Gcc-help
mailing list