projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed debug output of unary x87 nodes
[libfirm]
/
ir
/
be
/
bejavacoal.h
diff --git
a/ir/be/bejavacoal.h
b/ir/be/bejavacoal.h
index
4e583dd
..
28d1305
100644
(file)
--- a/
ir/be/bejavacoal.h
+++ b/
ir/be/bejavacoal.h
@@
-2,8
+2,8
@@
#ifndef _BEJAVACOAL_H
#define _BEJAVACOAL_H
#ifndef _BEJAVACOAL_H
#define _BEJAVACOAL_H
-struct _java_coal_t;
-typedef struct _
java_coal_t
java_coal_t;
+struct _
be_
java_coal_t;
+typedef struct _
be_java_coal_t be_
java_coal_t;
#ifdef WITH_LIBCORE
#ifdef WITH_LIBCORE
@@
-15,7
+15,7
@@
typedef struct _java_coal_t java_coal_t;
/**
* Register libcore options.
*/
/**
* Register libcore options.
*/
-void
java_coal_register_options(lc_opt_entry_t *grp)
+void
be_java_coal_register_options(lc_opt_entry_t *grp);
#endif /* WITH_LIBCORE */
#endif /* WITH_LIBCORE */
@@
-24,7
+24,7
@@
void java_coal_register_options(lc_opt_entry_t *grp)
* @param n first node id.
* @param m second node id.
*/
* @param n first node id.
* @param m second node id.
*/
-void
java_coal_add_int_edge(
java_coal_t *c, int n, int m);
+void
be_java_coal_add_int_edge(be_
java_coal_t *c, int n, int m);
/**
* Add an affinity edge.
/**
* Add an affinity edge.
@@
-32,14
+32,14
@@
void java_coal_add_int_edge(java_coal_t *c, int n, int m);
* @param m second node id.
* @param costs Costs for the edge.
*/
* @param m second node id.
* @param costs Costs for the edge.
*/
-void
java_coal_add_aff_edge(
java_coal_t *c, int n, int m, int costs);
+void
be_java_coal_add_aff_edge(be_
java_coal_t *c, int n, int m, int costs);
/**
* Set the color of a node.
* @param n The node.
* @param col The color.
*/
/**
* Set the color of a node.
* @param n The node.
* @param col The color.
*/
-void
java_coal_set_color(
java_coal_t *c, int n, int col);
+void
be_java_coal_set_color(be_
java_coal_t *c, int n, int col);
/**
* Forbid a color for a node.
/**
* Forbid a color for a node.
@@
-47,25
+47,25
@@
void java_coal_set_color(java_coal_t *c, int n, int col);
* @param n The node.
* @param col The color.
*/
* @param n The node.
* @param col The color.
*/
-void
java_coal_forbid_color(
java_coal_t *c, int n, int col);
+void
be_java_coal_forbid_color(be_
java_coal_t *c, int n, int col);
/**
* Start the coalescing.
*/
/**
* Start the coalescing.
*/
-void
java_coal_coalesce(
java_coal_t *c);
+void
be_java_coal_coalesce(be_
java_coal_t *c);
/**
* Dump the graph into a dot file.
* @param fn Filename to dump to.
*/
/**
* Dump the graph into a dot file.
* @param fn Filename to dump to.
*/
-void
java_coal_dump(
java_coal_t *c, const char *fn);
+void
be_java_coal_dump(be_
java_coal_t *c, const char *fn);
/**
* Get the color of a node.
* @param n The node.
* @return The color of the node.
*/
/**
* Get the color of a node.
* @param n The node.
* @return The color of the node.
*/
-int
java_coal_get_color(
java_coal_t *c, int n);
+int
be_java_coal_get_color(be_
java_coal_t *c, int n);
/**
* Init the JAVA coalescer.
/**
* Init the JAVA coalescer.
@@
-75,12
+75,11
@@
int java_coal_get_color(java_coal_t *c, int n);
* @param dbg_level Te debug level for the coalescer. 0 means quiet. >0 more verbose.
* @return The coalescing object.
*/
* @param dbg_level Te debug level for the coalescer. 0 means quiet. >0 more verbose.
* @return The coalescing object.
*/
-
java_coal_t *
java_coal_init(const char *graph_name, int n_nodes, int n_regs, int dbg_level);
+
be_java_coal_t *be_
java_coal_init(const char *graph_name, int n_nodes, int n_regs, int dbg_level);
/**
* Destroy the coalescing object.
*/
/**
* Destroy the coalescing object.
*/
-void java_coal_destroy(java_coal_t *c);
-
+void be_java_coal_destroy(be_java_coal_t *c);
#endif
#endif