In both cases it is the present value of the tax saving on the interest payment. In the case of irredeemable debt the savings will be in perpetuity and so you discount the savings as a perpetuity. In the case of redeemable debt, the savings will only be for the number of years up to redemption, and so you discount as an annuity.