+/** Get accumulated(really?) execution frequencies.
+ * A heuristic weights the recursions. */
+double get_type_estimated_n_instances(ir_type *clss);
+double get_type_estimated_mem_consumption_bytes(ir_type *tp);
+/** Estimates the size of an object.
+ *
+ * The heuristic mainly affects array sizes.
+ * Further this ignores padding for alignment, especially of small fields. */
+int get_type_estimated_size_bytes(ir_type *tp);
+/** Estimates the number of fields of a single Object.
+ * The heuristic mainly affects array sizes.
+ * @@@ Misses inherited fields! */
+int get_type_estimated_n_fields(ir_type *tp);
+double get_type_estimated_n_casts(ir_type *clss);
+
+double get_class_estimated_n_upcasts(ir_type *clss);
+double get_class_estimated_n_downcasts(ir_type *clss);
+/** Returns the number of accesses to the dispatch table.
+ *
+ * This includes the initialization of the pointer field, and accesses
+ * to virtual fields (as instance marker in Java). Certainly this
+ * includes virtual method calls. */
+double get_class_estimated_n_dyncalls(ir_type *clss);
+/** Returns the number of writes to the dispatch pointer.
+ * This is the same as the number of allocations. */
+double get_class_estimated_dispatch_writes(ir_type *clss);
+/** Returns the number of reads of the dispatch pointer. */
+double get_class_estimated_dispatch_reads (ir_type *clss);
+
+double get_entity_estimated_n_loads(ir_entity *ent);
+double get_entity_estimated_n_stores(ir_entity *ent);
+double get_entity_estimated_n_calls(ir_entity *ent);
+/** The number of accesses to dynamically called methods and
+ * to other static fields that overwrite/are overwritten. */
+double get_entity_estimated_n_dyncalls(ir_entity *ent);
+
+/* ------------------------------------------------------------------------- */
+/* Accumulate information in the type hierarchy. */
+/* ------------------------------------------------------------------------- */
+
+typedef enum {
+ temperature_none,
+ temperature_consistent,
+ temperature_inconsistent
+} irp_temperature_state;