The evolution of asymptotic giant branch stars in the Large Magellanic Cloud