ir: Retrieve scopes from enums.