summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bearch.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-12-28 05:20:37 +0100
committerMatthias Braun <matze@braunis.de>2014-12-29 00:19:12 +0100
commita008ea3fe05b8fb1225b0a6bb5cb9ecc64afa812 (patch)
tree8439abc9c15dc757e5be80ce36019099676c46e8 /ir/be/bearch.h
parent002397085db3b03c915d99b99584ac300033a87c (diff)
bearch: introduce arch_find_register()
Diffstat (limited to 'ir/be/bearch.h')
-rw-r--r--ir/be/bearch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir/be/bearch.h b/ir/be/bearch.h
index 30e365b..6e62c57 100644
--- a/ir/be/bearch.h
+++ b/ir/be/bearch.h
@@ -425,6 +425,9 @@ static inline bool arch_irn_consider_in_reg_alloc(
return req->cls == cls && !arch_register_req_is(req, ignore);
}
+const arch_register_t *arch_find_register(const arch_env_t *arch_env,
+ const char *name);
+
#define be_foreach_value(node, value, code) \
do { \
if (get_irn_mode(node) == mode_T) { \