summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-08-19 15:34:50 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-08-23 08:57:40 +0200
commit9ecf429e6789137ed7fc5600b439b10ce5be63ae (patch)
treea2dec8de902239ef5b0c20745d36d3e8fbed5e93 /ir/be/bearch.h
parentd64afeba177a8f05379232d90eddcb6534b5bbaa (diff)
be: Factor out code to get an input pos for a given register requirement.
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 4cf8b2a..c704fae 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -404,4 +404,6 @@ static inline void arch_set_irn_register_idx(ir_node *const irn, unsigned const
arch_set_irn_register(irn, reg);
}
+int be_get_input_pos_for_req(ir_node const *irn, arch_register_req_t const *req);
+
#endif