From GCC docs (I found no docs for this attribute in LLVM docs; but LLVM understands hot/cold attribute too):
"The hot attribute on a function is used to inform the compiler that the function is a hot spot of the compiled program. The function is optimized more aggressively and on many targets it is placed into a special subsection of the text section so all hot functions appear close together, improving locality."
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
We can mark Clang/LLVM hotspots with LLVM_HOT as follow-up.