ADM/GW/Debug_FLASH/RTD/src/Emios_Pwm_Ip.c.076i.inline
3minbe f7e8a96a61 1.주행안전 시나리오 기반 로직 최신화
2.주행안전 시나리오 기반 VCU CAN 수정
3.주행안전 시나리오 기반 DBC 최신화
2025-07-16 17:20:17 +09:00

8451 lines
288 KiB
Plaintext

IPA function summary for Emios_Pwm_Ip_SyncUpdate/90 inlinable
global time: 313.372623
self size: 49
global size: 49
min size: 26
self stack: 0
global stack: 0
size:33.000000, time:260.634778
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 0 freq:1.00 size: 3 time: 12
op0 change 99.990000% of time
op1 change 99.990000% of time
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 1 freq:0.21 size: 3 time: 12
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 1 freq:0.39 size: 3 time: 12
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 1 freq:2.43 size: 4 time: 13callee size:15 stack: 0
op0 change 41.170000% of time
IPA function summary for Emios_Pwm_Ip_ComparatorTransferDisable/89 inlinable
global time: 34.000000
self size: 8
global size: 8
min size: 10
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_30/126 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Mcl_Ip_ComparatorTransferDisable/125 function body not available
loop depth: 0 freq:1.00 size: 3 time: 12
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_30/124 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_ComparatorTransferEnable/88 inlinable
global time: 34.000000
self size: 8
global size: 8
min size: 10
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_29/123 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 0 freq:1.00 size: 3 time: 12
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_29/121 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetClockPs/87 inlinable
global time: 43.000000
self size: 17
global size: 17
min size: 12
self stack: 0
global stack: 0
size:8.000000, time:8.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_28/120 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetExtendedPrescaler/39 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_28/119 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetBusSelected/86 inlinable
global time: 36.000000
self size: 10
global size: 10
min size: 12
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_27/118 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetCounterBus/22 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_27/117 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetPreEnableClock/85 inlinable
global time: 36.000000
self size: 10
global size: 10
min size: 12
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_26/116 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetPrescalerEnable/15 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 5 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_26/115 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetMasterBusChannel/84 inlinable
global time: 20.500000
self size: 18
global size: 18
min size: 8
self stack: 0
global stack: 0
size:9.000000, time:5.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:0.500000, nonconst if:(op1 changed)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
IPA function summary for Emios_Pwm_Ip_GetChannelMode/83 inlinable
global time: 16.000000
self size: 8
global size: 8
min size: 8
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_SetOutputToNormal/82 inlinable
global time: 46.406904
self size: 56
global size: 56
min size: 12
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:0.680000, nonconst if:(op4 changed)
size:2.000000, time:0.542368, executed if:(op4 != 88), nonconst if:(op4 changed) && (op4 != 88)
size:2.000000, time:0.357963, executed if:(op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op4 != 90) && (op4 != 88)
size:2.000000, time:0.285511, executed if:(op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:2.000000, time:0.188437, executed if:(op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op2 changed) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:1.000000, time:0.032034, executed if:(op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op3 changed) && (op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:4.000000, time:0.339051, executed if:(op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88)
size:1.000000, time:0.084763, executed if:(op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88)
size:4.000000, time:0.644074, executed if:(op4 == 88 || op4 == 90)
size:1.000000, time:0.161019, executed if:(op4 == 88 || op4 == 90), nonconst if:(op4 changed) && (op4 == 88 || op4 == 90)
size:1.000000, time:0.161019, executed if:(op4 == 88 || op4 == 90), nonconst if:(op3 changed) && (op4 == 88 || op4 == 90)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_25/114 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetPwmModePol/28 function not considered for inlining
loop depth: 0 freq:0.06 size: 5 time: 14callee size: 5 stack: 0 predicate: (op2 != 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.03 size: 4 time: 13callee size: 4 stack: 0 predicate: (op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
Emios_Pwm_Ip_SetPwmModePol/28 function not considered for inlining
loop depth: 0 freq:0.03 size: 5 time: 14callee size: 5 stack: 0 predicate: (op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.08 size: 4 time: 13callee size: 4 stack: 0 predicate: (op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88)
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.16 size: 4 time: 13callee size: 4 stack: 0 predicate: (op4 == 88 || op4 == 90)
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_25/113 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetOutputState/81 inlinable
global time: 38.500000
self size: 25
global size: 25
min size: 4
self stack: 0
global stack: 0
size:11.000000, time:11.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:4.000000, time:2.000000, executed if:(op2 != 0)
size:3.000000, time:1.500000, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_24/112 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_24/111 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetOutputState/80 inlinable
global time: 7.000000
self size: 8
global size: 8
min size: 0
self stack: 0
global stack: 0
size:5.000000, time:5.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetFlagRequest/79 inlinable
global time: 35.500000
self size: 43
global size: 43
min size: 4
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:8.000000, time:4.000000, nonconst if:(op2 changed)
size:8.000000, time:2.000000, executed if:(op2 == 2)
size:11.000000, time:1.750000, executed if:(op2 == 1)
size:7.000000, time:1.750000, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_23/110 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_23/109 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetFlagRequest/78 inlinable
global time: 9.000000
self size: 12
global size: 12
min size: 0
self stack: 0
global stack: 0
size:9.000000, time:7.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_ChannelStopDebugMode/77 inlinable
global time: 26.000000
self size: 9
global size: 9
min size: 4
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_22/108 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_22/107 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_ChannelEnterDebugMode/76 inlinable
global time: 29.600000
self size: 14
global size: 14
min size: 4
self stack: 0
global stack: 0
size:9.000000, time:7.600000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_21/106 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_21/105 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetTriggerPlacement/75 inlinable
global time: 57.000000
self size: 22
global size: 22
min size: 22
self stack: 0
global stack: 0
size:8.000000, time:8.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_20/104 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetCounterBusMode/51 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size:12 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_20/103 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetTriggerPlacement/74 inlinable
global time: 5.000000
self size: 6
global size: 6
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)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetDeadTime/73 inlinable
global time: 24.000000
self size: 7
global size: 7
min size: 4
self stack: 0
global stack: 0
size:2.000000, time:2.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_19/102 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_19/101 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetDeadTime/72 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)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetPhaseShift/71 inlinable
global time: 115.086954
self size: 59
global size: 59
min size: 56
self stack: 0
global stack: 0
size:28.000000, time:13.086954
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_18/100 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetCounterBusMode/51 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size:12 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetDutyCycle/68 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:22 stack: 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_18/99 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_GetPhaseShift/70 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)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetDutyCycle/69 inlinable
global time: 57.032400
self size: 54
global size: 54
min size: 62
self stack: 0
global stack: 0
size:20.000000, time:8.032400
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_17/98 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetDutyCycleOpwmt/59 function not considered for inlining
loop depth: 0 freq:0.04 size: 5 time: 14callee size:24 stack: 0
Emios_Pwm_Ip_SetDutyCycleDaoc/61 function not considered for inlining
loop depth: 0 freq:0.03 size: 5 time: 14callee size:39 stack: 0
Emios_Pwm_Ip_SetDutyCycleOpwmb/57 function not considered for inlining
loop depth: 0 freq:0.06 size: 5 time: 14callee size:22 stack: 0
Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 function not considered for inlining
loop depth: 0 freq:0.41 size: 5 time: 14callee size:33 stack: 0
Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 function not considered for inlining
loop depth: 0 freq:0.47 size: 5 time: 14callee size:22 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_17/97 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_GetDutyCycle/68 inlinable
global time: 30.550000
self size: 44
global size: 44
min size: 26
self stack: 0
global stack: 0
size:28.000000, time:10.150000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:0.20 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:0.20 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_SetPeriod/67 inlinable
global time: 26.500000
self size: 10
global size: 10
min size: 4
self stack: 0
global stack: 0
size:2.000000, time:2.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:1.000000, time:0.500000, executed if:(op2 != 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_16/96 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_16/95 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetPeriod/66 inlinable
global time: 26.324659
self size: 26
global size: 26
min size: 26
self stack: 0
global stack: 0
size:10.000000, time:6.446113
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:0.18 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:0.18 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_ForceMatchTrailingEdge/65 inlinable
global time: 36.000000
self size: 10
global size: 10
min size: 12
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_15/94 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetForceMatchB/21 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 5 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_15/93 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_ForceMatchLeadingEdge/64 inlinable
global time: 36.000000
self size: 10
global size: 10
min size: 12
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_14/92 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetForceMatchA/20 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 5 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_14/91 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_DeInitChannel/63 inlinable
global time: 25.020000
self size: 19
global size: 19
min size: 8
self stack: 0
global stack: 0
size:12.000000, time:10.020000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_InitChannel/62 inlinable
global time: 62.925524
self size: 84
global size: 84
min size: 46
self stack: 0
global stack: 0
size:41.000000, time:22.674187
size:8.000000, time:5.228396, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 0] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 32] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 32] changed)
size:4.000000, time:1.955200, executed if:(op1[ref offset: 32] != 255)
array index:(op1[ref offset: 0] changed) && (op0 changed)
calls:
Emios_Pwm_Ip_SetPrescalerSource/40 function not considered for inlining
loop depth: 0 freq:0.49 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetExtendedPrescaler/39 function not considered for inlining
loop depth: 0 freq:0.49 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_InitDoubleCompareMode/60 function not considered for inlining
loop depth: 0 freq:0.17 size: 3 time: 12callee size:58 stack: 0
Emios_Pwm_Ip_InitTriggerMode/58 function not considered for inlining
loop depth: 0 freq:0.17 size: 3 time: 12callee size:41 stack: 0
Emios_Pwm_Ip_InitEdgePlacementMode/56 function not considered for inlining
loop depth: 0 freq:0.17 size: 3 time: 12callee size:20 stack: 0
Emios_Pwm_Ip_InitDeadTimeMode/54 function not considered for inlining
loop depth: 0 freq:0.17 size: 3 time: 12callee size:35 stack: 0
Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 function not considered for inlining
loop depth: 0 freq:0.17 size: 3 time: 12callee size:19 stack: 0
Emios_Pwm_Ip_SetOutDisableSource/14 function not considered for inlining
loop depth: 0 freq:0.49 size: 4 time: 13callee size: 4 stack: 0 predicate: (op1[ref offset: 32] != 255)
IPA function summary for Emios_Pwm_Ip_SetDutyCycleDaoc/61 inlinable
global time: 47.205975
self size: 79
global size: 79
min size: 16
self stack: 0
global stack: 0
size:25.000000, time:15.480000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:1.503750, nonconst if:(op2 changed)
size:31.000000, time:5.349414, executed if:(op2 != 0)
size:1.000000, time:0.122811, executed if:(op2 != 0), nonconst if:(op2 changed) && (op2 != 0)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.12 size: 4 time: 13callee size: 4 stack: 0 predicate: (op2 != 0)
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.13 size: 4 time: 13callee size: 4 stack: 0 predicate: (op2 != 0)
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.50 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetMasterBusChannel/84 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 9 stack: 0
IPA function summary for Emios_Pwm_Ip_InitDoubleCompareMode/60 inlinable
global time: 119.520080
self size: 116
global size: 116
min size: 64
self stack: 0
global stack: 0
size:63.500000, time:39.856332
size:15.500000, time:9.663748, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 0] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 160] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 160] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 64] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 64] changed)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.33 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.34 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.33 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.66 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.34 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/22 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetMasterBusChannel/84 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 9 stack: 0
IPA function summary for Emios_Pwm_Ip_SetDutyCycleOpwmt/59 inlinable
global time: 40.338000
self size: 48
global size: 48
min size: 18
self stack: 0
global stack: 0
size:13.000000, time:5.360000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:0.830000, nonconst if:(op2 changed)
size:7.000000, time:1.742400, executed if:(op2 != 0)
size:9.000000, time:1.989900, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_SetInterruptRequest/18 function not considered for inlining
loop depth: 0 freq:0.11 size: 4 time: 13callee size: 5 stack: 0 predicate: (op2 != 0)
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
IPA function summary for Emios_Pwm_Ip_InitTriggerMode/58 inlinable
global time: 116.290000
self size: 83
global size: 83
min size: 52
self stack: 0
global stack: 0
size:42.000000, time:37.460000
size:13.000000, time:9.830000, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 0] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 16] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 16] changed)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.66 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.34 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/22 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetCounterBusMode/51 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size:12 stack: 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size: 7 stack: 0
IPA function summary for Emios_Pwm_Ip_SetDutyCycleOpwmb/57 inlinable
global time: 41.599800
self size: 45
global size: 45
min size: 18
self stack: 0
global stack: 0
size:8.000000, time:6.500000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:1.000000, nonconst if:(op2 changed)
size:12.000000, time:1.761200, executed if:(op2 != 0)
size:7.000000, time:1.750000, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_SetInterruptRequest/18 function not considered for inlining
loop depth: 0 freq:0.12 size: 4 time: 13callee size: 5 stack: 0 predicate: (op2 != 0)
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
IPA function summary for Emios_Pwm_Ip_InitEdgePlacementMode/56 inlinable
global time: 53.320000
self size: 41
global size: 41
min size: 16
self stack: 0
global stack: 0
size:23.500000, time:19.820000
size:9.500000, time:7.500000, executed if:(not inlined)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/22 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
IPA function summary for Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 inlinable
global time: 55.466400
self size: 67
global size: 67
min size: 26
self stack: 0
global stack: 0
size:5.000000, time:5.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:1.000000, nonconst if:(op2 changed)
size:15.000000, time:2.133400, executed if:(op2 != 0)
size:1.000000, time:0.122200, executed if:(op2 != 0), nonconst if:(op2 changed) && (op2 != 0)
size:24.000000, time:3.622200, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_SetInterruptRequest/18 function not considered for inlining
loop depth: 0 freq:0.12 size: 4 time: 13callee size: 5 stack: 0 predicate: (op2 != 0)
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:1.00 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetPwmMode/27 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_InitDeadTimeMode/54 inlinable
global time: 80.269400
self size: 70
global size: 70
min size: 32
self stack: 0
global stack: 0
size:17.500000, time:15.680000
size:8.500000, time:7.000000, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 160] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 160] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 176] changed) && (not inlined)
size:2.500000, time:1.820000, nonconst if:(op1[ref offset: 176] changed)
size:2.000000, time:2.000000, nonconst if:(op1[ref offset: 160] changed || op1[ref offset: 176] changed)
size:1.000000, time:0.389400, executed if:(op1[ref offset: 176] > 1), nonconst if:(op1[ref offset: 176] changed) && (op1[ref offset: 176] > 1)
size:0.500000, time:0.194700, executed if:(op1[ref offset: 176] > 1) && (not inlined), nonconst if:(op1[ref offset: 0] changed) && (op1[ref offset: 176] > 1) && (not inlined)
size:0.500000, time:0.194700, executed if:(op1[ref offset: 176] > 1), nonconst if:(op1[ref offset: 0] changed) && (op1[ref offset: 176] > 1)
size:0.500000, time:0.194700, executed if:(op1[ref offset: 176] > 1) && (not inlined), nonconst if:(op1[ref offset: 16] changed) && (op1[ref offset: 176] > 1) && (not inlined)
size:0.500000, time:0.194700, executed if:(op1[ref offset: 176] > 1), nonconst if:(op1[ref offset: 16] changed) && (op1[ref offset: 176] > 1)
size:2.500000, time:0.973500, executed if:(op1[ref offset: 176] > 1)
size:0.500000, time:0.194700, executed if:(op1[ref offset: 176] > 1) && (not inlined)
size:0.500000, time:0.135300, executed if:(op1[ref offset: 176] <= 1) && (not inlined), nonconst if:(op1[ref offset: 0] changed) && (op1[ref offset: 176] <= 1) && (not inlined)
size:0.500000, time:0.135300, executed if:(op1[ref offset: 176] <= 1), nonconst if:(op1[ref offset: 0] changed) && (op1[ref offset: 176] <= 1)
size:0.500000, time:0.135300, executed if:(op1[ref offset: 176] <= 1) && (not inlined), nonconst if:(op1[ref offset: 16] changed) && (op1[ref offset: 176] <= 1) && (not inlined)
size:0.500000, time:0.135300, executed if:(op1[ref offset: 176] <= 1), nonconst if:(op1[ref offset: 16] changed) && (op1[ref offset: 176] <= 1)
size:2.500000, time:0.676500, executed if:(op1[ref offset: 176] <= 1)
size:0.500000, time:0.135300, executed if:(op1[ref offset: 176] <= 1) && (not inlined)
size:0.500000, time:0.170000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
size:0.500000, time:0.170000, nonconst if:(op1[ref offset: 0] changed)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.66 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:0.34 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/22 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:0.39 size: 5 time: 14callee size: 7 stack: 0 predicate: (op1[ref offset: 176] > 1)
Emios_Pwm_Ip_GetCounterBusPeriod/50 function not considered for inlining
loop depth: 0 freq:0.27 size: 5 time: 14callee size: 7 stack: 0 predicate: (op1[ref offset: 176] <= 1)
IPA function summary for Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 inlinable
global time: 16.449850
self size: 45
global size: 45
min size: 0
self stack: 0
global stack: 0
size:17.000000, time:9.875000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:0.750000, nonconst if:(op2 changed)
size:12.000000, time:1.320900, executed if:(op2 != 0)
size:7.000000, time:1.312500, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_SetInterruptRequest/18 function not considered for inlining
loop depth: 0 freq:0.09 size: 4 time: 13callee size: 5 stack: 0 predicate: (op2 != 0)
IPA function summary for Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 inlinable
global time: 52.320000
self size: 38
global size: 38
min size: 16
self stack: 0
global stack: 0
size:22.000000, time:19.320000
size:8.000000, time:7.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_SetEdgePolarity/24 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/22 function not considered for inlining
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
IPA function summary for Emios_Pwm_Ip_GetCounterBusMode/51 inlinable
global time: 17.000000
self size: 25
global size: 25
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:8.000000, time:4.000000, nonconst if:(op2 changed)
size:1.000000, time:0.250000, executed if:(op2 == 1), nonconst if:(op1 changed) && (op2 == 1)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_GetChannelPwmMode/29 function not considered for inlining
loop depth: 0 freq:0.25 size: 4 time: 13callee size: 8 stack: 0 predicate: (op2 == 2)
op1 is compile time invariant
Emios_Pwm_Ip_GetChannelPwmMode/29 function not considered for inlining
loop depth: 0 freq:0.25 size: 4 time: 13callee size: 8 stack: 0 predicate: (op2 == 1)
Emios_Pwm_Ip_GetChannelPwmMode/29 function not considered for inlining
loop depth: 0 freq:0.25 size: 4 time: 13callee size: 8 stack: 0 predicate: (op2 == 0)
op1 is compile time invariant
IPA function summary for Emios_Pwm_Ip_GetCounterBusPeriod/50 inlinable
global time: 7.554400
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:(op2 changed)
size:2.000000, time:1.000000, executed if:(op2 != 0), nonconst if:(op2 changed) && (op2 != 0)
size:2.000000, time:0.660000, executed if:(op2 != 2) && (op2 != 0), nonconst if:(op2 changed) && (op2 != 2) && (op2 != 0)
size:1.000000, time:0.112200, executed if:(op2 == 1) && (op2 != 2) && (op2 != 0), nonconst if:(op1 changed) && (op2 == 1) && (op2 != 2) && (op2 != 0)
size:1.000000, time:0.112200, executed if:(op2 == 1) && (op2 != 2) && (op2 != 0)
size:1.000000, time:0.170000, executed if:(op2 == 2) && (op2 != 0)
size:1.000000, time:0.500000, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetPrescalerSource/40 inlinable
global time: 8.000000
self size: 9
global size: 9
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetExtendedPrescaler/39 inlinable
global time: 8.000000
self size: 9
global size: 9
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_GetChannelPwmMode/29 inlinable
global time: 8.000400
self size: 17
global size: 17
min size: 0
self stack: 0
global stack: 0
size:13.500000, time:5.500000
size:3.500000, time:2.500400, executed if:(not inlined)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetPwmModePol/28 inlinable
global time: 10.000000
self size: 11
global size: 11
min size: 0
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:1.000000, time:1.000000, nonconst if:(op2 changed)
size:2.000000, time:2.000000, nonconst if:(op3 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_GetPwmMode/27 inlinable
global time: 9.999400
self size: 31
global size: 31
min size: 0
self stack: 0
global stack: 0
size:27.500000, time:7.500000
size:3.500000, time:2.499400, executed if:(not inlined)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetEdgePolarity/24 inlinable
global time: 8.000000
self size: 9
global size: 9
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_GetCounterBus/23 inlinable
global time: 7.000000
self size: 8
global size: 8
min size: 0
self stack: 0
global stack: 0
size:4.500000, time:4.500000
size:3.500000, time:2.500000, executed if:(not inlined)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetCounterBus/22 inlinable
global time: 8.000000
self size: 9
global size: 9
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetForceMatchB/21 inlinable
global time: 9.000000
self size: 10
global size: 10
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetForceMatchA/20 inlinable
global time: 9.000000
self size: 10
global size: 10
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetInterruptRequest/18 inlinable
global time: 9.000000
self size: 10
global size: 10
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetPrescalerEnable/15 inlinable
global time: 9.000000
self size: 10
global size: 10
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetOutDisableSource/14 inlinable
global time: 8.000000
self size: 9
global size: 9
min size: 0
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
Flattening functions:
Overall time estimate: 1992.652771 weighted by profile: 0.000000
Deciding on inlining of small functions. Starting with size 0.
Enqueueing calls in Emios_Pwm_Ip_SyncUpdate/90.
Enqueueing calls in Emios_Pwm_Ip_ComparatorTransferDisable/89.
Enqueueing calls in Emios_Pwm_Ip_ComparatorTransferEnable/88.
Enqueueing calls in Emios_Pwm_Ip_SetClockPs/87.
Enqueueing calls in Emios_Pwm_Ip_SetBusSelected/86.
Enqueueing calls in Emios_Pwm_Ip_SetPreEnableClock/85.
Enqueueing calls in Emios_Pwm_Ip_GetMasterBusChannel/84.
Enqueueing calls in Emios_Pwm_Ip_GetChannelMode/83.
Enqueueing calls in Emios_Pwm_Ip_SetOutputToNormal/82.
Enqueueing calls in Emios_Pwm_Ip_SetOutputState/81.
Enqueueing calls in Emios_Pwm_Ip_GetOutputState/80.
Enqueueing calls in Emios_Pwm_Ip_SetFlagRequest/79.
Enqueueing calls in Emios_Pwm_Ip_GetFlagRequest/78.
Enqueueing calls in Emios_Pwm_Ip_ChannelStopDebugMode/77.
Enqueueing calls in Emios_Pwm_Ip_ChannelEnterDebugMode/76.
Enqueueing calls in Emios_Pwm_Ip_SetTriggerPlacement/75.
Enqueueing calls in Emios_Pwm_Ip_GetTriggerPlacement/74.
Enqueueing calls in Emios_Pwm_Ip_SetDeadTime/73.
Enqueueing calls in Emios_Pwm_Ip_GetDeadTime/72.
Enqueueing calls in Emios_Pwm_Ip_SetPhaseShift/71.
Enqueueing calls in Emios_Pwm_Ip_GetPhaseShift/70.
Enqueueing calls in Emios_Pwm_Ip_SetDutyCycle/69.
Enqueueing calls in Emios_Pwm_Ip_GetDutyCycle/68.
Enqueueing calls in Emios_Pwm_Ip_SetPeriod/67.
Enqueueing calls in Emios_Pwm_Ip_GetPeriod/66.
Enqueueing calls in Emios_Pwm_Ip_ForceMatchTrailingEdge/65.
Enqueueing calls in Emios_Pwm_Ip_ForceMatchLeadingEdge/64.
Enqueueing calls in Emios_Pwm_Ip_DeInitChannel/63.
Enqueueing calls in Emios_Pwm_Ip_InitChannel/62.
Enqueueing calls in Emios_Pwm_Ip_SetDutyCycleDaoc/61.
Enqueueing calls in Emios_Pwm_Ip_InitDoubleCompareMode/60.
Enqueueing calls in Emios_Pwm_Ip_SetDutyCycleOpwmt/59.
Enqueueing calls in Emios_Pwm_Ip_InitTriggerMode/58.
Enqueueing calls in Emios_Pwm_Ip_SetDutyCycleOpwmb/57.
Enqueueing calls in Emios_Pwm_Ip_InitEdgePlacementMode/56.
Enqueueing calls in Emios_Pwm_Ip_SetDutyCycleOpwmcb/55.
Enqueueing calls in Emios_Pwm_Ip_InitDeadTimeMode/54.
Enqueueing calls in Emios_Pwm_Ip_SetDutyCycleOpwfmb/53.
Enqueueing calls in Emios_Pwm_Ip_InitPeriodDutyCycleMode/52.
Enqueueing calls in Emios_Pwm_Ip_GetCounterBusMode/51.
Enqueueing calls in Emios_Pwm_Ip_GetCounterBusPeriod/50.
Enqueueing calls in Emios_Pwm_Ip_SetPrescalerSource/40.
Enqueueing calls in Emios_Pwm_Ip_SetExtendedPrescaler/39.
Enqueueing calls in Emios_Pwm_Ip_GetChannelPwmMode/29.
Enqueueing calls in Emios_Pwm_Ip_SetPwmModePol/28.
Enqueueing calls in Emios_Pwm_Ip_GetPwmMode/27.
Enqueueing calls in Emios_Pwm_Ip_SetEdgePolarity/24.
Enqueueing calls in Emios_Pwm_Ip_GetCounterBus/23.
Enqueueing calls in Emios_Pwm_Ip_SetCounterBus/22.
Enqueueing calls in Emios_Pwm_Ip_SetForceMatchB/21.
Enqueueing calls in Emios_Pwm_Ip_SetForceMatchA/20.
Enqueueing calls in Emios_Pwm_Ip_SetInterruptRequest/18.
Enqueueing calls in Emios_Pwm_Ip_SetPrescalerEnable/15.
Enqueueing calls in Emios_Pwm_Ip_SetOutDisableSource/14.
Considering Emios_Pwm_Ip_SetCounterBus/22 with 9 size
to be inlined into Emios_Pwm_Ip_SetBusSelected/86 in ../RTD/src/Emios_Pwm_Ip.c:2018
Estimated badness is -46.545455, frequency 1.00.
Considering Emios_Pwm_Ip_SetExtendedPrescaler/39 with 9 size
to be inlined into Emios_Pwm_Ip_SetClockPs/87 in ../RTD/src/Emios_Pwm_Ip.c:2041
Estimated badness is -28.444444, frequency 1.00.
Considering Emios_Pwm_Ip_SetForceMatchA/20 with 10 size
to be inlined into Emios_Pwm_Ip_ForceMatchLeadingEdge/64 in ../RTD/src/Emios_Pwm_Ip.c:1204
Estimated badness is -21.333333, frequency 1.00.
Considering Emios_Pwm_Ip_SetForceMatchB/21 with 10 size
to be inlined into Emios_Pwm_Ip_ForceMatchTrailingEdge/65 in ../RTD/src/Emios_Pwm_Ip.c:1231
Estimated badness is -21.333333, frequency 1.00.
Considering Emios_Pwm_Ip_SetPrescalerEnable/15 with 10 size
to be inlined into Emios_Pwm_Ip_SetPreEnableClock/85 in ../RTD/src/Emios_Pwm_Ip.c:1997
Estimated badness is -21.333333, frequency 1.00.
Considering Emios_Pwm_Ip_SetCounterBus/22 with 9 size
to be inlined into Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 in ../RTD/src/Emios_Pwm_Ip.c:317
Estimated badness is -13.128205, frequency 1.00.
Considering Emios_Pwm_Ip_SetCounterBus/22 with 9 size
to be inlined into Emios_Pwm_Ip_InitEdgePlacementMode/56 in ../RTD/src/Emios_Pwm_Ip.c:587
Estimated badness is -12.190476, frequency 1.00.
Considering Emios_Pwm_Ip_SetCounterBus/22 with 9 size
to be inlined into Emios_Pwm_Ip_InitDeadTimeMode/54 in ../RTD/src/Emios_Pwm_Ip.c:463
Estimated badness is -7.211268, frequency 1.00.
Considering Emios_Pwm_Ip_SetCounterBus/22 with 9 size
to be inlined into Emios_Pwm_Ip_InitTriggerMode/58 in ../RTD/src/Emios_Pwm_Ip.c:744
Estimated badness is -6.095238, frequency 1.00.
Considering Emios_Pwm_Ip_SetCounterBus/22 with 9 size
to be inlined into Emios_Pwm_Ip_InitDoubleCompareMode/60 in ../RTD/src/Emios_Pwm_Ip.c:861
Estimated badness is -4.376068, frequency 1.00.
Considering Emios_Pwm_Ip_SetExtendedPrescaler/39 with 9 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1136
Estimated badness is -2.944890, frequency 0.49.
Considering Emios_Pwm_Ip_SetPrescalerSource/40 with 9 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1137
Estimated badness is -2.944890, frequency 0.49.
Considering Emios_Pwm_Ip_SetOutDisableSource/14 with 9 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1082
Estimated badness is -2.944301, frequency 0.49.
Considering Emios_Pwm_Ip_SetInterruptRequest/18 with 10 size
to be inlined into Emios_Pwm_Ip_SetDutyCycleOpwmb/57 in ../RTD/src/Emios_Pwm_Ip.c:656
Estimated badness is -0.665600, frequency 0.12.
Considering Emios_Pwm_Ip_SetInterruptRequest/18 with 10 size
to be inlined into Emios_Pwm_Ip_SetDutyCycleOpwmt/59 in ../RTD/src/Emios_Pwm_Ip.c:818
Estimated badness is -0.557568, frequency 0.11.
Considering Emios_Pwm_Ip_SetInterruptRequest/18 with 10 size
to be inlined into Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 in ../RTD/src/Emios_Pwm_Ip.c:396
Estimated badness is -0.499200, frequency 0.09.
Considering Emios_Pwm_Ip_SetInterruptRequest/18 with 10 size
to be inlined into Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 in ../RTD/src/Emios_Pwm_Ip.c:546
Estimated badness is -0.453380, frequency 0.12.
Considering Emios_Pwm_Ip_SetPwmModePol/28 with 11 size
to be inlined into Emios_Pwm_Ip_SetOutputToNormal/82 in ../RTD/src/Emios_Pwm_Ip.c:1908
Estimated badness is -0.291623, frequency 0.06.
Considering Emios_Pwm_Ip_SetPwmModePol/28 with 11 size
to be inlined into Emios_Pwm_Ip_SetOutputToNormal/82 in ../RTD/src/Emios_Pwm_Ip.c:1903
Estimated badness is -0.150230, frequency 0.03.
Considering Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 with 47 size
to be inlined into Emios_Pwm_Ip_SetDutyCycle/69 in ../RTD/src/Emios_Pwm_Ip.c:1413
Estimated badness is -0.008357, frequency 0.47.
Considering Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 with 39 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1105
Estimated badness is -0.004040, frequency 0.17.
Considering Emios_Pwm_Ip_InitEdgePlacementMode/56 with 42 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1117
Estimated badness is -0.003802, frequency 0.17.
Considering Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 with 69 size
to be inlined into Emios_Pwm_Ip_SetDutyCycle/69 in ../RTD/src/Emios_Pwm_Ip.c:1421
Estimated badness is -0.003701, frequency 0.41.
Considering Emios_Pwm_Ip_InitDeadTimeMode/54 with 71 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1112
Estimated badness is -0.001846, frequency 0.17.
Considering Emios_Pwm_Ip_InitTriggerMode/58 with 84 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1121
Estimated badness is -0.001505, frequency 0.17.
Considering Emios_Pwm_Ip_SetDutyCycleOpwmb/57 with 47 size
to be inlined into Emios_Pwm_Ip_SetDutyCycle/69 in ../RTD/src/Emios_Pwm_Ip.c:1427
Estimated badness is -0.001009, frequency 0.06.
Considering Emios_Pwm_Ip_InitDoubleCompareMode/60 with 117 size
to be inlined into Emios_Pwm_Ip_InitChannel/62 in ../RTD/src/Emios_Pwm_Ip.c:1126
Estimated badness is -0.000880, frequency 0.17.
Considering Emios_Pwm_Ip_SetDutyCycleOpwmt/59 with 50 size
to be inlined into Emios_Pwm_Ip_SetDutyCycle/69 in ../RTD/src/Emios_Pwm_Ip.c:1438
Estimated badness is -0.000595, frequency 0.04.
Considering Emios_Pwm_Ip_SetDutyCycleDaoc/61 with 79 size
to be inlined into Emios_Pwm_Ip_SetDutyCycle/69 in ../RTD/src/Emios_Pwm_Ip.c:1433
Estimated badness is -0.000188, frequency 0.03.
Reclaiming functions:
Reclaiming variables:
Clearing address taken flags:
Deciding on functions to be inlined into all callers and removing useless speculations:
Overall time estimate: 1307.186472 weighted by profile: 0.000000
Why inlining failed?
function body not available : 39 calls, 37.596954 freq, 0 count
--param max-inline-insns-auto limit reached : 1 calls, 1.000000 freq, 0 count
call is unlikely and code size would grow : 55 calls, 21.780436 freq, 0 count
IPA function summary for Emios_Pwm_Ip_SyncUpdate/90 inlinable
global time: 313.372623
self size: 49
global size: 49
min size: 26
self stack: 0
global stack: 0
size:33.000000, time:260.634778
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 0 freq:1.00 size: 3 time: 12
op0 change 99.990000% of time
op1 change 99.990000% of time
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 1 freq:0.21 size: 3 time: 12
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 1 freq:0.39 size: 3 time: 12
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 1 freq:2.43 size: 4 time: 13callee size:15 stack: 0
op0 change 41.170000% of time
IPA function summary for Emios_Pwm_Ip_ComparatorTransferDisable/89 inlinable
global time: 34.000000
self size: 8
global size: 8
min size: 10
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_30/126 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Mcl_Ip_ComparatorTransferDisable/125 function body not available
loop depth: 0 freq:1.00 size: 3 time: 12
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_30/124 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_ComparatorTransferEnable/88 inlinable
global time: 34.000000
self size: 8
global size: 8
min size: 10
self stack: 0
global stack: 0
size:0.000000, time:0.000000
size:3.000000, time:2.000000, executed if:(not inlined)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_29/123 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Mcl_Ip_ComparatorTransferEnable/122 function body not available
loop depth: 0 freq:1.00 size: 3 time: 12
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_29/121 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetClockPs/87 inlinable
global time: 35.000000
self size: 17
global size: 18
min size: 16
self stack: 0
global stack: 0
size:11.000000, time:11.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_28/120 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetExtendedPrescaler/229 inlined
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_28/119 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetBusSelected/86 inlinable
global time: 28.000000
self size: 10
global size: 11
min size: 16
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_27/118 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetCounterBus/228 inlined
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_27/117 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetPreEnableClock/85 inlinable
global time: 29.000000
self size: 10
global size: 12
min size: 16
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op2 changed)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_26/116 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetPrescalerEnable/15 inlined
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_26/115 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetMasterBusChannel/84 inlinable
global time: 20.500000
self size: 18
global size: 18
min size: 9
self stack: 0
global stack: 0
estimated growth:22
size:9.000000, time:5.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:0.500000, nonconst if:(op1 changed)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
IPA function summary for Emios_Pwm_Ip_GetChannelMode/83 inlinable
global time: 16.000000
self size: 8
global size: 8
min size: 8
self stack: 0
global stack: 0
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_SetOutputToNormal/82 inlinable
global time: 45.747373
self size: 56
global size: 60
min size: 36
self stack: 0
global stack: 0
size:3.000000, time:3.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:0.680000, nonconst if:(op4 changed)
size:2.000000, time:0.542368, executed if:(op4 != 88), nonconst if:(op4 changed) && (op4 != 88)
size:2.000000, time:0.357963, executed if:(op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op4 != 90) && (op4 != 88)
size:2.000000, time:0.285511, executed if:(op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:2.000000, time:0.188437, executed if:(op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op2 changed) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:1.000000, time:0.032034, executed if:(op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op3 changed) && (op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:4.000000, time:0.339051, executed if:(op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88)
size:1.000000, time:0.084763, executed if:(op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88)
size:4.000000, time:0.644074, executed if:(op4 == 88 || op4 == 90)
size:1.000000, time:0.161019, executed if:(op4 == 88 || op4 == 90), nonconst if:(op4 changed) && (op4 == 88 || op4 == 90)
size:1.000000, time:0.161019, executed if:(op4 == 88 || op4 == 90), nonconst if:(op3 changed) && (op4 == 88 || op4 == 90)
size:4.000000, time:0.248737, executed if:(op2 != 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:1.000000, time:0.062184, executed if:(op2 != 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op2 != 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:2.000000, time:0.124369, executed if:(op2 != 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op3 changed) && (op2 != 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:6.000000, time:0.192206, executed if:(op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
size:1.000000, time:0.032034, executed if:(op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88), nonconst if:(op4 changed) && (op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_25/114 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetPwmModePol/237 inlined
loop depth: 0 freq:0.06 size: 5 time: 14callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.03 size: 4 time: 13callee size: 4 stack: 0 predicate: (op2 == 32768) && (op4 != 98) && (op4 != 96) && (op4 != 90) && (op4 != 88)
Emios_Pwm_Ip_SetPwmModePol/28 inlined
loop depth: 0 freq:0.03 size: 5 time: 14callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.08 size: 4 time: 13callee size: 4 stack: 0 predicate: (op4 == 96 || op4 == 98) && (op4 != 90) && (op4 != 88)
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.16 size: 4 time: 13callee size: 4 stack: 0 predicate: (op4 == 88 || op4 == 90)
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_25/113 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetOutputState/81 inlinable
global time: 38.500000
self size: 25
global size: 25
min size: 4
self stack: 0
global stack: 0
size:11.000000, time:11.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:4.000000, time:2.000000, executed if:(op2 != 0)
size:3.000000, time:1.500000, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_24/112 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_24/111 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetOutputState/80 inlinable
global time: 7.000000
self size: 8
global size: 8
min size: 0
self stack: 0
global stack: 0
size:5.000000, time:5.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetFlagRequest/79 inlinable
global time: 35.500000
self size: 43
global size: 43
min size: 4
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:8.000000, time:4.000000, nonconst if:(op2 changed)
size:8.000000, time:2.000000, executed if:(op2 == 2)
size:11.000000, time:1.750000, executed if:(op2 == 1)
size:7.000000, time:1.750000, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_23/110 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_23/109 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetFlagRequest/78 inlinable
global time: 9.000000
self size: 12
global size: 12
min size: 0
self stack: 0
global stack: 0
size:9.000000, time:7.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_ChannelStopDebugMode/77 inlinable
global time: 26.000000
self size: 9
global size: 9
min size: 4
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_22/108 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_22/107 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_ChannelEnterDebugMode/76 inlinable
global time: 29.600000
self size: 14
global size: 14
min size: 4
self stack: 0
global stack: 0
size:9.000000, time:7.600000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_21/106 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_21/105 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_SetTriggerPlacement/75 inlinable
global time: 57.000000
self size: 22
global size: 22
min size: 22
self stack: 0
global stack: 0
size:8.000000, time:8.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_20/104 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetCounterBusMode/51 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 5 time: 14callee size:12 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_20/103 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetTriggerPlacement/74 inlinable
global time: 5.000000
self size: 6
global size: 6
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)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetDeadTime/73 inlinable
global time: 24.000000
self size: 7
global size: 7
min size: 4
self stack: 0
global stack: 0
size:2.000000, time:2.000000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_19/102 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_19/101 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetDeadTime/72 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)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetPhaseShift/71 inlinable
global time: 115.086954
self size: 59
global size: 59
min size: 56
self stack: 0
global stack: 0
size:28.000000, time:13.086954
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_18/100 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetCounterBusMode/51 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 5 time: 14callee size:12 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetDutyCycle/68 --param max-inline-insns-auto limit reached
loop depth: 0 freq:1.00 size: 4 time: 13callee size:22 stack: 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 4 stack: 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_18/99 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_GetPhaseShift/70 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)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetDutyCycle/69 inlinable
global time: 75.717743
self size: 54
global size: 306
min size: 432
self stack: 0
global stack: 0
size:88.000000, time:15.713405
size:3.000000, time:2.000000, executed if:(not inlined)
size:12.000000, time:0.888355, nonconst if:(op2 changed)
size:101.000000, time:2.420762, executed if:(op2 != 0)
size:47.000000, time:2.265770, executed if:(op2 == 0)
size:2.000000, time:0.052777, executed if:(op2 != 0), nonconst if:(op2 != 0) && (op2 changed)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_17/98 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetDutyCycleOpwmt/59 inlined
loop depth: 0 freq:0.04 size: 5 time: 14callee size:25 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetInterruptRequest/235 inlined
loop depth: 0 freq:0.00 size: 4 time: 13callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.04 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:0.04 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetDutyCycleDaoc/61 inlined
loop depth: 0 freq:0.03 size: 5 time: 14callee size:39 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.00 size: 4 time: 13callee size: 4 stack: 0 predicate: (op2 != 0)
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.00 size: 4 time: 13callee size: 4 stack: 0 predicate: (op2 != 0)
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.01 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetMasterBusChannel/84 call is unlikely and code size would grow
loop depth: 0 freq:0.03 size: 4 time: 13callee size: 9 stack: 0
Emios_Pwm_Ip_SetDutyCycleOpwmb/57 inlined
loop depth: 0 freq:0.06 size: 5 time: 14callee size:23 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetInterruptRequest/234 inlined
loop depth: 0 freq:0.01 size: 4 time: 13callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 inlined
loop depth: 0 freq:0.41 size: 5 time: 14callee size:34 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetInterruptRequest/18 inlined
loop depth: 0 freq:0.05 size: 4 time: 13callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.41 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:0.41 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:0.41 size: 4 time: 13callee size:15 stack: 0
Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 inlined
loop depth: 0 freq:0.47 size: 5 time: 14callee size:23 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetInterruptRequest/236 inlined
loop depth: 0 freq:0.04 size: 4 time: 13callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_17/97 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_GetDutyCycle/68 inlinable
global time: 30.550000
self size: 44
global size: 44
min size: 28
self stack: 0
global stack: 0
estimated growth:37
size:28.000000, time:10.150000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.20 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:0.20 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_SetPeriod/67 inlinable
global time: 26.500000
self size: 10
global size: 10
min size: 4
self stack: 0
global stack: 0
size:2.000000, time:2.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:1.000000, time:0.500000, executed if:(op2 != 0)
array index:(op1 changed) && (op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_16/96 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_16/95 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_GetPeriod/66 inlinable
global time: 26.324659
self size: 26
global size: 26
min size: 26
self stack: 0
global stack: 0
size:10.000000, time:6.446113
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.18 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBus/23 call is unlikely and code size would grow
loop depth: 0 freq:0.18 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_ForceMatchTrailingEdge/65 inlinable
global time: 29.000000
self size: 10
global size: 12
min size: 16
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op2 changed)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_15/94 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetForceMatchB/21 inlined
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_15/93 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_ForceMatchLeadingEdge/64 inlinable
global time: 29.000000
self size: 10
global size: 12
min size: 16
self stack: 0
global stack: 0
size:4.000000, time:4.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:3.000000, time:3.000000, nonconst if:(op2 changed)
array index:(op0 changed)
calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_14/92 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
Emios_Pwm_Ip_SetForceMatchA/20 inlined
loop depth: 0 freq:1.00 size: 4 time: 13callee size: 5 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_14/91 function body not available
loop depth: 0 freq:1.00 size: 1 time: 10
IPA function summary for Emios_Pwm_Ip_DeInitChannel/63 inlinable
global time: 25.020000
self size: 19
global size: 19
min size: 8
self stack: 0
global stack: 0
size:12.000000, time:10.020000
size:3.000000, time:2.000000, executed if:(not inlined)
array index:(op1 changed) && (op0 changed)
calls:
Emios_Pwm_Ip_GetPwmMode/27 call is unlikely and code size would grow
loop depth: 0 freq:1.00 size: 4 time: 13callee size:15 stack: 0
IPA function summary for Emios_Pwm_Ip_InitChannel/62 inlinable
global time: 97.212917
self size: 84
global size: 364
min size: 552
self stack: 0
global stack: 0
size:262.500000, time:55.706414
size:8.000000, time:5.228396, executed if:(not inlined)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 0] changed) && (not inlined)
size:0.500000, time:0.500000, nonconst if:(op1[ref offset: 0] changed)
size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op1[ref offset: 32] changed) && (not inlined)
size:2.500000, time:2.500000, nonconst if:(op1[ref offset: 32] changed)
size:9.000000, time:4.399200, executed if:(op1[ref offset: 32] != 255)
array index:(op1[ref offset: 0] changed) && (op0 changed)
calls:
Emios_Pwm_Ip_SetPrescalerSource/40 inlined
loop depth: 0 freq:0.49 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetExtendedPrescaler/39 inlined
loop depth: 0 freq:0.49 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_InitDoubleCompareMode/60 inlined
loop depth: 0 freq:0.17 size: 3 time: 12callee size:58 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.05 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.11 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/22 inlined
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_GetMasterBusChannel/84 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 9 stack: 0
Emios_Pwm_Ip_InitTriggerMode/58 inlined
loop depth: 0 freq:0.17 size: 3 time: 12callee size:42 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.11 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/233 inlined
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_GetCounterBusMode/51 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 5 time: 14callee size:12 stack: 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_InitEdgePlacementMode/56 inlined
loop depth: 0 freq:0.17 size: 3 time: 12callee size:21 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/231 inlined
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_InitDeadTimeMode/54 inlined
loop depth: 0 freq:0.17 size: 3 time: 12callee size:35 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.11 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/232 inlined
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.06 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_GetCounterBusPeriod/50 call is unlikely and code size would grow
loop depth: 0 freq:0.05 size: 5 time: 14callee size: 7 stack: 0
Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 inlined
loop depth: 0 freq:0.17 size: 3 time: 12callee size:19 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetEdgePolarity/24 call is unlikely and code size would grow
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Emios_Pwm_Ip_SetCounterBus/230 inlined
loop depth: 0 freq:0.17 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
Emios_Pwm_Ip_SetOutDisableSource/14 inlined
loop depth: 0 freq:0.49 size: 4 time: 13callee size: 4 stack: 0
Stack frame offset 0, callee self size 0, callee size 0
IPA function summary for Emios_Pwm_Ip_GetCounterBusMode/51 inlinable
global time: 17.000000
self size: 25
global size: 25
min size: 1
self stack: 0
global stack: 0
estimated growth:26
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:8.000000, time:4.000000, nonconst if:(op2 changed)
size:1.000000, time:0.250000, executed if:(op2 == 1), nonconst if:(op1 changed) && (op2 == 1)
array index:(op0 changed)
calls:
Emios_Pwm_Ip_GetChannelPwmMode/29 call is unlikely and code size would grow
loop depth: 0 freq:0.25 size: 4 time: 13callee size: 8 stack: 0 predicate: (op2 == 2)
op1 is compile time invariant
Emios_Pwm_Ip_GetChannelPwmMode/29 call is unlikely and code size would grow
loop depth: 0 freq:0.25 size: 4 time: 13callee size: 8 stack: 0 predicate: (op2 == 1)
Emios_Pwm_Ip_GetChannelPwmMode/29 call is unlikely and code size would grow
loop depth: 0 freq:0.25 size: 4 time: 13callee size: 8 stack: 0 predicate: (op2 == 0)
op1 is compile time invariant
IPA function summary for Emios_Pwm_Ip_GetCounterBusPeriod/50 inlinable
global time: 7.554400
self size: 14
global size: 14
min size: 1
self stack: 0
global stack: 0
estimated growth:40
size:1.000000, time:1.000000
size:3.000000, time:2.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
size:2.000000, time:1.000000, executed if:(op2 != 0), nonconst if:(op2 changed) && (op2 != 0)
size:2.000000, time:0.660000, executed if:(op2 != 2) && (op2 != 0), nonconst if:(op2 changed) && (op2 != 2) && (op2 != 0)
size:1.000000, time:0.112200, executed if:(op2 == 1) && (op2 != 2) && (op2 != 0), nonconst if:(op1 changed) && (op2 == 1) && (op2 != 2) && (op2 != 0)
size:1.000000, time:0.112200, executed if:(op2 == 1) && (op2 != 2) && (op2 != 0)
size:1.000000, time:0.170000, executed if:(op2 == 2) && (op2 != 0)
size:1.000000, time:0.500000, executed if:(op2 == 0)
array index:(op1 changed) && (op0 changed)
calls:
IPA function summary for Emios_Pwm_Ip_GetChannelPwmMode/29 inlinable
global time: 8.000400
self size: 17
global size: 17
min size: 14
self stack: 0
global stack: 0
estimated growth:13
size:13.500000, time:5.500000
size:3.500000, time:2.500400, executed if:(not inlined)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_GetPwmMode/27 inlinable
global time: 9.999400
self size: 31
global size: 31
min size: 28
self stack: 0
global stack: 0
estimated growth:185
size:27.500000, time:7.500000
size:3.500000, time:2.499400, executed if:(not inlined)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_SetEdgePolarity/24 inlinable
global time: 8.000000
self size: 9
global size: 9
min size: 3
self stack: 0
global stack: 0
estimated growth:11
size:3.000000, time:3.000000
size:4.000000, time:3.000000, executed if:(not inlined)
size:2.000000, time:2.000000, nonconst if:(op2 changed)
array index:(op1 changed)
calls:
IPA function summary for Emios_Pwm_Ip_GetCounterBus/23 inlinable
global time: 7.000000
self size: 8
global size: 8
min size: 5
self stack: 0
global stack: 0
estimated growth:1
size:4.500000, time:4.500000
size:3.500000, time:2.500000, executed if:(not inlined)
array index:(op1 changed)
calls:
Symbol table:
Emios_Pwm_Ip_SetPwmModePol/237 (Emios_Pwm_Ip_SetPwmModePol) @06c3d380
Type: function definition analyzed
Visibility:
next sharing asm name: 28
References:
Referring:
Function Emios_Pwm_Ip_SetPwmModePol/237 is inline copy in Emios_Pwm_Ip_SetOutputToNormal/82
Clone of Emios_Pwm_Ip_SetPwmModePol/28
Availability: local
Function flags: count:66769924 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetOutputToNormal/82 (inlined) (66769924 (estimated locally),0.06 per call)
Calls:
Emios_Pwm_Ip_SetInterruptRequest/236 (Emios_Pwm_Ip_SetInterruptRequest) @06c4e9a0
Type: function definition analyzed
Visibility:
next sharing asm name: 235
References:
Referring:
Function Emios_Pwm_Ip_SetInterruptRequest/236 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Clone of Emios_Pwm_Ip_SetInterruptRequest/18
Availability: local
Function flags: count:46604662 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (inlined) (46604662 (estimated locally),0.04 per call)
Calls:
Emios_Pwm_Ip_SetInterruptRequest/235 (Emios_Pwm_Ip_SetInterruptRequest) @06c52380
Type: function definition analyzed
Visibility:
next sharing asm name: 234
previous sharing asm name: 236
References:
Referring:
Function Emios_Pwm_Ip_SetInterruptRequest/235 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Clone of Emios_Pwm_Ip_SetInterruptRequest/18
Availability: local
Function flags: count:4383842 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (inlined) (4383842 (estimated locally),0.00 per call)
Calls:
Emios_Pwm_Ip_SetInterruptRequest/234 (Emios_Pwm_Ip_SetInterruptRequest) @06c52620
Type: function definition analyzed
Visibility:
next sharing asm name: 18
previous sharing asm name: 235
References:
Referring:
Function Emios_Pwm_Ip_SetInterruptRequest/234 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Clone of Emios_Pwm_Ip_SetInterruptRequest/18
Availability: local
Function flags: count:7500913 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (inlined) (7500913 (estimated locally),0.01 per call)
Calls:
Emios_Pwm_Ip_SetCounterBus/233 (Emios_Pwm_Ip_SetCounterBus) @06c2e540
Type: function definition analyzed
Visibility:
next sharing asm name: 232
References:
Referring:
Function Emios_Pwm_Ip_SetCounterBus/233 is inline copy in Emios_Pwm_Ip_InitChannel/62
Clone of Emios_Pwm_Ip_SetCounterBus/22
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitTriggerMode/58 (inlined) (178956970 (estimated locally),0.17 per call)
Calls:
Emios_Pwm_Ip_SetCounterBus/232 (Emios_Pwm_Ip_SetCounterBus) @06c37620
Type: function definition analyzed
Visibility:
next sharing asm name: 231
previous sharing asm name: 233
References:
Referring:
Function Emios_Pwm_Ip_SetCounterBus/232 is inline copy in Emios_Pwm_Ip_InitChannel/62
Clone of Emios_Pwm_Ip_SetCounterBus/22
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitDeadTimeMode/54 (inlined) (178956970 (estimated locally),0.17 per call)
Calls:
Emios_Pwm_Ip_SetCounterBus/231 (Emios_Pwm_Ip_SetCounterBus) @06c2ea80
Type: function definition analyzed
Visibility:
next sharing asm name: 230
previous sharing asm name: 232
References:
Referring:
Function Emios_Pwm_Ip_SetCounterBus/231 is inline copy in Emios_Pwm_Ip_InitChannel/62
Clone of Emios_Pwm_Ip_SetCounterBus/22
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitEdgePlacementMode/56 (inlined) (178956970 (estimated locally),0.17 per call)
Calls:
Emios_Pwm_Ip_SetCounterBus/230 (Emios_Pwm_Ip_SetCounterBus) @06c33620
Type: function definition analyzed
Visibility:
next sharing asm name: 228
previous sharing asm name: 231
References:
Referring:
Function Emios_Pwm_Ip_SetCounterBus/230 is inline copy in Emios_Pwm_Ip_InitChannel/62
Clone of Emios_Pwm_Ip_SetCounterBus/22
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (inlined) (178956970 (estimated locally),0.17 per call)
Calls:
Emios_Pwm_Ip_SetExtendedPrescaler/229 (Emios_Pwm_Ip_SetExtendedPrescaler) @06c3d0e0
Type: function definition analyzed
Visibility:
next sharing asm name: 39
References:
Referring:
Function Emios_Pwm_Ip_SetExtendedPrescaler/229 is inline copy in Emios_Pwm_Ip_SetClockPs/87
Clone of Emios_Pwm_Ip_SetExtendedPrescaler/39
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetClockPs/87 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Emios_Pwm_Ip_SetCounterBus/228 (Emios_Pwm_Ip_SetCounterBus) @06c3d9a0
Type: function definition analyzed
Visibility:
next sharing asm name: 22
previous sharing asm name: 230
References:
Referring:
Function Emios_Pwm_Ip_SetCounterBus/228 is inline copy in Emios_Pwm_Ip_SetBusSelected/86
Clone of Emios_Pwm_Ip_SetCounterBus/22
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetBusSelected/86 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_30/126 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_30) @07fb6620
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ComparatorTransferDisable/89 (1073741824 (estimated locally),1.00 per call)
Calls:
Emios_Mcl_Ip_ComparatorTransferDisable/125 (Emios_Mcl_Ip_ComparatorTransferDisable) @07fb6540
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ComparatorTransferDisable/89 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_30/124 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_30) @07fb6460
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ComparatorTransferDisable/89 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_29/123 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_29) @07fb62a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ComparatorTransferEnable/88 (1073741824 (estimated locally),1.00 per call)
Calls:
Emios_Mcl_Ip_ComparatorTransferEnable/122 (Emios_Mcl_Ip_ComparatorTransferEnable) @07fb61c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SyncUpdate/90 (42949673 (estimated locally),1.00 per call) Emios_Pwm_Ip_SyncUpdate/90 (8842125 (estimated locally),0.21 per call) Emios_Pwm_Ip_SyncUpdate/90 (16796839 (estimated locally),0.39 per call) Emios_Pwm_Ip_ComparatorTransferEnable/88 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_29/121 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_29) @07fb60e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ComparatorTransferEnable/88 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_28/120 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_28) @07facee0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetClockPs/87 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_28/119 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_28) @07face00
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetClockPs/87 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_27/118 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_27) @07facc40
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetBusSelected/86 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_27/117 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_27) @07facb60
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetBusSelected/86 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_26/116 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_26) @07fac9a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetPreEnableClock/85 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_26/115 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_26) @07fac8c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetPreEnableClock/85 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_25/114 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_25) @07fac460
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetOutputToNormal/82 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_25/113 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_25) @07fac380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetOutputToNormal/82 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_24/112 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_24) @07fac1c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetOutputState/81 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_24/111 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_24) @07fac0e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetOutputState/81 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_23/110 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_23) @07fa0d20
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetFlagRequest/79 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_23/109 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_23) @07fa0c40
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetFlagRequest/79 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_22/108 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_22) @07fa07e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ChannelStopDebugMode/77 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_22/107 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_22) @07fa0700
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ChannelStopDebugMode/77 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_21/106 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_21) @07fa0380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ChannelEnterDebugMode/76 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_21/105 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_21) @07fa02a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ChannelEnterDebugMode/76 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_20/104 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_20) @07fa00e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetTriggerPlacement/75 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_20/103 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_20) @07fa0000
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetTriggerPlacement/75 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_19/102 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_19) @07f85e00
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetDeadTime/73 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_19/101 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_19) @07f85d20
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetDeadTime/73 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_18/100 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_18) @07f85a80
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetPhaseShift/71 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_18/99 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_18) @07f859a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetPhaseShift/71 (1073741823 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_17/98 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_17) @07f74e00
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycle/69 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_17/97 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_17) @07f74d20
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycle/69 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_16/96 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_16) @07f749a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetPeriod/67 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_16/95 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_16) @07f748c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_SetPeriod/67 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_15/94 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_15) @07f74460
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ForceMatchTrailingEdge/65 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_15/93 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_15) @07f74380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ForceMatchTrailingEdge/65 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_14/92 (SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_14) @07f741c0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ForceMatchLeadingEdge/64 (1073741824 (estimated locally),1.00 per call)
Calls:
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_14/91 (SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_14) @07f740e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: Emios_Pwm_Ip_ForceMatchLeadingEdge/64 (1073741824 (estimated locally),1.00 per call)
Calls:
Emios_Pwm_Ip_SyncUpdate/90 (Emios_Pwm_Ip_SyncUpdate) @07f60700
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aCheckState/49 (read)
Referring:
Availability: available
Function flags: count:42949672 (estimated locally) body optimize_size
Called by:
Calls: Emios_Mcl_Ip_ComparatorTransferEnable/122 (42949673 (estimated locally),1.00 per call) Emios_Mcl_Ip_ComparatorTransferEnable/122 (8842125 (estimated locally),0.21 per call) Emios_Mcl_Ip_ComparatorTransferEnable/122 (16796839 (estimated locally),0.39 per call) Emios_Pwm_Ip_GetPwmMode/27 (104316166 (estimated locally),2.43 per call)
Emios_Pwm_Ip_ComparatorTransferDisable/89 (Emios_Pwm_Ip_ComparatorTransferDisable) @07f60460
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_30/126 (1073741824 (estimated locally),1.00 per call) Emios_Mcl_Ip_ComparatorTransferDisable/125 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_30/124 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_ComparatorTransferEnable/88 (Emios_Pwm_Ip_ComparatorTransferEnable) @07f601c0
Type: function definition analyzed
Visibility: externally_visible public
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_29/123 (1073741824 (estimated locally),1.00 per call) Emios_Mcl_Ip_ComparatorTransferEnable/122 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_29/121 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_SetClockPs/87 (Emios_Pwm_Ip_SetClockPs) @07f56d20
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_28/120 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetExtendedPrescaler/229 (inlined) (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_28/119 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_SetBusSelected/86 (Emios_Pwm_Ip_SetBusSelected) @07f567e0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_27/118 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetCounterBus/228 (inlined) (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_27/117 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_SetPreEnableClock/85 (Emios_Pwm_Ip_SetPreEnableClock) @07f562a0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_26/116 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetPrescalerEnable/15 (inlined) (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_26/115 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetMasterBusChannel/84 (Emios_Pwm_Ip_GetMasterBusChannel) @07f56ee0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycleDaoc/61 (27974275 (estimated locally),0.03 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (178956970 (estimated locally),0.17 per call)
Calls: Emios_Pwm_Ip_GetCounterBus/23 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetChannelMode/83 (Emios_Pwm_Ip_GetChannelMode) @07f56c40
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Emios_Pwm_Ip_GetPwmMode/27 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_SetOutputToNormal/82 (Emios_Pwm_Ip_SetOutputToNormal) @07f569a0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_25/114 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetPwmModePol/237 (inlined) (66769924 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (34396628 (estimated locally),0.03 per call) Emios_Pwm_Ip_SetPwmModePol/28 (inlined) (34396628 (estimated locally),0.03 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (91013306 (estimated locally),0.08 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (172892362 (estimated locally),0.16 per call) Emios_Pwm_Ip_GetPwmMode/27 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_25/113 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_SetOutputState/81 (Emios_Pwm_Ip_SetOutputState) @07f56700
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_24/112 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_24/111 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetOutputState/80 (Emios_Pwm_Ip_GetOutputState) @07f56460
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Emios_Pwm_Ip_SetFlagRequest/79 (Emios_Pwm_Ip_SetFlagRequest) @07f561c0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aNotif/46 (read)Emios_Pwm_Ip_aCheckEnableNotif/47 (write)Emios_Pwm_Ip_aCheckEnableNotif/47 (write)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_23/110 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_23/109 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetFlagRequest/78 (Emios_Pwm_Ip_GetFlagRequest) @07f4cd20
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Emios_Pwm_Ip_ChannelStopDebugMode/77 (Emios_Pwm_Ip_ChannelStopDebugMode) @07f4c7e0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_22/108 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_22/107 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_ChannelEnterDebugMode/76 (Emios_Pwm_Ip_ChannelEnterDebugMode) @07f4c2a0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_21/106 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_21/105 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_SetTriggerPlacement/75 (Emios_Pwm_Ip_SetTriggerPlacement) @07f4cee0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_20/104 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetCounterBusMode/51 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetCounterBus/23 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_20/103 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetTriggerPlacement/74 (Emios_Pwm_Ip_GetTriggerPlacement) @07f4cc40
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Emios_Pwm_Ip_SetDeadTime/73 (Emios_Pwm_Ip_SetDeadTime) @07f4c9a0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_19/102 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_19/101 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetDeadTime/72 (Emios_Pwm_Ip_GetDeadTime) @07f4c700
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Emios_Pwm_Ip_SetPhaseShift/71 (Emios_Pwm_Ip_SetPhaseShift) @07f4c460
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aRegA/44 (write)
Referring:
Availability: available
Function flags: count:1073741823 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_18/100 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetCounterBusMode/51 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetCounterBus/23 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetDutyCycle/68 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetCounterBusPeriod/50 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetCounterBus/23 (1073741823 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_18/99 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetPwmMode/27 (1073741823 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetPhaseShift/70 (Emios_Pwm_Ip_GetPhaseShift) @07f4c1c0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Emios_Pwm_Ip_SetDutyCycle/69 (Emios_Pwm_Ip_SetDutyCycle) @07f3eee0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_17/98 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (inlined) (40255664 (estimated locally),0.04 per call) Emios_Pwm_Ip_SetDutyCycleDaoc/61 (inlined) (27974275 (estimated locally),0.03 per call) Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (inlined) (61382267 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (inlined) (435622670 (estimated locally),0.41 per call) Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (inlined) (508506948 (estimated locally),0.47 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_17/97 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetPwmMode/27 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetDutyCycle/68 (Emios_Pwm_Ip_GetDutyCycle) @07f3e9a0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aDaocDuty/45 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by: Emios_Pwm_Ip_SetPhaseShift/71 (1073741823 (estimated locally),1.00 per call)
Calls: Emios_Pwm_Ip_GetCounterBusPeriod/50 (214748365 (estimated locally),0.20 per call) Emios_Pwm_Ip_GetCounterBus/23 (214748365 (estimated locally),0.20 per call) Emios_Pwm_Ip_GetPwmMode/27 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_SetPeriod/67 (Emios_Pwm_Ip_SetPeriod) @07f3e460
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aPeriod/43 (write)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_16/96 (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_16/95 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_GetPeriod/66 (Emios_Pwm_Ip_GetPeriod) @07f3ee00
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aPeriod/43 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Emios_Pwm_Ip_GetCounterBusPeriod/50 (194011060 (estimated locally),0.18 per call) Emios_Pwm_Ip_GetCounterBus/23 (194011060 (estimated locally),0.18 per call) Emios_Pwm_Ip_GetPwmMode/27 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_ForceMatchTrailingEdge/65 (Emios_Pwm_Ip_ForceMatchTrailingEdge) @07f3eb60
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_15/94 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetForceMatchB/21 (inlined) (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_15/93 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_ForceMatchLeadingEdge/64 (Emios_Pwm_Ip_ForceMatchLeadingEdge) @07f3e8c0
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_14/92 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetForceMatchA/20 (inlined) (1073741824 (estimated locally),1.00 per call) SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_14/91 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_DeInitChannel/63 (Emios_Pwm_Ip_DeInitChannel) @07f3e620
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aCheckEnableNotif/47 (write)Emios_Pwm_Ip_aCheckState/49 (write)
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: Emios_Pwm_Ip_GetPwmMode/27 (1073741824 (estimated locally),1.00 per call)
Emios_Pwm_Ip_InitChannel/62 (Emios_Pwm_Ip_InitChannel) @07f3e380
Type: function definition analyzed
Visibility: externally_visible public
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aNotificationPtr/42 (write)Emios_Pwm_Ip_aCheckState/49 (write)
Referring:
Availability: available
Function flags: count:1073527118 (estimated locally) body optimize_size
Called by:
Calls: Emios_Pwm_Ip_SetPrescalerSource/40 (inlined) (524845003 (estimated locally),0.49 per call) Emios_Pwm_Ip_SetExtendedPrescaler/39 (inlined) (524845003 (estimated locally),0.49 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitTriggerMode/58 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitEdgePlacementMode/56 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitDeadTimeMode/54 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_SetOutDisableSource/14 (inlined) (524740055 (estimated locally),0.49 per call)
Emios_Pwm_Ip_SetDutyCycleDaoc/61 (Emios_Pwm_Ip_SetDutyCycleDaoc) @07f3e0e0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aPeriod/43 (read)Emios_Pwm_Ip_aDaocDuty/45 (write)Emios_Pwm_Ip_aPolarity/48 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aDaocDuty/45 (write)Emios_Pwm_Ip_aPolarity/48 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aDaocDuty/45 (write)Emios_Pwm_Ip_aPolarity/48 (read)Emios_Pwm_Ip_aNotif/46 (write)
Referring:
Function Emios_Pwm_Ip_SetDutyCycleDaoc/61 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Availability: local
Function flags: count:27974275 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycle/69 (inlined) (27974275 (estimated locally),0.03 per call)
Calls: Emios_Pwm_Ip_SetEdgePolarity/24 (3435549 (estimated locally),0.00 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (3592988 (estimated locally),0.00 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (13952170 (estimated locally),0.01 per call) Emios_Pwm_Ip_GetMasterBusChannel/84 (27974275 (estimated locally),0.03 per call)
Emios_Pwm_Ip_InitDoubleCompareMode/60 (Emios_Pwm_Ip_InitDoubleCompareMode) @07f2ce00
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aPeriod/43 (write)Emios_Pwm_Ip_aPolarity/48 (write)Emios_Pwm_Ip_aDaocDuty/45 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aPeriod/43 (read)Emios_Pwm_Ip_aDaocDuty/45 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aDaocDuty/45 (write)Emios_Pwm_Ip_aNotif/46 (write)
Referring:
Function Emios_Pwm_Ip_InitDoubleCompareMode/60 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (178956970 (estimated locally),0.17 per call)
Calls: Emios_Pwm_Ip_SetEdgePolarity/24 (58607692 (estimated locally),0.05 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (61293478 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (59055800 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (118111600 (estimated locally),0.11 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (60845370 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetCounterBus/22 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_GetMasterBusChannel/84 (178956970 (estimated locally),0.17 per call)
Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (Emios_Pwm_Ip_SetDutyCycleOpwmt) @07f2cb60
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aRegA/44 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aRegA/44 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aCheckEnableNotif/47 (read)
Referring:
Function Emios_Pwm_Ip_SetDutyCycleOpwmt/59 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Availability: local
Function flags: count:40255664 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycle/69 (inlined) (40255664 (estimated locally),0.04 per call)
Calls: Emios_Pwm_Ip_SetInterruptRequest/235 (inlined) (4383842 (estimated locally),0.00 per call) Emios_Pwm_Ip_GetCounterBusPeriod/50 (40255664 (estimated locally),0.04 per call) Emios_Pwm_Ip_GetCounterBus/23 (40255664 (estimated locally),0.04 per call)
Emios_Pwm_Ip_InitTriggerMode/58 (Emios_Pwm_Ip_InitTriggerMode) @07f2c8c0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aRegA/44 (write)
Referring:
Function Emios_Pwm_Ip_InitTriggerMode/58 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (178956970 (estimated locally),0.17 per call)
Calls: Emios_Pwm_Ip_SetEdgePolarity/24 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (118111600 (estimated locally),0.11 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (60845370 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetCounterBus/233 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_GetCounterBusMode/51 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_GetCounterBusPeriod/50 (178956970 (estimated locally),0.17 per call)
Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (Emios_Pwm_Ip_SetDutyCycleOpwmb) @07f2c620
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aRegA/44 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aCheckEnableNotif/47 (read)Emios_Pwm_Ip_aRegA/44 (read)
Referring:
Function Emios_Pwm_Ip_SetDutyCycleOpwmb/57 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Availability: local
Function flags: count:61382267 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycle/69 (inlined) (61382267 (estimated locally),0.06 per call)
Calls: Emios_Pwm_Ip_SetInterruptRequest/234 (inlined) (7500913 (estimated locally),0.01 per call) Emios_Pwm_Ip_GetCounterBusPeriod/50 (61382267 (estimated locally),0.06 per call) Emios_Pwm_Ip_GetCounterBus/23 (61382267 (estimated locally),0.06 per call)
Emios_Pwm_Ip_InitEdgePlacementMode/56 (Emios_Pwm_Ip_InitEdgePlacementMode) @07f2c380
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aRegA/44 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)
Referring:
Function Emios_Pwm_Ip_InitEdgePlacementMode/56 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (178956970 (estimated locally),0.17 per call)
Calls: Emios_Pwm_Ip_SetEdgePolarity/24 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_SetCounterBus/231 (inlined) (178956970 (estimated locally),0.17 per call)
Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (Emios_Pwm_Ip_SetDutyCycleOpwmcb) @07f2c0e0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aCheckEnableNotif/47 (read)
Referring:
Function Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Availability: local
Function flags: count:435622670 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycle/69 (inlined) (435622670 (estimated locally),0.41 per call)
Calls: Emios_Pwm_Ip_SetInterruptRequest/18 (inlined) (53233090 (estimated locally),0.05 per call) Emios_Pwm_Ip_GetCounterBusPeriod/50 (435622670 (estimated locally),0.41 per call) Emios_Pwm_Ip_GetCounterBus/23 (435622670 (estimated locally),0.41 per call) Emios_Pwm_Ip_GetPwmMode/27 (435622670 (estimated locally),0.41 per call)
Emios_Pwm_Ip_InitDeadTimeMode/54 (Emios_Pwm_Ip_InitDeadTimeMode) @07e66e00
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)
Referring:
Function Emios_Pwm_Ip_InitDeadTimeMode/54 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (178956970 (estimated locally),0.17 per call)
Calls: Emios_Pwm_Ip_SetEdgePolarity/24 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (118111600 (estimated locally),0.11 per call) Emios_Pwm_Ip_SetEdgePolarity/24 (60845370 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetCounterBus/232 (inlined) (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_GetCounterBusPeriod/50 (69685844 (estimated locally),0.06 per call) Emios_Pwm_Ip_GetCounterBusPeriod/50 (48425756 (estimated locally),0.05 per call)
Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (Emios_Pwm_Ip_SetDutyCycleOpwfmb) @07e66b60
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aPeriod/43 (read)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aCheckEnableNotif/47 (read)
Referring:
Function Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Availability: local
Function flags: count:508506948 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycle/69 (inlined) (508506948 (estimated locally),0.47 per call)
Calls: Emios_Pwm_Ip_SetInterruptRequest/236 (inlined) (46604662 (estimated locally),0.04 per call)
Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (Emios_Pwm_Ip_InitPeriodDutyCycleMode) @07e668c0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)Emios_Pwm_Ip_aPeriod/43 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)Emios_Pwm_Ip_aNotif/46 (write)
Referring:
Function Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (178956970 (estimated locally),0.17 per call)
Calls: Emios_Pwm_Ip_SetEdgePolarity/24 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_SetCounterBus/230 (inlined) (178956970 (estimated locally),0.17 per call)
Emios_Pwm_Ip_GetCounterBusMode/51 (Emios_Pwm_Ip_GetCounterBusMode) @07e66620
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetTriggerPlacement/75 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetPhaseShift/71 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_InitTriggerMode/58 (178956970 (estimated locally),0.17 per call)
Calls: Emios_Pwm_Ip_GetChannelPwmMode/29 (268435456 (estimated locally),0.25 per call) Emios_Pwm_Ip_GetChannelPwmMode/29 (268435456 (estimated locally),0.25 per call) Emios_Pwm_Ip_GetChannelPwmMode/29 (268435456 (estimated locally),0.25 per call)
Emios_Pwm_Ip_GetCounterBusPeriod/50 (Emios_Pwm_Ip_GetCounterBusPeriod) @07e66380
Type: function definition analyzed
Visibility: prevailing_def_ironly
References: Emios_Pwm_Ip_aBasePtr/41 (read)
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetPhaseShift/71 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetDutyCycle/68 (214748365 (estimated locally),0.20 per call) Emios_Pwm_Ip_GetPeriod/66 (194011060 (estimated locally),0.18 per call) Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (40255664 (estimated locally),0.04 per call) Emios_Pwm_Ip_InitTriggerMode/58 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (61382267 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (435622670 (estimated locally),0.41 per call) Emios_Pwm_Ip_InitDeadTimeMode/54 (69685844 (estimated locally),0.06 per call) Emios_Pwm_Ip_InitDeadTimeMode/54 (48425756 (estimated locally),0.05 per call)
Calls:
Emios_Pwm_Ip_aCheckState/49 (Emios_Pwm_Ip_aCheckState) @07ee45e8
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_InitChannel/62 (write)Emios_Pwm_Ip_DeInitChannel/63 (write)Emios_Pwm_Ip_SyncUpdate/90 (read)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aPolarity/48 (Emios_Pwm_Ip_aPolarity) @07ee4558
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (read)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (read)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (read)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aCheckEnableNotif/47 (Emios_Pwm_Ip_aCheckEnableNotif) @07ee44c8
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (read)Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (read)Emios_Pwm_Ip_DeInitChannel/63 (write)Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (read)Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (read)Emios_Pwm_Ip_SetFlagRequest/79 (write)Emios_Pwm_Ip_SetFlagRequest/79 (write)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aNotif/46 (Emios_Pwm_Ip_aNotif) @07ee4438
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (write)Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (write)Emios_Pwm_Ip_InitTriggerMode/58 (write)Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (write)Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (write)Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (write)Emios_Pwm_Ip_InitDeadTimeMode/54 (write)Emios_Pwm_Ip_InitDeadTimeMode/54 (write)Emios_Pwm_Ip_InitDeadTimeMode/54 (write)Emios_Pwm_Ip_InitEdgePlacementMode/56 (write)Emios_Pwm_Ip_InitEdgePlacementMode/56 (write)Emios_Pwm_Ip_InitEdgePlacementMode/56 (write)Emios_Pwm_Ip_InitTriggerMode/58 (write)Emios_Pwm_Ip_InitTriggerMode/58 (write)Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (write)Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (write)Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (write)Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (write)Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (write)Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (write)Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (write)Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (write)Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (write)Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (write)Emios_Pwm_Ip_SetFlagRequest/79 (read)Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (write)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (write)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (write)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (write)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aDaocDuty/45 (Emios_Pwm_Ip_aDaocDuty) @07ee43a8
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_GetDutyCycle/68 (read)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (write)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (write)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (write)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aRegA/44 (Emios_Pwm_Ip_aRegA) @07ee4318
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_InitTriggerMode/58 (write)Emios_Pwm_Ip_InitEdgePlacementMode/56 (write)Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (read)Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (read)Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (read)Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (read)Emios_Pwm_Ip_SetPhaseShift/71 (write)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aPeriod/43 (Emios_Pwm_Ip_aPeriod) @07ee4288
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_SetPeriod/67 (write)Emios_Pwm_Ip_InitDoubleCompareMode/60 (write)Emios_Pwm_Ip_GetPeriod/66 (read)Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (write)Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (read)Emios_Pwm_Ip_InitDoubleCompareMode/60 (read)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (read)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aNotificationPtr/42 (Emios_Pwm_Ip_aNotificationPtr) @07ee41b0
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_InitChannel/62 (write)
Availability: available
Varpool flags: initialized
Emios_Pwm_Ip_aBasePtr/41 (Emios_Pwm_Ip_aBasePtr) @07ee4000
Type: variable definition analyzed
Visibility: externally_visible public
References:
Referring: Emios_Pwm_Ip_SetPreEnableClock/85 (read)Emios_Pwm_Ip_GetMasterBusChannel/84 (read)Emios_Pwm_Ip_GetCounterBusPeriod/50 (read)Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (read)Emios_Pwm_Ip_SetBusSelected/86 (read)Emios_Pwm_Ip_InitDeadTimeMode/54 (read)Emios_Pwm_Ip_InitEdgePlacementMode/56 (read)Emios_Pwm_Ip_SetClockPs/87 (read)Emios_Pwm_Ip_GetChannelMode/83 (read)Emios_Pwm_Ip_InitTriggerMode/58 (read)Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (read)Emios_Pwm_Ip_DeInitChannel/63 (read)Emios_Pwm_Ip_ForceMatchLeadingEdge/64 (read)Emios_Pwm_Ip_ForceMatchTrailingEdge/65 (read)Emios_Pwm_Ip_GetPeriod/66 (read)Emios_Pwm_Ip_InitChannel/62 (read)Emios_Pwm_Ip_GetCounterBusMode/51 (read)Emios_Pwm_Ip_SetDutyCycleOpwfmb/53 (read)Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (read)Emios_Pwm_Ip_InitDoubleCompareMode/60 (read)Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (read)Emios_Pwm_Ip_SetPeriod/67 (read)Emios_Pwm_Ip_GetDutyCycle/68 (read)Emios_Pwm_Ip_GetPhaseShift/70 (read)Emios_Pwm_Ip_SetPhaseShift/71 (read)Emios_Pwm_Ip_GetDeadTime/72 (read)Emios_Pwm_Ip_SetDeadTime/73 (read)Emios_Pwm_Ip_GetTriggerPlacement/74 (read)Emios_Pwm_Ip_SetTriggerPlacement/75 (read)Emios_Pwm_Ip_ChannelEnterDebugMode/76 (read)Emios_Pwm_Ip_ChannelStopDebugMode/77 (read)Emios_Pwm_Ip_GetFlagRequest/78 (read)Emios_Pwm_Ip_SetFlagRequest/79 (read)Emios_Pwm_Ip_GetOutputState/80 (read)Emios_Pwm_Ip_SetOutputState/81 (read)Emios_Pwm_Ip_SetOutputToNormal/82 (read)Emios_Pwm_Ip_SetDutyCycleDaoc/61 (read)Emios_Pwm_Ip_SetDutyCycle/69 (read)Emios_Pwm_Ip_SyncUpdate/90 (read)
Availability: available
Varpool flags: initialized read-only const-value-known
Emios_Pwm_Ip_SetPrescalerSource/40 (Emios_Pwm_Ip_SetPrescalerSource) @06c52d20
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Function Emios_Pwm_Ip_SetPrescalerSource/40 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:524845003 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (524845003 (estimated locally),0.49 per call)
Calls:
Emios_Pwm_Ip_SetExtendedPrescaler/39 (Emios_Pwm_Ip_SetExtendedPrescaler) @06c529a0
Type: function definition analyzed
Visibility: prevailing_def_ironly
previous sharing asm name: 229
References:
Referring:
Function Emios_Pwm_Ip_SetExtendedPrescaler/39 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:524845003 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (524845003 (estimated locally),0.49 per call)
Calls:
Emios_Pwm_Ip_GetChannelPwmMode/29 (Emios_Pwm_Ip_GetChannelPwmMode) @06c47a80
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073527120 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_GetCounterBusMode/51 (268435456 (estimated locally),0.25 per call) Emios_Pwm_Ip_GetCounterBusMode/51 (268435456 (estimated locally),0.25 per call) Emios_Pwm_Ip_GetCounterBusMode/51 (268435456 (estimated locally),0.25 per call)
Calls:
Emios_Pwm_Ip_SetPwmModePol/28 (Emios_Pwm_Ip_SetPwmModePol) @06c477e0
Type: function definition analyzed
Visibility: prevailing_def_ironly
previous sharing asm name: 237
References:
Referring:
Function Emios_Pwm_Ip_SetPwmModePol/28 is inline copy in Emios_Pwm_Ip_SetOutputToNormal/82
Availability: local
Function flags: count:34396628 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetOutputToNormal/82 (inlined) (34396628 (estimated locally),0.03 per call)
Calls:
Emios_Pwm_Ip_GetPwmMode/27 (Emios_Pwm_Ip_GetPwmMode) @06c47380
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SyncUpdate/90 (104316166 (estimated locally),2.43 per call) Emios_Pwm_Ip_SetDutyCycle/69 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetChannelMode/83 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetOutputToNormal/82 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetPhaseShift/71 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetDutyCycle/68 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetPeriod/66 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_DeInitChannel/63 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (435622670 (estimated locally),0.41 per call)
Calls:
Emios_Pwm_Ip_SetEdgePolarity/24 (Emios_Pwm_Ip_SetEdgePolarity) @06c42a80
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycleDaoc/61 (3435549 (estimated locally),0.00 per call) Emios_Pwm_Ip_SetDutyCycleDaoc/61 (3592988 (estimated locally),0.00 per call) Emios_Pwm_Ip_SetDutyCycleDaoc/61 (13952170 (estimated locally),0.01 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (58607692 (estimated locally),0.05 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (61293478 (estimated locally),0.06 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (59055800 (estimated locally),0.06 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (118111600 (estimated locally),0.11 per call) Emios_Pwm_Ip_InitDoubleCompareMode/60 (60845370 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetOutputToNormal/82 (34396628 (estimated locally),0.03 per call) Emios_Pwm_Ip_SetOutputToNormal/82 (91013306 (estimated locally),0.08 per call) Emios_Pwm_Ip_SetOutputToNormal/82 (172892362 (estimated locally),0.16 per call) Emios_Pwm_Ip_InitTriggerMode/58 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitTriggerMode/58 (118111600 (estimated locally),0.11 per call) Emios_Pwm_Ip_InitTriggerMode/58 (60845370 (estimated locally),0.06 per call) Emios_Pwm_Ip_InitEdgePlacementMode/56 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitDeadTimeMode/54 (178956970 (estimated locally),0.17 per call) Emios_Pwm_Ip_InitDeadTimeMode/54 (118111600 (estimated locally),0.11 per call) Emios_Pwm_Ip_InitDeadTimeMode/54 (60845370 (estimated locally),0.06 per call) Emios_Pwm_Ip_InitPeriodDutyCycleMode/52 (178956970 (estimated locally),0.17 per call)
Calls:
Emios_Pwm_Ip_GetCounterBus/23 (Emios_Pwm_Ip_GetCounterBus) @06c42700
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_GetMasterBusChannel/84 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetTriggerPlacement/75 (1073741824 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetPhaseShift/71 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_SetPhaseShift/71 (1073741823 (estimated locally),1.00 per call) Emios_Pwm_Ip_GetDutyCycle/68 (214748365 (estimated locally),0.20 per call) Emios_Pwm_Ip_GetPeriod/66 (194011060 (estimated locally),0.18 per call) Emios_Pwm_Ip_SetDutyCycleOpwmt/59 (40255664 (estimated locally),0.04 per call) Emios_Pwm_Ip_SetDutyCycleOpwmb/57 (61382267 (estimated locally),0.06 per call) Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (435622670 (estimated locally),0.41 per call)
Calls:
Emios_Pwm_Ip_SetCounterBus/22 (Emios_Pwm_Ip_SetCounterBus) @06c42460
Type: function definition analyzed
Visibility: prevailing_def_ironly
previous sharing asm name: 228
References:
Referring:
Function Emios_Pwm_Ip_SetCounterBus/22 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:178956970 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitDoubleCompareMode/60 (inlined) (178956970 (estimated locally),0.17 per call)
Calls:
Emios_Pwm_Ip_SetForceMatchB/21 (Emios_Pwm_Ip_SetForceMatchB) @06c420e0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Function Emios_Pwm_Ip_SetForceMatchB/21 is inline copy in Emios_Pwm_Ip_ForceMatchTrailingEdge/65
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_ForceMatchTrailingEdge/65 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Emios_Pwm_Ip_SetForceMatchA/20 (Emios_Pwm_Ip_SetForceMatchA) @06c3dd20
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Function Emios_Pwm_Ip_SetForceMatchA/20 is inline copy in Emios_Pwm_Ip_ForceMatchLeadingEdge/64
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_ForceMatchLeadingEdge/64 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Emios_Pwm_Ip_SetInterruptRequest/18 (Emios_Pwm_Ip_SetInterruptRequest) @06c3d700
Type: function definition analyzed
Visibility: prevailing_def_ironly
previous sharing asm name: 234
References:
Referring:
Function Emios_Pwm_Ip_SetInterruptRequest/18 is inline copy in Emios_Pwm_Ip_SetDutyCycle/69
Availability: local
Function flags: count:53233090 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetDutyCycleOpwmcb/55 (inlined) (53233090 (estimated locally),0.05 per call)
Calls:
Emios_Pwm_Ip_SetPrescalerEnable/15 (Emios_Pwm_Ip_SetPrescalerEnable) @06c37d20
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Function Emios_Pwm_Ip_SetPrescalerEnable/15 is inline copy in Emios_Pwm_Ip_SetPreEnableClock/85
Availability: local
Function flags: count:1073741824 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_SetPreEnableClock/85 (inlined) (1073741824 (estimated locally),1.00 per call)
Calls:
Emios_Pwm_Ip_SetOutDisableSource/14 (Emios_Pwm_Ip_SetOutDisableSource) @06c379a0
Type: function definition analyzed
Visibility: prevailing_def_ironly
References:
Referring:
Function Emios_Pwm_Ip_SetOutDisableSource/14 is inline copy in Emios_Pwm_Ip_InitChannel/62
Availability: local
Function flags: count:524740055 (estimated locally) body local optimize_size
Called by: Emios_Pwm_Ip_InitChannel/62 (inlined) (524740055 (estimated locally),0.49 per call)
Calls:
;; Function Emios_Pwm_Ip_GetCounterBus (Emios_Pwm_Ip_GetCounterBus, funcdef_no=23, decl_uid=4568, cgraph_uid=24, symbol_order=23)
Emios_Pwm_Ip_GetCounterBus (const struct Emios_Pwm_Ip_HwAddrType * const base, uint8 channel)
{
Emios_Pwm_Ip_CounterBusSourceType counterBus;
int _1;
long unsigned int _2;
long unsigned int _3;
long unsigned int _4;
<unnamed type> _10;
unsigned int _12;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = (int) channel_6(D);
_2 ={v} base_8(D)->CH.UC[_1].C;
_3 = _2 >> 9;
_4 = _3 & 3;
_12 = _4;
if (_12 <= 2)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<L7>:
counterBus_11 = 3;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
<L8>:
_10 = (<unnamed type>) _4;
counterBus_9 = _10;
<bb 5> [local count: 1073741824]:
# counterBus_5 = PHI <counterBus_9(4), counterBus_11(3)>
<L9>:
<L6>:
# DEBUG counterBus => counterBus_5
# DEBUG BEGIN_STMT
return counterBus_5;
}
;; Function Emios_Pwm_Ip_SetEdgePolarity (Emios_Pwm_Ip_SetEdgePolarity, funcdef_no=24, decl_uid=4579, cgraph_uid=25, symbol_order=24)
Emios_Pwm_Ip_SetEdgePolarity (struct Emios_Pwm_Ip_HwAddrType * const base, uint8 channel, Emios_Pwm_Ip_PolarityType value)
{
int _1;
long unsigned int _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _5;
long unsigned int _6;
long unsigned int _7;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) channel_8(D);
_2 ={v} base_10(D)->CH.UC[_1].C;
_3 = _2 & 4294967167;
_4 = (long unsigned int) value_11(D);
_5 = _4 << 7;
_6 = _5 & 255;
_7 = _3 | _6;
base_10(D)->CH.UC[_1].C ={v} _7;
return;
}
;; Function Emios_Pwm_Ip_GetPwmMode (Emios_Pwm_Ip_GetPwmMode, funcdef_no=27, decl_uid=4592, cgraph_uid=28, symbol_order=27)
Emios_Pwm_Ip_GetPwmMode (const struct Emios_Pwm_Ip_HwAddrType * const base, uint8 channel)
{
Emios_Pwm_Ip_PwmModeType mode;
int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = (int) channel_5(D);
_2 ={v} base_7(D)->CH.UC[_1].C;
_3 = _2 & 127;
switch (_3) <default: <L12> [7.69%], case 1: <L15> [7.69%], case 6: <L1> [7.69%], case 7: <L2> [7.69%], case 38: <L3> [7.69%], case 88: <L4> [7.69%], case 90: <L5> [7.69%], case 92: <L6> [7.69%], case 93: <L8> [7.69%], case 94: <L7> [7.69%], case 95: <L9> [7.69%], case 96: <L10> [7.69%], case 98: <L11> [7.69%]>
<bb 3> [local count: 82570746]:
<L1>:
# DEBUG BEGIN_STMT
# DEBUG mode => 6
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 4> [local count: 82570746]:
<L2>:
# DEBUG BEGIN_STMT
# DEBUG mode => 7
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 5> [local count: 82570746]:
<L3>:
# DEBUG BEGIN_STMT
# DEBUG mode => 38
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 6> [local count: 82570746]:
<L4>:
# DEBUG BEGIN_STMT
# DEBUG mode => 88
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 7> [local count: 82570746]:
<L5>:
# DEBUG BEGIN_STMT
# DEBUG mode => 90
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 8> [local count: 82570746]:
<L6>:
# DEBUG BEGIN_STMT
# DEBUG mode => 92
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 9> [local count: 82570746]:
<L7>:
# DEBUG BEGIN_STMT
# DEBUG mode => 94
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 10> [local count: 82570746]:
<L8>:
# DEBUG BEGIN_STMT
# DEBUG mode => 93
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 11> [local count: 82570746]:
<L9>:
# DEBUG BEGIN_STMT
# DEBUG mode => 95
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 12> [local count: 82570746]:
<L10>:
# DEBUG BEGIN_STMT
# DEBUG mode => 96
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 13> [local count: 82570746]:
<L11>:
# DEBUG BEGIN_STMT
# DEBUG mode => 98
# DEBUG BEGIN_STMT
goto <bb 15>; [100.00%]
<bb 14> [local count: 82570746]:
<L12>:
# DEBUG BEGIN_STMT
# DEBUG mode => 255
# DEBUG BEGIN_STMT
<bb 15> [local count: 1073419702]:
# mode_4 = PHI <1(2), 6(3), 7(4), 38(5), 88(6), 90(7), 92(8), 94(9), 93(10), 95(11), 96(12), 98(13), 255(14)>
<L15>:
# DEBUG mode => mode_4
# DEBUG BEGIN_STMT
return mode_4;
}
;; Function Emios_Pwm_Ip_GetChannelPwmMode (Emios_Pwm_Ip_GetChannelPwmMode, funcdef_no=29, decl_uid=4617, cgraph_uid=30, symbol_order=29)
Emios_Pwm_Ip_GetChannelPwmMode (const struct Emios_Pwm_Ip_HwAddrType * const base, uint8 channel)
{
Emios_Pwm_Ip_MasterBusModeType masterBusMode;
int _1;
long unsigned int _2;
long unsigned int _3;
<bb 2> [local count: 1073527120]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
_1 = (int) channel_5(D);
_2 ={v} base_7(D)->CH.UC[_1].C;
_3 = _2 & 127;
switch (_3) <default: <L5> [16.67%], case 16: <L8> [16.67%], case 18: <L1> [16.67%], case 20: <L2> [16.67%], case 80: <L3> [16.67%], case 84: <L4> [16.67%]>
<bb 3> [local count: 178956971]:
<L1>:
# DEBUG BEGIN_STMT
# DEBUG masterBusMode => 18
# DEBUG BEGIN_STMT
goto <bb 8>; [100.00%]
<bb 4> [local count: 178956971]:
<L2>:
# DEBUG BEGIN_STMT
# DEBUG masterBusMode => 20
# DEBUG BEGIN_STMT
goto <bb 8>; [100.00%]
<bb 5> [local count: 178956971]:
<L3>:
# DEBUG BEGIN_STMT
# DEBUG masterBusMode => 80
# DEBUG BEGIN_STMT
goto <bb 8>; [100.00%]
<bb 6> [local count: 178956971]:
<L4>:
# DEBUG BEGIN_STMT
# DEBUG masterBusMode => 84
# DEBUG BEGIN_STMT
goto <bb 8>; [100.00%]
<bb 7> [local count: 178956971]:
<L5>:
# DEBUG BEGIN_STMT
# DEBUG masterBusMode => 0
# DEBUG BEGIN_STMT
<bb 8> [local count: 1073741824]:
# masterBusMode_4 = PHI <16(2), 18(3), 20(4), 80(5), 84(6), 0(7)>
<L8>:
# DEBUG masterBusMode => masterBusMode_4
# DEBUG BEGIN_STMT
return masterBusMode_4;
}
;; Function Emios_Pwm_Ip_GetCounterBusPeriod (Emios_Pwm_Ip_GetCounterBusPeriod, funcdef_no=41, decl_uid=8203, cgraph_uid=42, symbol_order=50)
Emios_Pwm_Ip_GetCounterBusPeriod (uint8 instance, uint8 channel, Emios_Pwm_Ip_CounterBusSourceType counterBus)
{
uint16 chPeriod;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
unsigned char _2;
long unsigned int _9;
short unsigned int _10;
long unsigned int _11;
short unsigned int _12;
int _13;
long unsigned int _14;
short unsigned int _15;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_4(D);
base_6 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_6
# DEBUG BEGIN_STMT
# DEBUG chPeriod => 0
# DEBUG BEGIN_STMT
if (counterBus_7(D) == 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => 23
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_9 ={v} base_6->CH.UC[23].A;
_10 = (short unsigned int) _9;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG chPeriod => _10
goto <bb 8>; [100.00%]
<bb 4> [local count: 536870913]:
# DEBUG BEGIN_STMT
if (counterBus_7(D) == 2)
goto <bb 5>; [34.00%]
else
goto <bb 6>; [66.00%]
<bb 5> [local count: 182536110]:
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => 22
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_11 ={v} base_6->CH.UC[22].A;
_12 = (short unsigned int) _11;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG chPeriod => _12
goto <bb 8>; [100.00%]
<bb 6> [local count: 354334802]:
# DEBUG BEGIN_STMT
if (counterBus_7(D) == 1)
goto <bb 7>; [34.00%]
else
goto <bb 8>; [66.00%]
<bb 7> [local count: 120473833]:
# DEBUG BEGIN_STMT
_2 = channel_8(D) & 248;
# DEBUG base => base_6
# DEBUG channel => _2
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_13 = (int) _2;
_14 ={v} base_6->CH.UC[_13].A;
_15 = (short unsigned int) _14;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG chPeriod => _15
<bb 8> [local count: 1073741824]:
# chPeriod_3 = PHI <_10(3), _12(5), 0(6), _15(7)>
# DEBUG chPeriod => chPeriod_3
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
return chPeriod_3;
}
;; Function Emios_Pwm_Ip_GetCounterBusMode (Emios_Pwm_Ip_GetCounterBusMode, funcdef_no=42, decl_uid=8210, cgraph_uid=43, symbol_order=51)
Emios_Pwm_Ip_GetCounterBusMode (uint8 instance, uint8 channel, Emios_Pwm_Ip_CounterBusSourceType counterBus)
{
Emios_Pwm_Ip_MasterBusModeType counterBusMode;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
unsigned char _2;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_5(D);
base_7 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_7
# DEBUG BEGIN_STMT
# DEBUG counterBusMode => 16
# DEBUG BEGIN_STMT
switch (counterBus_8(D)) <default: <L6> [25.00%], case 0: <L0> [25.00%], case 1: <L1> [25.00%], case 2: <L2> [25.00%]>
<bb 3> [local count: 268435456]:
<L0>:
# DEBUG BEGIN_STMT
counterBusMode_15 = Emios_Pwm_Ip_GetChannelPwmMode (base_7, 23);
# DEBUG counterBusMode => counterBusMode_15
# DEBUG BEGIN_STMT
goto <bb 6>; [100.00%]
<bb 4> [local count: 268435456]:
<L1>:
# DEBUG BEGIN_STMT
_2 = channel_11(D) & 248;
counterBusMode_13 = Emios_Pwm_Ip_GetChannelPwmMode (base_7, _2);
# DEBUG counterBusMode => counterBusMode_13
# DEBUG BEGIN_STMT
goto <bb 6>; [100.00%]
<bb 5> [local count: 268435456]:
<L2>:
# DEBUG BEGIN_STMT
counterBusMode_10 = Emios_Pwm_Ip_GetChannelPwmMode (base_7, 22);
# DEBUG counterBusMode => counterBusMode_10
# DEBUG BEGIN_STMT
<bb 6> [local count: 1073741824]:
# counterBusMode_3 = PHI <counterBusMode_15(3), counterBusMode_13(4), counterBusMode_10(5), 0(2)>
<L6>:
# DEBUG counterBusMode => counterBusMode_3
# DEBUG BEGIN_STMT
return counterBusMode_3;
}
;; Function Emios_Pwm_Ip_DeInitChannel (Emios_Pwm_Ip_DeInitChannel, funcdef_no=54, decl_uid=4350, cgraph_uid=55, symbol_order=63)
Emios_Pwm_Ip_DeInitChannel (uint8 instance, uint8 channel)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _2;
<unnamed type> _3;
long unsigned int _14;
long unsigned int _15;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_5(D);
base_7 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_7
# DEBUG BEGIN_STMT
_2 = (int) channel_8(D);
base_7->CH.UC[_2].C2 ={v} 0;
# DEBUG BEGIN_STMT
base_7->CH.UC[_2].C ={v} 0;
# DEBUG BEGIN_STMT
# DEBUG base => base_7
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
base_7->CH.UC[_2].A ={v} 0;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_7
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
base_7->CH.UC[_2].B ={v} 0;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_3 = Emios_Pwm_Ip_GetPwmMode (base_7, channel_8(D));
if (_3 == 38)
goto <bb 3>; [34.00%]
else
goto <bb 4>; [66.00%]
<bb 3> [local count: 365072220]:
# DEBUG BEGIN_STMT
# DEBUG base => base_7
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetTrigger
# DEBUG BEGIN_STMT
_14 ={v} base_7->CH.UC[_2].ALTA;
_15 = _14 & 4294901760;
base_7->CH.UC[_2].ALTA ={v} _15;
<bb 4> [local count: 1073741824]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aCheckEnableNotif[_1][_2] = 0;
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aCheckState[_1][_2] = 0;
return;
}
;; Function Emios_Pwm_Ip_ForceMatchLeadingEdge (Emios_Pwm_Ip_ForceMatchLeadingEdge, funcdef_no=55, decl_uid=4354, cgraph_uid=56, symbol_order=64)
Symbols to be put in SSA form
{ D.8886 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 7
Number of blocks to update: 6 ( 86%)
Merging blocks 2 and 4
Merging blocks 6 and 3
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 4 3 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Emios_Pwm_Ip_ForceMatchLeadingEdge (uint8 instance, uint8 channel, boolean enable)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _10;
long unsigned int _11;
long unsigned int _12;
unsigned char iftmp.7_13;
long unsigned int _14;
long unsigned int _15;
long unsigned int _16;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_14 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => enable_7(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchA
# DEBUG BEGIN_STMT
if (enable_7(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
<bb 4> [local count: 1073741824]:
# iftmp.7_13 = PHI <0(2), 1(3)>
# DEBUG value_convert => iftmp.7_13
# DEBUG BEGIN_STMT
_10 = (int) channel_6(D);
_11 ={v} base_4->CH.UC[_10].C;
_12 = _11 & 4294959103;
_14 = (long unsigned int) iftmp.7_13;
_15 = _14 << 13;
_16 = _12 | _15;
base_4->CH.UC[_10].C ={v} _16;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_14 ();
return;
}
;; Function Emios_Pwm_Ip_ForceMatchTrailingEdge (Emios_Pwm_Ip_ForceMatchTrailingEdge, funcdef_no=56, decl_uid=4358, cgraph_uid=57, symbol_order=65)
Symbols to be put in SSA form
{ D.8887 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 7
Number of blocks to update: 6 ( 86%)
Merging blocks 2 and 4
Merging blocks 6 and 3
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 4 3 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Emios_Pwm_Ip_ForceMatchTrailingEdge (uint8 instance, uint8 channel, boolean enable)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _10;
long unsigned int _11;
long unsigned int _12;
unsigned char iftmp.6_13;
long unsigned int _14;
long unsigned int _15;
long unsigned int _16;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_15 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => enable_7(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchB
# DEBUG BEGIN_STMT
if (enable_7(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
<bb 4> [local count: 1073741824]:
# iftmp.6_13 = PHI <0(2), 1(3)>
# DEBUG value_convert => iftmp.6_13
# DEBUG BEGIN_STMT
_10 = (int) channel_6(D);
_11 ={v} base_4->CH.UC[_10].C;
_12 = _11 & 4294963199;
_14 = (long unsigned int) iftmp.6_13;
_15 = _14 << 12;
_16 = _12 | _15;
base_4->CH.UC[_10].C ={v} _16;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_15 ();
return;
}
;; Function Emios_Pwm_Ip_GetPeriod (Emios_Pwm_Ip_GetPeriod, funcdef_no=57, decl_uid=4361, cgraph_uid=58, symbol_order=66)
Emios_Pwm_Ip_GetPeriod (uint8 instance, uint8 channel)
{
uint16 chPeriod;
Emios_Pwm_Ip_PwmModeType chMode;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
unsigned char _2;
int _3;
<unnamed type> _4;
int _17;
long unsigned int _18;
short unsigned int _19;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_7(D);
base_9 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_9
# DEBUG BEGIN_STMT
chMode_12 = Emios_Pwm_Ip_GetPwmMode (base_9, channel_10(D));
# DEBUG chMode => chMode_12
# DEBUG BEGIN_STMT
# DEBUG chPeriod => 0
# DEBUG BEGIN_STMT
if (chMode_12 == 88)
goto <bb 4>; [34.00%]
else
goto <bb 3>; [66.00%]
<bb 3> [local count: 708669605]:
if (chMode_12 == 90)
goto <bb 4>; [34.00%]
else
goto <bb 5>; [66.00%]
<bb 4> [local count: 606019887]:
# DEBUG BEGIN_STMT
# DEBUG base => base_9
# DEBUG channel => channel_10(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegB
# DEBUG BEGIN_STMT
_17 = (int) channel_10(D);
_18 ={v} base_9->CH.UC[_17].B;
_19 = (short unsigned int) _18;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG chPeriod => _19
goto <bb 8>; [100.00%]
<bb 5> [local count: 467721939]:
# DEBUG BEGIN_STMT
_2 = chMode_12 + 250;
if (_2 <= 1)
goto <bb 6>; [58.52%]
else
goto <bb 7>; [41.48%]
<bb 6> [local count: 273710878]:
# DEBUG BEGIN_STMT
_3 = (int) channel_10(D);
chPeriod_16 = Emios_Pwm_Ip_aPeriod[_1][_3];
# DEBUG chPeriod => chPeriod_16
goto <bb 8>; [100.00%]
<bb 7> [local count: 194011060]:
# DEBUG BEGIN_STMT
_4 = Emios_Pwm_Ip_GetCounterBus (base_9, channel_10(D));
chPeriod_15 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_7(D), channel_10(D), _4);
# DEBUG chPeriod => chPeriod_15
<bb 8> [local count: 1073741824]:
# chPeriod_5 = PHI <_19(4), chPeriod_16(6), chPeriod_15(7)>
# DEBUG chPeriod => chPeriod_5
# DEBUG BEGIN_STMT
return chPeriod_5;
}
;; Function Emios_Pwm_Ip_SetPeriod (Emios_Pwm_Ip_SetPeriod, funcdef_no=58, decl_uid=4365, cgraph_uid=59, symbol_order=67)
Emios_Pwm_Ip_SetPeriod (uint8 instance, uint8 channel, uint16 newPeriod)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _2;
int _12;
long unsigned int _13;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_4(D);
base_6 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_6
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_16 ();
# DEBUG BEGIN_STMT
if (newPeriod_8(D) == 0)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_9(D)
# DEBUG value => newPeriod_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_12 = (int) channel_9(D);
_13 = (long unsigned int) newPeriod_8(D);
base_6->CH.UC[_12].B ={v} _13;
<bb 4> [local count: 1073741824]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_2 = (int) channel_9(D);
Emios_Pwm_Ip_aPeriod[_1][_2] = newPeriod_8(D);
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_16 ();
return;
}
;; Function Emios_Pwm_Ip_GetDutyCycle (Emios_Pwm_Ip_GetDutyCycle, funcdef_no=59, decl_uid=4368, cgraph_uid=60, symbol_order=68)
Emios_Pwm_Ip_GetDutyCycle (uint8 instance, uint8 channel)
{
uint16 dutyCycle;
uint16 chPeriod;
Emios_Pwm_Ip_PwmModeType chMode;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
<unnamed type> _2;
short unsigned int _3;
long unsigned int _19;
short unsigned int _20;
int _21;
long unsigned int _22;
short unsigned int _23;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_6(D);
base_8 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_8
# DEBUG BEGIN_STMT
chMode_11 = Emios_Pwm_Ip_GetPwmMode (base_8, channel_9(D));
# DEBUG chMode => chMode_11
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG channel => channel_9(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_21 = (int) channel_9(D);
_22 ={v} base_8->CH.UC[_21].A;
_23 = (short unsigned int) _22;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG regAValue => _23
# DEBUG BEGIN_STMT
# DEBUG base => base_8
# DEBUG channel => channel_9(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegB
# DEBUG BEGIN_STMT
_19 ={v} base_8->CH.UC[_21].B;
_20 = (short unsigned int) _19;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG regBValue => _20
# DEBUG BEGIN_STMT
# DEBUG chPeriod => 0
# DEBUG BEGIN_STMT
# DEBUG dutyCycle => 0
# DEBUG BEGIN_STMT
switch (chMode_11) <default: <L20> [20.00%], case 6 ... 7: <L15> [20.00%], case 38: <L8> [20.00%], case 88: <L0> [20.00%], case 90: <L0> [20.00%], case 92 ... 95: <L0> [20.00%], case 96: <L6> [20.00%], case 98: <L6> [20.00%]>
<bb 3> [local count: 214748365]:
<L0>:
# DEBUG BEGIN_STMT
# DEBUG dutyCycle => _23
# DEBUG BEGIN_STMT
goto <bb 10>; [100.00%]
<bb 4> [local count: 214748365]:
<L6>:
# DEBUG BEGIN_STMT
dutyCycle_12 = _20 - _23;
# DEBUG dutyCycle => dutyCycle_12
# DEBUG BEGIN_STMT
goto <bb 10>; [100.00%]
<bb 5> [local count: 214748365]:
<L8>:
# DEBUG BEGIN_STMT
_2 = Emios_Pwm_Ip_GetCounterBus (base_8, channel_9(D));
chPeriod_15 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_6(D), channel_9(D), _2);
# DEBUG chPeriod => chPeriod_15
# DEBUG BEGIN_STMT
if (chPeriod_15 < _20)
goto <bb 10>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 6> [local count: 107374182]:
# DEBUG BEGIN_STMT
if (_20 < _23)
goto <bb 7>; [50.00%]
else
goto <bb 8>; [50.00%]
<bb 7> [local count: 53687091]:
# DEBUG BEGIN_STMT
_3 = chPeriod_15 - _23;
dutyCycle_17 = _3 + _20;
# DEBUG dutyCycle => dutyCycle_17
goto <bb 10>; [100.00%]
<bb 8> [local count: 53687091]:
# DEBUG BEGIN_STMT
dutyCycle_16 = _20 - _23;
# DEBUG dutyCycle => dutyCycle_16
goto <bb 10>; [100.00%]
<bb 9> [local count: 214748365]:
<L15>:
# DEBUG BEGIN_STMT
dutyCycle_18 = Emios_Pwm_Ip_aDaocDuty[_1][_21];
# DEBUG dutyCycle => dutyCycle_18
# DEBUG BEGIN_STMT
<bb 10> [local count: 1073741824]:
# dutyCycle_4 = PHI <_23(3), dutyCycle_12(4), dutyCycle_17(7), dutyCycle_18(9), 0(2), _20(5), dutyCycle_16(8)>
<L20>:
# DEBUG dutyCycle => dutyCycle_4
# DEBUG BEGIN_STMT
return dutyCycle_4;
}
;; Function Emios_Pwm_Ip_GetPhaseShift (Emios_Pwm_Ip_GetPhaseShift, funcdef_no=61, decl_uid=4375, cgraph_uid=62, symbol_order=70)
Emios_Pwm_Ip_GetPhaseShift (uint8 instance, uint8 channel)
{
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _6;
long unsigned int _7;
short unsigned int _8;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_5(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_6 = (int) channel_5(D);
_7 ={v} base_4->CH.UC[_6].A;
_8 = (short unsigned int) _7;
# DEBUG base => NULL
# DEBUG channel => NULL
return _8;
}
;; Function Emios_Pwm_Ip_SetPhaseShift (Emios_Pwm_Ip_SetPhaseShift, funcdef_no=62, decl_uid=4379, cgraph_uid=63, symbol_order=71)
Emios_Pwm_Ip_SetPhaseShift (uint8 instance, uint8 channel, uint16 phaseShift)
{
uint8 counterStart;
uint16 dutyCycle;
uint16 chPeriod;
Emios_Pwm_Ip_PwmModeType chMode;
struct Emios_Pwm_Ip_HwAddrType * const base;
Emios_Pwm_Ip_StatusType status;
int _1;
<unnamed type> _2;
<unnamed type> _3;
<unnamed type> _4;
short unsigned int _5;
int _6;
short unsigned int _7;
int _8;
int _9;
int _10;
int _11;
short unsigned int _12;
short unsigned int _13;
unsigned int _14;
unsigned int _15;
unsigned int _16;
int _17;
int _18;
int _19;
int _20;
int _21;
short unsigned int _22;
short unsigned int _23;
long unsigned int _44;
long unsigned int _45;
long unsigned int _46;
long unsigned int _47;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
# DEBUG status => 0
# DEBUG BEGIN_STMT
_1 = (int) instance_27(D);
base_29 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_29
# DEBUG BEGIN_STMT
chMode_32 = Emios_Pwm_Ip_GetPwmMode (base_29, channel_30(D));
# DEBUG chMode => chMode_32
# DEBUG BEGIN_STMT
# DEBUG chPeriod => 0
# DEBUG BEGIN_STMT
# DEBUG dutyCycle => 0
# DEBUG BEGIN_STMT
# DEBUG counterStart => 0
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_18 ();
# DEBUG BEGIN_STMT
_2 = Emios_Pwm_Ip_GetCounterBus (base_29, channel_30(D));
chPeriod_36 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_27(D), channel_30(D), _2);
# DEBUG chPeriod => chPeriod_36
# DEBUG BEGIN_STMT
dutyCycle_38 = Emios_Pwm_Ip_GetDutyCycle (instance_27(D), channel_30(D));
# DEBUG dutyCycle => dutyCycle_38
# DEBUG BEGIN_STMT
_3 = Emios_Pwm_Ip_GetCounterBus (base_29, channel_30(D));
_4 = Emios_Pwm_Ip_GetCounterBusMode (instance_27(D), channel_30(D), _3);
if (_4 == 80)
goto <bb 4>; [34.00%]
else
goto <bb 3>; [66.00%]
<bb 3> [local count: 708669604]:
# DEBUG BEGIN_STMT
# DEBUG counterStart => 0
<bb 4> [local count: 1073741823]:
# counterStart_25 = PHI <1(2), 0(3)>
# DEBUG counterStart => counterStart_25
# DEBUG BEGIN_STMT
_5 = (short unsigned int) counterStart_25;
_6 = (int) channel_30(D);
_7 = _5 + phaseShift_41(D);
Emios_Pwm_Ip_aRegA[_1][_6] = _7;
# DEBUG BEGIN_STMT
if (chMode_32 == 96)
goto <bb 6>; [34.00%]
else
goto <bb 5>; [66.00%]
<bb 5> [local count: 708669604]:
if (chMode_32 == 98)
goto <bb 6>; [34.00%]
else
goto <bb 8>; [66.00%]
<bb 6> [local count: 606019886]:
# DEBUG BEGIN_STMT
_8 = (int) phaseShift_41(D);
_9 = (int) dutyCycle_38;
_10 = _8 + _9;
_11 = (int) chPeriod_36;
if (_10 > _11)
goto <bb 12>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 7> [local count: 303009943]:
# DEBUG BEGIN_STMT
# DEBUG base => base_29
# DEBUG channel => channel_30(D)
# DEBUG value => _7
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_45 = (long unsigned int) _7;
base_29->CH.UC[_6].A ={v} _45;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_12 = dutyCycle_38 + phaseShift_41(D);
_13 = _5 + _12;
# DEBUG base => base_29
# DEBUG channel => channel_30(D)
# DEBUG value => _13
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_44 = (long unsigned int) _13;
base_29->CH.UC[_6].B ={v} _44;
goto <bb 12>; [100.00%]
<bb 8> [local count: 467721938]:
# DEBUG BEGIN_STMT
if (chMode_32 == 38)
goto <bb 9>; [34.00%]
else
goto <bb 12>; [66.00%]
<bb 9> [local count: 159025459]:
# DEBUG BEGIN_STMT
if (chPeriod_36 < phaseShift_41(D))
goto <bb 12>; [50.00%]
else
goto <bb 10>; [50.00%]
<bb 10> [local count: 79512729]:
# DEBUG BEGIN_STMT
# DEBUG base => base_29
# DEBUG channel => channel_30(D)
# DEBUG value => _7
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_46 = (long unsigned int) _7;
base_29->CH.UC[_6].A ={v} _46;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_14 = (unsigned int) dutyCycle_38;
_15 = (unsigned int) chPeriod_36;
_16 = _15 + 1;
if (_14 < _16)
goto <bb 11>; [50.00%]
else
goto <bb 12>; [50.00%]
<bb 11> [local count: 39756365]:
# DEBUG BEGIN_STMT
_17 = (int) phaseShift_41(D);
_18 = (int) dutyCycle_38;
_19 = _17 + _18;
_20 = (int) chPeriod_36;
_21 = _19 % _20;
_22 = (short unsigned int) _21;
_23 = _5 + _22;
# DEBUG base => base_29
# DEBUG channel => channel_30(D)
# DEBUG value => _23
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_47 = (long unsigned int) _23;
base_29->CH.UC[_6].B ={v} _47;
<bb 12> [local count: 1073741824]:
# status_24 = PHI <0(7), 0(10), 1(8), 1(6), 1(9), 0(11)>
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG status => status_24
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_18 ();
# DEBUG BEGIN_STMT
return status_24;
}
;; Function Emios_Pwm_Ip_GetDeadTime (Emios_Pwm_Ip_GetDeadTime, funcdef_no=63, decl_uid=4382, cgraph_uid=64, symbol_order=72)
Emios_Pwm_Ip_GetDeadTime (uint8 instance, uint8 channel)
{
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _6;
long unsigned int _7;
short unsigned int _8;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_5(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegB
# DEBUG BEGIN_STMT
_6 = (int) channel_5(D);
_7 ={v} base_4->CH.UC[_6].B;
_8 = (short unsigned int) _7;
# DEBUG base => NULL
# DEBUG channel => NULL
return _8;
}
;; Function Emios_Pwm_Ip_SetDeadTime (Emios_Pwm_Ip_SetDeadTime, funcdef_no=64, decl_uid=4386, cgraph_uid=65, symbol_order=73)
Emios_Pwm_Ip_SetDeadTime (uint8 instance, uint8 channel, uint16 newDeadTime)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _9;
long unsigned int _10;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_19 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => newDeadTime_7(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_9 = (int) channel_6(D);
_10 = (long unsigned int) newDeadTime_7(D);
base_4->CH.UC[_9].B ={v} _10;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_19 ();
return;
}
;; Function Emios_Pwm_Ip_GetTriggerPlacement (Emios_Pwm_Ip_GetTriggerPlacement, funcdef_no=65, decl_uid=4389, cgraph_uid=66, symbol_order=74)
Emios_Pwm_Ip_GetTriggerPlacement (uint8 instance, uint8 channel)
{
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _6;
long unsigned int _7;
long unsigned int _8;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_5(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetTrigger
# DEBUG BEGIN_STMT
_6 = (int) channel_5(D);
_7 ={v} base_4->CH.UC[_6].ALTA;
# DEBUG base => NULL
# DEBUG channel => NULL
_8 = _7 & 65535;
return _8;
}
;; Function Emios_Pwm_Ip_SetTriggerPlacement (Emios_Pwm_Ip_SetTriggerPlacement, funcdef_no=66, decl_uid=4393, cgraph_uid=67, symbol_order=75)
Emios_Pwm_Ip_SetTriggerPlacement (uint8 instance, uint8 channel, uint32 newTriggerPlacement)
{
uint8 counterStart;
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
<unnamed type> _2;
<unnamed type> _3;
short unsigned int _4;
short unsigned int _5;
short unsigned int _6;
int _17;
long unsigned int _18;
long unsigned int _19;
long unsigned int _20;
long unsigned int _21;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_8(D);
base_10 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_10
# DEBUG BEGIN_STMT
# DEBUG counterStart => 0
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_20 ();
# DEBUG BEGIN_STMT
_2 = Emios_Pwm_Ip_GetCounterBus (base_10, channel_12(D));
_3 = Emios_Pwm_Ip_GetCounterBusMode (instance_8(D), channel_12(D), _2);
if (_3 == 80)
goto <bb 4>; [34.00%]
else
goto <bb 3>; [66.00%]
<bb 3> [local count: 708669605]:
# DEBUG BEGIN_STMT
# DEBUG counterStart => 0
<bb 4> [local count: 1073741824]:
# counterStart_7 = PHI <1(2), 0(3)>
# DEBUG counterStart => counterStart_7
# DEBUG BEGIN_STMT
_4 = (short unsigned int) newTriggerPlacement_15(D);
_5 = (short unsigned int) counterStart_7;
_6 = _4 + _5;
# DEBUG base => base_10
# DEBUG channel => channel_12(D)
# DEBUG value => _6
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetTrigger
# DEBUG BEGIN_STMT
_17 = (int) channel_12(D);
_18 ={v} base_10->CH.UC[_17].ALTA;
_19 = _18 & 4294901760;
_20 = (long unsigned int) _6;
_21 = _19 | _20;
base_10->CH.UC[_17].ALTA ={v} _21;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_20 ();
return;
}
;; Function Emios_Pwm_Ip_ChannelEnterDebugMode (Emios_Pwm_Ip_ChannelEnterDebugMode, funcdef_no=67, decl_uid=4396, cgraph_uid=68, symbol_order=76)
Emios_Pwm_Ip_ChannelEnterDebugMode (uint8 instance, uint8 channel)
{
Emios_Pwm_Ip_StatusType ret;
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
long unsigned int _10;
long unsigned int _11;
int _12;
long unsigned int _13;
long unsigned int _14;
long unsigned int _15;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_4(D);
base_6 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_6
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_21 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetDebugMode
# DEBUG BEGIN_STMT
_10 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_6].MCR;
_11 = _10 & 536870912;
# DEBUG base => NULL
if (_11 != 0)
goto <bb 3>; [65.00%]
else
goto <bb 4>; [35.00%]
<bb 3> [local count: 697932186]:
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetFreezeEnable
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_12 = (int) channel_8(D);
_13 ={v} base_6->CH.UC[_12].C;
_14 = _13 & 2147483647;
_15 = _14 | 2147483648;
base_6->CH.UC[_12].C ={v} _15;
<bb 4> [local count: 1073741824]:
# ret_2 = PHI <0(3), 3075(2)>
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG ret => ret_2
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_21 ();
# DEBUG BEGIN_STMT
return ret_2;
}
;; Function Emios_Pwm_Ip_ChannelStopDebugMode (Emios_Pwm_Ip_ChannelStopDebugMode, funcdef_no=68, decl_uid=4399, cgraph_uid=69, symbol_order=77)
Emios_Pwm_Ip_ChannelStopDebugMode (uint8 instance, uint8 channel)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _8;
long unsigned int _9;
long unsigned int _10;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_22 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetFreezeEnable
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_8 = (int) channel_6(D);
_9 ={v} base_4->CH.UC[_8].C;
_10 = _9 & 2147483647;
base_4->CH.UC[_8].C ={v} _10;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_22 ();
return;
}
;; Function Emios_Pwm_Ip_GetFlagRequest (Emios_Pwm_Ip_GetFlagRequest, funcdef_no=69, decl_uid=4402, cgraph_uid=70, symbol_order=78)
Emios_Pwm_Ip_GetFlagRequest (uint8 instance, uint8 channel)
{
Emios_Pwm_Ip_InterruptType eventType;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _7;
long unsigned int _8;
long unsigned int _9;
long unsigned int _10;
long unsigned int _11;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_3(D);
base_5 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_5
# DEBUG BEGIN_STMT
# DEBUG eventType => 0
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_6(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetInterruptRequest
# DEBUG BEGIN_STMT
_7 = (int) channel_6(D);
_8 ={v} base_5->CH.UC[_7].C;
_9 = _8 & 131072;
# DEBUG base => NULL
# DEBUG channel => NULL
if (_9 != 0)
goto <bb 3>; [50.00%]
else
goto <bb 5>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_6(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetDMARequest
# DEBUG BEGIN_STMT
_10 ={v} base_5->CH.UC[_7].C;
_11 = _10 & 16777216;
# DEBUG base => NULL
# DEBUG channel => NULL
if (_11 != 0)
goto <bb 5>; [35.00%]
else
goto <bb 4>; [65.00%]
<bb 4> [local count: 348966093]:
# DEBUG BEGIN_STMT
# DEBUG eventType => 1
<bb 5> [local count: 1073741824]:
# eventType_2 = PHI <0(2), 2(3), 1(4)>
# DEBUG eventType => eventType_2
# DEBUG BEGIN_STMT
return eventType_2;
}
;; Function Emios_Pwm_Ip_SetFlagRequest (Emios_Pwm_Ip_SetFlagRequest, funcdef_no=70, decl_uid=4406, cgraph_uid=71, symbol_order=79)
Emios_Pwm_Ip_SetFlagRequest (uint8 instance, uint8 channel, Emios_Pwm_Ip_InterruptType event)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
unsigned char _2;
int _13;
long unsigned int _14;
long unsigned int _15;
long unsigned int _16;
long unsigned int _17;
long unsigned int _18;
long unsigned int _19;
long unsigned int _20;
long unsigned int _21;
long unsigned int _22;
long unsigned int _23;
long unsigned int _24;
long unsigned int _25;
long unsigned int _26;
long unsigned int _27;
long unsigned int _28;
long unsigned int _29;
long unsigned int _30;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_4(D);
base_6 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_6
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_23 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_13 = (int) channel_8(D);
_14 ={v} base_6->CH.UC[_13].S;
_15 = _14 | 1;
base_6->CH.UC[_13].S ={v} _15;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
switch (event_9(D)) <default: <L7> [25.00%], case 0: <L12> [25.00%], case 1: <L0> [25.00%], case 2: <L11> [25.00%]>
<bb 3> [local count: 268435456]:
<L0>:
# DEBUG BEGIN_STMT
_2 = Emios_Pwm_Ip_aNotif[_1][_13];
if (_2 == 0)
goto <bb 4>; [50.00%]
else
goto <bb 7>; [50.00%]
<bb 4> [local count: 134217728]:
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_18 ={v} base_6->CH.UC[_13].C;
_19 = _18 & 4294836223;
_20 = _19 | 131072;
base_6->CH.UC[_13].C ={v} _20;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDMARequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_16 ={v} base_6->CH.UC[_13].C;
_17 = _16 & 4278190079;
base_6->CH.UC[_13].C ={v} _17;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aCheckEnableNotif[_1][_13] = 1;
goto <bb 7>; [100.00%]
<bb 5> [local count: 268435456]:
<L11>:
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_24 ={v} base_6->CH.UC[_13].C;
_25 = _24 & 4294836223;
_26 = _25 | 131072;
base_6->CH.UC[_13].C ={v} _26;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDMARequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_21 ={v} base_6->CH.UC[_13].C;
_22 = _21 & 4278190079;
_23 = _22 | 16777216;
base_6->CH.UC[_13].C ={v} _23;
goto <bb 7>; [100.00%]
<bb 6> [local count: 268435456]:
<L12>:
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_29 ={v} base_6->CH.UC[_13].C;
_30 = _29 & 4294836223;
base_6->CH.UC[_13].C ={v} _30;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_6
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDMARequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_27 ={v} base_6->CH.UC[_13].C;
_28 = _27 & 4278190079;
base_6->CH.UC[_13].C ={v} _28;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aCheckEnableNotif[_1][_13] = 0;
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
<L7>:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_23 ();
return;
}
;; Function Emios_Pwm_Ip_GetOutputState (Emios_Pwm_Ip_GetOutputState, funcdef_no=71, decl_uid=4409, cgraph_uid=72, symbol_order=80)
Emios_Pwm_Ip_GetOutputState (uint8 instance, uint8 channel)
{
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
Emios_Pwm_Ip_OutputStateType iftmp.12_2;
int _7;
long unsigned int _8;
long unsigned int _9;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_3(D);
base_5 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_5
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_6(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetOutputPinState
# DEBUG BEGIN_STMT
_7 = (int) channel_6(D);
_8 ={v} base_5->CH.UC[_7].S;
_9 = _8 & 2;
# DEBUG base => NULL
# DEBUG channel => NULL
if (_9 == 0)
goto <bb 4>; [50.00%]
else
goto <bb 3>; [50.00%]
<bb 3> [local count: 536870913]:
<bb 4> [local count: 1073741824]:
# iftmp.12_2 = PHI <0(2), 1(3)>
return iftmp.12_2;
}
;; Function Emios_Pwm_Ip_SetOutputState (Emios_Pwm_Ip_SetOutputState, funcdef_no=72, decl_uid=4413, cgraph_uid=73, symbol_order=81)
Emios_Pwm_Ip_SetOutputState (uint8 instance, uint8 channel, Emios_Pwm_Ip_OutputStateType outputState)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _10;
long unsigned int _11;
long unsigned int _12;
int _13;
long unsigned int _14;
long unsigned int _15;
long unsigned int _16;
long unsigned int _17;
long unsigned int _18;
long unsigned int _19;
long unsigned int _20;
int _21;
long unsigned int _22;
long unsigned int _23;
long unsigned int _24;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_3(D);
base_5 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_5
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_24 ();
# DEBUG BEGIN_STMT
if (outputState_7(D) == 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetEdgePolarity
# DEBUG BEGIN_STMT
_10 = (int) channel_8(D);
_11 ={v} base_5->CH.UC[_10].C;
_12 = _11 & 4294967167;
base_5->CH.UC[_10].C ={v} _12;
goto <bb 5>; [100.00%]
<bb 4> [local count: 536870913]:
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetEdgePolarity
# DEBUG BEGIN_STMT
_13 = (int) channel_8(D);
_14 ={v} base_5->CH.UC[_13].C;
_15 = _14 & 4294967167;
_16 = _15 | 128;
base_5->CH.UC[_13].C ={v} _16;
<bb 5> [local count: 1073741824]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_8(D)
# DEBUG mode => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_21 = (int) channel_8(D);
_22 ={v} base_5->CH.UC[_21].C;
_23 = _22 & 4294967168;
_24 = _23 | 1;
base_5->CH.UC[_21].C ={v} _24;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_19 ={v} base_5->CH.UC[_21].C;
_20 = _19 & 4294836223;
base_5->CH.UC[_21].C ={v} _20;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_5
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_17 ={v} base_5->CH.UC[_21].S;
_18 = _17 | 1;
base_5->CH.UC[_21].S ={v} _18;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_24 ();
return;
}
;; Function Emios_Pwm_Ip_SetOutputToNormal (Emios_Pwm_Ip_SetOutputToNormal, funcdef_no=73, decl_uid=4419, cgraph_uid=74, symbol_order=82)
Symbols to be put in SSA form
{ D.8903 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 17
Number of blocks to update: 16 ( 94%)
Merging blocks 10 and 14
Removing basic block 11
Removing basic block 15
Merging blocks 10 and 13
;; 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 11 12
;; 2 succs { 3 12 }
;; 3 succs { 5 4 }
;; 4 succs { 5 6 }
;; 5 succs { 12 }
;; 6 succs { 8 7 }
;; 7 succs { 8 9 }
;; 8 succs { 12 }
;; 9 succs { 10 11 }
;; 10 succs { 12 }
;; 11 succs { 12 }
;; 12 succs { 1 }
Emios_Pwm_Ip_SetOutputToNormal (uint8 instance, uint8 channel, uint16 dutyPercent, Emios_Pwm_Ip_PolarityType polarity, Emios_Pwm_Ip_PwmModeType mode)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
<unnamed type> _2;
_Bool _3;
<unnamed type> _4;
_Bool _5;
<unnamed type> _6;
int _23;
long unsigned int _24;
long unsigned int _25;
<unnamed type> _26;
long unsigned int _27;
long unsigned int _28;
int _29;
long unsigned int _30;
long unsigned int _31;
<unnamed type> _32;
long unsigned int _33;
long unsigned int _34;
int _37;
long unsigned int _38;
long unsigned int _39;
<unnamed type> _40;
long unsigned int _41;
long unsigned int _42;
long unsigned int _43;
long unsigned int _44;
long unsigned int _45;
long unsigned int _46;
int _47;
long unsigned int _48;
long unsigned int _49;
<unnamed type> _50;
long unsigned int _51;
long unsigned int _52;
long unsigned int _53;
long unsigned int _54;
long unsigned int _55;
long unsigned int _56;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_8(D);
base_10 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_10
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_25 ();
# DEBUG BEGIN_STMT
_2 = Emios_Pwm_Ip_GetPwmMode (base_10, channel_12(D));
if (_2 == 1)
goto <bb 3>; [34.00%]
else
goto <bb 12>; [66.00%]
<bb 3> [local count: 365072220]:
# DEBUG BEGIN_STMT
if (mode_14(D) == 88)
goto <bb 5>; [20.24%]
else
goto <bb 4>; [79.76%]
<bb 4> [local count: 291181603]:
if (mode_14(D) == 90)
goto <bb 5>; [34.00%]
else
goto <bb 6>; [66.00%]
<bb 5> [local count: 172892362]:
# DEBUG BEGIN_STMT
# DEBUG base => base_10
# DEBUG channel => channel_12(D)
# DEBUG mode => mode_14(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_23 = (int) channel_12(D);
_24 ={v} base_10->CH.UC[_23].C;
_25 = _24 & 4294967168;
_26 = mode_14(D) & 127;
_27 = (long unsigned int) _26;
_28 = _25 | _27;
base_10->CH.UC[_23].C ={v} _28;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
_3 = polarity_16(D) != 1;
_4 = (<unnamed type>) _3;
Emios_Pwm_Ip_SetEdgePolarity (base_10, channel_12(D), _4);
goto <bb 12>; [100.00%]
<bb 6> [local count: 192179858]:
# DEBUG BEGIN_STMT
if (mode_14(D) == 96)
goto <bb 8>; [20.24%]
else
goto <bb 7>; [79.76%]
<bb 7> [local count: 153282654]:
if (mode_14(D) == 98)
goto <bb 8>; [34.00%]
else
goto <bb 9>; [66.00%]
<bb 8> [local count: 91013306]:
# DEBUG BEGIN_STMT
# DEBUG base => base_10
# DEBUG channel => channel_12(D)
# DEBUG mode => mode_14(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_29 = (int) channel_12(D);
_30 ={v} base_10->CH.UC[_29].C;
_31 = _30 & 4294967168;
_32 = mode_14(D) & 127;
_33 = (long unsigned int) _32;
_34 = _31 | _33;
base_10->CH.UC[_29].C ={v} _34;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_SetEdgePolarity (base_10, channel_12(D), polarity_16(D));
goto <bb 12>; [100.00%]
<bb 9> [local count: 101166552]:
# DEBUG BEGIN_STMT
if (dutyPercent_15(D) == 32768)
goto <bb 10>; [34.00%]
else
goto <bb 11>; [66.00%]
<bb 10> [local count: 34396628]:
# DEBUG BEGIN_STMT
_5 = polarity_16(D) != 1;
_6 = (<unnamed type>) _5;
# DEBUG base => base_10
# DEBUG channel => channel_12(D)
# DEBUG mode => mode_14(D)
# DEBUG pol => _6
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmModePol
# DEBUG BEGIN_STMT
_37 = (int) channel_12(D);
_38 ={v} base_10->CH.UC[_37].C;
_39 = _38 & 4294967040;
_40 = mode_14(D) & 127;
_41 = (long unsigned int) _40;
_42 = _39 | _41;
_43 = (long unsigned int) _6;
_44 = _43 << 7;
_45 = _44 & 255;
_46 = _42 | _45;
base_10->CH.UC[_37].C ={v} _46;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG pol => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_SetEdgePolarity (base_10, channel_12(D), polarity_16(D));
goto <bb 12>; [100.00%]
<bb 11> [local count: 66769924]:
# DEBUG BEGIN_STMT
# DEBUG base => base_10
# DEBUG channel => channel_12(D)
# DEBUG mode => mode_14(D)
# DEBUG pol => polarity_16(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmModePol
# DEBUG BEGIN_STMT
_47 = (int) channel_12(D);
_48 ={v} base_10->CH.UC[_47].C;
_49 = _48 & 4294967040;
_50 = mode_14(D) & 127;
_51 = (long unsigned int) _50;
_52 = _49 | _51;
_53 = (long unsigned int) polarity_16(D);
_54 = _53 << 7;
_55 = _54 & 255;
_56 = _52 | _55;
base_10->CH.UC[_47].C ={v} _56;
<bb 12> [local count: 1073741824]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG pol => NULL
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_25 ();
return;
}
;; Function Emios_Pwm_Ip_GetChannelMode (Emios_Pwm_Ip_GetChannelMode, funcdef_no=74, decl_uid=4422, cgraph_uid=75, symbol_order=83)
Emios_Pwm_Ip_GetChannelMode (uint8 instance, uint8 channel)
{
Emios_Pwm_Ip_PwmModeType channelMode;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
channelMode_7 = Emios_Pwm_Ip_GetPwmMode (base_4, channel_5(D));
# DEBUG channelMode => channelMode_7
# DEBUG BEGIN_STMT
return channelMode_7;
}
;; Function Emios_Pwm_Ip_GetMasterBusChannel (Emios_Pwm_Ip_GetMasterBusChannel, funcdef_no=75, decl_uid=4425, cgraph_uid=76, symbol_order=84)
Emios_Pwm_Ip_GetMasterBusChannel (uint8 instance, uint8 channel)
{
Emios_Pwm_Ip_CounterBusSourceType counterBus;
uint8 channelMaster;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
unsigned char _2;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_4(D);
base_6 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_6
# DEBUG BEGIN_STMT
# DEBUG channelMaster => channel_7(D)
# DEBUG BEGIN_STMT
counterBus_9 = Emios_Pwm_Ip_GetCounterBus (base_6, channel_7(D));
# DEBUG counterBus => counterBus_9
# DEBUG BEGIN_STMT
switch (counterBus_9) <default: <L3> [25.00%], case 0: <L6> [25.00%], case 1: <L2> [25.00%], case 2: <L1> [25.00%]>
<bb 3> [local count: 268435456]:
<L1>:
# DEBUG BEGIN_STMT
# DEBUG channelMaster => 22
# DEBUG BEGIN_STMT
goto <bb 6>; [100.00%]
<bb 4> [local count: 268435456]:
<L2>:
# DEBUG BEGIN_STMT
_2 = channel_7(D) >> 3;
channelMaster_10 = _2 * 8;
# DEBUG channelMaster => channelMaster_10
# DEBUG BEGIN_STMT
goto <bb 6>; [100.00%]
<bb 5> [local count: 268435456]:
<L3>:
# DEBUG BEGIN_STMT
# DEBUG channelMaster => channel_7(D)
# DEBUG BEGIN_STMT
<bb 6> [local count: 1073741824]:
# channelMaster_3 = PHI <23(2), 22(3), channelMaster_10(4), channel_7(D)(5)>
<L6>:
# DEBUG channelMaster => channelMaster_3
# DEBUG BEGIN_STMT
return channelMaster_3;
}
;; Function Emios_Pwm_Ip_InitChannel (Emios_Pwm_Ip_InitChannel, funcdef_no=53, decl_uid=4347, cgraph_uid=54, symbol_order=62)
Symbols to be put in SSA form
{ D.8907 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 83
Number of blocks to update: 82 ( 99%)
Merging blocks 3 and 18
Removing basic block 9
Removing basic block 10
Removing basic block 11
Removing basic block 12
Removing basic block 13
Merging blocks 15 and 82
Removing basic block 17
Removing basic block 19
Merging blocks 20 and 27
Removing basic block 28
Merging blocks 34 and 39
Removing basic block 40
Merging blocks 41 and 48
Removing basic block 49
Merging blocks 57 and 62
Removing basic block 63
Merging blocks 66 and 78
Merging blocks 15 and 81
Merging blocks 15 and 80
Merging blocks 15 and 79
Merging blocks 20 and 26
Merging blocks 34 and 38
Merging blocks 41 and 47
Merging blocks 57 and 61
Merging blocks 66 and 77
;; 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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
;; 2 succs { 3 4 }
;; 3 succs { 4 }
;; 4 succs { 5 8 }
;; 5 succs { 6 7 }
;; 6 succs { 8 }
;; 7 succs { 8 }
;; 8 succs { 54 41 30 9 15 24 }
;; 9 succs { 10 11 }
;; 10 succs { 14 }
;; 11 succs { 12 13 }
;; 12 succs { 14 }
;; 13 succs { 14 }
;; 14 succs { 54 }
;; 15 succs { 16 17 }
;; 16 succs { 20 }
;; 17 succs { 18 19 }
;; 18 succs { 20 }
;; 19 succs { 20 }
;; 20 succs { 21 22 }
;; 21 succs { 23 }
;; 22 succs { 23 }
;; 23 succs { 54 }
;; 24 succs { 25 26 }
;; 25 succs { 29 }
;; 26 succs { 27 28 }
;; 27 succs { 29 }
;; 28 succs { 29 }
;; 29 succs { 54 }
;; 30 succs { 32 31 }
;; 31 succs { 32 }
;; 32 succs { 33 34 }
;; 33 succs { 37 }
;; 34 succs { 35 36 }
;; 35 succs { 37 }
;; 36 succs { 37 }
;; 37 succs { 38 39 }
;; 38 succs { 40 }
;; 39 succs { 40 }
;; 40 succs { 54 }
;; 41 succs { 43 42 }
;; 42 succs { 43 }
;; 43 succs { 44 45 }
;; 44 succs { 46 }
;; 45 succs { 46 }
;; 46 succs { 47 48 }
;; 47 succs { 53 }
;; 48 succs { 49 52 }
;; 49 succs { 51 50 }
;; 50 succs { 51 }
;; 51 succs { 53 }
;; 52 succs { 53 }
;; 53 succs { 54 }
;; 54 succs { 55 56 }
;; 55 succs { 56 }
;; 56 succs { 1 }
Emios_Pwm_Ip_InitChannel (uint8 instance, const struct Emios_Pwm_Ip_ChannelConfigType * userChCfg)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
uint16 daocRegA;
struct Emios_Pwm_Ip_HwAddrType * const base;
uint16 counterBusPeriod;
uint16 trailingEdge;
uint8 counterStart;
struct Emios_Pwm_Ip_HwAddrType * const base;
struct Emios_Pwm_Ip_HwAddrType * const base;
uint16 dutyCycle;
struct Emios_Pwm_Ip_HwAddrType * const base;
uint8 channel;
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _2;
<unnamed type> _3;
<unnamed type> _4;
unsigned char _5;
int _6;
const struct Emios_Pwm_Ip_NotificationType * _7;
unsigned char _8;
<unnamed type> _9;
<unnamed type> _10;
unsigned char _11;
unsigned char _12;
<unnamed type> _13;
unsigned char _14;
unsigned char _15;
int _16;
long unsigned int _37;
long unsigned int _38;
long unsigned int _39;
long unsigned int _40;
int _41;
long unsigned int _42;
long unsigned int _43;
long unsigned int _44;
int _45;
long unsigned int _46;
long unsigned int _47;
long unsigned int _48;
int _53;
long unsigned int _54;
long unsigned int _55;
long unsigned int _56;
long unsigned int _57;
long unsigned int _58;
long unsigned int _59;
int _60;
unsigned char _62;
<unnamed type> _63;
unsigned char _64;
short unsigned int _65;
int _66;
long unsigned int _67;
short unsigned int _68;
long unsigned int _69;
<unnamed type> _70;
long unsigned int _71;
long unsigned int _72;
<unnamed type> _73;
long unsigned int _74;
long unsigned int _75;
<unnamed type> _76;
_Bool _77;
<unnamed type> _78;
unsigned char _79;
int _80;
short unsigned int _81;
short unsigned int _82;
int _83;
long unsigned int _84;
long unsigned int _85;
long unsigned int _86;
long unsigned int _87;
long unsigned int _88;
long unsigned int _89;
int _90;
short unsigned int _92;
short unsigned int _93;
unsigned char _94;
int _95;
unsigned char _96;
<unnamed type> _97;
short unsigned int _98;
unsigned char _100;
int _101;
unsigned char _103;
<unnamed type> _104;
short unsigned int _105;
unsigned char _107;
int _108;
unsigned char _109;
<unnamed type> _110;
unsigned char _111;
int _112;
long unsigned int _114;
short unsigned int _115;
long unsigned int _116;
short unsigned int _117;
short unsigned int _118;
<unnamed type> _119;
_Bool _120;
<unnamed type> _121;
<unnamed type> _122;
unsigned char _123;
<unnamed type> _124;
int _125;
long unsigned int _126;
long unsigned int _127;
<unnamed type> _128;
long unsigned int _129;
long unsigned int _130;
<unnamed type> _131;
int _132;
long unsigned int _133;
long unsigned int _134;
long unsigned int _135;
long unsigned int _136;
long unsigned int _137;
long unsigned int _138;
int _139;
unsigned char _141;
int _142;
short unsigned int _143;
<unnamed type> _144;
unsigned char _145;
short unsigned int _146;
int _147;
long unsigned int _148;
short unsigned int _149;
short unsigned int _150;
long unsigned int _151;
<unnamed type> _152;
long unsigned int _153;
long unsigned int _154;
<unnamed type> _155;
long unsigned int _156;
long unsigned int _157;
<unnamed type> _158;
short unsigned int _159;
short unsigned int _160;
unsigned char _161;
int _162;
unsigned char _163;
int _164;
unsigned char _165;
int _166;
int _167;
long unsigned int _168;
long unsigned int _169;
long unsigned int _170;
long unsigned int _171;
long unsigned int _172;
long unsigned int _173;
int _174;
unsigned char _176;
<unnamed type> _177;
unsigned char _179;
<unnamed type> _180;
<unnamed type> _181;
short unsigned int _182;
unsigned char _184;
int _185;
unsigned char _187;
int _188;
short unsigned int _189;
int _190;
int _191;
int _192;
int _193;
int _194;
unsigned char _196;
int _197;
short unsigned int _198;
short unsigned int _200;
unsigned char _201;
int _202;
short unsigned int _203;
<unnamed type> _204;
unsigned char _205;
short unsigned int _206;
short unsigned int _207;
int _208;
long unsigned int _209;
short unsigned int _211;
long unsigned int _212;
short unsigned int _213;
short unsigned int _214;
long unsigned int _215;
long unsigned int _216;
long unsigned int _217;
long unsigned int _218;
short unsigned int _219;
<unnamed type> _220;
_Bool _221;
<unnamed type> _222;
<unnamed type> _223;
unsigned char _224;
<unnamed type> _225;
int _226;
long unsigned int _227;
long unsigned int _228;
<unnamed type> _229;
long unsigned int _230;
long unsigned int _231;
<unnamed type> _232;
int _233;
long unsigned int _234;
long unsigned int _235;
long unsigned int _236;
long unsigned int _237;
long unsigned int _238;
long unsigned int _239;
int _240;
unsigned char _242;
int _243;
short unsigned int _244;
<unnamed type> _245;
unsigned char iftmp.2_246;
unsigned char _247;
unsigned char _248;
int _249;
long unsigned int _250;
short unsigned int _251;
unsigned char _252;
int _253;
long unsigned int _254;
long unsigned int _255;
long unsigned int _256;
<unnamed type> _257;
short unsigned int _258;
short unsigned int _259;
unsigned char _260;
<unnamed type> _261;
_Bool _262;
<unnamed type> _263;
unsigned char _264;
<unnamed type> _265;
unsigned char _266;
<unnamed type> _267;
int _268;
long unsigned int _269;
long unsigned int _270;
<unnamed type> _271;
long unsigned int _272;
long unsigned int _273;
<unnamed type> _274;
short unsigned int _275;
unsigned char _276;
int _277;
long unsigned int _278;
long unsigned int _279;
long unsigned int _280;
short unsigned int _281;
short unsigned int _282;
long unsigned int _283;
<unnamed type> _284;
unsigned char _285;
int _286;
short unsigned int _287;
unsigned char _288;
int _289;
short unsigned int _290;
int _291;
long unsigned int _292;
long unsigned int _293;
int _294;
int _295;
long unsigned int _296;
int _297;
int _298;
long unsigned int _300;
long unsigned int _301;
long unsigned int _302;
short unsigned int iftmp.3_303;
long unsigned int _304;
<unnamed type> _305;
_Bool _306;
<unnamed type> _307;
unsigned char _308;
int _309;
unsigned char _310;
int _311;
short unsigned int _312;
short unsigned int _313;
long unsigned int _314;
<unnamed type> _315;
unsigned char _316;
int _317;
int _318;
long unsigned int _319;
long unsigned int _320;
long unsigned int _321;
long unsigned int _322;
long unsigned int _323;
long unsigned int _324;
int _325;
long unsigned int _326;
long unsigned int _327;
long unsigned int _328;
long unsigned int _329;
long unsigned int _330;
long unsigned int _331;
int _332;
long unsigned int _333;
long unsigned int _334;
long unsigned int _335;
long unsigned int _336;
long unsigned int _337;
long unsigned int _338;
<bb 2> [local count: 1073527118]:
# DEBUG BEGIN_STMT
_1 = (int) instance_21(D);
base_23 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_23
# DEBUG BEGIN_STMT
channel_25 = userChCfg_24(D)->channelId;
# DEBUG channel => channel_25
# DEBUG BEGIN_STMT
_2 = (int) channel_25;
base_23->CH.UC[_2].C ={v} 0;
# DEBUG BEGIN_STMT
# DEBUG base => base_23
# DEBUG channel => channel_25
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetOutputUpdate
# DEBUG BEGIN_STMT
_37 ={v} base_23->OUDIS;
base_23->OUDIS ={v} _37;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_3 = userChCfg_24(D)->outputDisableSource;
if (_3 != 255)
goto <bb 3>; [48.88%]
else
goto <bb 4>; [51.12%]
<bb 3> [local count: 524740055]:
# DEBUG BEGIN_STMT
# DEBUG base => base_23
# DEBUG channel => channel_25
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetOutDisable
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_38 ={v} base_23->CH.UC[_2].C;
_39 = _38 & 3221225471;
_40 = _39 | 1073741824;
base_23->CH.UC[_2].C ={v} _40;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_23
# DEBUG channel => channel_25
# DEBUG value => _3
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetOutDisableSource
# DEBUG BEGIN_STMT
_53 = (int) channel_25;
_54 ={v} base_23->CH.UC[_53].C;
_55 = _54 & 3489660927;
_56 = (long unsigned int) _3;
_57 = _56 << 28;
_58 = _57 & 805306368;
_59 = _55 | _58;
base_23->CH.UC[_53].C ={v} _59;
<bb 4> [local count: 1073527118]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_4 = userChCfg_24(D)->irqMode;
if (_4 != 0)
goto <bb 5>; [50.00%]
else
goto <bb 8>; [50.00%]
<bb 5> [local count: 536763559]:
# DEBUG BEGIN_STMT
if (_4 == 1)
goto <bb 6>; [34.00%]
else
goto <bb 7>; [66.00%]
<bb 6> [local count: 182499610]:
# DEBUG BEGIN_STMT
_5 = userChCfg_24(D)->channelId;
_6 = (int) _5;
_7 = &userChCfg_24(D)->userCallback;
Emios_Pwm_Ip_aNotificationPtr[_1][_6] = _7;
goto <bb 8>; [100.00%]
<bb 7> [local count: 354263949]:
# DEBUG BEGIN_STMT
_8 = userChCfg_24(D)->channelId;
# DEBUG base => base_23
# DEBUG channel => _8
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDMARequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_41 = (int) _8;
_42 ={v} base_23->CH.UC[_41].C;
_43 = _42 & 4278190079;
_44 = _43 | 16777216;
base_23->CH.UC[_41].C ={v} _44;
<bb 8> [local count: 1073527118]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_9 = userChCfg_24(D)->mode;
switch (_9) <default: <L22> [16.67%], case 6 ... 7: <L27> [16.67%], case 38: <L26> [16.67%], case 88: <L23> [16.67%], case 90: <L23> [16.67%], case 92 ... 95: <L24> [16.67%], case 96: <L25> [16.67%], case 98: <L25> [16.67%]>
<bb 9> [local count: 178956970]:
<L23>:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_21(D)
# DEBUG userChCfg => userChCfg_24(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_InitPeriodDutyCycleMode
# DEBUG BEGIN_STMT
_60 = (int) instance_21(D);
base_61 = Emios_Pwm_Ip_aBasePtr[_60];
# DEBUG base => base_61
# DEBUG BEGIN_STMT
_62 = userChCfg_24(D)->channelId;
_63 = userChCfg_24(D)->timebase;
# DEBUG base => base_61
# DEBUG channel => _62
# DEBUG value => _63
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetCounterBus
# DEBUG BEGIN_STMT
_83 = (int) _62;
_84 ={v} base_61->CH.UC[_83].C;
_85 = _84 & 4294965759;
_86 = (long unsigned int) _63;
_87 = _86 << 9;
_88 = _87 & 1536;
_89 = _85 | _88;
base_61->CH.UC[_83].C ={v} _89;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_64 = userChCfg_24(D)->channelId;
_65 = userChCfg_24(D)->dutyCycle;
# DEBUG base => base_61
# DEBUG channel => _64
# DEBUG value => _65
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_66 = (int) _64;
_67 = (long unsigned int) _65;
base_61->CH.UC[_66].A ={v} _67;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_68 = userChCfg_24(D)->periodCount;
# DEBUG base => base_61
# DEBUG channel => _64
# DEBUG value => _68
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_69 = (long unsigned int) _68;
base_61->CH.UC[_66].B ={v} _69;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_70 = userChCfg_24(D)->mode;
# DEBUG base => base_61
# DEBUG channel => _64
# DEBUG mode => _70
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_71 ={v} base_61->CH.UC[_66].C;
_72 = _71 & 4294967168;
_73 = _70 & 127;
_74 = (long unsigned int) _73;
_75 = _72 | _74;
base_61->CH.UC[_66].C ={v} _75;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
_76 = userChCfg_24(D)->outputPolarity;
_77 = _76 != 1;
_78 = (<unnamed type>) _77;
Emios_Pwm_Ip_SetEdgePolarity (base_61, _64, _78);
# DEBUG BEGIN_STMT
_79 = userChCfg_24(D)->channelId;
_80 = (int) _79;
_81 = userChCfg_24(D)->periodCount;
Emios_Pwm_Ip_aPeriod[_60][_80] = _81;
# DEBUG BEGIN_STMT
_82 = userChCfg_24(D)->dutyCycle;
if (_81 == _82)
goto <bb 10>; [34.00%]
else
goto <bb 11>; [66.00%]
<bb 10> [local count: 60845370]:
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_60][_80] = 1;
goto <bb 14>; [100.00%]
<bb 11> [local count: 118111600]:
# DEBUG BEGIN_STMT
if (_82 == 0)
goto <bb 12>; [50.00%]
else
goto <bb 13>; [50.00%]
<bb 12> [local count: 59055800]:
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_60][_80] = 1;
goto <bb 14>; [100.00%]
<bb 13> [local count: 59055800]:
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_60][_80] = 0;
<bb 14> [local count: 178956970]:
goto <bb 54>; [100.00%]
<bb 15> [local count: 178956970]:
<L24>:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_21(D)
# DEBUG userChCfg => userChCfg_24(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_InitDeadTimeMode
# DEBUG BEGIN_STMT
_90 = (int) instance_21(D);
base_91 = Emios_Pwm_Ip_aBasePtr[_90];
# DEBUG base => base_91
# DEBUG BEGIN_STMT
# DEBUG dutyCycle => 0
# DEBUG BEGIN_STMT
_92 = userChCfg_24(D)->periodCount;
_93 = userChCfg_24(D)->dutyCycle;
if (_92 == _93)
goto <bb 16>; [34.00%]
else
goto <bb 17>; [66.00%]
<bb 16> [local count: 60845370]:
# DEBUG BEGIN_STMT
# DEBUG dutyCycle => 1
# DEBUG BEGIN_STMT
_94 = userChCfg_24(D)->channelId;
_95 = (int) _94;
Emios_Pwm_Ip_aNotif[_90][_95] = 1;
goto <bb 20>; [100.00%]
<bb 17> [local count: 118111600]:
# DEBUG BEGIN_STMT
if (_93 <= 1)
goto <bb 18>; [41.00%]
else
goto <bb 19>; [59.00%]
<bb 18> [local count: 48425756]:
# DEBUG BEGIN_STMT
_96 = userChCfg_24(D)->channelId;
_97 = userChCfg_24(D)->timebase;
_98 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_21(D), _96, _97);
dutyCycle_99 = _98 + 1;
# DEBUG dutyCycle => dutyCycle_99
# DEBUG BEGIN_STMT
_100 = userChCfg_24(D)->channelId;
_101 = (int) _100;
Emios_Pwm_Ip_aNotif[_90][_101] = 1;
goto <bb 20>; [100.00%]
<bb 19> [local count: 69685844]:
# DEBUG BEGIN_STMT
dutyCycle_102 = _93 >> 1;
# DEBUG dutyCycle => dutyCycle_102
# DEBUG BEGIN_STMT
_103 = userChCfg_24(D)->channelId;
_104 = userChCfg_24(D)->timebase;
_105 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_21(D), _103, _104);
dutyCycle_106 = _105 - dutyCycle_102;
# DEBUG dutyCycle => dutyCycle_106
# DEBUG BEGIN_STMT
_107 = userChCfg_24(D)->channelId;
_108 = (int) _107;
Emios_Pwm_Ip_aNotif[_90][_108] = 0;
<bb 20> [local count: 178956970]:
# dutyCycle_113 = PHI <1(16), dutyCycle_99(18), dutyCycle_106(19)>
# DEBUG dutyCycle => dutyCycle_113
# DEBUG BEGIN_STMT
_109 = userChCfg_24(D)->channelId;
_110 = userChCfg_24(D)->timebase;
# DEBUG base => base_91
# DEBUG channel => _109
# DEBUG value => _110
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetCounterBus
# DEBUG BEGIN_STMT
_132 = (int) _109;
_133 ={v} base_91->CH.UC[_132].C;
_134 = _133 & 4294965759;
_135 = (long unsigned int) _110;
_136 = _135 << 9;
_137 = _136 & 1536;
_138 = _134 | _137;
base_91->CH.UC[_132].C ={v} _138;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_111 = userChCfg_24(D)->channelId;
# DEBUG base => base_91
# DEBUG channel => _111
# DEBUG value => dutyCycle_113
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_112 = (int) _111;
_114 = (long unsigned int) dutyCycle_113;
base_91->CH.UC[_112].A ={v} _114;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_115 = userChCfg_24(D)->deadTime;
# DEBUG base => base_91
# DEBUG channel => _111
# DEBUG value => _115
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_116 = (long unsigned int) _115;
base_91->CH.UC[_112].B ={v} _116;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_117 = userChCfg_24(D)->periodCount;
_118 = userChCfg_24(D)->dutyCycle;
if (_117 == _118)
goto <bb 21>; [34.00%]
else
goto <bb 22>; [66.00%]
<bb 21> [local count: 60845370]:
# DEBUG BEGIN_STMT
_119 = userChCfg_24(D)->outputPolarity;
_120 = _119 != 1;
_121 = (<unnamed type>) _120;
Emios_Pwm_Ip_SetEdgePolarity (base_91, _111, _121);
goto <bb 23>; [100.00%]
<bb 22> [local count: 118111600]:
# DEBUG BEGIN_STMT
_122 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_91, _111, _122);
<bb 23> [local count: 178956970]:
# DEBUG BEGIN_STMT
_123 = userChCfg_24(D)->channelId;
_124 = userChCfg_24(D)->mode;
# DEBUG base => base_91
# DEBUG channel => _123
# DEBUG mode => _124
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_125 = (int) _123;
_126 ={v} base_91->CH.UC[_125].C;
_127 = _126 & 4294967168;
_128 = _124 & 127;
_129 = (long unsigned int) _128;
_130 = _127 | _129;
base_91->CH.UC[_125].C ={v} _130;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
_131 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_91, _123, _131);
goto <bb 54>; [100.00%]
<bb 24> [local count: 178956970]:
<L25>:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_21(D)
# DEBUG userChCfg => userChCfg_24(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_InitEdgePlacementMode
# DEBUG BEGIN_STMT
_139 = (int) instance_21(D);
base_140 = Emios_Pwm_Ip_aBasePtr[_139];
# DEBUG base => base_140
# DEBUG BEGIN_STMT
_141 = userChCfg_24(D)->channelId;
_142 = (int) _141;
_143 = userChCfg_24(D)->phaseShift;
Emios_Pwm_Ip_aRegA[_139][_142] = _143;
# DEBUG BEGIN_STMT
_144 = userChCfg_24(D)->timebase;
# DEBUG base => base_140
# DEBUG channel => _141
# DEBUG value => _144
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetCounterBus
# DEBUG BEGIN_STMT
_167 = (int) _141;
_168 ={v} base_140->CH.UC[_167].C;
_169 = _168 & 4294965759;
_170 = (long unsigned int) _144;
_171 = _170 << 9;
_172 = _171 & 1536;
_173 = _169 | _172;
base_140->CH.UC[_167].C ={v} _173;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_145 = userChCfg_24(D)->channelId;
_146 = userChCfg_24(D)->phaseShift;
# DEBUG base => base_140
# DEBUG channel => _145
# DEBUG value => _146
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_147 = (int) _145;
_148 = (long unsigned int) _146;
base_140->CH.UC[_147].A ={v} _148;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_149 = userChCfg_24(D)->dutyCycle;
_150 = _146 + _149;
# DEBUG base => base_140
# DEBUG channel => _145
# DEBUG value => _150
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_151 = (long unsigned int) _150;
base_140->CH.UC[_147].B ={v} _151;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_152 = userChCfg_24(D)->mode;
# DEBUG base => base_140
# DEBUG channel => _145
# DEBUG mode => _152
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_153 ={v} base_140->CH.UC[_147].C;
_154 = _153 & 4294967168;
_155 = _152 & 127;
_156 = (long unsigned int) _155;
_157 = _154 | _156;
base_140->CH.UC[_147].C ={v} _157;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
_158 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_140, _145, _158);
# DEBUG BEGIN_STMT
_159 = userChCfg_24(D)->periodCount;
_160 = userChCfg_24(D)->dutyCycle;
if (_159 == _160)
goto <bb 25>; [34.00%]
else
goto <bb 26>; [66.00%]
<bb 25> [local count: 60845370]:
# DEBUG BEGIN_STMT
_161 = userChCfg_24(D)->channelId;
_162 = (int) _161;
Emios_Pwm_Ip_aNotif[_139][_162] = 1;
goto <bb 29>; [100.00%]
<bb 26> [local count: 118111600]:
# DEBUG BEGIN_STMT
if (_160 <= 1)
goto <bb 27>; [41.00%]
else
goto <bb 28>; [59.00%]
<bb 27> [local count: 48425756]:
# DEBUG BEGIN_STMT
_163 = userChCfg_24(D)->channelId;
_164 = (int) _163;
Emios_Pwm_Ip_aNotif[_139][_164] = 1;
goto <bb 29>; [100.00%]
<bb 28> [local count: 69685844]:
# DEBUG BEGIN_STMT
_165 = userChCfg_24(D)->channelId;
_166 = (int) _165;
Emios_Pwm_Ip_aNotif[_139][_166] = 0;
<bb 29> [local count: 178956970]:
goto <bb 54>; [100.00%]
<bb 30> [local count: 178956970]:
<L26>:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_21(D)
# DEBUG userChCfg => userChCfg_24(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_InitTriggerMode
# DEBUG BEGIN_STMT
_174 = (int) instance_21(D);
base_175 = Emios_Pwm_Ip_aBasePtr[_174];
# DEBUG base => base_175
# DEBUG BEGIN_STMT
_176 = userChCfg_24(D)->channelId;
_177 = userChCfg_24(D)->timebase;
counterBusPeriod_178 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_21(D), _176, _177);
# DEBUG counterBusPeriod => counterBusPeriod_178
# DEBUG BEGIN_STMT
# DEBUG trailingEdge => 0
# DEBUG BEGIN_STMT
# DEBUG counterStart => 0
# DEBUG BEGIN_STMT
_179 = userChCfg_24(D)->channelId;
_180 = userChCfg_24(D)->timebase;
_181 = Emios_Pwm_Ip_GetCounterBusMode (instance_21(D), _179, _180);
if (_181 == 80)
goto <bb 32>; [34.00%]
else
goto <bb 31>; [66.00%]
<bb 31> [local count: 118111600]:
# DEBUG BEGIN_STMT
# DEBUG counterStart => 0
<bb 32> [local count: 178956970]:
# counterStart_199 = PHI <1(30), 0(31)>
# DEBUG counterStart => counterStart_199
# DEBUG BEGIN_STMT
_182 = userChCfg_24(D)->dutyCycle;
if (counterBusPeriod_178 == _182)
goto <bb 33>; [34.00%]
else
goto <bb 34>; [66.00%]
<bb 33> [local count: 60845370]:
# DEBUG BEGIN_STMT
trailingEdge_183 = _182 + 1;
# DEBUG trailingEdge => trailingEdge_183
# DEBUG BEGIN_STMT
_184 = userChCfg_24(D)->channelId;
_185 = (int) _184;
Emios_Pwm_Ip_aNotif[_174][_185] = 1;
goto <bb 37>; [100.00%]
<bb 34> [local count: 118111600]:
# DEBUG BEGIN_STMT
if (_182 == 0)
goto <bb 35>; [50.00%]
else
goto <bb 36>; [50.00%]
<bb 35> [local count: 59055800]:
# DEBUG BEGIN_STMT
trailingEdge_186 = userChCfg_24(D)->phaseShift;
# DEBUG trailingEdge => trailingEdge_186
# DEBUG BEGIN_STMT
_187 = userChCfg_24(D)->channelId;
_188 = (int) _187;
Emios_Pwm_Ip_aNotif[_174][_188] = 1;
goto <bb 37>; [100.00%]
<bb 36> [local count: 59055800]:
# DEBUG BEGIN_STMT
_189 = userChCfg_24(D)->phaseShift;
_190 = (int) _189;
_191 = (int) _182;
_192 = _190 + _191;
_193 = (int) counterBusPeriod_178;
_194 = _192 % _193;
trailingEdge_195 = (uint16) _194;
# DEBUG trailingEdge => trailingEdge_195
# DEBUG BEGIN_STMT
_196 = userChCfg_24(D)->channelId;
_197 = (int) _196;
Emios_Pwm_Ip_aNotif[_174][_197] = 0;
<bb 37> [local count: 178956970]:
# trailingEdge_210 = PHI <trailingEdge_183(33), trailingEdge_186(35), trailingEdge_195(36)>
# DEBUG trailingEdge => trailingEdge_210
# DEBUG BEGIN_STMT
_198 = userChCfg_24(D)->phaseShift;
_200 = (short unsigned int) counterStart_199;
_201 = userChCfg_24(D)->channelId;
_202 = (int) _201;
_203 = _198 + _200;
Emios_Pwm_Ip_aRegA[_174][_202] = _203;
# DEBUG BEGIN_STMT
_204 = userChCfg_24(D)->timebase;
# DEBUG base => base_175
# DEBUG channel => _201
# DEBUG value => _204
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetCounterBus
# DEBUG BEGIN_STMT
_233 = (int) _201;
_234 ={v} base_175->CH.UC[_233].C;
_235 = _234 & 4294965759;
_236 = (long unsigned int) _204;
_237 = _236 << 9;
_238 = _237 & 1536;
_239 = _235 | _238;
base_175->CH.UC[_233].C ={v} _239;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_205 = userChCfg_24(D)->channelId;
_206 = userChCfg_24(D)->phaseShift;
_207 = _200 + _206;
# DEBUG base => base_175
# DEBUG channel => _205
# DEBUG value => _207
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_208 = (int) _205;
_209 = (long unsigned int) _207;
base_175->CH.UC[_208].A ={v} _209;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_211 = _200 + trailingEdge_210;
# DEBUG base => base_175
# DEBUG channel => _205
# DEBUG value => _211
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_212 = (long unsigned int) _211;
base_175->CH.UC[_208].B ={v} _212;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_213 = userChCfg_24(D)->triggerPosition;
_214 = _200 + _213;
# DEBUG base => base_175
# DEBUG channel => _205
# DEBUG value => _214
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetTrigger
# DEBUG BEGIN_STMT
_215 ={v} base_175->CH.UC[_208].ALTA;
_216 = _215 & 4294901760;
_217 = (long unsigned int) _214;
_218 = _216 | _217;
base_175->CH.UC[_208].ALTA ={v} _218;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_219 = userChCfg_24(D)->dutyCycle;
if (counterBusPeriod_178 == _219)
goto <bb 38>; [34.00%]
else
goto <bb 39>; [66.00%]
<bb 38> [local count: 60845370]:
# DEBUG BEGIN_STMT
_220 = userChCfg_24(D)->outputPolarity;
_221 = _220 != 1;
_222 = (<unnamed type>) _221;
Emios_Pwm_Ip_SetEdgePolarity (base_175, _205, _222);
goto <bb 40>; [100.00%]
<bb 39> [local count: 118111600]:
# DEBUG BEGIN_STMT
_223 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_175, _205, _223);
<bb 40> [local count: 178956970]:
# DEBUG BEGIN_STMT
_224 = userChCfg_24(D)->channelId;
_225 = userChCfg_24(D)->mode;
# DEBUG base => base_175
# DEBUG channel => _224
# DEBUG mode => _225
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_226 = (int) _224;
_227 ={v} base_175->CH.UC[_226].C;
_228 = _227 & 4294967168;
_229 = _225 & 127;
_230 = (long unsigned int) _229;
_231 = _228 | _230;
base_175->CH.UC[_226].C ={v} _231;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
_232 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_175, _224, _232);
goto <bb 54>; [100.00%]
<bb 41> [local count: 178956970]:
<L27>:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_21(D)
# DEBUG userChCfg => userChCfg_24(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_InitDoubleCompareMode
# DEBUG BEGIN_STMT
_240 = (int) instance_21(D);
base_241 = Emios_Pwm_Ip_aBasePtr[_240];
# DEBUG base => base_241
# DEBUG BEGIN_STMT
_242 = userChCfg_24(D)->channelId;
_243 = (int) _242;
_244 = userChCfg_24(D)->periodCount;
Emios_Pwm_Ip_aPeriod[_240][_243] = _244;
# DEBUG BEGIN_STMT
_245 = userChCfg_24(D)->outputPolarity;
if (_245 == 1)
goto <bb 43>; [34.00%]
else
goto <bb 42>; [66.00%]
<bb 42> [local count: 118111600]:
<bb 43> [local count: 178956970]:
# iftmp.2_246 = PHI <1(41), 0(42)>
Emios_Pwm_Ip_aPolarity[_240][_243] = iftmp.2_246;
# DEBUG BEGIN_STMT
# DEBUG daocRegA => 0
# DEBUG BEGIN_STMT
_247 = userChCfg_24(D)->channelId;
_248 = Emios_Pwm_Ip_GetMasterBusChannel (instance_21(D), _247);
# DEBUG base => base_241
# DEBUG channel => _248
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_249 = (int) _248;
_250 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_241].CH.UC[_249].A;
_251 = (short unsigned int) _250;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG counterMax => _251
# DEBUG BEGIN_STMT
_252 = userChCfg_24(D)->channelId;
# DEBUG base => base_241
# DEBUG channel => _252
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_253 = (int) _252;
_254 ={v} base_241->CH.UC[_253].C;
_255 = _254 & 4294836223;
_256 = _255 | 131072;
base_241->CH.UC[_253].C ={v} _256;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_257 = userChCfg_24(D)->timebase;
# DEBUG base => base_241
# DEBUG channel => _252
# DEBUG value => _257
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetCounterBus
# DEBUG BEGIN_STMT
_318 = (int) _252;
_319 ={v} base_241->CH.UC[_318].C;
_320 = _319 & 4294965759;
_321 = (long unsigned int) _257;
_322 = _321 << 9;
_323 = _322 & 1536;
_324 = _320 | _323;
base_241->CH.UC[_318].C ={v} _324;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_258 = userChCfg_24(D)->periodCount;
_259 = userChCfg_24(D)->dutyCycle;
if (_258 == _259)
goto <bb 44>; [34.00%]
else
goto <bb 45>; [66.00%]
<bb 44> [local count: 60845370]:
# DEBUG BEGIN_STMT
_260 = userChCfg_24(D)->channelId;
_261 = userChCfg_24(D)->outputPolarity;
_262 = _261 != 1;
_263 = (<unnamed type>) _262;
Emios_Pwm_Ip_SetEdgePolarity (base_241, _260, _263);
goto <bb 46>; [100.00%]
<bb 45> [local count: 118111600]:
# DEBUG BEGIN_STMT
_264 = userChCfg_24(D)->channelId;
_265 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_241, _264, _265);
<bb 46> [local count: 178956970]:
# DEBUG BEGIN_STMT
_266 = userChCfg_24(D)->channelId;
_267 = userChCfg_24(D)->mode;
# DEBUG base => base_241
# DEBUG channel => _266
# DEBUG mode => _267
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPwmMode
# DEBUG BEGIN_STMT
_268 = (int) _266;
_269 ={v} base_241->CH.UC[_268].C;
_270 = _269 & 4294967168;
_271 = _267 & 127;
_272 = (long unsigned int) _271;
_273 = _270 | _272;
base_241->CH.UC[_268].C ={v} _273;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG mode => NULL
# DEBUG BEGIN_STMT
_274 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_241, _266, _274);
# DEBUG BEGIN_STMT
_275 = userChCfg_24(D)->dutyCycle;
if (_275 == 0)
goto <bb 47>; [33.00%]
else
goto <bb 48>; [67.00%]
<bb 47> [local count: 59055800]:
# DEBUG BEGIN_STMT
# DEBUG daocRegA => 1
# DEBUG BEGIN_STMT
_276 = userChCfg_24(D)->channelId;
_277 = (int) _276;
Emios_Pwm_Ip_aDaocDuty[_240][_277] = 0;
# DEBUG BEGIN_STMT
# DEBUG base => base_241
# DEBUG channel => _276
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchB
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_278 ={v} base_241->CH.UC[_277].C;
_279 = _278 & 4294963199;
_280 = _279 | 4096;
base_241->CH.UC[_277].C ={v} _280;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_241
# DEBUG channel => _276
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
base_241->CH.UC[_277].A ={v} 1;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_281 = userChCfg_24(D)->dutyCycle;
_282 = _281 + 1;
# DEBUG base => base_241
# DEBUG channel => _276
# DEBUG value => _282
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_283 = (long unsigned int) _282;
base_241->CH.UC[_277].B ={v} _283;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_284 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_241, _276, _284);
# DEBUG BEGIN_STMT
_285 = userChCfg_24(D)->channelId;
_286 = (int) _285;
Emios_Pwm_Ip_aNotif[_240][_286] = 1;
goto <bb 53>; [100.00%]
<bb 48> [local count: 119901170]:
# DEBUG BEGIN_STMT
_287 = userChCfg_24(D)->periodCount;
if (_275 == _287)
goto <bb 49>; [51.12%]
else
goto <bb 52>; [48.88%]
<bb 49> [local count: 61293478]:
# DEBUG BEGIN_STMT
_288 = userChCfg_24(D)->channelId;
_289 = (int) _288;
_290 = Emios_Pwm_Ip_aPeriod[_240][_289];
_291 = (int) _290;
# DEBUG base => base_241
# DEBUG channel => _288
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_292 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_241].CH.UC[_289].A;
# DEBUG base => NULL
# DEBUG channel => NULL
_293 = _292 & 65535;
_294 = (int) _293;
_295 = _291 + _294;
_296 = _250 & 65535;
_297 = (int) _296;
_298 = _295 % _297;
daocRegA_299 = (uint16) _298;
# DEBUG daocRegA => daocRegA_299
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aDaocDuty[_240][_289] = 0;
# DEBUG BEGIN_STMT
# DEBUG base => base_241
# DEBUG channel => _288
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchA
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_300 ={v} base_241->CH.UC[_289].C;
_301 = _300 & 4294959103;
_302 = _301 | 8192;
base_241->CH.UC[_289].C ={v} _302;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
if (daocRegA_299 == 0)
goto <bb 51>; [50.00%]
else
goto <bb 50>; [50.00%]
<bb 50> [local count: 30646739]:
<bb 51> [local count: 61293478]:
# iftmp.3_303 = PHI <_251(49), daocRegA_299(50)>
# DEBUG base => base_241
# DEBUG channel => _288
# DEBUG value => iftmp.3_303
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_304 = (long unsigned int) iftmp.3_303;
base_241->CH.UC[_289].A ={v} _304;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_241
# DEBUG channel => _288
# DEBUG value => iftmp.3_303
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
base_241->CH.UC[_289].B ={v} _304;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_305 = userChCfg_24(D)->outputPolarity;
_306 = _305 != 1;
_307 = (<unnamed type>) _306;
Emios_Pwm_Ip_SetEdgePolarity (base_241, _288, _307);
# DEBUG BEGIN_STMT
_308 = userChCfg_24(D)->channelId;
_309 = (int) _308;
Emios_Pwm_Ip_aNotif[_240][_309] = 1;
goto <bb 53>; [100.00%]
<bb 52> [local count: 58607692]:
# DEBUG BEGIN_STMT
# DEBUG daocRegA => 1
# DEBUG BEGIN_STMT
_310 = userChCfg_24(D)->channelId;
_311 = (int) _310;
Emios_Pwm_Ip_aDaocDuty[_240][_311] = _275;
# DEBUG BEGIN_STMT
# DEBUG base => base_241
# DEBUG channel => _310
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
base_241->CH.UC[_311].A ={v} 1;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_312 = userChCfg_24(D)->dutyCycle;
_313 = _312 + 1;
# DEBUG base => base_241
# DEBUG channel => _310
# DEBUG value => _313
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_314 = (long unsigned int) _313;
base_241->CH.UC[_311].B ={v} _314;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_315 = userChCfg_24(D)->outputPolarity;
Emios_Pwm_Ip_SetEdgePolarity (base_241, _310, _315);
# DEBUG BEGIN_STMT
_316 = userChCfg_24(D)->channelId;
_317 = (int) _316;
Emios_Pwm_Ip_aNotif[_240][_317] = 0;
<bb 53> [local count: 178956970]:
<bb 54> [local count: 1073741823]:
<L22>:
# DEBUG instance => NULL
# DEBUG userChCfg => NULL
# DEBUG daocRegA => NULL
# DEBUG base => NULL
# DEBUG instance => NULL
# DEBUG userChCfg => NULL
# DEBUG counterStart => NULL
# DEBUG trailingEdge => NULL
# DEBUG counterBusPeriod => NULL
# DEBUG base => NULL
# DEBUG instance => NULL
# DEBUG userChCfg => NULL
# DEBUG base => NULL
# DEBUG instance => NULL
# DEBUG userChCfg => NULL
# DEBUG dutyCycle => NULL
# DEBUG base => NULL
# DEBUG instance => NULL
# DEBUG userChCfg => NULL
# DEBUG base => NULL
# DEBUG BEGIN_STMT
_10 = userChCfg_24(D)->internalPs;
if (_10 != 255)
goto <bb 55>; [48.88%]
else
goto <bb 56>; [51.12%]
<bb 55> [local count: 524845003]:
# DEBUG BEGIN_STMT
_11 = userChCfg_24(D)->channelId;
# DEBUG base => base_23
# DEBUG channel => _11
# DEBUG value => _10
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetExtendedPrescaler
# DEBUG BEGIN_STMT
_332 = (int) _11;
_333 ={v} base_23->CH.UC[_332].C2;
_334 = _333 & 4293984255;
_335 = (long unsigned int) _10;
_336 = _335 << 16;
_337 = _336 & 983040;
_338 = _334 | _337;
base_23->CH.UC[_332].C2 ={v} _338;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_12 = userChCfg_24(D)->channelId;
_13 = userChCfg_24(D)->internalPsSrc;
# DEBUG base => base_23
# DEBUG channel => _12
# DEBUG value => _13
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPrescalerSource
# DEBUG BEGIN_STMT
_325 = (int) _12;
_326 ={v} base_23->CH.UC[_325].C2;
_327 = _326 & 4294950911;
_328 = (long unsigned int) _13;
_329 = _328 << 14;
_330 = _329 & 16384;
_331 = _327 | _330;
base_23->CH.UC[_325].C2 ={v} _331;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_14 = userChCfg_24(D)->channelId;
# DEBUG base => base_23
# DEBUG channel => _14
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPrescalerEnable
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_45 = (int) _14;
_46 ={v} base_23->CH.UC[_45].C;
_47 = _46 & 4261412863;
_48 = _47 | 33554432;
base_23->CH.UC[_45].C ={v} _48;
<bb 56> [local count: 1073741824]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_15 = userChCfg_24(D)->channelId;
_16 = (int) _15;
Emios_Pwm_Ip_aCheckState[_1][_16] = 1;
return;
}
;; Function Emios_Pwm_Ip_SetDutyCycle (Emios_Pwm_Ip_SetDutyCycle, funcdef_no=60, decl_uid=4372, cgraph_uid=61, symbol_order=69)
Symbols to be put in SSA form
{ D.8909 D.9616 D.9659 D.9685 D.9739 D.9767 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 86
Number of blocks to update: 85 ( 99%)
Removing basic block 4
Removing basic block 9
Removing basic block 12
Removing basic block 14
Removing basic block 15
Merging blocks 26 and 30
Merging blocks 28 and 17
Removing basic block 29
Merging blocks 43 and 46
Merging blocks 44 and 33
Removing basic block 45
Merging blocks 55 and 59
Merging blocks 57 and 49
Removing basic block 58
Merging blocks 73 and 62
Merging blocks 80 and 83
Merging blocks 81 and 74
Removing basic block 82
;; 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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
;; 2 succs { 4 3 }
;; 3 succs { 4 17 }
;; 4 succs { 5 6 }
;; 5 succs { 16 6 }
;; 6 succs { 7 8 }
;; 7 succs { 16 }
;; 8 succs { 9 10 }
;; 9 succs { 15 }
;; 10 succs { 11 12 }
;; 11 succs { 15 }
;; 12 succs { 14 13 }
;; 13 succs { 14 }
;; 14 succs { 15 }
;; 15 succs { 16 }
;; 16 succs { 67 }
;; 17 succs { 21 18 }
;; 18 succs { 21 19 }
;; 19 succs { 21 20 }
;; 20 succs { 21 34 }
;; 21 succs { 33 22 }
;; 22 succs { 23 28 }
;; 23 succs { 24 33 }
;; 24 succs { 26 25 }
;; 25 succs { 26 27 }
;; 26 succs { 33 }
;; 27 succs { 33 }
;; 28 succs { 29 30 }
;; 29 succs { 33 }
;; 30 succs { 32 31 }
;; 31 succs { 32 }
;; 32 succs { 33 }
;; 33 succs { 67 }
;; 34 succs { 36 35 }
;; 35 succs { 36 46 }
;; 36 succs { 45 37 }
;; 37 succs { 38 39 }
;; 38 succs { 44 }
;; 39 succs { 40 41 }
;; 40 succs { 44 }
;; 41 succs { 43 42 }
;; 42 succs { 43 }
;; 43 succs { 44 }
;; 44 succs { 45 }
;; 45 succs { 67 }
;; 46 succs { 47 58 }
;; 47 succs { 48 49 }
;; 48 succs { 57 49 }
;; 49 succs { 51 50 }
;; 50 succs { 51 52 }
;; 51 succs { 57 }
;; 52 succs { 53 56 }
;; 53 succs { 55 54 }
;; 54 succs { 55 }
;; 55 succs { 57 }
;; 56 succs { 57 }
;; 57 succs { 67 }
;; 58 succs { 66 59 }
;; 59 succs { 60 61 }
;; 60 succs { 66 }
;; 61 succs { 62 63 }
;; 62 succs { 66 }
;; 63 succs { 65 64 }
;; 64 succs { 65 }
;; 65 succs { 66 }
;; 66 succs { 67 }
;; 67 succs { 1 }
Emios_Pwm_Ip_SetDutyCycle (uint8 instance, uint8 channel, uint16 newDutyCycle)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
Emios_Pwm_Ip_StatusType ret;
uint16 chPeriod;
Emios_Pwm_Ip_StatusType D.9767;
struct Emios_Pwm_Ip_HwAddrType * const base;
Emios_Pwm_Ip_StatusType ret;
uint16 daocRegA;
Emios_Pwm_Ip_StatusType D.9739;
struct Emios_Pwm_Ip_HwAddrType * const base;
Emios_Pwm_Ip_StatusType ret;
uint16 chPeriod;
Emios_Pwm_Ip_StatusType D.9685;
struct Emios_Pwm_Ip_HwAddrType * const base;
Emios_Pwm_Ip_StatusType ret;
Emios_Pwm_Ip_PwmModeType chMode;
uint16 chPeriod;
Emios_Pwm_Ip_StatusType D.9659;
struct Emios_Pwm_Ip_HwAddrType * const base;
Emios_Pwm_Ip_StatusType ret;
Emios_Pwm_Ip_StatusType D.9616;
Emios_Pwm_Ip_PwmModeType chMode;
Emios_Pwm_Ip_StatusType ret;
const struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
unsigned char _2;
int _24;
int _26;
short unsigned int _27;
long unsigned int _28;
long unsigned int _29;
long unsigned int _30;
long unsigned int _31;
long unsigned int _32;
long unsigned int _33;
long unsigned int _34;
long unsigned int _35;
long unsigned int _36;
long unsigned int _37;
long unsigned int _38;
long unsigned int _39;
unsigned char _40;
_Bool _41;
long unsigned int _42;
int _44;
long unsigned int _45;
long unsigned int _46;
unsigned char iftmp.5_47;
long unsigned int _48;
long unsigned int _49;
long unsigned int _50;
int _51;
<unnamed type> _54;
unsigned int _56;
unsigned int _57;
unsigned int _58;
unsigned int _59;
int _60;
long unsigned int _61;
long unsigned int _62;
long unsigned int _63;
long unsigned int _64;
short unsigned int _65;
long unsigned int _66;
long unsigned int _67;
short unsigned int _68;
long unsigned int _69;
long unsigned int _70;
long unsigned int _71;
long unsigned int _72;
long unsigned int _73;
long unsigned int _74;
int _75;
long unsigned int _76;
long unsigned int _77;
long unsigned int _78;
long unsigned int _79;
short unsigned int _80;
short unsigned int _81;
int _82;
long unsigned int _83;
unsigned char _84;
_Bool _85;
int _87;
long unsigned int _88;
long unsigned int _89;
unsigned char iftmp.5_90;
long unsigned int _91;
long unsigned int _92;
long unsigned int _93;
int _94;
<unnamed type> _96;
int _98;
int _99;
short unsigned int _100;
int _101;
int _102;
int _103;
long unsigned int _104;
long unsigned int _105;
long unsigned int _106;
long unsigned int _107;
long unsigned int _108;
long unsigned int _109;
long unsigned int _110;
long unsigned int _111;
unsigned char _112;
_Bool _113;
short unsigned int _114;
short unsigned int _115;
long unsigned int _116;
int _118;
long unsigned int _119;
long unsigned int _120;
unsigned char iftmp.5_121;
long unsigned int _122;
long unsigned int _123;
long unsigned int _124;
int _125;
unsigned char _127;
int _128;
long unsigned int _129;
short unsigned int _130;
int _131;
short unsigned int _132;
long unsigned int _133;
long unsigned int _134;
long unsigned int _135;
long unsigned int _136;
long unsigned int _137;
long unsigned int _138;
long unsigned int _139;
short unsigned int _140;
long unsigned int _141;
unsigned char _142;
_Bool _143;
<unnamed type> _144;
long unsigned int _145;
long unsigned int _146;
long unsigned int _147;
long unsigned int _148;
int _149;
long unsigned int _150;
long unsigned int _151;
int _152;
int _153;
long unsigned int _154;
int _155;
int _156;
long unsigned int _158;
long unsigned int _159;
long unsigned int _160;
short unsigned int iftmp.9_161;
long unsigned int _162;
unsigned char _163;
_Bool _164;
<unnamed type> _165;
short unsigned int _166;
long unsigned int _167;
unsigned char _168;
_Bool _169;
<unnamed type> _170;
int _172;
<unnamed type> _174;
int _176;
long unsigned int _177;
long unsigned int _178;
long unsigned int _179;
long unsigned int _180;
short unsigned int _181;
long unsigned int _182;
int _183;
long unsigned int _184;
long unsigned int _185;
long unsigned int _186;
long unsigned int _187;
short unsigned int _188;
long unsigned int _189;
int _190;
short unsigned int _191;
int _192;
int _193;
int _194;
int _195;
int _196;
int _197;
long unsigned int _198;
unsigned char _199;
_Bool _200;
int _202;
long unsigned int _203;
long unsigned int _204;
unsigned char iftmp.5_205;
long unsigned int _206;
long unsigned int _207;
long unsigned int _208;
<bb 2> [local count: 1073741823]:
# DEBUG BEGIN_STMT
_1 = (int) instance_5(D);
base_7 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_7
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
chMode_10 = Emios_Pwm_Ip_GetPwmMode (base_7, channel_8(D));
# DEBUG chMode => chMode_10
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_17 ();
# DEBUG BEGIN_STMT
if (chMode_10 == 88)
goto <bb 4>; [20.24%]
else
goto <bb 3>; [79.76%]
<bb 3> [local count: 856416478]:
if (chMode_10 == 90)
goto <bb 4>; [34.00%]
else
goto <bb 17>; [66.00%]
<bb 4> [local count: 508506947]:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_5(D)
# DEBUG channel => channel_8(D)
# DEBUG newDutyCycle => newDutyCycle_12(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDutyCycleOpwfmb
# DEBUG BEGIN_STMT
_24 = (int) instance_5(D);
base_25 = Emios_Pwm_Ip_aBasePtr[_24];
# DEBUG base => base_25
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
_26 = (int) channel_8(D);
_27 = Emios_Pwm_Ip_aPeriod[_24][_26];
if (newDutyCycle_12(D) > _27)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 5> [local count: 254253473]:
if (_27 != 0)
goto <bb 16>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 6> [local count: 381380211]:
# DEBUG BEGIN_STMT
if (_27 == 0)
goto <bb 7>; [50.00%]
else
goto <bb 8>; [50.00%]
<bb 7> [local count: 190690105]:
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_28 ={v} base_25->CH.UC[_26].C;
_29 = _28 & 4294836223;
base_25->CH.UC[_26].C ={v} _29;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_30 ={v} base_25->CH.UC[_26].S;
_31 = _30 | 1;
base_25->CH.UC[_26].S ={v} _31;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
base_25->CH.UC[_26].A ={v} 0;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_24][_26] = 1;
goto <bb 16>; [100.00%]
<bb 8> [local count: 190690105]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == 0)
goto <bb 9>; [50.00%]
else
goto <bb 10>; [50.00%]
<bb 9> [local count: 95345053]:
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_32 ={v} base_25->CH.UC[_26].C;
_33 = _32 & 4294836223;
base_25->CH.UC[_26].C ={v} _33;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_34 ={v} base_25->CH.UC[_26].S;
_35 = _34 | 1;
base_25->CH.UC[_26].S ={v} _35;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_24][_26] = 1;
goto <bb 15>; [100.00%]
<bb 10> [local count: 95345053]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == _27)
goto <bb 11>; [51.12%]
else
goto <bb 12>; [48.88%]
<bb 11> [local count: 48740391]:
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_36 ={v} base_25->CH.UC[_26].C;
_37 = _36 & 4294836223;
base_25->CH.UC[_26].C ={v} _37;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_38 ={v} base_25->CH.UC[_26].S;
_39 = _38 | 1;
base_25->CH.UC[_26].S ={v} _39;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_24][_26] = 1;
goto <bb 15>; [100.00%]
<bb 12> [local count: 46604662]:
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_24][_26] = 0;
# DEBUG BEGIN_STMT
_40 = Emios_Pwm_Ip_aCheckEnableNotif[_24][_26];
_41 = _40 != 0;
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG value => _41
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
if (_41 != 0)
goto <bb 13>; [50.00%]
else
goto <bb 14>; [50.00%]
<bb 13> [local count: 23302331]:
<bb 14> [local count: 46604662]:
# iftmp.5_47 = PHI <0(12), 1(13)>
# DEBUG value_convert => iftmp.5_47
# DEBUG BEGIN_STMT
_44 = (int) channel_8(D);
_45 ={v} base_25->CH.UC[_44].C;
_46 = _45 & 4294836223;
_48 = (long unsigned int) iftmp.5_47;
_49 = _48 << 17;
_50 = _46 | _49;
base_25->CH.UC[_44].C ={v} _50;
<bb 15> [local count: 190690105]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_25
# DEBUG channel => channel_8(D)
# DEBUG value => newDutyCycle_12(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_42 = (long unsigned int) newDutyCycle_12(D);
base_25->CH.UC[_26].A ={v} _42;
<bb 16> [local count: 508506947]:
# ret_43 = PHI <1(5), 0(7), 0(15)>
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG ret => ret_43
# DEBUG BEGIN_STMT
_295 = ret_43;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG newDutyCycle => NULL
# DEBUG ret => NULL
# DEBUG base => NULL
ret_22 = _295;
# DEBUG ret => ret_22
goto <bb 67>; [100.00%]
<bb 17> [local count: 565234876]:
# DEBUG BEGIN_STMT
if (chMode_10 == 92)
goto <bb 21>; [20.24%]
else
goto <bb 18>; [79.76%]
<bb 18> [local count: 450831336]:
if (chMode_10 == 94)
goto <bb 21>; [34.00%]
else
goto <bb 19>; [66.00%]
<bb 19> [local count: 297548682]:
if (chMode_10 == 93)
goto <bb 21>; [34.00%]
else
goto <bb 20>; [66.00%]
<bb 20> [local count: 196382130]:
if (chMode_10 == 95)
goto <bb 21>; [34.00%]
else
goto <bb 34>; [66.00%]
<bb 21> [local count: 435622669]:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_5(D)
# DEBUG channel => channel_8(D)
# DEBUG newDutyCycle => newDutyCycle_12(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDutyCycleOpwmcb
# DEBUG BEGIN_STMT
_51 = (int) instance_5(D);
base_52 = Emios_Pwm_Ip_aBasePtr[_51];
# DEBUG base => base_52
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
chMode_53 = Emios_Pwm_Ip_GetPwmMode (base_52, channel_8(D));
# DEBUG chMode => chMode_53
# DEBUG BEGIN_STMT
_54 = Emios_Pwm_Ip_GetCounterBus (base_52, channel_8(D));
chPeriod_55 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_5(D), channel_8(D), _54);
# DEBUG chPeriod => chPeriod_55
# DEBUG BEGIN_STMT
_56 = (unsigned int) newDutyCycle_12(D);
_57 = (unsigned int) chPeriod_55;
_58 = _57 + 2147483647;
_59 = _58 * 2;
if (_56 > _59)
goto <bb 33>; [50.00%]
else
goto <bb 22>; [50.00%]
<bb 22> [local count: 217811335]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == 0)
goto <bb 23>; [50.00%]
else
goto <bb 28>; [50.00%]
<bb 23> [local count: 108905667]:
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_60 = (int) channel_8(D);
_61 ={v} base_52->CH.UC[_60].C;
_62 = _61 & 4294836223;
base_52->CH.UC[_60].C ={v} _62;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_63 ={v} base_52->CH.UC[_60].S;
_64 = _63 | 1;
base_52->CH.UC[_60].S ={v} _64;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
_65 = chPeriod_55 + 1;
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => _65
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_66 = (long unsigned int) _65;
base_52->CH.UC[_60].A ={v} _66;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_51][_60] = 1;
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_67 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_52].CH.UC[_60].A;
_68 = (short unsigned int) _67;
# DEBUG base => NULL
# DEBUG channel => NULL
if (_68 == 1)
goto <bb 24>; [34.00%]
else
goto <bb 33>; [66.00%]
<bb 24> [local count: 37027927]:
# DEBUG BEGIN_STMT
if (chMode_53 == 92)
goto <bb 26>; [34.00%]
else
goto <bb 25>; [66.00%]
<bb 25> [local count: 24438432]:
if (chMode_53 == 94)
goto <bb 26>; [34.00%]
else
goto <bb 27>; [66.00%]
<bb 26> [local count: 20898562]:
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchB
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_69 ={v} base_52->CH.UC[_60].C;
_70 = _69 & 4294963199;
_71 = _70 | 4096;
base_52->CH.UC[_60].C ={v} _71;
goto <bb 33>; [100.00%]
<bb 27> [local count: 16129365]:
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchA
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_72 ={v} base_52->CH.UC[_60].C;
_73 = _72 & 4294959103;
_74 = _73 | 8192;
base_52->CH.UC[_60].C ={v} _74;
goto <bb 33>; [100.00%]
<bb 28> [local count: 108905667]:
# DEBUG BEGIN_STMT
if (_56 == _59)
goto <bb 29>; [51.12%]
else
goto <bb 30>; [48.88%]
<bb 29> [local count: 55672577]:
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_75 = (int) channel_8(D);
_76 ={v} base_52->CH.UC[_75].C;
_77 = _76 & 4294836223;
base_52->CH.UC[_75].C ={v} _77;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_78 ={v} base_52->CH.UC[_75].S;
_79 = _78 | 1;
base_52->CH.UC[_75].S ={v} _79;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
base_52->CH.UC[_75].A ={v} 1;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_51][_75] = 1;
goto <bb 33>; [100.00%]
<bb 30> [local count: 53233090]:
# DEBUG BEGIN_STMT
_80 = newDutyCycle_12(D) >> 1;
_81 = chPeriod_55 - _80;
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => _81
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_82 = (int) channel_8(D);
_83 = (long unsigned int) _81;
base_52->CH.UC[_82].A ={v} _83;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_51][_82] = 0;
# DEBUG BEGIN_STMT
_84 = Emios_Pwm_Ip_aCheckEnableNotif[_51][_82];
_85 = _84 != 0;
# DEBUG base => base_52
# DEBUG channel => channel_8(D)
# DEBUG value => _85
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
if (_85 != 0)
goto <bb 31>; [50.00%]
else
goto <bb 32>; [50.00%]
<bb 31> [local count: 26616545]:
<bb 32> [local count: 53233090]:
# iftmp.5_90 = PHI <0(30), 1(31)>
# DEBUG value_convert => iftmp.5_90
# DEBUG BEGIN_STMT
_87 = (int) channel_8(D);
_88 ={v} base_52->CH.UC[_87].C;
_89 = _88 & 4294836223;
_91 = (long unsigned int) iftmp.5_90;
_92 = _91 << 17;
_93 = _89 | _92;
base_52->CH.UC[_87].C ={v} _93;
<bb 33> [local count: 435622669]:
# ret_86 = PHI <1(21), 0(23), 0(26), 0(27), 0(29), 0(32)>
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG ret => ret_86
# DEBUG BEGIN_STMT
_281 = ret_86;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG newDutyCycle => NULL
# DEBUG chPeriod => NULL
# DEBUG chMode => NULL
# DEBUG ret => NULL
# DEBUG base => NULL
ret_20 = _281;
# DEBUG ret => ret_20
goto <bb 67>; [100.00%]
<bb 34> [local count: 129612206]:
# DEBUG BEGIN_STMT
if (chMode_10 == 96)
goto <bb 36>; [20.24%]
else
goto <bb 35>; [79.76%]
<bb 35> [local count: 103378695]:
if (chMode_10 == 98)
goto <bb 36>; [34.00%]
else
goto <bb 46>; [66.00%]
<bb 36> [local count: 61382267]:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_5(D)
# DEBUG channel => channel_8(D)
# DEBUG newDutyCycle => newDutyCycle_12(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDutyCycleOpwmb
# DEBUG BEGIN_STMT
_94 = (int) instance_5(D);
base_95 = Emios_Pwm_Ip_aBasePtr[_94];
# DEBUG base => base_95
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
_96 = Emios_Pwm_Ip_GetCounterBus (base_95, channel_8(D));
chPeriod_97 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_5(D), channel_8(D), _96);
# DEBUG chPeriod => chPeriod_97
# DEBUG BEGIN_STMT
_98 = (int) newDutyCycle_12(D);
_99 = (int) channel_8(D);
_100 = Emios_Pwm_Ip_aRegA[_94][_99];
_101 = (int) _100;
_102 = _98 + _101;
_103 = (int) chPeriod_97;
if (_102 > _103)
goto <bb 45>; [50.00%]
else
goto <bb 37>; [50.00%]
<bb 37> [local count: 30691133]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == 0)
goto <bb 38>; [50.00%]
else
goto <bb 39>; [50.00%]
<bb 38> [local count: 15345567]:
# DEBUG BEGIN_STMT
# DEBUG base => base_95
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_104 ={v} base_95->CH.UC[_99].C;
_105 = _104 & 4294836223;
base_95->CH.UC[_99].C ={v} _105;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_95
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_106 ={v} base_95->CH.UC[_99].S;
_107 = _106 | 1;
base_95->CH.UC[_99].S ={v} _107;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_94][_99] = 1;
goto <bb 44>; [100.00%]
<bb 39> [local count: 15345567]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == chPeriod_97)
goto <bb 40>; [51.12%]
else
goto <bb 41>; [48.88%]
<bb 40> [local count: 7844654]:
# DEBUG BEGIN_STMT
# DEBUG base => base_95
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_108 ={v} base_95->CH.UC[_99].C;
_109 = _108 & 4294836223;
base_95->CH.UC[_99].C ={v} _109;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_95
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_110 ={v} base_95->CH.UC[_99].S;
_111 = _110 | 1;
base_95->CH.UC[_99].S ={v} _111;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_94][_99] = 1;
goto <bb 44>; [100.00%]
<bb 41> [local count: 7500913]:
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_94][_99] = 0;
# DEBUG BEGIN_STMT
_112 = Emios_Pwm_Ip_aCheckEnableNotif[_94][_99];
_113 = _112 != 0;
# DEBUG base => base_95
# DEBUG channel => channel_8(D)
# DEBUG value => _113
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
if (_113 != 0)
goto <bb 42>; [50.00%]
else
goto <bb 43>; [50.00%]
<bb 42> [local count: 3750457]:
<bb 43> [local count: 7500913]:
# iftmp.5_121 = PHI <0(41), 1(42)>
# DEBUG value_convert => iftmp.5_121
# DEBUG BEGIN_STMT
_118 = (int) channel_8(D);
_119 ={v} base_95->CH.UC[_118].C;
_120 = _119 & 4294836223;
_122 = (long unsigned int) iftmp.5_121;
_123 = _122 << 17;
_124 = _120 | _123;
base_95->CH.UC[_118].C ={v} _124;
<bb 44> [local count: 30691133]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_114 = Emios_Pwm_Ip_aRegA[_94][_99];
_115 = newDutyCycle_12(D) + _114;
# DEBUG base => base_95
# DEBUG channel => channel_8(D)
# DEBUG value => _115
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_116 = (long unsigned int) _115;
base_95->CH.UC[_99].B ={v} _116;
<bb 45> [local count: 61382267]:
# ret_117 = PHI <1(36), 0(44)>
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG ret => ret_117
# DEBUG BEGIN_STMT
_264 = ret_117;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG newDutyCycle => NULL
# DEBUG chPeriod => NULL
# DEBUG ret => NULL
# DEBUG base => NULL
ret_18 = _264;
# DEBUG ret => ret_18
goto <bb 67>; [100.00%]
<bb 46> [local count: 68229939]:
# DEBUG BEGIN_STMT
_2 = chMode_10 + 250;
if (_2 <= 1)
goto <bb 47>; [41.00%]
else
goto <bb 58>; [59.00%]
<bb 47> [local count: 27974275]:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_5(D)
# DEBUG channel => channel_8(D)
# DEBUG newDutyCycle => newDutyCycle_12(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDutyCycleDaoc
# DEBUG BEGIN_STMT
_125 = (int) instance_5(D);
base_126 = Emios_Pwm_Ip_aBasePtr[_125];
# DEBUG base => base_126
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
# DEBUG daocRegA => 0
# DEBUG BEGIN_STMT
_127 = Emios_Pwm_Ip_GetMasterBusChannel (instance_5(D), channel_8(D));
# DEBUG base => base_126
# DEBUG channel => _127
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_128 = (int) _127;
_129 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_126].CH.UC[_128].A;
_130 = (short unsigned int) _129;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG counterMax => _130
# DEBUG BEGIN_STMT
_131 = (int) channel_8(D);
_132 = Emios_Pwm_Ip_aPeriod[_125][_131];
if (newDutyCycle_12(D) > _132)
goto <bb 48>; [50.00%]
else
goto <bb 49>; [50.00%]
<bb 48> [local count: 13987137]:
if (_132 != 0)
goto <bb 57>; [50.00%]
else
goto <bb 49>; [50.00%]
<bb 49> [local count: 20980706]:
# DEBUG BEGIN_STMT
if (_132 == 0)
goto <bb 51>; [33.00%]
else
goto <bb 50>; [67.00%]
<bb 50> [local count: 14057073]:
if (newDutyCycle_12(D) == 0)
goto <bb 51>; [50.00%]
else
goto <bb 52>; [50.00%]
<bb 51> [local count: 13952170]:
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_133 ={v} base_126->CH.UC[_131].C;
_134 = _133 & 4294836223;
base_126->CH.UC[_131].C ={v} _134;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_135 ={v} base_126->CH.UC[_131].S;
_136 = _135 | 1;
base_126->CH.UC[_131].S ={v} _136;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aDaocDuty[_125][_131] = 0;
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchB
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_137 ={v} base_126->CH.UC[_131].C;
_138 = _137 & 4294963199;
_139 = _138 | 4096;
base_126->CH.UC[_131].C ={v} _139;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
base_126->CH.UC[_131].A ={v} 1;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_140 = newDutyCycle_12(D) + 1;
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => _140
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_141 = (long unsigned int) _140;
base_126->CH.UC[_131].B ={v} _141;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_142 = Emios_Pwm_Ip_aPolarity[_125][_131];
_143 = _142 == 1;
_144 = (<unnamed type>) _143;
Emios_Pwm_Ip_SetEdgePolarity (base_126, channel_8(D), _144);
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_125][_131] = 1;
goto <bb 57>; [100.00%]
<bb 52> [local count: 7028537]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == _132)
goto <bb 53>; [51.12%]
else
goto <bb 56>; [48.88%]
<bb 53> [local count: 3592988]:
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_145 ={v} base_126->CH.UC[_131].C;
_146 = _145 & 4294836223;
base_126->CH.UC[_131].C ={v} _146;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_147 ={v} base_126->CH.UC[_131].S;
_148 = _147 | 1;
base_126->CH.UC[_131].S ={v} _148;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aDaocDuty[_125][_131] = 0;
# DEBUG BEGIN_STMT
_149 = (int) _132;
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_150 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_126].CH.UC[_131].A;
# DEBUG base => NULL
# DEBUG channel => NULL
_151 = _150 & 65535;
_152 = (int) _151;
_153 = _149 + _152;
_154 = _129 & 65535;
_155 = (int) _154;
_156 = _153 % _155;
daocRegA_157 = (uint16) _156;
# DEBUG daocRegA => daocRegA_157
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchA
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_158 ={v} base_126->CH.UC[_131].C;
_159 = _158 & 4294959103;
_160 = _159 | 8192;
base_126->CH.UC[_131].C ={v} _160;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
if (daocRegA_157 == 0)
goto <bb 55>; [50.00%]
else
goto <bb 54>; [50.00%]
<bb 54> [local count: 1796494]:
<bb 55> [local count: 3592988]:
# iftmp.9_161 = PHI <_130(53), daocRegA_157(54)>
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => iftmp.9_161
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
_162 = (long unsigned int) iftmp.9_161;
base_126->CH.UC[_131].A ={v} _162;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => iftmp.9_161
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
base_126->CH.UC[_131].B ={v} _162;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_163 = Emios_Pwm_Ip_aPolarity[_125][_131];
_164 = _163 != 1;
_165 = (<unnamed type>) _164;
Emios_Pwm_Ip_SetEdgePolarity (base_126, channel_8(D), _165);
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_125][_131] = 1;
goto <bb 57>; [100.00%]
<bb 56> [local count: 3435549]:
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aDaocDuty[_125][_131] = newDutyCycle_12(D);
# DEBUG BEGIN_STMT
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegA
# DEBUG BEGIN_STMT
base_126->CH.UC[_131].A ={v} 1;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_166 = newDutyCycle_12(D) + 1;
# DEBUG base => base_126
# DEBUG channel => channel_8(D)
# DEBUG value => _166
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_167 = (long unsigned int) _166;
base_126->CH.UC[_131].B ={v} _167;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
_168 = Emios_Pwm_Ip_aPolarity[_125][_131];
_169 = _168 == 1;
_170 = (<unnamed type>) _169;
Emios_Pwm_Ip_SetEdgePolarity (base_126, channel_8(D), _170);
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_125][_131] = 0;
<bb 57> [local count: 27974275]:
# ret_171 = PHI <1(48), 0(51), 0(55), 0(56)>
# DEBUG ret => ret_171
# DEBUG BEGIN_STMT
_252 = ret_171;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG newDutyCycle => NULL
# DEBUG daocRegA => NULL
# DEBUG ret => NULL
# DEBUG base => NULL
ret_16 = _252;
# DEBUG ret => ret_16
goto <bb 67>; [100.00%]
<bb 58> [local count: 40255664]:
# DEBUG BEGIN_STMT
# DEBUG instance => instance_5(D)
# DEBUG channel => channel_8(D)
# DEBUG newDutyCycle => newDutyCycle_12(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetDutyCycleOpwmt
# DEBUG BEGIN_STMT
_172 = (int) instance_5(D);
base_173 = Emios_Pwm_Ip_aBasePtr[_172];
# DEBUG base => base_173
# DEBUG BEGIN_STMT
# DEBUG ret => 0
# DEBUG BEGIN_STMT
_174 = Emios_Pwm_Ip_GetCounterBus (base_173, channel_8(D));
chPeriod_175 = Emios_Pwm_Ip_GetCounterBusPeriod (instance_5(D), channel_8(D), _174);
# DEBUG chPeriod => chPeriod_175
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) > chPeriod_175)
goto <bb 66>; [50.00%]
else
goto <bb 59>; [50.00%]
<bb 59> [local count: 20127832]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == chPeriod_175)
goto <bb 60>; [34.00%]
else
goto <bb 61>; [66.00%]
<bb 60> [local count: 6843463]:
# DEBUG BEGIN_STMT
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_176 = (int) channel_8(D);
_177 ={v} base_173->CH.UC[_176].C;
_178 = _177 & 4294836223;
base_173->CH.UC[_176].C ={v} _178;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_179 ={v} base_173->CH.UC[_176].S;
_180 = _179 | 1;
base_173->CH.UC[_176].S ={v} _180;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
_181 = newDutyCycle_12(D) + 1;
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG value => _181
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_182 = (long unsigned int) _181;
base_173->CH.UC[_176].B ={v} _182;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_172][_176] = 1;
goto <bb 66>; [100.00%]
<bb 61> [local count: 13284369]:
# DEBUG BEGIN_STMT
if (newDutyCycle_12(D) == 0)
goto <bb 62>; [67.00%]
else
goto <bb 63>; [33.00%]
<bb 62> [local count: 8900527]:
# DEBUG BEGIN_STMT
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_183 = (int) channel_8(D);
_184 ={v} base_173->CH.UC[_183].C;
_185 = _184 & 4294836223;
base_173->CH.UC[_183].C ={v} _185;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_ClearFlagEvent
# DEBUG BEGIN_STMT
_186 ={v} base_173->CH.UC[_183].S;
_187 = _186 | 1;
base_173->CH.UC[_183].S ={v} _187;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG BEGIN_STMT
_188 = Emios_Pwm_Ip_aRegA[_172][_183];
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG value => _188
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_189 = (long unsigned int) _188;
base_173->CH.UC[_183].B ={v} _189;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_172][_183] = 1;
goto <bb 66>; [100.00%]
<bb 63> [local count: 4383842]:
# DEBUG BEGIN_STMT
_190 = (int) channel_8(D);
_191 = Emios_Pwm_Ip_aRegA[_172][_190];
_192 = (int) _191;
_193 = (int) newDutyCycle_12(D);
_194 = _192 + _193;
_195 = (int) chPeriod_175;
_196 = _194 % _195;
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG value => (short unsigned int) _196
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetUCRegB
# DEBUG BEGIN_STMT
_197 = _196;
_198 = (long unsigned int) _197;
base_173->CH.UC[_190].B ={v} _198;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
Emios_Pwm_Ip_aNotif[_172][_190] = 0;
# DEBUG BEGIN_STMT
_199 = Emios_Pwm_Ip_aCheckEnableNotif[_172][_190];
_200 = _199 != 0;
# DEBUG base => base_173
# DEBUG channel => channel_8(D)
# DEBUG value => _200
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetInterruptRequest
# DEBUG BEGIN_STMT
if (_200 != 0)
goto <bb 64>; [50.00%]
else
goto <bb 65>; [50.00%]
<bb 64> [local count: 2191921]:
<bb 65> [local count: 4383842]:
# iftmp.5_205 = PHI <0(63), 1(64)>
# DEBUG value_convert => iftmp.5_205
# DEBUG BEGIN_STMT
_202 = (int) channel_8(D);
_203 ={v} base_173->CH.UC[_202].C;
_204 = _203 & 4294836223;
_206 = (long unsigned int) iftmp.5_205;
_207 = _206 << 17;
_208 = _204 | _207;
base_173->CH.UC[_202].C ={v} _208;
<bb 66> [local count: 40255664]:
# ret_201 = PHI <1(58), 0(60), 0(62), 0(65)>
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG ret => ret_201
# DEBUG BEGIN_STMT
_229 = ret_201;
# DEBUG instance => NULL
# DEBUG channel => NULL
# DEBUG newDutyCycle => NULL
# DEBUG chPeriod => NULL
# DEBUG ret => NULL
# DEBUG base => NULL
ret_14 = _229;
# DEBUG ret => ret_14
<bb 67> [local count: 1073741824]:
# ret_3 = PHI <ret_22(16), ret_20(33), ret_18(45), ret_16(57), ret_14(66)>
# DEBUG ret => ret_3
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_17 ();
# DEBUG BEGIN_STMT
return ret_3;
}
;; Function Emios_Pwm_Ip_SetPreEnableClock (Emios_Pwm_Ip_SetPreEnableClock, funcdef_no=76, decl_uid=4429, cgraph_uid=77, symbol_order=85)
Symbols to be put in SSA form
{ D.8910 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 7
Number of blocks to update: 6 ( 86%)
Merging blocks 2 and 4
Merging blocks 6 and 3
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2 3 4
;; 2 succs { 4 3 }
;; 3 succs { 4 }
;; 4 succs { 1 }
Emios_Pwm_Ip_SetPreEnableClock (uint8 instance, uint8 channel, boolean value)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _10;
long unsigned int _11;
long unsigned int _12;
unsigned char iftmp.8_13;
long unsigned int _14;
long unsigned int _15;
long unsigned int _16;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_26 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => value_7(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPrescalerEnable
# DEBUG BEGIN_STMT
if (value_7(D) != 0)
goto <bb 3>; [50.00%]
else
goto <bb 4>; [50.00%]
<bb 3> [local count: 536870913]:
<bb 4> [local count: 1073741824]:
# iftmp.8_13 = PHI <0(2), 1(3)>
# DEBUG value_convert => iftmp.8_13
# DEBUG BEGIN_STMT
_10 = (int) channel_6(D);
_11 ={v} base_4->CH.UC[_10].C;
_12 = _11 & 4261412863;
_14 = (long unsigned int) iftmp.8_13;
_15 = _14 << 25;
_16 = _12 | _15;
base_4->CH.UC[_10].C ={v} _16;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_26 ();
return;
}
;; Function Emios_Pwm_Ip_SetBusSelected (Emios_Pwm_Ip_SetBusSelected, funcdef_no=77, decl_uid=4433, cgraph_uid=78, symbol_order=86)
Symbols to be put in SSA form
{ D.8911 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 5
Number of blocks to update: 4 ( 80%)
Merging blocks 2 and 4
Merging blocks 2 and 3
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Emios_Pwm_Ip_SetBusSelected (uint8 instance, uint8 channel, Emios_Pwm_Ip_CounterBusSourceType value)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _10;
long unsigned int _11;
long unsigned int _12;
long unsigned int _13;
long unsigned int _14;
long unsigned int _15;
long unsigned int _16;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_27 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => value_7(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetCounterBus
# DEBUG BEGIN_STMT
_10 = (int) channel_6(D);
_11 ={v} base_4->CH.UC[_10].C;
_12 = _11 & 4294965759;
_13 = (long unsigned int) value_7(D);
_14 = _13 << 9;
_15 = _14 & 1536;
_16 = _12 | _15;
base_4->CH.UC[_10].C ={v} _16;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_27 ();
return;
}
;; Function Emios_Pwm_Ip_SetClockPs (Emios_Pwm_Ip_SetClockPs, funcdef_no=78, decl_uid=4437, cgraph_uid=79, symbol_order=87)
Symbols to be put in SSA form
{ D.8912 }
Incremental SSA update started at block: 0
Number of blocks in CFG: 5
Number of blocks to update: 4 ( 80%)
Merging blocks 2 and 4
Merging blocks 2 and 3
;; 1 loops found
;;
;; Loop 0
;; header 0, latch 1
;; depth 0, outer -1
;; nodes: 0 1 2
;; 2 succs { 1 }
Emios_Pwm_Ip_SetClockPs (uint8 instance, uint8 channel, Emios_Pwm_Ip_InternalClkPsType value)
{
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
long unsigned int _10;
long unsigned int _11;
long unsigned int _12;
int _13;
long unsigned int _14;
long unsigned int _15;
int _18;
long unsigned int _19;
long unsigned int _20;
long unsigned int _21;
long unsigned int _22;
long unsigned int _23;
long unsigned int _24;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
_1 = (int) instance_2(D);
base_4 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_4
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_28 ();
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => 0
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPrescalerEnable
# DEBUG BEGIN_STMT
# DEBUG value_convert => 0
# DEBUG BEGIN_STMT
_13 = (int) channel_6(D);
_14 ={v} base_4->CH.UC[_13].C;
_15 = _14 & 4261412863;
base_4->CH.UC[_13].C ={v} _15;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => value_7(D)
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetExtendedPrescaler
# DEBUG BEGIN_STMT
_18 = (int) channel_6(D);
_19 ={v} base_4->CH.UC[_18].C2;
_20 = _19 & 4293984255;
_21 = (long unsigned int) value_7(D);
_22 = _21 << 16;
_23 = _22 & 983040;
_24 = _20 | _23;
base_4->CH.UC[_18].C2 ={v} _24;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
# DEBUG base => base_4
# DEBUG channel => channel_6(D)
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetPrescalerEnable
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_10 ={v} base_4->CH.UC[_13].C;
_11 = _10 & 4261412863;
_12 = _11 | 33554432;
base_4->CH.UC[_13].C ={v} _12;
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_28 ();
return;
}
;; Function Emios_Pwm_Ip_ComparatorTransferEnable (Emios_Pwm_Ip_ComparatorTransferEnable, funcdef_no=79, decl_uid=4440, cgraph_uid=80, symbol_order=88)
Emios_Pwm_Ip_ComparatorTransferEnable (uint8 instance, uint32 channelMask)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_29 ();
# DEBUG BEGIN_STMT
Emios_Mcl_Ip_ComparatorTransferEnable (instance_3(D), channelMask_4(D));
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_29 ();
return;
}
;; Function Emios_Pwm_Ip_ComparatorTransferDisable (Emios_Pwm_Ip_ComparatorTransferDisable, funcdef_no=80, decl_uid=4443, cgraph_uid=81, symbol_order=89)
Emios_Pwm_Ip_ComparatorTransferDisable (uint8 instance, uint32 channelMask)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
SchM_Enter_Pwm_PWM_EXCLUSIVE_AREA_30 ();
# DEBUG BEGIN_STMT
Emios_Mcl_Ip_ComparatorTransferDisable (instance_3(D), channelMask_4(D));
# DEBUG BEGIN_STMT
SchM_Exit_Pwm_PWM_EXCLUSIVE_AREA_30 ();
return;
}
;; Function Emios_Pwm_Ip_SyncUpdate (Emios_Pwm_Ip_SyncUpdate, funcdef_no=81, decl_uid=4445, cgraph_uid=82, symbol_order=90)
Emios_Pwm_Ip_SyncUpdate (uint8 instance)
{
uint8 channelId;
uint8 oudisDisable;
Emios_Pwm_Ip_PwmModeType chMode;
uint32 channelMask;
struct Emios_Pwm_Ip_HwAddrType * const base;
int _1;
int _2;
long unsigned int _3;
long unsigned int _4;
long unsigned int _6;
unsigned char _7;
long unsigned int _25;
long unsigned int _26;
short unsigned int _27;
long unsigned int _28;
long unsigned int _29;
long unsigned int _30;
long unsigned int _31;
long unsigned int _32;
long unsigned int _33;
<bb 2> [local count: 42949672]:
# DEBUG BEGIN_STMT
_1 = (int) instance_14(D);
base_16 = Emios_Pwm_Ip_aBasePtr[_1];
# DEBUG base => base_16
# DEBUG BEGIN_STMT
# DEBUG base => base_16
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetOutputUpdateInstance
# DEBUG BEGIN_STMT
_25 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_16].OUDIS;
# DEBUG base => NULL
# DEBUG oudisRegVal => _25
# DEBUG BEGIN_STMT
# DEBUG channelMask => 0
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG oudisDisable => 0
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG channelId => 0
goto <bb 14>; [100.00%]
<bb 3> [local count: 1030792152]:
# DEBUG BEGIN_STMT
_2 = (int) channelId_10;
_3 = 1 << _2;
_4 = _3 & _25;
_6 = _4 >> _2;
oudisDisable_18 = (uint8) _6;
# DEBUG oudisDisable => oudisDisable_18
# DEBUG BEGIN_STMT
_7 = Emios_Pwm_Ip_aCheckState[_1][_2];
if (_7 != 0)
goto <bb 4>; [50.00%]
else
goto <bb 13>; [50.00%]
<bb 4> [local count: 515396076]:
if (oudisDisable_18 == 1)
goto <bb 5>; [20.24%]
else
goto <bb 13>; [79.76%]
<bb 5> [local count: 104316166]:
# DEBUG BEGIN_STMT
chMode_20 = Emios_Pwm_Ip_GetPwmMode (base_16, channelId_10);
# DEBUG chMode => chMode_20
# DEBUG BEGIN_STMT
# DEBUG base => base_16
# DEBUG channel => channelId_10
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_GetUCRegA
# DEBUG BEGIN_STMT
_26 ={v} MEM[(const struct Emios_Pwm_Ip_HwAddrType *)base_16].CH.UC[_2].A;
_27 = (short unsigned int) _26;
# DEBUG base => NULL
# DEBUG channel => NULL
if (_27 == 1)
goto <bb 6>; [34.00%]
else
goto <bb 12>; [66.00%]
<bb 6> [local count: 35467496]:
# DEBUG BEGIN_STMT
if (chMode_20 == 92)
goto <bb 8>; [20.24%]
else
goto <bb 7>; [79.76%]
<bb 7> [local count: 28288875]:
if (chMode_20 == 94)
goto <bb 8>; [34.00%]
else
goto <bb 9>; [66.00%]
<bb 8> [local count: 16796839]:
# DEBUG BEGIN_STMT
Emios_Mcl_Ip_ComparatorTransferEnable (instance_14(D), _3);
# DEBUG BEGIN_STMT
# DEBUG base => base_16
# DEBUG channel => channelId_10
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchB
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_28 ={v} base_16->CH.UC[_2].C;
_29 = _28 & 4294963199;
_30 = _29 | 4096;
base_16->CH.UC[_2].C ={v} _30;
goto <bb 12>; [100.00%]
<bb 9> [local count: 18670658]:
# DEBUG BEGIN_STMT
if (chMode_20 == 93)
goto <bb 11>; [20.24%]
else
goto <bb 10>; [79.76%]
<bb 10> [local count: 14891716]:
if (chMode_20 == 95)
goto <bb 11>; [34.00%]
else
goto <bb 12>; [66.00%]
<bb 11> [local count: 8842125]:
# DEBUG BEGIN_STMT
Emios_Mcl_Ip_ComparatorTransferEnable (instance_14(D), _3);
# DEBUG BEGIN_STMT
# DEBUG base => base_16
# DEBUG channel => channelId_10
# DEBUG value => 1
# DEBUG INLINE_ENTRY Emios_Pwm_Ip_SetForceMatchA
# DEBUG BEGIN_STMT
# DEBUG value_convert => 1
# DEBUG BEGIN_STMT
_31 ={v} base_16->CH.UC[_2].C;
_32 = _31 & 4294959103;
_33 = _32 | 8192;
base_16->CH.UC[_2].C ={v} _33;
<bb 12> [local count: 104316166]:
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG base => NULL
# DEBUG channel => NULL
# DEBUG value => NULL
# DEBUG BEGIN_STMT
channelMask_23 = _3 | channelMask_9;
# DEBUG channelMask => channelMask_23
<bb 13> [local count: 1030792152]:
# channelMask_8 = PHI <channelMask_9(3), channelMask_9(4), channelMask_23(12)>
# DEBUG channelMask => channelMask_8
# DEBUG BEGIN_STMT
channelId_24 = channelId_10 + 1;
# DEBUG channelId => channelId_24
<bb 14> [local count: 1073741824]:
# channelMask_9 = PHI <0(2), channelMask_8(13)>
# channelId_10 = PHI <0(2), channelId_24(13)>
# DEBUG channelId => channelId_10
# DEBUG channelMask => channelMask_9
# DEBUG BEGIN_STMT
if (channelId_10 != 24)
goto <bb 3>; [96.00%]
else
goto <bb 15>; [4.00%]
<bb 15> [local count: 42949673]:
# channelMask_5 = PHI <channelMask_9(14)>
# DEBUG BEGIN_STMT
Emios_Mcl_Ip_ComparatorTransferEnable (instance_14(D), channelMask_5);
return;
}