summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beasm.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-05-04 06:44:25 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2018-05-04 22:47:07 +0200
commit9b7b69480d36584826a3621b5cf99b96bd1d08d8 (patch)
tree1543f9926074246c61c1cb851245556ce61c582a /ir/be/beasm.h
parenta157fbb763270e3b61fe90a7ade2edfbc259138d (diff)
be: Factor out parsing of register names for clobbers.
Diffstat (limited to 'ir/be/beasm.h')
-rw-r--r--ir/be/beasm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ir/be/beasm.h b/ir/be/beasm.h
index 2bb07da..b9ecc48 100644
--- a/ir/be/beasm.h
+++ b/ir/be/beasm.h
@@ -53,4 +53,11 @@ void be_emit_asm(ir_node const *asmn, be_emit_asm_operand_func *emit_asm_operand
bool be_is_valid_asm_operand_kind(ir_node const *node, char modifier, unsigned pos, be_asm_operand_kind_t have, char const *mod_any, char const *mod_imm, char const *mod_mem);
+struct be_register_name_t {
+ char const *name;
+ unsigned index;
+};
+
+arch_register_t const *be_parse_register_name(char const *clobber);
+
#endif