|
libFirm 1.20
|
Data type for unique names. More...
Go to the source code of this file.
Functions | |
| ident * | new_id_from_str (const char *str) |
| Store a string and create an ident. | |
| ident * | new_id_from_chars (const char *str, size_t len) |
| Store a string and create an ident. | |
| const char * | get_id_str (ident *id) |
| Returns a string represented by an ident. | |
| size_t | get_id_strlen (ident *id) |
| Returns the length of the string represented by an ident. | |
| int | id_is_prefix (ident *prefix, ident *id) |
Test if prefix is a prefix of ident id. | |
| int | id_is_suffix (ident *suffix, ident *id) |
Test if suffix is a suffix of ident id. | |
| int | id_contains_char (ident *id, char c) |
| Test if identifier contains a given character. | |
| ident * | id_unique (const char *tag) |
| helper function for creating unique idents. | |
| ident * | id_mangle_entity (const ir_entity *ent) |
| Computes a definite name for this entity by concatenating the name of the owner type and the name of the entity with a separating "_". | |
| ident * | id_mangle_u (ident *first, ident *scnd) |
| mangle underscore: Returns a new ident that represents first_scnd. | |
| ident * | id_mangle_dot (ident *first, ident *scnd) |
| mangle dot: Returns a new ident that represents first.scnd. | |
| ident * | id_mangle (ident *first, ident *scnd) |
| mangle: Returns a new ident that represents firstscnd. | |
| ident * | id_mangle3 (const char *prefix, ident *middle, const char *suffix) |
| Returns a new ident that represents 'prefixscndsuffix'. | |
| ident * | id_decorate_win32_c_fkt (const ir_entity *ent, ident *id) |
| returns a mangled name for a Win32 function using its calling convention | |
Data type for unique names.
Definition in file ident.h.