Loop-Free Alternative (LFA) Fast Reroute (FRR)

You can calculate LFA per prefix or per link. The explanation is here:

Difference between per-prefix LFA and per-link based LFA

Here is an overview of (routing) protocols with LFA FRR support:

Protocols with LFA support