ir: Add base member to Enum.