Make it harder for gcc to make wrong optimisations.
Split out toCtype, toElem, toIR.