added two more hooks to the ir graph dumper