Commit 1ec30d95 authored by Matthias Braun's avatar Matthias Braun
Browse files

moved external headers into include dir

[r14240]
parent a0294f53
......@@ -31,28 +31,14 @@
#define FIRM_IDENT_IDENT_H
#include "firm_config.h"
#include "firm_types.h"
#ifdef FIRM_ENABLE_WCHAR
#include <wchar.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Identifiers */
/**
* The abstract data type ident.
*
* An ident represents an unique string. The == operator
* is sufficient to compare two idents.
*/
#ifndef _IDENT_TYPEDEF_
#define _IDENT_TYPEDEF_
typedef const struct _ident ident;
#endif
/**
* The ident module interface.
*/
......@@ -296,8 +282,24 @@ int id_contains_wchar (ident *id, wchar_t c);
#endif /* FIRM_ENABLE_WCHAR */
#ifdef __cplusplus
}
#endif
/** initializes the name mangling code */
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
a separating "_". */
ident *mangle_entity (ir_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);
/** returns a mangled name for a Win32 function using it's calling convention */
ident *decorate_win32_c_fkt(ir_entity *ent, ident *id);
#endif
......@@ -30,11 +30,6 @@
#include "firm_types.h"
#include "iredgekinds.h"
#ifndef _IR_EDGE_TYPEDEF_
#define _IR_EDGE_TYPEDEF_
typedef struct _ir_edge_t ir_edge_t;
#endif
/**
* Get the first edge pointing to some node.
* @note There is no order on out edges. First in this context only
......
......@@ -30,11 +30,6 @@
#include "firm_types.h"
#include "execfreq.h"
#ifndef _IR_EXTBB_TYPEDEF_
#define _IR_EXTBB_TYPEDEF_
typedef struct _ir_extblk ir_extblk;
#endif
/** Flags for extended basic block state. */
typedef enum {
ir_extblk_info_none = 0, /**< No extended basic block information is constructed. Default. */
......
......@@ -32,7 +32,7 @@
#include "irop.h"
#include "iropt.h"
#include "irextbb.h"
#include "type.h"
#include "typerep.h"
/**
* @page ir_graph The struct ir_graph
......
......@@ -35,18 +35,6 @@
#include "firm_types.h"
/* type of callback function for ir_graph walk */
#ifndef _IRG_WALK_FUNC_TYPEDEF_
#define _IRG_WALK_FUNC_TYPEDEF_
/**
* The type of a walk function. Does not use the link field.
*
* @param node - the node that is just visited
* @param env - an environment pointer passed by the walk functions
*/
typedef void irg_walk_func(ir_node *node, void *env);
#endif
/**
* Walks over the ir graph.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment