IPA function summary for pfe_bus_err_cfg_irq_unmask_all/24 inlinable
  global time:     4.000000
  self size:       5
  global size:     5
  min size:       0
  self stack:      0
  global stack:    0
    size:1.000000, time:1.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:1.000000, time:1.000000,  nonconst if:(op0 changed)
  calls:

IPA function summary for pfe_bus_err_cfg_irq_unmask/23 inlinable
  global time:     6.000000
  self size:       7
  global size:     7
  min size:       0
  self stack:      0
  global stack:    0
    size:3.000000, time:3.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:1.000000, time:1.000000,  nonconst if:(op0 changed)
  calls:

IPA function summary for pfe_bus_err_cfg_irq_mask/22 inlinable
  global time:     6.000000
  self size:       7
  global size:     7
  min size:       0
  self stack:      0
  global stack:    0
    size:3.000000, time:3.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:1.000000, time:1.000000,  nonconst if:(op0 changed)
  calls:

IPA function summary for pfe_bus_err_cfg_isr/21 inlinable
  global time:     80.796136
  self size:       31
  global size:     31
  min size:       10
  self stack:      0
  global stack:    0
    size:21.000000, time:52.499136
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:2.000000, time:2.000000,  nonconst if:(op0 changed)
  calls:
    pfe_hm_report/26 function body not available
      loop depth: 1 freq:1.74 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op3 is compile time invariant


Flattening functions:
Overall time estimate: 96.796136 weighted by profile: 0.000000

Deciding on inlining of small functions.  Starting with size 0.
Enqueueing calls in pfe_bus_err_cfg_irq_unmask_all/24.
Enqueueing calls in pfe_bus_err_cfg_irq_unmask/23.
Enqueueing calls in pfe_bus_err_cfg_irq_mask/22.
Enqueueing calls in pfe_bus_err_cfg_isr/21.

Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:

Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 96.796136 weighted by profile: 0.000000

Why inlining failed?
function body not available                       :        1 calls, 1.735500 freq, 0 count
IPA function summary for pfe_bus_err_cfg_irq_unmask_all/24 inlinable
  global time:     4.000000
  self size:       5
  global size:     5
  min size:       0
  self stack:      0
  global stack:    0
    size:1.000000, time:1.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:1.000000, time:1.000000,  nonconst if:(op0 changed)
  calls:

IPA function summary for pfe_bus_err_cfg_irq_unmask/23 inlinable
  global time:     6.000000
  self size:       7
  global size:     7
  min size:       0
  self stack:      0
  global stack:    0
    size:3.000000, time:3.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:1.000000, time:1.000000,  nonconst if:(op0 changed)
  calls:

IPA function summary for pfe_bus_err_cfg_irq_mask/22 inlinable
  global time:     6.000000
  self size:       7
  global size:     7
  min size:       0
  self stack:      0
  global stack:    0
    size:3.000000, time:3.000000
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:1.000000, time:1.000000,  nonconst if:(op0 changed)
  calls:

IPA function summary for pfe_bus_err_cfg_isr/21 inlinable
  global time:     80.796136
  self size:       31
  global size:     31
  min size:       10
  self stack:      0
  global stack:    0
    size:21.000000, time:52.499136
    size:3.000000, time:2.000000,  executed if:(not inlined)
    size:2.000000, time:2.000000,  nonconst if:(op0 changed)
  calls:
    pfe_hm_report/26 function body not available
      loop depth: 1 freq:1.74 size: 5 time: 14
       op0 is compile time invariant
       op1 is compile time invariant
       op3 is compile time invariant

Symbol table:

pfe_hm_report/26 (pfe_hm_report) @07502a80
  Type: function
  Visibility: external public
  References: 
  Referring: 
  Availability: not_available
  Function flags: optimize_size
  Called by: pfe_bus_err_cfg_isr/21 (315357974 (estimated locally),1.74 per call) 
  Calls: 
event_id.10653/25 (event_id) @075964c8
  Type: variable definition analyzed
  Visibility: prevailing_def_ironly
  References: 
  Referring: pfe_bus_err_cfg_isr/21 (read)
  Availability: available
  Varpool flags: initialized read-only const-value-known
pfe_bus_err_cfg_irq_unmask_all/24 (pfe_bus_err_cfg_irq_unmask_all) @07502620
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_bus_err_cfg_irq_unmask/23 (pfe_bus_err_cfg_irq_unmask) @07502380
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_bus_err_cfg_irq_mask/22 (pfe_bus_err_cfg_irq_mask) @07502000
  Type: function definition analyzed
  Visibility: externally_visible public
  References: 
  Referring: 
  Availability: available
  Function flags: count:1073741824 (estimated locally) body optimize_size
  Called by: 
  Calls: 
pfe_bus_err_cfg_isr/21 (pfe_bus_err_cfg_isr) @074fae00
  Type: function definition analyzed
  Visibility: externally_visible public
  References: event_id.10653/25 (read)
  Referring: 
  Availability: available
  Function flags: count:181710157 (estimated locally) body optimize_size
  Called by: 
  Calls: pfe_hm_report/26 (315357974 (estimated locally),1.74 per call) 

;; Function pfe_bus_err_cfg_isr (pfe_bus_err_cfg_isr, funcdef_no=19, decl_uid=10638, cgraph_uid=20, symbol_order=21)

