Defect buildup and solute segregation in alloys under pulsed irradiation