All You Need Is Kill

All You Need Is Kill is a 2004 sci-fi military light novel written by Hiroshi Sakurazaka. The novel has been adapted to manga and a 2014 American live action film, called Edge of Tomorrow.

Plot
Since the alien race known as the Mimics invaded the Earth, humankind has been retreating. Now that Japan is almost surrounded by the Mimics, Keiji Kiriya is just one of many new recruits forced into a suit of battle armor and sent out to kill aliens. On a joint mission with the US Special Force led by Rita Vratraski, known as the Full Metal Bitch, Keiji dies on the battlefield, only to find himself reborn. After 35 time loops. Kiriya realizes that he has to win the battle to get out of the loop.