pfe_bus_err_cfg_isr (addr_t base_va)
{
  static const pfe_hm_evt_t event_id[20] = {60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79};
  uint8_t index;
  uint32_t trig_en_interrupts;
  errno_t ret;
  uint32_t reg_src;
  uint32_t reg_en;
  unsigned int _1;
  volatile uint32_t * _2;
  long unsigned int _3;
  unsigned int _4;
  volatile uint32_t * _5;
  long unsigned int _6;
  long unsigned int _7;
  int _8;
  <unnamed type> _9;
  long unsigned int _10;
  long unsigned int _11;

  <bb 2> [local count: 181710157]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG ret => 2
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  # DEBUG index => 0
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = base_va_18(D) + 212;
  _2 = (volatile uint32_t *) _1;
  reg_en_20 ={v} *_2;
  # DEBUG reg_en => reg_en_20
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _3 = reg_en_20 & 4294967294;
  *_2 ={v} _3;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _4 = base_va_18(D) + 208;
  _5 = (volatile uint32_t *) _4;
  reg_src_22 ={v} *_5;
  # DEBUG reg_src => reg_src_22
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_5 ={v} reg_src_22;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _6 = reg_en_20 & reg_src_22;
  trig_en_interrupts_24 = _6 & 2097150;
  # DEBUG trig_en_interrupts => trig_en_interrupts_24
  # DEBUG BEGIN_STMT
  if (trig_en_interrupts_24 != 0)
    goto <bb 3>; [65.00%]
  else
    goto <bb 8>; [35.00%]

  <bb 3> [local count: 118111602]:
  # DEBUG BEGIN_STMT
  trig_en_interrupts_25 = trig_en_interrupts_24 >> 1;
  # DEBUG trig_en_interrupts => trig_en_interrupts_25
  # DEBUG BEGIN_STMT
  goto <bb 7>; [100.00%]

  <bb 4> [local count: 955630223]:
  # DEBUG BEGIN_STMT
  _7 = trig_en_interrupts_13 & 1;
  if (_7 != 0)
    goto <bb 5>; [33.00%]
  else
    goto <bb 6>; [67.00%]

  <bb 5> [local count: 315357974]:
  # DEBUG BEGIN_STMT
  _8 = (int) index_14;
  _9 = event_id[_8];
  pfe_hm_report (5, 2, _9, "");

  <bb 6> [local count: 955630223]:
  # DEBUG BEGIN_STMT
  trig_en_interrupts_27 = trig_en_interrupts_13 >> 1;
  # DEBUG trig_en_interrupts => trig_en_interrupts_27
  # DEBUG BEGIN_STMT
  index_28 = index_14 + 1;
  # DEBUG index => index_28

  <bb 7> [local count: 1073741824]:
  # trig_en_interrupts_13 = PHI <trig_en_interrupts_25(3), trig_en_interrupts_27(6)>
  # index_14 = PHI <0(3), index_28(6)>
  # DEBUG index => index_14
  # DEBUG trig_en_interrupts => trig_en_interrupts_13
  # DEBUG BEGIN_STMT
  if (trig_en_interrupts_13 != 0)
    goto <bb 4>; [89.00%]
  else
    goto <bb 8>; [11.00%]

  <bb 8> [local count: 181710156]:
  # ret_12 = PHI <2(2), 0(7)>
  # DEBUG ret => ret_12
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _10 = ~reg_src_22;
  _11 = _10 & reg_en_20;
  *_2 ={v} _11;
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  return ret_12;

}



;; Function pfe_bus_err_cfg_irq_mask (pfe_bus_err_cfg_irq_mask, funcdef_no=20, decl_uid=10640, cgraph_uid=21, symbol_order=22)

pfe_bus_err_cfg_irq_mask (addr_t base_va)
{
  uint32_t reg;
  unsigned int _1;
  volatile uint32_t * _2;
  long unsigned int _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = base_va_4(D) + 212;
  _2 = (volatile uint32_t *) _1;
  _3 ={v} *_2;
  reg_6 = _3 & 4294967294;
  # DEBUG reg => reg_6
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_2 ={v} reg_6;
  # DEBUG BEGIN_STMT
  return;

}



;; Function pfe_bus_err_cfg_irq_unmask (pfe_bus_err_cfg_irq_unmask, funcdef_no=21, decl_uid=10642, cgraph_uid=22, symbol_order=23)

pfe_bus_err_cfg_irq_unmask (addr_t base_va)
{
  uint32_t reg;
  unsigned int _1;
  volatile uint32_t * _2;
  long unsigned int _3;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = base_va_4(D) + 212;
  _2 = (volatile uint32_t *) _1;
  _3 ={v} *_2;
  reg_6 = _3 | 1;
  # DEBUG reg => reg_6
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  *_2 ={v} reg_6;
  # DEBUG BEGIN_STMT
  return;

}



;; Function pfe_bus_err_cfg_irq_unmask_all (pfe_bus_err_cfg_irq_unmask_all, funcdef_no=22, decl_uid=10644, cgraph_uid=23, symbol_order=24)

pfe_bus_err_cfg_irq_unmask_all (addr_t base_va)
{
  unsigned int _1;
  volatile uint32_t * _2;

  <bb 2> [local count: 1073741824]:
  # DEBUG BEGIN_STMT
  # DEBUG BEGIN_STMT
  _1 = base_va_3(D) + 212;
  _2 = (volatile uint32_t *) _1;
  *_2 ={v} 2097151;
  # DEBUG BEGIN_STMT
  return;

}


