Universality Laws and Performance Analysis of the Generalized Linear Models