reworking mem2reg to also support LEAs