summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beasm.h
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-05-29 08:31:37 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-06-05 16:15:00 +0200
commitee3b469770a4974fd0d8ec8a607c404fa04dfe2a (patch)
tree232e4cd4390b7412a7f4307bdd8dfce0ab7a0b09 /ir/be/beasm.h
parentbd2375e248c5c208df419eb4cea7f6cf2b55476f (diff)
be: Factorise code to make a be_Asm node and set its requirements.
Diffstat (limited to 'ir/be/beasm.h')
-rw-r--r--ir/be/beasm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/beasm.h b/ir/be/beasm.h
index 436a48b..f060802 100644
--- a/ir/be/beasm.h
+++ b/ir/be/beasm.h
@@ -32,6 +32,8 @@ typedef void parse_constraint_letter_func_t(void const *env, be_asm_constraint_t
void be_parse_asm_constraints_internal(be_asm_constraint_t *constraint, ident *constraint_text, bool is_output, parse_constraint_letter_func_t *parse_constraint_letter, void const *env);
+ir_node *be_make_asm(ir_node const *node, unsigned n_ins, ir_node **in, arch_register_req_t const **in_reqs, unsigned n_outs, arch_register_req_t const **out_reqs, void *operands);
+
typedef void be_emit_asm_operand_func(ir_node const *asmn, char modifier, unsigned pos);
void be_emit_asm(ir_node const *asmn, be_emit_asm_operand_func *emit_asm_operand);