Regularization for Ill-posed Cauchy problems associated with generators of analytic semigroups