main.c

Line Hotness Pass Source Function / Inlining Chain
1
#include <stdio.h>
2
3
extern int count;
4
extern void workload (void);
5
6
int flag = 0;
7
8
int main (int argc, const char **argv)
9
{
10
  int i;
3 profile
  ^test remark
  
  • main
11
12
  printf ("pgo-demo\n");
3 profile
  ^test remark
  
  • main
3 profile
  ^test remark
  
  • main
3 slp
  ^=== vect_slp_analyze_bb ===
    === vect_analyze_data_refs ===
    not vectorized: not enough data-refs in basic block
    === vect_analyze_data_refs ===
    not vectorized: not enough data-refs in basic block
  
  • main
13
14
  for (i = 0; i < 100000; i++)
3 profile
  ^test remark
  
  • main
3 profile
         ^test remark
         
  • main
300000 profile
                           ^test remark
                           
  • main
300000 profile
                           ^test remark
                           
  • main
300003 profile
  ^test remark
  
  • main
300000 vect
  ^=== analyzing loop ===
    === analyze_loop_nest ===
      === vect_analyze_loop_form ===
        === get_loop_niters ===
      not vectorized: loop contains function calls or data references that cannot be analyzed
  
  • main
300000 slp
  ^=== vect_slp_analyze_bb ===
  
  • main
300000 slp
  ^=== vect_slp_analyze_bb ===
    === vect_analyze_data_refs ===
      got vectype for stmt: count.0_1 = count;vector(4) int
    not vectorized: not enough data-refs in basic block
    === vect_analyze_data_refs ===
    not vectorized: not enough data-refs in basic block
  
  • main
15
    workload ();
300000 profile
    ^test remark
    
  • main
300000 profile
    ^test remark
    
  • main
16
17
  printf ("count: %i\n", count);
3 profile
  ^test remark
  
  • main
3 profile
  ^test remark
  
  • main
3 profile
  ^test remark
  
  • main
18
19
  return 0;
3 profile
  ^test remark
  
  • main
20
}