R600: Replace predicate loop with predicate function