If one was awake the entire night, and then after עלות השחר went to sleep (appointed someone to wake
them before the end of the time for davening), and slept for at least a half an hour, then they can recite the
ברכת התורה, but ברכת אלוקי נשמה and המעביר שינה they should hear from another person.