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

139 lines
3.6 KiB
Plaintext

local analysis of LPI2C_Init
scanning: regValue_8 ={v} baseAddr_2(D)->MCR;
Volatile stmt is not const/pure
Indirect ref read is not const
scanning: regValue_9 = regValue_8 & 4294967293;
scanning: regValue_10 = regValue_9 | 2;
scanning: baseAddr_2(D)->MCR ={v} regValue_10;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: regValue_5 ={v} baseAddr_2(D)->SCR;
Volatile stmt is not const/pure
Indirect ref read is not const
scanning: regValue_6 = regValue_5 & 4294967293;
scanning: regValue_7 = regValue_6 | 2;
scanning: baseAddr_2(D)->SCR ={v} regValue_7;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: baseAddr_2(D)->MCR ={v} 0;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: baseAddr_2(D)->SCR ={v} 0;
Volatile stmt is not const/pure
Indirect ref write is not const/pure
scanning: return;
callgraph:
LPI2C_Init/76 (LPI2C_Init) @05d918c0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05995600
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced for nothrow
LPI2C_Init/76 (LPI2C_Init) @05d918c0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @05995600
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
MALLOC LATTICE Initial:
LPI2C_Init: malloc_bottom
MALLOC LATTICE after propagation:
LPI2C_Init: malloc_bottom
callgraph:
LPI2C_Init/76 (LPI2C_Init) @05d918c0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @059955e0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
ordered call graph: reduced
LPI2C_Init/76 (LPI2C_Init) @05d918c0
Type: function definition analyzed
Visibility: externally_visible public
Aux: @059955e0
References:
Referring:
Availability: available
Function flags: count:1073741824 (estimated locally) body optimize_size
Called by:
Calls:
Function found not to call free: LPI2C_Init
LPI2C_Init (struct LPI2C_Type * baseAddr)
{
uint32 regValue;
uint32 regValue;
<bb 2> [local count: 1073741824]:
# DEBUG BEGIN_STMT
# DEBUG baseAddr => baseAddr_2(D)
# DEBUG enable => 1
# DEBUG INLINE_ENTRY LPI2C_Set_MasterSoftwareReset
# DEBUG BEGIN_STMT
regValue_8 ={v} baseAddr_2(D)->MCR;
# DEBUG regValue => regValue_8
# DEBUG BEGIN_STMT
regValue_9 = regValue_8 & 4294967293;
# DEBUG regValue => regValue_9
# DEBUG BEGIN_STMT
regValue_10 = regValue_9 | 2;
# DEBUG regValue => regValue_10
# DEBUG BEGIN_STMT
baseAddr_2(D)->MCR ={v} regValue_10;
# DEBUG baseAddr => NULL
# DEBUG enable => NULL
# DEBUG regValue => NULL
# DEBUG BEGIN_STMT
# DEBUG baseAddr => baseAddr_2(D)
# DEBUG enable => 1
# DEBUG INLINE_ENTRY LPI2C_Set_SlaveSoftwareReset
# DEBUG BEGIN_STMT
regValue_5 ={v} baseAddr_2(D)->SCR;
# DEBUG regValue => regValue_5
# DEBUG BEGIN_STMT
regValue_6 = regValue_5 & 4294967293;
# DEBUG regValue => regValue_6
# DEBUG BEGIN_STMT
regValue_7 = regValue_6 | 2;
# DEBUG regValue => regValue_7
# DEBUG BEGIN_STMT
baseAddr_2(D)->SCR ={v} regValue_7;
# DEBUG baseAddr => NULL
# DEBUG enable => NULL
# DEBUG regValue => NULL
# DEBUG BEGIN_STMT
baseAddr_2(D)->MCR ={v} 0;
# DEBUG BEGIN_STMT
baseAddr_2(D)->SCR ={v} 0;
return;
}