
Analyzing function: fci_l2br_flush_cmd/20
;; 1 loops found
;;
;; Loop 0
;;  header 0, latch 1
;;  depth 0, outer -1
;;  nodes: 0 1 2 3 4 5 6 7 8 9 10
;; 2 succs { 9 5 7 3 }
;; 3 succs { 4 10 }
;; 4 succs { 10 }
;; 5 succs { 6 10 }
;; 6 succs { 10 }
;; 7 succs { 8 10 }
;; 8 succs { 10 }
;; 9 succs { 10 }
;; 10 succs { 1 }

Analyzing function body size: fci_l2br_flush_cmd

IPA function summary for fci_l2br_flush_cmd/20 inlinable
  global time:     18.875000
  self size:       34
  global size:     0
  min size:       0
  self stack:      0
  global stack:    0
    size:1.000000, time:0.625000
    size:4.000000, time:2.625000,  executed if:(not inlined)
    size:8.000000, time:4.000000,  nonconst if:(op0 changed)
    size:3.500000, time:0.812500,  executed if:(op0 == 62368)
    size:0.500000, time:0.062500,  executed if:(op0 == 62368) && (not inlined)
    size:3.500000, time:0.812500,  executed if:(op0 == 62352)
    size:0.500000, time:0.062500,  executed if:(op0 == 62352) && (not inlined)
    size:3.500000, time:0.812500,  executed if:(op0 == 62336)
    size:0.500000, time:0.062500,  executed if:(op0 == 62336) && (not inlined)
  calls:
    pfe_l2br_flush_static/24 function body not available
      loop depth: 0 freq:0.25 size: 3 time: 12 predicate: (op0 == 62352)
    pfe_l2br_flush_learned/23 function body not available
      loop depth: 0 freq:0.25 size: 3 time: 12 predicate: (op0 == 62336)
    pfe_l2br_flush_all/22 function body not available
      loop depth: 0 freq:0.25 size: 3 time: 12 predicate: (op0 == 62368)

Symbol table:

pfe_l2br_flush_static/24 (pfe_l2br_flush_static) @072f77e0
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: fci_l2br_flush_cmd/20 (268435456 (estimated locally),0.25 per call) 
  Calls: 
pfe_l2br_flush_learned/23 (pfe_l2br_flush_learned) @072f7700
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: fci_l2br_flush_cmd/20 (268435456 (estimated locally),0.25 per call) 
  Calls: 
pfe_l2br_flush_all/22 (pfe_l2br_flush_all) @072f7620
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: fci_l2br_flush_cmd/20 (268435456 (estimated locally),0.25 per call) 
  Calls: 
__context/21 (__context) @072f3c18
  Type: variable
  Body removed by symtab_remove_unreachable_nodes
  Visibility: external public
  References: 
  Referring: fci_l2br_flush_cmd/20 (read)fci_l2br_flush_cmd/20 (read)fci_l2br_flush_cmd/20 (read)
  Availability: not_available
  Varpool flags:
fci_l2br_flush_cmd/20 (fci_l2br_flush_cmd) @072f71c0
  Type: function definition analyzed
  Visibility: externally_visible public
  References: __context/21 (read)__context/21 (read)__context/21 (read)
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_l2br_flush_static/24 (268435456 (estimated locally),0.25 per call) pfe_l2br_flush_learned/23 (268435456 (estimated locally),0.25 per call) pfe_l2br_flush_all/22 (268435456 (estimated locally),0.25 per call) 
fci_l2br_flush_cmd (uint32_t code, uint16_t * fci_ret)
{
  errno_t ret;
  struct pfe_l2br_t * _1;
  struct pfe_l2br_t * _2;
  struct pfe_l2br_t * _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG fci_context => &__context
  # DEBUG BEGIN_STMT
  # DEBUG ret => 0
  # DEBUG BEGIN_STMT
  *fci_ret_7(D) = 0;
  # DEBUG BEGIN_STMT
  switch (code_9(D)) <default: <L9> [25.00%], case 62336: <L3> [25.00%], case 62352: <L6> [25.00%], case 62368: <L0> [25.00%]>

  <bb 3> [local count: 268435456]:
<L0>:
  # DEBUG BEGIN_STMT
  _1 = __context.l2_bridge;
  ret_11 = pfe_l2br_flush_all (_1);
  # DEBUG ret => ret_11
  # DEBUG BEGIN_STMT
  if (ret_11 != 0)
    goto <bb 4>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 4> [local count: 134217728]:
  # DEBUG BEGIN_STMT
  *fci_ret_7(D) = 65535;
  goto <bb 10>; [100.00%]

  <bb 5> [local count: 268435456]:
<L3>:
  # DEBUG BEGIN_STMT
  _2 = __context.l2_bridge;
  ret_17 = pfe_l2br_flush_learned (_2);
  # DEBUG ret => ret_17
  # DEBUG BEGIN_STMT
  if (ret_17 != 0)
    goto <bb 6>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 6> [local count: 134217728]:
  # DEBUG BEGIN_STMT
  *fci_ret_7(D) = 65535;
  goto <bb 10>; [100.00%]

  <bb 7> [local count: 268435456]:
<L6>:
  # DEBUG BEGIN_STMT
  _3 = __context.l2_bridge;
  ret_14 = pfe_l2br_flush_static (_3);
  # DEBUG ret => ret_14
  # DEBUG BEGIN_STMT
  if (ret_14 != 0)
    goto <bb 8>; [50.00%]
  else
    goto <bb 10>; [50.00%]

  <bb 8> [local count: 134217728]:
  # DEBUG BEGIN_STMT
  *fci_ret_7(D) = 65535;
  goto <bb 10>; [100.00%]

  <bb 9> [local count: 268435456]:
<L9>:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *fci_ret_7(D) = 4;
  # DEBUG BEGIN_STMT

  <bb 10> [local count: 1073741824]:
  # ret_4 = PHI <ret_11(4), ret_17(6), ret_14(8), 0(9), ret_11(3), ret_17(5), ret_14(7)>
  # DEBUG ret => ret_4
  # DEBUG BEGIN_STMT
  return ret_4;

}


