| libFirm 1.20 | 
| Typedefs | |
| typedef struct ident | ident | 
| Identifier. | |
| 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 prefixis a prefix of identid. | |
| int | id_is_suffix (ident *suffix, ident *id) | 
| Test if suffixis a suffix of identid. | |
| 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 | |
Identifier.
Definition at line 60 of file firm_types.h.
| const char* get_id_str | ( | ident * | id | ) | 
Returns a string represented by an ident.
Returns the string represented by id. This string is NULL terminated. The string may not be changed.
| id | the ident | 
| size_t get_id_strlen | ( | ident * | id | ) | 
Returns the length of the string represented by an ident.
| id | the ident | 
| int id_contains_char | ( | ident * | id, | 
| char | c | ||
| ) | 
Test if identifier contains a given character.
| id | the ident | 
| c | the character | 
returns a mangled name for a Win32 function using its calling convention
Test if prefix is a prefix of ident id. 
| prefix | the prefix | 
| id | the ident | 
prefix is prefix of id, 0 otherwise Test if suffix is a suffix of ident id. 
| suffix | the suffix | 
| id | the ident | 
suffix is suffix of id, 0 otherwise mangle: Returns a new ident that represents firstscnd.
Returns a new ident that represents 'prefixscndsuffix'.
mangle dot: Returns a new ident that represents first.scnd.
Computes a definite name for this entity by concatenating the name of the owner type and the name of the entity with a separating "_".
mangle underscore: Returns a new ident that represents first_scnd.
| ident* id_unique | ( | const char * | tag | ) | 
helper function for creating unique idents.
It contains an internal counter and replaces a "%u" inside the tag with the counter.
| ident* new_id_from_chars | ( | const char * | str, | 
| size_t | len | ||
| ) | 
Store a string and create an ident.
Stores a string in the ident module and returns a handle for the string. Copies the string. This version takes non-zero-terminated strings.
| str | the string (or whatever) which shall be stored | 
| len | the length of the data in bytes | 
| ident* new_id_from_str | ( | const char * | str | ) | 
Store a string and create an ident.
Stores a string in the ident module and returns a handle for the string.
Copies the string. str must be zero terminated
| str | the string which shall be stored |