https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116968
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- IIRC we do (did?) have some predicates using void * that accepted both tree and RTL. I think overloads would be OK though insn_unremovable_* might be a better match for RTL.