[ir] implement void operator