"How many calories does it take to convert ice at minus 30 to, say, water at 100?" You'll have to do the mc ∆T for that, m times latent heat for this, mc ∆T for that, and m times latent heat of vaporization for that. 