runtime: add TestIntendedInlining
runtime: add TestIntendedInlining

The intent is to allow more aggressive refactoring
in the runtime without silent performance changes.

The test would be useful for many functions.
I've seeded it with the runtime functions tophash and add;
it will grow organically (or wither!) from here.

Updates #21536 and #17566

Change-Id: Ib26d9cfd395e7a8844150224da0856add7bedc42
Reviewed-on: https://go-review.googlesource.com/57410
Reviewed-by: Martin Möhrmann <9c82b83f348009b39856043bb9ed3ef41e171aeb@google.com>
Reviewed-by: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>

nawawi/go,polyverse-security/go,Cofyc/go,nawawi/go,akutz/go,Cofyc/go,nawawi/go,CAFxX/go,cloudflare/go,nawawi/go,Cofyc/go,christopher-henderson/Go,CAFxX/go,CAFxX/go,josharian/go,cloudflare/go,CAFxX/go,golang/go,josharian/go,josharian/go,Cofyc/go,nawawi/go,golang/go,polyverse-security/go,cloudflare/go,CAFxX/go,josharian/go,akutz/go,akutz/go,codestation/go,polyverse-security/go,cloudflare/go,Cofyc/go,codestation/go,cloudflare/go,cloudflare/go,akutz/go,akutz/go,golang/go,codestation/go,akutz/go,josharian/go,polyverse-security/go,josharian/go,golang/go,codestation/go,codestation/go,nawawi/go,CAFxX/go,nawawi/go,polyverse-security/go,josharian/go,Cofyc/go,cloudflare/go,golang/go,polyverse-security/go,josharian/go,nawawi/go,golang/go,golang/go,Cofyc/go,CAFxX/go,polyverse-security/go,akutz/go,akutz/go,polyverse-security/go,codestation/go,golang/go,codestation/go,Cofyc/go,CAFxX/go,cloudflare/go,codestation/go