projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up turn_back_am(), panic on unknown arity.
[libfirm]
/
include
/
libfirm
/
ident.h
diff --git
a/include/libfirm/ident.h
b/include/libfirm/ident.h
index
9b877b9
..
5296f33
100644
(file)
--- a/
include/libfirm/ident.h
+++ b/
include/libfirm/ident.h
@@
-215,6
+215,12
@@
int id_is_suffix (ident *suffix, ident *id);
*/
int id_contains_char (ident *id, char c);
*/
int id_contains_char (ident *id, char c);
+/**
+ * helper function for creating unique idents. It contains an internal counter
+ * and replaces a "%u" inside the tag with the counter.
+ */
+ident *id_unique(const char *tag);
+
#ifdef FIRM_ENABLE_WCHAR
/**
* Store a wide character string and create an ident.
#ifdef FIRM_ENABLE_WCHAR
/**
* Store a wide character string and create an ident.
@@
-299,6
+305,9
@@
ident *mangle_dot (ident *first, ident* scnd);
/** mangle: Returns a new ident that represents firstscnd. */
ident *mangle (ident *first, ident* scnd);
/** mangle: Returns a new ident that represents firstscnd. */
ident *mangle (ident *first, ident* scnd);
+/** Returns a new ident that represents 'prefixscndsuffix'. */
+ident *mangle3 (const char *prefix, ident *middle, const char *suffix);
+
/** returns a mangled name for a Win32 function using it's calling convention */
ident *decorate_win32_c_fkt(ir_entity *ent, ident *id);
/** returns a mangled name for a Win32 function using it's calling convention */
ident *decorate_win32_c_fkt(ir_entity *ent, ident *id);