3 * File name: ir/tr/mangle.h
4 * Purpose: Methods to manipulate names.
5 * Author: Martin Trapp, Christian Schaefer
6 * Modified by: Goetz Lindenmaier
9 * Copyright: (c) 1998-2003 Universität Karlsruhe
10 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
16 * FIRM name mangling -- methods to manipulate names.
18 * @author Martin Trapp, Christian Schaefer
27 /** initializes the name mangling code */
28 void firm_init_mangle (void);
30 /** Computes a definite name for this entity by concatenating
31 the name of the owner type and the name of the entity with
33 ident *mangle_entity (entity *ent);
35 /** mangle underscore: Returns a new ident that represents first_scnd. */
36 ident *mangle_u (ident *first, ident* scnd);
38 /** mangle: Returns a new ident that represents firstscnd. */
39 ident *mangle (ident *first, ident* scnd);
41 /** returns a mangled name for a Win32 function using it's calling convention */
42 ident *decorate_win32_c_fkt(entity *ent);
44 #endif /* _MANGLE_H_ */