private void ReplaceRegisterUses(Identifier original, Identifier newId, HashSet <Identifier> ids, IInstruction instr)
 {
     foreach (var uses in ids)
     {
         if (uses == original)
         {
             instr.ReplaceUses(uses, new IdentifierReference(newId));
         }
     }
 }