X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Finterval_analysis.h;h=bac1a9c4bbf6c92256fa840068288c6401786ba5;hb=e8b49f5a1399b14137f0053ef1675686146351fe;hp=1562e5e44eae7c176075b2a89e4191d64f8c4383;hpb=64d38975c523c9cfe4a3890af23e9192f557e293;p=libfirm diff --git a/ir/ana/interval_analysis.h b/ir/ana/interval_analysis.h index 1562e5e44..bac1a9c4b 100644 --- a/ir/ana/interval_analysis.h +++ b/ir/ana/interval_analysis.h @@ -17,13 +17,14 @@ * * @author Goetz Lindenmaier * - * The analysis is based on the control flow looptree. An intervall are basically - * all nodes in a single ir_loop entry, i.e., basic blocks and inner loop nodes. - * The analysis computes a new set of edges that link all nodes of a loop to an - * acyclic graph. - * - * + * The analysis is based on the control flow looptree. An intervall + * are basically all nodes in a single ir_loop entry, i.e., basic + * blocks and inner loop nodes. The analysis computes a new set of + * edges that link all nodes of a loop to an acyclic graph. * + * The interval analysis counts the number of exception control flow + * operations leaving a block. This depends on stuff computed in + * execution_freqencies. */ #ifndef _INTERVAL_ANALYSIS_H_ @@ -47,6 +48,11 @@ void add_region_in (void *region, void *in); * This number is useful for evaluation of execution frequencies. */ int get_region_n_outs(void *region); + +/** The number of exception out edges of a region. + * + * This number is useful for evaluation of execution frequencies. + */ int get_region_n_exc_outs(void *region); /** The control flow operation corresponding to the loop-region in at