<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div>I noticed that clang outlines OpenMP regions without giving verbose function names.</div><div>As shown below, it is almost impossible to tell where "__omp_outlined__5_wrapper" is from when compiling a big program.However, I need to investigate these regions and reduce register spill which is performance critical.<br></div><div><br>ptxas info    : Function properties for __omp_offloading_33_3c57fa9__ZN11qmcplusplus12SplineC2ROMPIdfE17evaluateDetRatiosINS_6VectorIfSaIfELj0EEEfEEvRKNS_18VirtualParticleSetERT_RKS9_RSt6vectorIT0_SaISE_EE_l571<br>    32 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads<br></div><div>ptxas info    : Function properties for <span style="color:rgb(255,0,0)">__omp_outlined__5_wrapper</span><br>    224 bytes stack frame, 136 bytes spill stores, 136 bytes spill loads<br>ptxas info    : Function properties for _ZN7spline228computeLocationAndFractionalIdEEvPKN11qmcplusplus14bspline_traitsIT_Lj3EE10SplineTypeES3_S3_S3_RiS8_S8_PS3_S9_S9_<br>    272 bytes stack frame, 236 bytes spill stores, 236 bytes spill loads<br>ptxas info    : Function properties for <span style="color:rgb(255,0,0)">__omp_outlined__1_wrapper</span><br>    368 bytes stack frame, 340 bytes spill stores, 340 bytes spill loads<br></div><div><br></div><div>A composite name __o<span style="color:rgb(0,0,0)">mp_outlined_SOUR</span>CE_FUNCTION_NAME is way more useful.<br></div><div>Could someone fix this or point me where to fix this in the clang source.</div><div><br></div><div>Best,<br></div><div>Ye<br></div><div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">===================<br>
Ye Luo, Ph.D.<br>Computational Science Division & Leadership Computing Facility<br>
Argonne National Laboratory</div></div></div></div></div></div></div></div></div></div>