IPA function summary for debug_printf/44 global time: 162.363637 self size: 19 global size: 19 min size: 24 self stack: 260 global stack: 260 size:4.000000, time:34.363637 size:3.000000, time:2.000000, executed if:(not inlined) calls: put_char/42 function not considered for inlining loop depth: 1 freq:8.09 size: 2 time: 11callee size: 3 stack: 0 strlen/56 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant __builtin_va_end/55 function body not available loop depth: 0 freq:1.00 size: 0 time: 0 op0 is compile time invariant vsprintf/54 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant __builtin_va_start/53 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant op1 is compile time invariant IPA function summary for get_line/43 inlinable global time: 31.099308 self size: 74 global size: 74 min size: 36 self stack: 0 global stack: 0 size:52.000000, time:12.112248 size:3.000000, time:2.000000, executed if:(not inlined) size:1.000000, time:0.134351, nonconst if:(op0 changed) array index:(op0 changed) calls: put_char/42 function not considered for inlining loop depth: 0 freq:0.02 size: 2 time: 11callee size: 3 stack: 0 put_char/42 function not considered for inlining loop depth: 0 freq:0.02 size: 2 time: 11callee size: 3 stack: 0 put_char/42 function not considered for inlining loop depth: 0 freq:0.02 size: 2 time: 11callee size: 3 stack: 0 get_char/41 function not considered for inlining loop depth: 0 freq:0.04 size: 3 time: 12callee size: 6 stack: 0 put_char/42 function not considered for inlining loop depth: 0 freq:0.07 size: 2 time: 11callee size: 3 stack: 0 debug_printf/44 function not considered for inlining loop depth: 0 freq:0.07 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not considered for inlining loop depth: 0 freq:0.20 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant get_char/41 function not considered for inlining loop depth: 0 freq:1.00 size: 3 time: 12callee size: 6 stack: 0 IPA function summary for put_char/42 inlinable global time: 15.000000 self size: 7 global size: 7 min size: 8 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Lpuart_Uart_Ip_SyncSend/52 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant IPA function summary for get_char/41 inlinable global time: 10.741800 self size: 13 global size: 13 min size: 0 self stack: 0 global stack: 0 size:9.500000, time:8.346650 size:3.500000, time:2.395150, executed if:(not inlined) calls: IPA function summary for Gvar_init/40 inlinable global time: 4.000000 self size: 5 global size: 5 min size: 0 self stack: 0 global stack: 0 size:2.000000, time:2.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: IPA function summary for PrintLogo/39 inlinable global time: 82.000000 self size: 20 global size: 20 min size: 34 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: debug_printf/44 function not considered for inlining loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not considered for inlining loop depth: 0 freq:1.00 size: 4 time: 13callee size: 9 stack:260 op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant debug_printf/44 function not considered for inlining loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not considered for inlining loop depth: 0 freq:1.00 size: 3 time: 12callee size: 9 stack:260 op0 is compile time invariant op1 is compile time invariant debug_printf/44 function not considered for inlining loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not considered for inlining loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not considered for inlining loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant IPA function summary for UART0_RX_Callback/38 inlinable global time: 10.270000 self size: 15 global size: 15 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) size:2.000000, time:2.000000, nonconst if:(op2 changed) size:6.000000, time:1.980000, executed if:(op2 == 0) calls: Lpuart_Uart_Ip_SetRxBuffer/51 function body not available loop depth: 0 freq:0.33 size: 4 time: 13 predicate: (op2 == 0) op1 is compile time invariant op2 is compile time invariant IPA function summary for board_init/37 inlinable global time: 26.000000 self size: 9 global size: 9 min size: 12 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: led_onoff/30 function not considered for inlining loop depth: 0 freq:1.00 size: 2 time: 11callee size: 7 stack: 0 op0 is compile time invariant Lpuart_Uart_Ip_AsyncReceive/50 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant IPA function summary for system_reset/36 inlinable global time: 3.000000 self size: 4 global size: 4 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) calls: IPA function summary for Pit_Callback/35 inlinable global time: 17.500000 self size: 19 global size: 19 min size: 8 self stack: 0 global stack: 0 size:12.000000, time:10.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: led_onoff/30 function not considered for inlining loop depth: 0 freq:0.33 size: 2 time: 11callee size: 7 stack: 0 op0 is compile time invariant led_onoff/30 function not considered for inlining loop depth: 0 freq:0.17 size: 2 time: 11callee size: 7 stack: 0 op0 is compile time invariant IPA function summary for Adc1EndOfChainNoti/34 inlinable global time: 82.000000 self size: 38 global size: 38 min size: 38 self stack: 2 global stack: 2 size:16.000000, time:16.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Adc_Sar_Ip_StartConversion/49 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant op1 is compile time invariant get_average/32 function not considered for inlining loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant get_average/32 function not considered for inlining loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant IPA function summary for Adc0EndOfChainNoti/33 inlinable global time: 82.000000 self size: 38 global size: 38 min size: 38 self stack: 2 global stack: 2 size:16.000000, time:16.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Adc_Sar_Ip_StartConversion/49 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant op1 is compile time invariant get_average/32 function not considered for inlining loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant get_average/32 function not considered for inlining loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant IPA function summary for get_average/32 inlinable global time: 90.818182 self size: 17 global size: 17 min size: 0 self stack: 0 global stack: 0 size:13.000000, time:87.818182 size:3.000000, time:2.000000, executed if:(not inlined) size:1.000000, time:1.000000, nonconst if:(op1 changed) loop iterations:(op1 changed) calls: IPA function summary for set_pwm/31 inlinable global time: 20.500000 self size: 15 global size: 15 min size: 10 self stack: 0 global stack: 0 size:1.000000, time:1.000000 size:3.000000, time:2.000000, executed if:(not inlined) size:2.000000, time:2.000000, nonconst if:(op1 changed) size:2.000000, time:1.000000, executed if:(op1 <= 99), nonconst if:(op1 changed) && (op1 <= 99) size:2.000000, time:0.500000, executed if:(op1 != 0) && (op1 <= 99), nonconst if:(op1 changed) && (op1 != 0) && (op1 <= 99) calls: Flexio_Pwm_Ip_UpdatePeriodDuty/47 function body not available loop depth: 0 freq:1.00 size: 5 time: 14 op0 is compile time invariant op2 is compile time invariant IPA function summary for led_onoff/30 inlinable global time: 18.000000 self size: 14 global size: 14 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:2.000000, time:2.000000, nonconst if:(op0 changed) calls: Siul2_Dio_Ip_WritePin/45 function body not available loop depth: 0 freq:0.66 size: 4 time: 13 predicate: (op0 != 1) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant Siul2_Dio_Ip_WritePin/45 function body not available loop depth: 0 freq:0.34 size: 4 time: 13 predicate: (op0 == 1) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant Flattening functions: Overall time estimate: 655.292927 weighted by profile: 0.000000 Deciding on inlining of small functions. Starting with size 0. Enqueueing calls in debug_printf/44. Enqueueing calls in get_line/43. Enqueueing calls in put_char/42. Enqueueing calls in get_char/41. Enqueueing calls in Gvar_init/40. Enqueueing calls in PrintLogo/39. Enqueueing calls in UART0_RX_Callback/38. Enqueueing calls in board_init/37. Enqueueing calls in system_reset/36. Enqueueing calls in Pit_Callback/35. Enqueueing calls in Adc1EndOfChainNoti/34. Enqueueing calls in Adc0EndOfChainNoti/33. Enqueueing calls in get_average/32. Enqueueing calls in set_pwm/31. Enqueueing calls in led_onoff/30. Reclaiming functions: Reclaiming variables: Clearing address taken flags: Deciding on functions to be inlined into all callers and removing useless speculations: Overall time estimate: 655.292927 weighted by profile: 0.000000 Why inlining failed? function body not available : 16 calls, 14.330000 freq, 0 count function not inlinable : 9 calls, 7.262775 freq, 0 count call is unlikely and code size would grow : 14 calls, 14.765318 freq, 0 count IPA function summary for debug_printf/44 global time: 162.363637 self size: 19 global size: 19 min size: 24 self stack: 260 global stack: 260 estimated growth:123 size:4.000000, time:34.363637 size:3.000000, time:2.000000, executed if:(not inlined) calls: put_char/42 call is unlikely and code size would grow loop depth: 1 freq:8.09 size: 2 time: 11callee size: 3 stack: 0 strlen/56 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant __builtin_va_end/55 function body not available loop depth: 0 freq:1.00 size: 0 time: 0 op0 is compile time invariant vsprintf/54 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant __builtin_va_start/53 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant op1 is compile time invariant IPA function summary for get_line/43 inlinable global time: 31.099308 self size: 74 global size: 74 min size: 36 self stack: 0 global stack: 0 size:52.000000, time:12.112248 size:3.000000, time:2.000000, executed if:(not inlined) size:1.000000, time:0.134351, nonconst if:(op0 changed) array index:(op0 changed) calls: put_char/42 call is unlikely and code size would grow loop depth: 0 freq:0.02 size: 2 time: 11callee size: 3 stack: 0 put_char/42 call is unlikely and code size would grow loop depth: 0 freq:0.02 size: 2 time: 11callee size: 3 stack: 0 put_char/42 call is unlikely and code size would grow loop depth: 0 freq:0.02 size: 2 time: 11callee size: 3 stack: 0 get_char/41 call is unlikely and code size would grow loop depth: 0 freq:0.04 size: 3 time: 12callee size: 6 stack: 0 put_char/42 call is unlikely and code size would grow loop depth: 0 freq:0.07 size: 2 time: 11callee size: 3 stack: 0 debug_printf/44 function not inlinable loop depth: 0 freq:0.07 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not inlinable loop depth: 0 freq:0.20 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant get_char/41 call is unlikely and code size would grow loop depth: 0 freq:1.00 size: 3 time: 12callee size: 6 stack: 0 IPA function summary for put_char/42 inlinable global time: 15.000000 self size: 7 global size: 7 min size: 0 self stack: 0 global stack: 0 estimated growth:10 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Lpuart_Uart_Ip_SyncSend/52 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant IPA function summary for get_char/41 inlinable global time: 10.741800 self size: 13 global size: 13 min size: 10 self stack: 0 global stack: 0 estimated growth:14 size:9.500000, time:8.346650 size:3.500000, time:2.395150, executed if:(not inlined) calls: IPA function summary for Gvar_init/40 inlinable global time: 4.000000 self size: 5 global size: 5 min size: 0 self stack: 0 global stack: 0 size:2.000000, time:2.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: IPA function summary for PrintLogo/39 inlinable global time: 82.000000 self size: 20 global size: 20 min size: 34 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: debug_printf/44 function not inlinable loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not inlinable loop depth: 0 freq:1.00 size: 4 time: 13callee size: 9 stack:260 op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant debug_printf/44 function not inlinable loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not inlinable loop depth: 0 freq:1.00 size: 3 time: 12callee size: 9 stack:260 op0 is compile time invariant op1 is compile time invariant debug_printf/44 function not inlinable loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not inlinable loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant debug_printf/44 function not inlinable loop depth: 0 freq:1.00 size: 2 time: 11callee size: 9 stack:260 op0 is compile time invariant IPA function summary for UART0_RX_Callback/38 inlinable global time: 10.270000 self size: 15 global size: 15 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) size:2.000000, time:2.000000, nonconst if:(op2 changed) size:6.000000, time:1.980000, executed if:(op2 == 0) calls: Lpuart_Uart_Ip_SetRxBuffer/51 function body not available loop depth: 0 freq:0.33 size: 4 time: 13 predicate: (op2 == 0) op1 is compile time invariant op2 is compile time invariant IPA function summary for board_init/37 inlinable global time: 26.000000 self size: 9 global size: 9 min size: 12 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: led_onoff/30 call is unlikely and code size would grow loop depth: 0 freq:1.00 size: 2 time: 11callee size: 7 stack: 0 op0 is compile time invariant Lpuart_Uart_Ip_AsyncReceive/50 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant IPA function summary for system_reset/36 inlinable global time: 3.000000 self size: 4 global size: 4 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) calls: IPA function summary for Pit_Callback/35 inlinable global time: 17.500000 self size: 19 global size: 19 min size: 8 self stack: 0 global stack: 0 size:12.000000, time:10.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: led_onoff/30 call is unlikely and code size would grow loop depth: 0 freq:0.33 size: 2 time: 11callee size: 7 stack: 0 op0 is compile time invariant led_onoff/30 call is unlikely and code size would grow loop depth: 0 freq:0.17 size: 2 time: 11callee size: 7 stack: 0 op0 is compile time invariant IPA function summary for Adc1EndOfChainNoti/34 inlinable global time: 82.000000 self size: 38 global size: 38 min size: 38 self stack: 2 global stack: 2 size:16.000000, time:16.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Adc_Sar_Ip_StartConversion/49 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant op1 is compile time invariant get_average/32 call is unlikely and code size would grow loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant get_average/32 call is unlikely and code size would grow loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant IPA function summary for Adc0EndOfChainNoti/33 inlinable global time: 82.000000 self size: 38 global size: 38 min size: 38 self stack: 2 global stack: 2 size:16.000000, time:16.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Adc_Sar_Ip_StartConversion/49 function body not available loop depth: 0 freq:1.00 size: 3 time: 12 op0 is compile time invariant op1 is compile time invariant get_average/32 call is unlikely and code size would grow loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant get_average/32 call is unlikely and code size would grow loop depth: 0 freq:1.00 size: 4 time: 13callee size: 8 stack: 0 op0 is compile time invariant op1 is compile time invariant Adc_Sar_Ip_GetConvData/48 function body not available loop depth: 0 freq:1.00 size: 4 time: 13 op0 is compile time invariant op1 is compile time invariant IPA function summary for get_average/32 inlinable global time: 90.818182 self size: 17 global size: 17 min size: 13 self stack: 0 global stack: 0 estimated growth:36 size:13.000000, time:87.818182 size:3.000000, time:2.000000, executed if:(not inlined) size:1.000000, time:1.000000, nonconst if:(op1 changed) loop iterations:(op1 changed) calls: IPA function summary for set_pwm/31 inlinable global time: 20.500000 self size: 15 global size: 15 min size: 10 self stack: 0 global stack: 0 size:1.000000, time:1.000000 size:3.000000, time:2.000000, executed if:(not inlined) size:2.000000, time:2.000000, nonconst if:(op1 changed) size:2.000000, time:1.000000, executed if:(op1 <= 99), nonconst if:(op1 changed) && (op1 <= 99) size:2.000000, time:0.500000, executed if:(op1 != 0) && (op1 <= 99), nonconst if:(op1 changed) && (op1 != 0) && (op1 <= 99) calls: Flexio_Pwm_Ip_UpdatePeriodDuty/47 function body not available loop depth: 0 freq:1.00 size: 5 time: 14 op0 is compile time invariant op2 is compile time invariant IPA function summary for led_onoff/30 inlinable global time: 18.000000 self size: 14 global size: 14 min size: 1 self stack: 0 global stack: 0 estimated growth:9 size:1.000000, time:1.000000 size:3.000000, time:2.000000, executed if:(not inlined) size:2.000000, time:2.000000, nonconst if:(op0 changed) calls: Siul2_Dio_Ip_WritePin/45 function body not available loop depth: 0 freq:0.66 size: 4 time: 13 predicate: (op0 != 1) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant Siul2_Dio_Ip_WritePin/45 function body not available loop depth: 0 freq:0.34 size: 4 time: 13 predicate: (op0 == 1) op0 is compile time invariant op1 is compile time invariant op2 is compile time invariant Symbol table: strlen/56 (strlen) @0886b1c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: debug_printf/44 (118111600 (estimated locally),1.00 per call) Calls: __builtin_va_end/55 (__builtin_va_end) @0886b0e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: debug_printf/44 (118111600 (estimated locally),1.00 per call) Calls: vsprintf/54 (vsprintf) @0886b000 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: debug_printf/44 (118111600 (estimated locally),1.00 per call) Calls: __builtin_va_start/53 (__builtin_va_start) @0885cee0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: debug_printf/44 (118111600 (estimated locally),1.00 per call) Calls: Lpuart_Uart_Ip_SyncSend/52 (Lpuart_Uart_Ip_SyncSend) @0885cc40 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: put_char/42 (1073741824 (estimated locally),1.00 per call) Calls: Lpuart_Uart_Ip_SetRxBuffer/51 (Lpuart_Uart_Ip_SetRxBuffer) @0885c620 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: UART0_RX_Callback/38 (354334802 (estimated locally),0.33 per call) Calls: Lpuart_Uart_Ip_AsyncReceive/50 (Lpuart_Uart_Ip_AsyncReceive) @0885c460 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: board_init/37 (1073741824 (estimated locally),1.00 per call) Calls: Adc_Sar_Ip_StartConversion/49 (Adc_Sar_Ip_StartConversion) @087ba2a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Adc1EndOfChainNoti/34 (1073741824 (estimated locally),1.00 per call) Adc0EndOfChainNoti/33 (1073741824 (estimated locally),1.00 per call) Calls: Adc_Sar_Ip_GetConvData/48 (Adc_Sar_Ip_GetConvData) @087ba000 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: Adc1EndOfChainNoti/34 (1073741824 (estimated locally),1.00 per call) Adc1EndOfChainNoti/34 (1073741824 (estimated locally),1.00 per call) Adc0EndOfChainNoti/33 (1073741824 (estimated locally),1.00 per call) Adc0EndOfChainNoti/33 (1073741824 (estimated locally),1.00 per call) Calls: Flexio_Pwm_Ip_UpdatePeriodDuty/47 (Flexio_Pwm_Ip_UpdatePeriodDuty) @087bad20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: set_pwm/31 (1073741824 (estimated locally),1.00 per call) Calls: gb/46 (gb) @087be558 Type: variable Body removed by symtab_remove_unreachable_nodes Visibility: external public References: Referring: Gvar_init/40 (write)UART0_RX_Callback/38 (addr)board_init/37 (addr)Adc0EndOfChainNoti/33 (read)Adc0EndOfChainNoti/33 (write)Adc0EndOfChainNoti/33 (write)Adc1EndOfChainNoti/34 (addr)Adc1EndOfChainNoti/34 (write)UART0_RX_Callback/38 (read)UART0_RX_Callback/38 (read)UART0_RX_Callback/38 (write)Gvar_init/40 (write)get_char/41 (write)Pit_Callback/35 (read)Pit_Callback/35 (write)Pit_Callback/35 (read)Pit_Callback/35 (write)UART0_RX_Callback/38 (write)Adc1EndOfChainNoti/34 (read)Adc1EndOfChainNoti/34 (write)get_char/41 (read)get_char/41 (read)get_char/41 (read)get_char/41 (read)led_onoff/30 (write)Adc0EndOfChainNoti/33 (addr)Adc0EndOfChainNoti/33 (write)Adc0EndOfChainNoti/33 (read)Adc0EndOfChainNoti/33 (write)Adc0EndOfChainNoti/33 (write)Adc0EndOfChainNoti/33 (addr)Adc0EndOfChainNoti/33 (write)Adc1EndOfChainNoti/34 (write)Adc1EndOfChainNoti/34 (write)Adc1EndOfChainNoti/34 (read)Adc1EndOfChainNoti/34 (write)Adc1EndOfChainNoti/34 (write)Adc1EndOfChainNoti/34 (addr)Pit_Callback/35 (read)Pit_Callback/35 (write)get_line/43 (read)get_line/43 (addr)get_line/43 (read)get_line/43 (read)get_line/43 (write)get_line/43 (read)get_line/43 (write)get_line/43 (write)get_line/43 (write)get_line/43 (read)get_line/43 (write)get_line/43 (write)get_line/43 (addr)get_line/43 (read)get_line/43 (read)get_line/43 (read)get_line/43 (read)get_line/43 (read)get_line/43 (write)get_line/43 (read)get_line/43 (read)get_line/43 (read)get_line/43 (write)get_line/43 (write) Availability: not_available Varpool flags: Siul2_Dio_Ip_WritePin/45 (Siul2_Dio_Ip_WritePin) @087bab60 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: led_onoff/30 (708669605 (estimated locally),0.66 per call) led_onoff/30 (365072220 (estimated locally),0.34 per call) Calls: debug_printf/44 (debug_printf) @087ba700 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:118111600 (estimated locally) body optimize_size Called by: get_line/43 (70007698 (estimated locally),0.07 per call) get_line/43 (212144541 (estimated locally),0.20 per call) PrintLogo/39 (1073741824 (estimated locally),1.00 per call) PrintLogo/39 (1073741824 (estimated locally),1.00 per call) PrintLogo/39 (1073741824 (estimated locally),1.00 per call) PrintLogo/39 (1073741824 (estimated locally),1.00 per call) PrintLogo/39 (1073741824 (estimated locally),1.00 per call) PrintLogo/39 (1073741824 (estimated locally),1.00 per call) PrintLogo/39 (1073741824 (estimated locally),1.00 per call) Calls: put_char/42 (955630223 (estimated locally),8.09 per call) strlen/56 (118111600 (estimated locally),1.00 per call) __builtin_va_end/55 (118111600 (estimated locally),1.00 per call) vsprintf/54 (118111600 (estimated locally),1.00 per call) __builtin_va_start/53 (118111600 (estimated locally),1.00 per call) get_line/43 (get_line) @087ba460 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (read)gb/46 (addr)gb/46 (read)gb/46 (read)gb/46 (write)gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (write)gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (addr)gb/46 (read)gb/46 (read)gb/46 (read)gb/46 (read)gb/46 (read)gb/46 (write)gb/46 (read)gb/46 (read)gb/46 (read)gb/46 (write)gb/46 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: put_char/42 (23452579 (estimated locally),0.02 per call) put_char/42 (23452579 (estimated locally),0.02 per call) put_char/42 (23452579 (estimated locally),0.02 per call) get_char/41 (46905158 (estimated locally),0.04 per call) put_char/42 (70007698 (estimated locally),0.07 per call) debug_printf/44 (70007698 (estimated locally),0.07 per call) debug_printf/44 (212144541 (estimated locally),0.20 per call) get_char/41 (1073741824 (estimated locally),1.00 per call) put_char/42 (put_char) @087ba1c0 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: get_line/43 (23452579 (estimated locally),0.02 per call) get_line/43 (23452579 (estimated locally),0.02 per call) get_line/43 (23452579 (estimated locally),0.02 per call) get_line/43 (70007698 (estimated locally),0.07 per call) debug_printf/44 (955630223 (estimated locally),8.09 per call) Calls: Lpuart_Uart_Ip_SyncSend/52 (1073741824 (estimated locally),1.00 per call) get_char/41 (get_char) @087b4e00 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (read)gb/46 (read)gb/46 (read)gb/46 (read)gb/46 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: get_line/43 (46905158 (estimated locally),0.04 per call) get_line/43 (1073741824 (estimated locally),1.00 per call) Calls: Gvar_init/40 (Gvar_init) @087b48c0 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (write)gb/46 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: PrintLogo/39 (PrintLogo) @087b40e0 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: debug_printf/44 (1073741824 (estimated locally),1.00 per call) debug_printf/44 (1073741824 (estimated locally),1.00 per call) debug_printf/44 (1073741824 (estimated locally),1.00 per call) debug_printf/44 (1073741824 (estimated locally),1.00 per call) debug_printf/44 (1073741824 (estimated locally),1.00 per call) debug_printf/44 (1073741824 (estimated locally),1.00 per call) debug_printf/44 (1073741824 (estimated locally),1.00 per call) UART0_RX_Callback/38 (UART0_RX_Callback) @087b4d20 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (read)gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (addr) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Lpuart_Uart_Ip_SetRxBuffer/51 (354334802 (estimated locally),0.33 per call) board_init/37 (board_init) @087b4a80 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (addr) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: led_onoff/30 (1073741824 (estimated locally),1.00 per call) Lpuart_Uart_Ip_AsyncReceive/50 (1073741824 (estimated locally),1.00 per call) system_reset/36 (system_reset) @087b47e0 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Pit_Callback/35 (Pit_Callback) @087b4540 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (read)gb/46 (write)gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: led_onoff/30 (354334802 (estimated locally),0.33 per call) led_onoff/30 (182536110 (estimated locally),0.17 per call) Adc1EndOfChainNoti/34 (Adc1EndOfChainNoti) @087b42a0 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (addr)gb/46 (write)gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (addr)gb/46 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Adc_Sar_Ip_StartConversion/49 (1073741824 (estimated locally),1.00 per call) get_average/32 (1073741824 (estimated locally),1.00 per call) Adc_Sar_Ip_GetConvData/48 (1073741824 (estimated locally),1.00 per call) get_average/32 (1073741824 (estimated locally),1.00 per call) Adc_Sar_Ip_GetConvData/48 (1073741824 (estimated locally),1.00 per call) Adc0EndOfChainNoti/33 (Adc0EndOfChainNoti) @087b4000 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (addr)gb/46 (write)gb/46 (read)gb/46 (write)gb/46 (write)gb/46 (addr)gb/46 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Adc_Sar_Ip_StartConversion/49 (1073741824 (estimated locally),1.00 per call) get_average/32 (1073741824 (estimated locally),1.00 per call) Adc_Sar_Ip_GetConvData/48 (1073741824 (estimated locally),1.00 per call) get_average/32 (1073741824 (estimated locally),1.00 per call) Adc_Sar_Ip_GetConvData/48 (1073741824 (estimated locally),1.00 per call) get_average/32 (get_average) @087aac40 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:118111600 (estimated locally) body optimize_size Called by: Adc1EndOfChainNoti/34 (1073741824 (estimated locally),1.00 per call) Adc1EndOfChainNoti/34 (1073741824 (estimated locally),1.00 per call) Adc0EndOfChainNoti/33 (1073741824 (estimated locally),1.00 per call) Adc0EndOfChainNoti/33 (1073741824 (estimated locally),1.00 per call) Calls: set_pwm/31 (set_pwm) @087aae00 Type: function definition analyzed Visibility: externally_visible public References: pwm_idx/29 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Flexio_Pwm_Ip_UpdatePeriodDuty/47 (1073741824 (estimated locally),1.00 per call) led_onoff/30 (led_onoff) @087aab60 Type: function definition analyzed Visibility: externally_visible public References: gb/46 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: board_init/37 (1073741824 (estimated locally),1.00 per call) Pit_Callback/35 (354334802 (estimated locally),0.33 per call) Pit_Callback/35 (182536110 (estimated locally),0.17 per call) Calls: Siul2_Dio_Ip_WritePin/45 (708669605 (estimated locally),0.66 per call) Siul2_Dio_Ip_WritePin/45 (365072220 (estimated locally),0.34 per call) pwm_idx/29 (pwm_idx) @087a7a68 Type: variable definition analyzed Visibility: externally_visible public References: Referring: set_pwm/31 (read) Availability: available Varpool flags: initialized ;; Function led_onoff (led_onoff, funcdef_no=29, decl_uid=9850, cgraph_uid=30, symbol_order=30) led_onoff (int flag) { [local count: 1073741824]: # DEBUG BEGIN_STMT if (flag_2(D) == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 365072220]: # DEBUG BEGIN_STMT Siul2_Dio_Ip_WritePin (1076434692B, 13, 0); goto ; [100.00%] [local count: 708669605]: # DEBUG BEGIN_STMT Siul2_Dio_Ip_WritePin (1076434692B, 13, 1); [local count: 1073741824]: # DEBUG BEGIN_STMT gb.led_flag = flag_2(D); return; } ;; Function set_pwm (set_pwm, funcdef_no=30, decl_uid=9848, cgraph_uid=31, symbol_order=31) set_pwm (u32 ch, u32 ratio) { u32 val; u32 channel; unsigned int _1; unsigned char _2; short unsigned int _3; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT channel_7 = pwm_idx[ch_6(D)]; # DEBUG channel => channel_7 # DEBUG BEGIN_STMT if (ratio_8(D) > 99) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT if (ratio_8(D) == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 268435456]: # DEBUG BEGIN_STMT _1 = ratio_8(D) * 240; val_9 = _1 / 100; # DEBUG val => val_9 [local count: 1073741824]: # val_4 = PHI <240(2), 0(3), val_9(4)> # DEBUG val => val_4 # DEBUG BEGIN_STMT _2 = (unsigned char) channel_7; _3 = (short unsigned int) val_4; Flexio_Pwm_Ip_UpdatePeriodDuty (0, _2, 240, _3); return; } ;; Function get_average (get_average, funcdef_no=31, decl_uid=9853, cgraph_uid=32, symbol_order=32) get_average (u16 * val, int len) { int i; int sum; int max; int min; unsigned int i.0_1; unsigned int _2; u16 * _3; short unsigned int _4; int _5; int _10; int _11; int _12; int _13; int _18; u32 _21; [local count: 118111600]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG min => 65536 # DEBUG BEGIN_STMT # DEBUG max => -65537 # DEBUG BEGIN_STMT # DEBUG sum => 0 # DEBUG BEGIN_STMT # DEBUG i => 0 goto ; [100.00%] [local count: 955630223]: # DEBUG BEGIN_STMT i.0_1 = (unsigned int) i_17; _2 = i.0_1 * 2; _3 = val_23(D) + _2; _4 = *_3; _5 = (int) _4; sum_24 = _5 + sum_16; # DEBUG sum => sum_24 # DEBUG BEGIN_STMT max_9 = MAX_EXPR <_5, max_15>; # DEBUG max => max_9 # DEBUG BEGIN_STMT min_20 = MIN_EXPR <_5, min_14>; # DEBUG min => min_20 # DEBUG BEGIN_STMT i_25 = i_17 + 1; # DEBUG i => i_25 [local count: 1073741824]: # min_14 = PHI <65536(2), min_20(3)> # max_15 = PHI <-65537(2), max_9(3)> # sum_16 = PHI <0(2), sum_24(3)> # i_17 = PHI <0(2), i_25(3)> # DEBUG i => i_17 # DEBUG sum => sum_16 # DEBUG max => max_15 # DEBUG min => min_14 # DEBUG BEGIN_STMT if (i_17 < len_19(D)) goto ; [89.00%] else goto ; [11.00%] [local count: 118111601]: # min_6 = PHI # max_7 = PHI # sum_8 = PHI # DEBUG BEGIN_STMT _10 = sum_8 - max_7; _11 = _10 - min_6; _12 = len_19(D) + -2; _13 = _11 / _12; # DEBUG ret => (u16) _13 # DEBUG BEGIN_STMT _18 = _13 & 65535; _21 = (u32) _18; return _21; } ;; Function Adc0EndOfChainNoti (Adc0EndOfChainNoti, funcdef_no=32, decl_uid=9483, cgraph_uid=33, symbol_order=33) Adc0EndOfChainNoti () { volatile u16 data; short unsigned int _1; short unsigned int _2; int _3; short unsigned int data.5_4; int _5; int _6; short unsigned int _7; unsigned int _8; short unsigned int _9; short unsigned int _10; short unsigned int _11; int _12; short unsigned int data.6_13; int _14; int _15; short unsigned int _16; unsigned int _17; short unsigned int _18; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = Adc_Sar_Ip_GetConvData (0, 33); data ={v} _1; # DEBUG BEGIN_STMT _2 = gb.adc[2].idx; _3 = (int) _2; data.5_4 ={v} data; gb.adc[2].raw[_3] = data.5_4; # DEBUG BEGIN_STMT _5 = _3 + 1; _6 = _5 % 10; _7 = (short unsigned int) _6; gb.adc[2].idx = _7; # DEBUG BEGIN_STMT _8 = get_average (&gb.adc[2].raw, 10); _9 = (short unsigned int) _8; gb.adc[2].avr = _9; # DEBUG BEGIN_STMT _10 = Adc_Sar_Ip_GetConvData (0, 47); data ={v} _10; # DEBUG BEGIN_STMT _11 = gb.adc[3].idx; _12 = (int) _11; data.6_13 ={v} data; gb.adc[3].raw[_12] = data.6_13; # DEBUG BEGIN_STMT _14 = _12 + 1; _15 = _14 % 10; _16 = (short unsigned int) _15; gb.adc[3].idx = _16; # DEBUG BEGIN_STMT _17 = get_average (&gb.adc[3].raw, 10); _18 = (short unsigned int) _17; gb.adc[3].avr = _18; # DEBUG BEGIN_STMT Adc_Sar_Ip_StartConversion (0, 0); return; } ;; Function Adc1EndOfChainNoti (Adc1EndOfChainNoti, funcdef_no=33, decl_uid=9486, cgraph_uid=34, symbol_order=34) Adc1EndOfChainNoti () { volatile u16 data; short unsigned int _1; short unsigned int _2; int _3; short unsigned int data.7_4; int _5; int _6; short unsigned int _7; unsigned int _8; short unsigned int _9; short unsigned int _10; short unsigned int _11; int _12; short unsigned int data.8_13; int _14; int _15; short unsigned int _16; unsigned int _17; short unsigned int _18; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = Adc_Sar_Ip_GetConvData (1, 35); data ={v} _1; # DEBUG BEGIN_STMT _2 = gb.adc[1].idx; _3 = (int) _2; data.7_4 ={v} data; gb.adc[1].raw[_3] = data.7_4; # DEBUG BEGIN_STMT _5 = _3 + 1; _6 = _5 % 10; _7 = (short unsigned int) _6; gb.adc[1].idx = _7; # DEBUG BEGIN_STMT _8 = get_average (&gb.adc[1].raw, 10); _9 = (short unsigned int) _8; gb.adc[1].avr = _9; # DEBUG BEGIN_STMT _10 = Adc_Sar_Ip_GetConvData (1, 36); data ={v} _10; # DEBUG BEGIN_STMT _11 = gb.adc[0].idx; _12 = (int) _11; data.8_13 ={v} data; gb.adc[0].raw[_12] = data.8_13; # DEBUG BEGIN_STMT _14 = _12 + 1; _15 = _14 % 10; _16 = (short unsigned int) _15; gb.adc[0].idx = _16; # DEBUG BEGIN_STMT _17 = get_average (&gb.adc[0].raw, 10); _18 = (short unsigned int) _17; gb.adc[0].avr = _18; # DEBUG BEGIN_STMT Adc_Sar_Ip_StartConversion (1, 0); return; } ;; Function Pit_Callback (Pit_Callback, funcdef_no=34, decl_uid=9887, cgraph_uid=35, symbol_order=35) Pit_Callback () { long unsigned int _1; long unsigned int _2; unsigned int _3; unsigned int _4; int _5; [local count: 1073741824]: # DEBUG BEGIN_STMT _1 = gb.tmr_cnt; _2 = _1 + 1; gb.tmr_cnt = _2; # DEBUG BEGIN_STMT _3 = gb.led_cnt; _4 = _3 + 1; gb.led_cnt = _4; # DEBUG BEGIN_STMT if (_4 > 1000) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT gb.led_cnt = 0; # DEBUG BEGIN_STMT _5 = gb.led_flag; if (_5 == 1) goto ; [34.00%] else goto ; [66.00%] [local count: 182536110]: # DEBUG BEGIN_STMT led_onoff (0); goto ; [100.00%] [local count: 354334802]: # DEBUG BEGIN_STMT led_onoff (1); [local count: 1073741824]: return; } ;; Function system_reset (system_reset, funcdef_no=35, decl_uid=9845, cgraph_uid=36, symbol_order=36) system_reset () { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG addr => 1076297728B # DEBUG BEGIN_STMT MEM[(u32 *)1076297728B] = 1; return; } ;; Function board_init (board_init, funcdef_no=36, decl_uid=9841, cgraph_uid=37, symbol_order=37) board_init () { [local count: 1073741824]: # DEBUG BEGIN_STMT Lpuart_Uart_Ip_AsyncReceive (0, &gb.utemp, 1); # DEBUG BEGIN_STMT led_onoff (0); return; } ;; Function UART0_RX_Callback (UART0_RX_Callback, funcdef_no=37, decl_uid=5326, cgraph_uid=38, symbol_order=38) UART0_RX_Callback (uint32 instance, void * driverState, Lpuart_Uart_Ip_EventType event, void * userData) { unsigned int _1; char _2; unsigned int _3; unsigned int _4; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT if (event_6(D) == 0) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT _1 = gb.ubuf_tail; _2 = gb.utemp[0]; gb.ubuf[_1] = _2; # DEBUG BEGIN_STMT _3 = _1 + 1; _4 = _3 & 255; gb.ubuf_tail = _4; # DEBUG BEGIN_STMT Lpuart_Uart_Ip_SetRxBuffer (instance_10(D), &gb.utemp, 1); [local count: 1073741824]: return; } ;; Function Gvar_init (Gvar_init, funcdef_no=39, decl_uid=9831, cgraph_uid=40, symbol_order=40) Gvar_init () { [local count: 1073741824]: # DEBUG BEGIN_STMT gb.ubuf_head = 0; # DEBUG BEGIN_STMT gb.ubuf_tail = 0; return; } ;; Function get_char (get_char, funcdef_no=40, decl_uid=9839, cgraph_uid=41, symbol_order=41) get_char (char * ch) { unsigned int _1; unsigned int _2; char _3; unsigned int _4; unsigned int _5; unsigned int _6; int _7; [local count: 1073741824]: # DEBUG BEGIN_STMT _1 = gb.ubuf_head; _2 = gb.ubuf_tail; if (_1 == _2) goto ; [20.97%] else goto ; [79.03%] [local count: 848578164]: # DEBUG BEGIN_STMT _3 = gb.ubuf[_1]; *ch_10(D) = _3; # DEBUG BEGIN_STMT _4 = gb.ubuf_head; _5 = _4 + 1; _6 = _5 & 255; gb.ubuf_head = _6; # DEBUG BEGIN_STMT [local count: 1073741824]: # _7 = PHI <1(2), 0(3)> return _7; } ;; Function put_char (put_char, funcdef_no=41, decl_uid=9833, cgraph_uid=42, symbol_order=42) put_char (char ch) { [local count: 1073741824]: # DEBUG BEGIN_STMT Lpuart_Uart_Ip_SyncSend (0, &ch, 1); return; } ;; Function debug_printf (debug_printf, funcdef_no=43, decl_uid=9835, cgraph_uid=44, symbol_order=44) debug_printf (char * msg) { u8 len; u8 i; struct va_list argptr; char str[256]; unsigned int _1; int _2; char _3; [local count: 118111600]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT __builtin_va_start (&argptr, 0); # DEBUG BEGIN_STMT vsprintf (&str, msg_8(D), argptr); # DEBUG BEGIN_STMT __builtin_va_end (&argptr); # DEBUG BEGIN_STMT _1 = strlen (&str); len_11 = (u8) _1; # DEBUG len => len_11 # DEBUG BEGIN_STMT # DEBUG i => 0 goto ; [100.00%] [local count: 955630223]: # DEBUG BEGIN_STMT _2 = (int) i_4; _3 = str[_2]; put_char (_3); # DEBUG BEGIN_STMT i_15 = i_4 + 1; # DEBUG i => i_15 [local count: 1073741824]: # i_4 = PHI <0(2), i_15(3)> # DEBUG i => i_4 # DEBUG BEGIN_STMT if (i_4 < len_11) goto ; [89.00%] else goto ; [11.00%] [local count: 118111601]: str ={v} {CLOBBER}; argptr ={v} {CLOBBER}; return; } ;; Function PrintLogo (PrintLogo, funcdef_no=38, decl_uid=9837, cgraph_uid=39, symbol_order=39) PrintLogo () { [local count: 1073741824]: # DEBUG BEGIN_STMT debug_printf ("\n\r\n"); # DEBUG BEGIN_STMT debug_printf ("================================================\r\n"); # DEBUG BEGIN_STMT debug_printf (" MR S32K344 APPLICATION\n"); # DEBUG BEGIN_STMT debug_printf (" Version %04X\n", 1); # DEBUG BEGIN_STMT debug_printf (" Author : sihong89@gmail.com\n"); # DEBUG BEGIN_STMT debug_printf (" Last compiled : %s %s\n", "Oct 27 2021", "13:34:26"); # DEBUG BEGIN_STMT debug_printf ("================================================\r\n"); return; } ;; Function get_line (get_line, funcdef_no=42, decl_uid=9843, cgraph_uid=43, symbol_order=43) get_line (u32 max_len) { unsigned int _1; char * _2; int _3; unsigned int _4; char _5; unsigned int _6; unsigned int _7; char _8; unsigned int _9; unsigned int _10; char _11; unsigned int _12; char * _13; int _14; unsigned int _15; unsigned int _16; char _17; unsigned int _18; char _19; unsigned int _20; unsigned int _21; unsigned int _22; unsigned int _23; char _24; unsigned int _25; unsigned int _26; int _27; [local count: 1073741824]: # DEBUG BEGIN_STMT _1 = gb.cmd_idx; _2 = &gb.cmd_buf[_1]; _3 = get_char (_2); if (_3 == 1) goto ; [20.97%] else goto ; [79.03%] [local count: 848578164]: # DEBUG BEGIN_STMT _4 = gb.cmd_idx; _5 = gb.cmd_buf[_4]; switch (_5) [25.00%], case 0: [25.00%], case 8: [25.00%], case 10: [25.00%], case 13: [25.00%]> [local count: 212144541]: : # DEBUG BEGIN_STMT gb.cmd_idx = 0; # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 212144541]: : # DEBUG BEGIN_STMT debug_printf ("\r\n"); # DEBUG BEGIN_STMT _6 = gb.cmd_idx; gb.cmd_buf[_6] = 0; # DEBUG BEGIN_STMT gb.cmd_idx = 0; # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 212144541]: : # DEBUG BEGIN_STMT if (_4 != 0) goto ; [33.00%] else goto ; [67.00%] [local count: 70007698]: # DEBUG BEGIN_STMT _7 = _4 + 4294967295; gb.cmd_idx = _7; # DEBUG BEGIN_STMT debug_printf ("\b \b"); goto ; [100.00%] [local count: 212144541]: : # DEBUG BEGIN_STMT _8 = _5 + 224; if (_8 <= 94) goto ; [33.00%] else goto ; [67.00%] [local count: 70007698]: # DEBUG BEGIN_STMT put_char (_5); # DEBUG BEGIN_STMT _9 = gb.cmd_idx; _10 = _9 + 1; gb.cmd_idx = _10; goto ; [100.00%] [local count: 142136842]: # DEBUG BEGIN_STMT _11 = _5 + 80; if (_11 <= 24) goto ; [33.00%] else goto ; [67.00%] [local count: 46905158]: # DEBUG BEGIN_STMT _12 = _4 + 1; gb.cmd_idx = _12; # DEBUG BEGIN_STMT _13 = &gb.cmd_buf[_12]; _14 = get_char (_13); if (_14 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 23452579]: # DEBUG BEGIN_STMT _15 = gb.cmd_idx; _16 = _15 + 4294967295; _17 = gb.cmd_buf[_16]; put_char (_17); # DEBUG BEGIN_STMT _18 = gb.cmd_idx; _19 = gb.cmd_buf[_18]; put_char (_19); # DEBUG BEGIN_STMT _20 = gb.cmd_idx; _21 = _20 + 1; gb.cmd_idx = _21; goto ; [100.00%] [local count: 23452579]: # DEBUG BEGIN_STMT _22 = gb.cmd_idx; _23 = _22 + 4294967295; _24 = gb.cmd_buf[_23]; put_char (_24); [local count: 424289081]: # DEBUG BEGIN_STMT _25 = gb.cmd_idx; if (_25 >= max_len_46(D)) goto ; [34.00%] else goto ; [66.00%] [local count: 144258288]: # DEBUG BEGIN_STMT _26 = max_len_46(D) + 4294967295; gb.cmd_buf[_26] = 0; # DEBUG BEGIN_STMT gb.cmd_idx = 0; # DEBUG BEGIN_STMT [local count: 1073741823]: # _27 = PHI <1(2), 0(4), 0(5), 0(15), 1(14)> return _27; }