liberty/support/FullLoopProf/FullLoopProf.cpp
/* Begin an invocation of a function/loop/callsite
 * TODO: Split this into different functions so that debugging the bitcode
 * files becomes easier
 */
Begin an invocation of a function/loop/callsite
TODO: Split this into different functions so that debugging the bitcode
files becomes easier
Begin an invocation of a function / loop / callsite TODO : Split this into different functions so that debugging the bitcode files becomes easier
void loopProf_invocation(int loop)
{
  if( withinRuntime )
    return;
  withinRuntime = true;
#ifdef DEBUG
  printf("Entering function/calsite/loop %d\n", loop);
#endif
  loopStack->push_back(loop);
  withinRuntime = false;
}
void loopProf_invocation ( int loop ) { if ( withinRuntime ) return ; withinRuntime = true ; #ifdef DEBUG printf ( " \n " , loop ) ; #endif loopStack -> push_back ( loop ) ; withinRuntime = false ; }
Begin an invocation of a function/loop/callsite
 TODO: Split this into different functions so that debugging the bitcode
 files becomes easier
Begin an invocation of a function / loop / callsite TODO : Split this into different functions so that debugging the bitcode files becomes easier