changed code placement so it can work in more environments:
[libfirm] / ir / ana / field_temperature.h
index 17235f0..cd6d7c7 100644 (file)
@@ -41,6 +41,14 @@ int     get_Sel_n_accessed_entities(ir_node *sel);
 entity *get_Sel_accessed_entity    (ir_node *sel, int pos);
 */
 
+int get_irn_loop_call_depth(ir_node *n);
+/** Return loop depth of node.
+ *
+ *  Returns the loop depth of n in the control flow.  I.e., we
+ *  go from the node to the block to the loop the block is in,
+ *  and return its depth.  */
+int get_irn_cfloop_depth(ir_node *n);
+int get_irn_recursion_depth(ir_node *n);
 
 /** Get the weighted interprocedural loop depth of the node.
     The depth is estimated by a heuristic. The heuristic consideres
@@ -60,7 +68,8 @@ double get_type_estimated_mem_consumption_bytes(type *tp);
  *  Further this ignores padding for alignment, especially of small fields. */
 int    get_type_estimated_size_bytes(type *tp);
 /** Estimates the number of fields of a single Object.
- *  The heuristic mainly affects array sizes. */
+ *  The heuristic mainly affects array sizes.
+ *  @@@ Misses inherited fields! */
 int    get_type_estimated_n_fields(type *tp);
 double get_type_estimated_n_casts(type *clss);