* make it able to detect shared vars under any declaration kind, not only IrFunction * Add & update tests