Adjust the heuristic for locating a loop header.  Drop the inline call sites and use only loop conditionals and subloops.  Although the call sites make sense, code motion from outside the loop was destroying the effect.
Adjust the heuristic for locating a loop header.  Drop the inline call
sites and use only loop conditionals and subloops.  Although the call
sites make sense, code motion from outside the loop was destroying the
effect.

On some programs with C++ templates (eg, hpcstruct), this makes a
large improvement in the location of some loop headers.

HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit