Emit the intrinsic modref info as a lookup table instead of a huge switch.