Interprocedural register allocation (IPRA)
Register allocation that looks across function boundaries and uses which registers a callee actually touches, rather than what the calling convention permits it to touch.
A calling convention is a pessimistic contract. The caller must assume every register the convention calls volatile is trashed after the call, and saves them needlessly, even when the callee is three instructions long and uses exactly one. With IPRA the callee is allocated first, and the caller learns precisely which registers were clobbered. Everything else can stay live across the call.
The idea is old: David Wall was allocating registers at link time back in 1986. LLVM gained support in 2016 through a Google Summer of Code project, but it is still off by default. The payoff is biggest for small internal functions that don't get inlined, and it requires the compiler to see the whole call chain, which in practice means the same module or LTO.