using set to check analyzed dependencies and vector for the load/store instructions list