- void (*_hook_arch_dep_replace_div_by_const)(void *context, ir_node *irn);
- void (*_hook_arch_dep_replace_mod_by_const)(void *context, ir_node *irn);
- void (*_hook_arch_dep_replace_DivMod_by_const)(void *context, ir_node *irn);
+
+ /** This hook is called after a Div/Mod/DivMod by a constant value was replaced. */
+ void (*_hook_arch_dep_replace_division_by_const)(void *context, ir_node *irn);
+
+ /** This hook is called after a new mode was registered. */
+ void (*_hook_new_mode)(void *context, const ir_mode *tmpl, ir_mode *mode);
+
+ /** This hook is called after a new entity was created. */
+ void (*_hook_new_entity)(void *context, entity *ent);
+
+ /** This hook is called after a new type was created. */
+ void (*_hook_new_type)(void *context, ir_type *tp);
+
+ /** This hook is called at the end of the node info dumper to dump additional node info. */
+ void (*_hook_node_info)(void *context, FILE *f, const ir_node *n);