projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- More restructureation:
[libfirm]
/
ir
/
be
/
benode_t.h
diff --git
a/ir/be/benode_t.h
b/ir/be/benode_t.h
index
54abbce
..
ffc0fb0
100644
(file)
--- a/
ir/be/benode_t.h
+++ b/
ir/be/benode_t.h
@@
-505,23
+505,21
@@
void be_node_set_reg_class(ir_node *irn, int pos, const arch_register_class_t *c
void be_node_set_req_type(ir_node *irn, int pos, arch_register_req_type_t type);
/**
void be_node_set_req_type(ir_node *irn, int pos, arch_register_req_type_t type);
/**
- * Make a new phi handler.
- * @param env The architecture environment.
- * @return A new phi handler.
+ * Initialize the Phi handler.
+ * @param env The be_main environment.
*/
*/
-
arch_irn_handler_t *be_phi_handler_new(const arch_env_t *arch_
env);
+
void be_phi_handler_new(be_main_env_t *
env);
/**
/**
- * Free a phi handler.
- * @param handler The handler to free.
+ * Destroy the Phi handler.
*/
*/
-void be_phi_handler_free(
arch_irn_handler_t *handler
);
+void be_phi_handler_free(
void
);
/**
/**
- * Reset the register data in the
p
hi handler.
+ * Reset the register data in the
P
hi handler.
* This should be called on each new graph and deletes the register information of the current graph.
*/
* This should be called on each new graph and deletes the register information of the current graph.
*/
-void be_phi_handler_reset(
arch_irn_handler_t *handler
);
+void be_phi_handler_reset(
void
);
/**
* Set the register requirements for a phi node.
/**
* Set the register requirements for a phi node.
@@
-536,9
+534,9
@@
void be_set_phi_flags(const arch_env_t *arch_env, ir_node *phi,
arch_irn_flags_t flags);
/**
arch_irn_flags_t flags);
/**
- * irn handler for common be nodes.
+ * irn handler for common be nodes
and Phi's
.
*/
*/
-
extern const arch_irn_handler_t be_node_irn_handler
;
+
const void *be_node_get_irn_ops(const ir_node *irn)
;
static INLINE int be_is_Spill (const ir_node *irn) { return get_irn_opcode(irn) == beo_Spill ; }
static INLINE int be_is_Reload (const ir_node *irn) { return get_irn_opcode(irn) == beo_Reload ; }
static INLINE int be_is_Spill (const ir_node *irn) { return get_irn_opcode(irn) == beo_Spill ; }
static INLINE int be_is_Reload (const ir_node *irn) { return get_irn_opcode(irn) == beo_Reload ; }