-/* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-* All rights reserved.
-*/
+/*
+ * Project: libFIRM
+ * File name: ir/ir/irdump.h
+ * Purpose: Write vcg representation of firm to file.
+ * Author: Martin Trapp, Christian Schaefer
+ * Modified by: Goetz Lindenmaier, Hubert Schmidt
+ * Created:
+ * CVS-ID: $Id$
+ * Copyright: (c) 1998-2003 Universität Karlsruhe
+ * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
+ */
+
/**
* @file irdump.h
* file dumped to.
*/
-/* $Id$ */
# ifndef _IRDUMP_H_
# define _IRDUMP_H_
/**
* The value of this string will be added to the file name before .vcg
*
- * @todo GL: A hack
+ * @todo GL: A hack -- add parameter to dumper function.
*/
extern char *dump_file_suffix;
* Default setting: false.
*/
void dump_consts_local(bool b);
+/**
+ * Returns false if dump_out_edge_flag or dump_loop_information_flag
+ * are set, else returns dump_const_local_flag.
+ */
+bool get_opt_dump_const_local(void);
/**
* Turns off dumping the values of constant entities. Makes type graphs
* alive
*/
void dump_keepalive_edges(bool b);
+bool get_opt_dump_keepalive_edges(void);
/**
* Turns on dumping the out edges starting from the Start block in
*/
void dont_dump_loop_information(void);
+/**
+ * Dump the information of type field specified in ana/irtypeinfo.h.
+ * If the flag is set, the type name is output in [] in the node label,
+ * else it is output as info.
+ */
+void dump_analysed_type_info(bool b);
+
# endif /* _IRDUMP_H_ */