Let function take Cmp operands instead of Cmp node itself.
Let function take Cmp operands instead of Cmp node itself.

This allows the use the function in more cases.

MatzeB/libfirm,jonashaag/libfirm,MatzeB/libfirm,libfirm/libfirm,jonashaag/libfirm,MatzeB/libfirm,MatzeB/libfirm,MatzeB/libfirm,jonashaag/libfirm,jonashaag/libfirm,libfirm/libfirm,libfirm/libfirm,MatzeB/libfirm,MatzeB/libfirm,libfirm/libfirm,jonashaag/libfirm,libfirm/libfirm,jonashaag/libfirm,jonashaag/libfirm