From 707f9304f49ad27a4b5b5c0c274d225d413358e9 Mon Sep 17 00:00:00 2001 From: Sebastian Hack Date: Wed, 19 Jan 2005 13:44:38 +0000 Subject: [PATCH] Added prototype for phi_ops_interfere --- ir/be/bera_t.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ir/be/bera_t.h b/ir/be/bera_t.h index ca28be500..3a176d62d 100644 --- a/ir/be/bera_t.h +++ b/ir/be/bera_t.h @@ -86,4 +86,12 @@ static INLINE int __is_allocatable_irn(const ir_node *irn) #define set_irn_color(irn,col) __set_irn_color(irn, col) #define is_allocatable_irn(irn) __is_allocatable_irn(irn) +/** + * Check, if two phi operands interfere. + * @param a A node which is operand to a phi function. + * @param b Another node which is operand to a phi function. + * @return 1, if @p a and @p b interfere, 0 if not. + */ +int phi_ops_interfere(const ir_node *a, const ir_node *b); + #endif /* BERA_T_H */ -- 2.20.1