ADM/GW/Debug_FLASH/RTD/src/OsIf_Timer.c.077i.pure-const

546 lines
16 KiB
Plaintext

local analysis of OsIf_MicrosToTicks
scanning: switch (SelectedCounter_3(D)) <default: <L5> [33.33%], case 0: <L6> [33.33%], case 1: <L1> [33.33%]>
scanning: <L6>:
scanning: <L1>:
scanning: Value_7 = OsIf_Timer_System_MicrosToTicks (Micros_5(D));
scanning: <L5>:
scanning: return Value_1;
Function is locally const.
local analysis of OsIf_SetTimerFrequency
scanning: if (SelectedCounter_2(D) == 1)
scanning: <L1>:
scanning: OsIf_Timer_System_SetTimerFrequency (Freq_4(D));
scanning: <L4>:
scanning: return;
Function is locally const.
local analysis of OsIf_GetElapsed
scanning: switch (SelectedCounter_3(D)) <default: <L5> [33.33%], case 0: <L7> [33.33%], case 1: <L1> [33.33%]>
scanning: <L7>:
scanning: <L1>:
scanning: Value_7 = OsIf_Timer_System_GetElapsed (CurrentRef_5(D));
scanning: <L5>:
scanning: return Value_1;
Function is locally const.
local analysis of OsIf_GetCounter
scanning: if (SelectedCounter_3(D) == 1)
scanning: <L1>:
scanning: Value_6 = OsIf_Timer_System_GetCounter ();
scanning: <L5>:
scanning: return Value_1;
Function is locally const.
local analysis of OsIf_Init
scanning: if (Config_2(D) != 0B)
scanning: x ={v} 0;
Volatile stmt is not const/pure
Volatile operand is not const/pure
scanning: x.0_4 ={v} x;
Volatile stmt is not const/pure
Volatile operand is not const/pure
scanning: if (x.0_4 != 0)
scanning: OsIf_Timer_System_Init ();
scanning: return;
callgraph:
OsIf_Timer_System_MicrosToTicks/15 (OsIf_Timer_System_MicrosToTicks) @05e1a380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_MicrosToTicks/10 (357878150 (estimated locally),0.33 per call)
Calls:
OsIf_Timer_System_SetTimerFrequency/14 (OsIf_Timer_System_SetTimerFrequency) @05e1a0e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_SetTimerFrequency/9 (217325345 (estimated locally),0.20 per call)
Calls:
OsIf_Timer_System_GetElapsed/13 (OsIf_Timer_System_GetElapsed) @05e130e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_GetElapsed/8 (357878150 (estimated locally),0.33 per call)
Calls:
OsIf_Timer_System_GetCounter/12 (OsIf_Timer_System_GetCounter) @05e13d20
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_GetCounter/7 (217325345 (estimated locally),0.20 per call)
Calls:
OsIf_Timer_System_Init/11 (OsIf_Timer_System_Init) @05e139a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_Init/6 (152706 (estimated locally),0.59 per call)
Calls:
OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4ab8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call)
OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4bb8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call)
OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4c18
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call)
OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4c38
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call)
OsIf_Init/6 (OsIf_Init) @05e2d540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4b18
References:
Referring:
Availability: available
Function flags: count:260080 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call)
ordered call graph: reduced for nothrow
OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4ab8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call)
OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4bb8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call)
OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4c18
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call)
OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4c38
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call)
OsIf_Init/6 (OsIf_Init) @05e2d540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4b18
References:
Referring:
Availability: available
Function flags: count:260080 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call)
MALLOC LATTICE Initial:
OsIf_MicrosToTicks: malloc_bottom
OsIf_SetTimerFrequency: malloc_bottom
OsIf_GetElapsed: malloc_bottom
OsIf_GetCounter: malloc_bottom
OsIf_Init: malloc_bottom
MALLOC LATTICE after propagation:
OsIf_MicrosToTicks: malloc_bottom
OsIf_SetTimerFrequency: malloc_bottom
OsIf_GetElapsed: malloc_bottom
OsIf_GetCounter: malloc_bottom
OsIf_Init: malloc_bottom
callgraph:
OsIf_Timer_System_MicrosToTicks/15 (OsIf_Timer_System_MicrosToTicks) @05e1a380
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_MicrosToTicks/10 (357878150 (estimated locally),0.33 per call)
Calls:
OsIf_Timer_System_SetTimerFrequency/14 (OsIf_Timer_System_SetTimerFrequency) @05e1a0e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_SetTimerFrequency/9 (217325345 (estimated locally),0.20 per call)
Calls:
OsIf_Timer_System_GetElapsed/13 (OsIf_Timer_System_GetElapsed) @05e130e0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_GetElapsed/8 (357878150 (estimated locally),0.33 per call)
Calls:
OsIf_Timer_System_GetCounter/12 (OsIf_Timer_System_GetCounter) @05e13d20
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_GetCounter/7 (217325345 (estimated locally),0.20 per call)
Calls:
OsIf_Timer_System_Init/11 (OsIf_Timer_System_Init) @05e139a0
Type: function
Visibility: external public
References:
Referring:
Availability: not_available
Function flags: optimize_size
Called by: OsIf_Init/6 (152706 (estimated locally),0.59 per call)
Calls:
OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4c38
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call)
OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4bb8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call)
OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4cf8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call)
OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4978
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call)
OsIf_Init/6 (OsIf_Init) @05e2d540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4998
References:
Referring:
Availability: available
Function flags: count:260080 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call)
ordered call graph: reduced
OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4c38
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call)
OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4bb8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call)
OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4cf8
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call)
OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4978
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call)
OsIf_Init/6 (OsIf_Init) @05e2d540
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05ad4998
References:
Referring:
Availability: available
Function flags: count:260080 (estimated locally) body optimize_size
Called by:
Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call)
OsIf_MicrosToTicks (uint32 Micros, OsIf_CounterType SelectedCounter)
{
uint32 Value;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG Value => 0
# DEBUG BEGIN_STMT
switch (SelectedCounter_3(D)) <default: <L5> [33.33%], case 0: <L6> [33.33%], case 1: <L1> [33.33%]>
<bb 3> [local count: 357878150]:
<L6>:
# DEBUG BEGIN_STMT
# DEBUG Micros => Micros_5(D)
# DEBUG INLINE_ENTRY NULL
# DEBUG BEGIN_STMT
# DEBUG Micros => NULL
# DEBUG Value => Micros_5(D)
# DEBUG BEGIN_STMT
goto <bb 5>; [100.00%]
<bb 4> [local count: 357878150]:
<L1>:
# DEBUG BEGIN_STMT
Value_7 = OsIf_Timer_System_MicrosToTicks (Micros_5(D));
# DEBUG Value => Value_7
# DEBUG BEGIN_STMT
<bb 5> [local count: 1073634451]:
# Value_1 = PHI <Micros_5(D)(3), Value_7(4), 0(2)>
<L5>:
# DEBUG Value => Value_1
# DEBUG BEGIN_STMT
return Value_1;
}
OsIf_SetTimerFrequency (uint32 Freq, OsIf_CounterType SelectedCounter)
{
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
if (SelectedCounter_2(D) == 1)
goto <bb 3>; [20.24%]
else
goto <bb 4>; [79.76%]
<bb 3> [local count: 217325345]:
<L1>:
# DEBUG BEGIN_STMT
OsIf_Timer_System_SetTimerFrequency (Freq_4(D));
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
<L4>:
# DEBUG Freq => NULL
return;
}
OsIf_GetElapsed (uint32 * const CurrentRef, OsIf_CounterType SelectedCounter)
{
uint32 Value;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG Value => 0
# DEBUG BEGIN_STMT
switch (SelectedCounter_3(D)) <default: <L5> [33.33%], case 0: <L7> [33.33%], case 1: <L1> [33.33%]>
<bb 3> [local count: 357878150]:
<L7>:
# DEBUG BEGIN_STMT
# DEBUG D#1 => CurrentRef_5(D)
# DEBUG INLINE_ENTRY NULL
# DEBUG CurrentRef => D#1
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG Value => 1
# DEBUG BEGIN_STMT
goto <bb 5>; [100.00%]
<bb 4> [local count: 357878150]:
<L1>:
# DEBUG BEGIN_STMT
Value_7 = OsIf_Timer_System_GetElapsed (CurrentRef_5(D));
# DEBUG Value => Value_7
# DEBUG BEGIN_STMT
<bb 5> [local count: 1073634451]:
# Value_1 = PHI <1(3), Value_7(4), 0(2)>
<L5>:
# DEBUG Value => Value_1
# DEBUG BEGIN_STMT
return Value_1;
}
OsIf_GetCounter (OsIf_CounterType SelectedCounter)
{
uint32 Value;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG Value => 0
# DEBUG BEGIN_STMT
if (SelectedCounter_3(D) == 1)
goto <bb 3>; [20.24%]
else
goto <bb 4>; [79.76%]
<bb 3> [local count: 217325345]:
<L1>:
# DEBUG BEGIN_STMT
Value_6 = OsIf_Timer_System_GetCounter ();
# DEBUG Value => Value_6
# DEBUG BEGIN_STMT
<bb 4> [local count: 1073741824]:
# Value_1 = PHI <0(2), Value_6(3)>
<L5>:
# DEBUG Value => Value_1
# DEBUG BEGIN_STMT
return Value_1;
}
OsIf_Init (const void * Config)
{
volatile boolean x;
_Bool x.0_4;
<bb 2> [local count: 260080]:
# DEBUG BEGIN_STMT
if (Config_2(D) != 0B)
goto <bb 3>; [82.57%]
else
goto <bb 5>; [17.43%]
<bb 3> [local count: 214748]:
# DEBUG BEGIN_STMT
x ={v} 0;
# DEBUG x => x
# DEBUG INLINE_ENTRY DevAssert
# DEBUG BEGIN_STMT
x.0_4 ={v} x;
if (x.0_4 != 0)
goto <bb 5>; [50.00%]
else
goto <bb 6>; [50.00%]
<bb 6> [local count: 107374]:
<bb 4> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
<bb 7> [local count: 1073741824]:
goto <bb 4>; [100.00%]
<bb 5> [local count: 152706]:
# DEBUG x => NULL
# DEBUG BEGIN_STMT
# DEBUG INLINE_ENTRY NULL
# DEBUG BEGIN_STMT
# DEBUG BEGIN_STMT
OsIf_Timer_System_Init ();
return;
}