Rory McIlroy has appointed Pete Cowen as his new swing coach and has "parted ways" with childhood coach Michael Bannon, according to the Golf Channel.