freedreno/ir3/ra: add helper to map name to instruction