summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.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/bearch.h
parenta157fbb763270e3b61fe90a7ade2edfbc259138d (diff)
be: Factor out parsing of register names for clobbers.
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 5ecaaa8..08b9330 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -299,10 +299,9 @@ struct arch_isa_if_t {
void (*lower_for_target)(void);
/**
- * returns true if the string is a valid clobbered (register) in this
- * backend
+ * Additional register names in addition to the regular register names.
*/
- int (*is_valid_clobber)(const char *clobber);
+ be_register_name_t const *additional_reg_names;
/**
* Called directly after initialization. Backend should handle all
@@ -387,8 +386,6 @@ bool arch_reg_is_allocatable(const arch_register_req_t *req,
void arch_copy_irn_out_info(ir_node *dst, unsigned dst_pos, ir_node const *src);
-int be_default_is_valid_clobber(char const *clobber);
-
arch_register_req_t *be_create_cls_req(ir_graph *irg, arch_register_class_t const *cls, unsigned char width);
arch_register_req_t const *be_create_reg_req(ir_graph *irg, arch_register_t const *reg, bool ignore);