All-optical logic gate computing for high-speed parallel information processing