Getting variable attribute from rtx