noprofile IR attribute already exists to prevent profiling with PGO;
emit that when a function uses the newly added no_profile function
The Linux kernel would like to avoid compiler generated code in
functions annotated with such attribute. We already respect this for
libcalls to fentry() and mcount().
Alternate implementation to: https://reviews.llvm.org/D104253