X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbera_t.h;h=3a176d62dc8aee9790296035f302b583d8878f00;hb=16cd557c101a0e9283182877b6c2362d548d02a5;hp=6d88f6a96c378fdca8f4741570a8c7721df2adc6;hpb=6e0721ab9733b14c99bfa4ff430c6c554f9cdf85;p=libfirm diff --git a/ir/be/bera_t.h b/ir/be/bera_t.h index 6d88f6a96..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) -#endif +/** + * 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 */