added phase reinit data per irn
[libfirm] / ir / tr / mangle.h
index 8f3ded8..892bdba 100644 (file)
  */
 
 /**
-* @file mangle.h
-*
-* FIRM name mangling -- methods to manipulate names.
-*
-* @author Martin Trapp, Christian Schaefer
-*/
+ * @file mangle.h
+ *
+ * FIRM name mangling -- methods to manipulate names.
+ *
+ * @author Martin Trapp, Christian Schaefer
+ */
 
 #ifndef _MANGLE_H_
 #define _MANGLE_H_
 
 # include "ident.h"
 # include "entity.h"
-# include "type.h"
 
 /** initializes the name mangling code */
-void   init_mangle (void);
+void   firm_init_mangle (void);
 
 /** Computes a definite name for this entity by concatenating
    the name of the owner type and the name of the entity with
@@ -36,7 +35,13 @@ ident *mangle_entity (entity *ent);
 /** mangle underscore: Returns a new ident that represents first_scnd. */
 ident *mangle_u (ident *first, ident* scnd);
 
+/** mangle dot: Returns a new ident that represents first.scnd. */
+ident *mangle_dot (ident *first, ident* scnd);
+
 /** mangle: Returns a new ident that represents firstscnd. */
-ident *mangle (ident *first, ident* scnd);
+ident *mangle   (ident *first, ident* scnd);
+
+/** returns a mangled name for a Win32 function using it's calling convention */
+ident *decorate_win32_c_fkt(entity *ent);
 
 #endif /* _MANGLE_H_ */