Revert "Reduce the number of attributes attached to each function"

This reverts commit 053dc95839b3b8a36db46f8c419e36e632e989cd. It causes perf regressions - see discussion in D97116.

GitOrigin-RevId: 2cb8c10342ee5d040725abb1166feb92a64c7df6
7 files changed