Argument promotion
An interprocedural optimisation that replaces a pointer argument with the value it points to, when the function only ever reads through it.
A function taking const struct point *p that only reads p->x forces the caller to put the point in memory and the callee to load it back. If the compiler can see every call site, it can rewrite the signature so x travels directly in a register. The caller's struct can then often be dissolved entirely by scalar replacement, and the load disappears.
Needing every call site in view means it only works for static functions, or for everything under link-time optimisation. Alias analysis must also prove the memory does not change along the way. LLVM calls the pass argpromotion; GCC's counterpart IPA-SRA does the same and also strips parameters that are never used.