do not optimize dead blocks preventing endless loops ...
[libfirm] / ir / ir / pseudo_irg.h
index a57f2b4..2e7052b 100644 (file)
  * Licence:     This file is protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
 
-#ifndef __PSEUDO_IRG_H__
-#define __PSEUDO_IRG_H__
-
-#include "entity.h"
-#include "irgraph.h"
+#ifndef _FIRM_IR_PSEUDO_IRG_H_
+#define _FIRM_IR_PSEUDO_IRG_H_
 
+#include "firm_types.h"
 
 /** Create a new ir graph to build a pseudo representation of a procedure.
  *
  *  The pseudo representation can only be used for analyses.  It may not be
  *  optimized.  Pseudo graphs are kept in a separate graph list in irprog.
  */
-ir_graph *new_pseudo_ir_graph(entity *ent, int n_loc);
+ir_graph *new_pseudo_ir_graph(ir_entity *ent, int n_loc);
 
-/** Returns true ir ir_graph is pseudo graph.
+/** Returns non-zero ir ir_graph is pseudo graph.
  *  Is irg a pseudo graph for analysis? */
 int      is_pseudo_ir_graph(ir_graph *irg);
 
@@ -43,4 +41,4 @@ ir_graph *get_irp_pseudo_irg(int pos);
 void set_visit_pseudo_irgs(int x);
 int  get_visit_pseudo_irgs(void);
 
-#endif
+#endif /* _FIRM_IR_PSEUDO_IRG_H_ */