From: Christian Würdig Date: Wed, 10 Jan 2007 13:06:32 +0000 (+0000) Subject: added function declaration X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b89c6159336b3afba894443a32287ebac4c574cf;p=libfirm added function declaration --- diff --git a/ir/be/benode_t.h b/ir/be/benode_t.h index fb0ca9e3b..93cdea3b3 100644 --- a/ir/be/benode_t.h +++ b/ir/be/benode_t.h @@ -414,6 +414,14 @@ void be_node_set_flags(ir_node *irn, int pos, arch_irn_flags_t flags); */ void be_node_set_reg_class(ir_node *irn, int pos, const arch_register_class_t *cls); +/** + * Set the register requirement type of a node. + * @param irn The node itself. + * @param pos The position (0..n) for arguments, (-1..-m) for results. + * @param flags The register requirement type to set for that node and position. + */ +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.