From: Sebastian Hack Date: Wed, 19 Jan 2005 13:44:38 +0000 (+0000) Subject: Added prototype for phi_ops_interfere X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=707f9304f49ad27a4b5b5c0c274d225d413358e9;hp=05b22d797fb9db57f50cba29c578d421da876441;p=libfirm Added prototype for phi_ops_interfere --- 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 */