Added prototype for phi_ops_interfere
authorSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Wed, 19 Jan 2005 13:44:38 +0000 (13:44 +0000)
committerSebastian Hack <hack@ipd.info.uni-karlsruhe.de>
Wed, 19 Jan 2005 13:44:38 +0000 (13:44 +0000)
ir/be/bera_t.h

index ca28be5..3a176d6 100644 (file)
@@ -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 */