main.c

Line Hotness Pass Source Function / Inlining Chain
1
#include <stdio.h>
2
#include "shared.h"
3
4
int flag = 0;
5
6
int main (int argc, const char **argv)
7
{
8
  int i;
9
  int arr[256];
10
11
  printf ("pgo-demo\n");
0.00 inline
  ^  not inlinable: main/12 -> __builtin_puts/13, function body not available
  
  • main
12
13
  for (i = 0; i < 100000; i++)
0.39 vect
  ^=== analyzing loop ===
    
    Analyzing loop at main.c:13
    === analyze_loop_nest ===
      === vect_analyze_loop_form ===
        === get_loop_niters ===
      not vectorized: loop contains function calls or data references that cannot be analyzed
  
  • main
14
    {
15
      devirt_cc_body ();
0.39 inline
      ^  not inlinable: main/12 -> devirt_cc_body/14, function body not available
      
  • main
16
      loop_opts_c_body ();
0.39 inline
      ^  not inlinable: main/12 -> loop_opts_c_body/15, function body not available
      
  • main
17
      workload_c_body ();
0.39 inline
      ^  not inlinable: main/12 -> workload_c_body/16, function body not available
      
  • main
18
      compute_sum_with_inlining (arr, 256);
0.39 inline
      ^  not inlinable: main/12 -> compute_sum_with_inlining/17, function body not available
      
  • main
19
      compute_sum_without_inlining (arr, 256);
0.39 inline
      ^  not inlinable: main/12 -> compute_sum_without_inlining/18, function body not available
      
  • main
20
    }
21
22
  printf ("count: %i\n", count);
0.00 inline
  ^  not inlinable: main/12 -> printf/20, function body not available
  
  • main
23
24
  loop_interchange_c_main ();
0.00 inline
  ^  not inlinable: main/12 -> loop_interchange_c_main/21, function body not available
  
  • main
25
26
  return 0;
27
}