RTL hooks are a set of hooks to enable the sharing of more generic code, such as simplify_rtx, among passes. Some passes had subtly different needs for some functionality, which resulted in a lot of generic code duplication. RTL hooks solve this maintenance hazard.