1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207 |
- Analyzing function: vPortGetHeapStats/20
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 5 3 6 4
- ;;
- ;; Loop 1
- ;; header 3, latch 6
- ;; depth 1, outer 0
- ;; nodes: 3 6
- ;; 2 succs { 5 4 }
- ;; 5 succs { 3 }
- ;; 3 succs { 6 4 }
- ;; 6 succs { 3 }
- ;; 4 succs { 1 }
- Analyzing function body size: vPortGetHeapStats
- IPA function summary for vPortGetHeapStats/20 inlinable
- global time: 106.909092
- self size: 29
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:18.500000, time:61.409091
- size:6.500000, time:5.500000, executed if:(not inlined)
- calls:
- vPortExitCritical/24 function body not available
- loop depth: 0 freq:1.00 size: 1 time: 10
- vPortEnterCritical/23 function body not available
- loop depth: 0 freq:1.00 size: 1 time: 10
- xTaskResumeAll/22 function body not available
- loop depth: 0 freq:1.00 size: 1 time: 10
- vTaskSuspendAll/21 function body not available
- loop depth: 0 freq:1.00 size: 1 time: 10
- Analyzing function: prvInsertBlockIntoFreeList/19
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 14 4 5 6 7 8 9 10 11 12 13
- ;;
- ;; Loop 1
- ;; header 3, latch 14
- ;; depth 1, outer 0
- ;; nodes: 3 14
- ;; 2 succs { 3 }
- ;; 3 succs { 14 4 }
- ;; 14 succs { 3 }
- ;; 4 succs { 5 6 }
- ;; 5 succs { 6 }
- ;; 6 succs { 7 10 }
- ;; 7 succs { 8 9 }
- ;; 8 succs { 11 }
- ;; 9 succs { 11 }
- ;; 10 succs { 11 }
- ;; 11 succs { 12 13 }
- ;; 12 succs { 13 }
- ;; 13 succs { 1 }
- Analyzing function body size: prvInsertBlockIntoFreeList
- IPA function summary for prvInsertBlockIntoFreeList/19 inlinable
- global time: 43.612727
- self size: 30
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:26.000000, time:41.312727
- size:3.000000, time:2.000000, executed if:(not inlined)
- size:0.500000, time:0.150000, executed if:(not inlined), nonconst if:(op0[ref offset: 32] changed) && (not inlined)
- size:0.500000, time:0.150000, nonconst if:(op0[ref offset: 32] changed)
- calls:
- Analyzing function: prvHeapInit/18
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4
- ;; 2 succs { 3 4 }
- ;; 3 succs { 4 }
- ;; 4 succs { 1 }
- Analyzing function body size: prvHeapInit
- IPA function summary for prvHeapInit/18 inlinable
- global time: 12.000000
- self size: 13
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:10.000000, time:10.000000
- size:3.000000, time:2.000000, executed if:(not inlined)
- calls:
- Analyzing function: vPortInitialiseBlocks/17
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2
- ;; 2 succs { 1 }
- Analyzing function body size: vPortInitialiseBlocks
- IPA function summary for vPortInitialiseBlocks/17 inlinable
- global time: 2.000000
- self size: 3
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:3.000000, time:2.000000, executed if:(not inlined)
- calls:
- Analyzing function: xPortGetMinimumEverFreeHeapSize/16
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2
- ;; 2 succs { 1 }
- Analyzing function body size: xPortGetMinimumEverFreeHeapSize
- IPA function summary for xPortGetMinimumEverFreeHeapSize/16 inlinable
- global time: 3.000000
- self size: 4
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:1.000000, time:1.000000
- size:3.000000, time:2.000000, executed if:(not inlined)
- calls:
- Analyzing function: xPortGetFreeHeapSize/15
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2
- ;; 2 succs { 1 }
- Analyzing function body size: xPortGetFreeHeapSize
- IPA function summary for xPortGetFreeHeapSize/15 inlinable
- global time: 3.000000
- self size: 4
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:1.000000, time:1.000000
- size:3.000000, time:2.000000, executed if:(not inlined)
- calls:
- Analyzing function: vPortFree/14
- ;; 3 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 5 11 6 7 8 12 9 10
- ;;
- ;; Loop 2
- ;; header 5, latch 11
- ;; depth 1, outer 0
- ;; nodes: 5 11
- ;;
- ;; Loop 1
- ;; header 8, latch 12
- ;; depth 1, outer 0
- ;; nodes: 8 12
- ;; 2 succs { 3 10 }
- ;; 3 succs { 4 6 }
- ;; 4 succs { 5 }
- ;; 5 succs { 11 }
- ;; 11 succs { 5 }
- ;; 6 succs { 7 9 }
- ;; 7 succs { 8 }
- ;; 8 succs { 12 }
- ;; 12 succs { 8 }
- ;; 9 succs { 10 }
- ;; 10 succs { 1 }
- Analyzing function body size: vPortFree
- IPA function summary for vPortFree/14 inlinable
- global time: 13.668150
- self size: 38
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:3.000000, time:0.722009, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:1.000000, time:0.700000, executed if:(op0 != 0B), nonconst if:(op0 changed) && (op0 != 0B)
- size:2.000000, time:0.586004, executed if:(op0 != 0B) && (not inlined)
- size:26.000000, time:7.769013, executed if:(op0 != 0B)
- calls:
- xTaskResumeAll/22 function body not available
- loop depth: 0 freq:0.06 size: 1 time: 10 predicate: (op0 != 0B)
- prvInsertBlockIntoFreeList/19 function not considered for inlining
- loop depth: 0 freq:0.06 size: 2 time: 11callee size:15 stack: 0 predicate: (op0 != 0B)
- vTaskSuspendAll/21 function body not available
- loop depth: 0 freq:0.06 size: 1 time: 10 predicate: (op0 != 0B)
- Analyzing function: pvPortMalloc/13
- ;; 5 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 28 13 14 15 16 17 26 18 19 20 21 22 23 24 27 25
- ;;
- ;; Loop 3
- ;; header 17, latch 26
- ;; depth 1, outer 0
- ;; nodes: 17 26
- ;;
- ;; Loop 2
- ;; header 24, latch 27
- ;; depth 1, outer 0
- ;; nodes: 24 27
- ;;
- ;; Loop 1
- ;; header 11, latch 28
- ;; depth 1, outer 0
- ;; nodes: 11 28 12
- ;; 2 succs { 3 4 }
- ;; 3 succs { 4 }
- ;; 4 succs { 5 22 }
- ;; 5 succs { 6 22 }
- ;; 6 succs { 7 8 }
- ;; 7 succs { 8 22 }
- ;; 8 succs { 9 22 }
- ;; 9 succs { 10 22 }
- ;; 10 succs { 11 }
- ;; 11 succs { 12 13 }
- ;; 12 succs { 28 13 }
- ;; 28 succs { 11 }
- ;; 13 succs { 14 22 }
- ;; 14 succs { 15 19 }
- ;; 15 succs { 16 18 }
- ;; 16 succs { 17 }
- ;; 17 succs { 26 }
- ;; 26 succs { 17 }
- ;; 18 succs { 19 }
- ;; 19 succs { 20 21 }
- ;; 20 succs { 21 }
- ;; 21 succs { 22 }
- ;; 22 succs { 23 25 }
- ;; 23 succs { 24 }
- ;; 24 succs { 27 }
- ;; 27 succs { 24 }
- ;; 25 succs { 1 }
- Analyzing function body size: pvPortMalloc
- IPA function summary for pvPortMalloc/13 inlinable
- global time: 61.960418
- self size: 82
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:63.000000, time:33.578902
- size:3.000000, time:0.927373, executed if:(not inlined)
- size:11.000000, time:6.043949, nonconst if:(op0 changed)
- calls:
- xTaskResumeAll/22 function body not available
- loop depth: 0 freq:0.93 size: 1 time: 10
- prvInsertBlockIntoFreeList/19 function not considered for inlining
- loop depth: 0 freq:0.04 size: 2 time: 11callee size:15 stack: 0
- prvHeapInit/18 function not considered for inlining
- loop depth: 0 freq:0.17 size: 1 time: 10callee size: 6 stack: 0
- vTaskSuspendAll/21 function body not available
- loop depth: 0 freq:1.00 size: 1 time: 10
- Symbol table:
- vPortExitCritical/24 (vPortExitCritical) @06ad4e00
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vPortGetHeapStats/20 (168730858 (estimated locally),1.00 per call)
- Calls:
- vPortEnterCritical/23 (vPortEnterCritical) @06ad4c40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vPortGetHeapStats/20 (168730858 (estimated locally),1.00 per call)
- Calls:
- xTaskResumeAll/22 (xTaskResumeAll) @06ad42a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vPortGetHeapStats/20 (168730858 (estimated locally),1.00 per call) vPortFree/14 (18715 (estimated locally),0.06 per call) pvPortMalloc/13 (214748 (estimated locally),0.93 per call)
- Calls:
- vTaskSuspendAll/21 (vTaskSuspendAll) @06ad40e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vPortGetHeapStats/20 (168730857 (estimated locally),1.00 per call) vPortFree/14 (18715 (estimated locally),0.06 per call) pvPortMalloc/13 (231566 (estimated locally),1.00 per call)
- Calls:
- vPortGetHeapStats/20 (vPortGetHeapStats) @06ac60e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xStart/6 (read)pxEnd/7 (read)xFreeBytesRemaining/8 (read)xNumberOfSuccessfulAllocations/10 (read)xNumberOfSuccessfulFrees/11 (read)xMinimumEverFreeBytesRemaining/9 (read)
- Referring:
- Availability: available
- Function flags: count:168730857 (estimated locally) body optimize_size
- Called by:
- Calls: vPortExitCritical/24 (168730858 (estimated locally),1.00 per call) vPortEnterCritical/23 (168730858 (estimated locally),1.00 per call) xTaskResumeAll/22 (168730858 (estimated locally),1.00 per call) vTaskSuspendAll/21 (168730857 (estimated locally),1.00 per call)
- prvInsertBlockIntoFreeList/19 (prvInsertBlockIntoFreeList) @06ac6d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: xStart/6 (addr)pxEnd/7 (read)
- Referring:
- Availability: local
- Function flags: count:118111600 (estimated locally) body local optimize_size
- Called by: vPortFree/14 (18715 (estimated locally),0.06 per call) pvPortMalloc/13 (8283 (estimated locally),0.04 per call)
- Calls:
- prvHeapInit/18 (prvHeapInit) @06ac6a80
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References: ucHeap/4 (addr)xStart/6 (write)xStart/6 (write)pxEnd/7 (write)xMinimumEverFreeBytesRemaining/9 (write)xFreeBytesRemaining/8 (write)xBlockAllocatedBit/12 (write)
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: pvPortMalloc/13 (40362 (estimated locally),0.17 per call)
- Calls:
- vPortInitialiseBlocks/17 (vPortInitialiseBlocks) @06ac67e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xPortGetMinimumEverFreeHeapSize/16 (xPortGetMinimumEverFreeHeapSize) @06ac6540
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xMinimumEverFreeBytesRemaining/9 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- xPortGetFreeHeapSize/15 (xPortGetFreeHeapSize) @06ac62a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xFreeBytesRemaining/8 (read)
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vPortFree/14 (vPortFree) @06ac6000
- Type: function definition analyzed
- Visibility: externally_visible public
- References: xBlockAllocatedBit/12 (read)xFreeBytesRemaining/8 (read)xFreeBytesRemaining/8 (write)xNumberOfSuccessfulFrees/11 (read)xNumberOfSuccessfulFrees/11 (write)
- Referring:
- Availability: available
- Function flags: count:306783 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/22 (18715 (estimated locally),0.06 per call) prvInsertBlockIntoFreeList/19 (18715 (estimated locally),0.06 per call) vTaskSuspendAll/21 (18715 (estimated locally),0.06 per call)
- pvPortMalloc/13 (pvPortMalloc) @06abeee0
- Type: function definition analyzed
- Visibility: externally_visible public
- References: pxEnd/7 (read)xBlockAllocatedBit/12 (read)xFreeBytesRemaining/8 (read)xStart/6 (read)xStart/6 (addr)pxEnd/7 (read)xFreeBytesRemaining/8 (read)xFreeBytesRemaining/8 (write)xMinimumEverFreeBytesRemaining/9 (read)xMinimumEverFreeBytesRemaining/9 (write)xBlockAllocatedBit/12 (read)xNumberOfSuccessfulAllocations/10 (read)xNumberOfSuccessfulAllocations/10 (write)
- Referring:
- Availability: available
- Function flags: count:231566 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskResumeAll/22 (214748 (estimated locally),0.93 per call) prvInsertBlockIntoFreeList/19 (8283 (estimated locally),0.04 per call) prvHeapInit/18 (40362 (estimated locally),0.17 per call) vTaskSuspendAll/21 (231566 (estimated locally),1.00 per call)
- xBlockAllocatedBit/12 (xBlockAllocatedBit) @06b14678
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: pvPortMalloc/13 (read)pvPortMalloc/13 (read)prvHeapInit/18 (write)vPortFree/14 (read)
- Availability: available
- Varpool flags: initialized
- xNumberOfSuccessfulFrees/11 (xNumberOfSuccessfulFrees) @06b145e8
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: vPortFree/14 (write)vPortFree/14 (read)vPortGetHeapStats/20 (read)
- Availability: available
- Varpool flags: initialized
- xNumberOfSuccessfulAllocations/10 (xNumberOfSuccessfulAllocations) @06b145a0
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: pvPortMalloc/13 (write)pvPortMalloc/13 (read)vPortGetHeapStats/20 (read)
- Availability: available
- Varpool flags: initialized
- xMinimumEverFreeBytesRemaining/9 (xMinimumEverFreeBytesRemaining) @06b14558
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: prvHeapInit/18 (write)xPortGetMinimumEverFreeHeapSize/16 (read)pvPortMalloc/13 (write)pvPortMalloc/13 (read)vPortGetHeapStats/20 (read)
- Availability: available
- Varpool flags: initialized
- xFreeBytesRemaining/8 (xFreeBytesRemaining) @06b14510
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: vPortFree/14 (write)pvPortMalloc/13 (read)prvHeapInit/18 (write)pvPortMalloc/13 (write)xPortGetFreeHeapSize/15 (read)pvPortMalloc/13 (read)vPortFree/14 (read)vPortGetHeapStats/20 (read)
- Availability: available
- Varpool flags: initialized
- pxEnd/7 (pxEnd) @06b14480
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: pvPortMalloc/13 (read)prvHeapInit/18 (write)prvInsertBlockIntoFreeList/19 (read)pvPortMalloc/13 (read)vPortGetHeapStats/20 (read)
- Availability: available
- Varpool flags: initialized
- xStart/6 (xStart) @06b143f0
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: prvHeapInit/18 (write)prvHeapInit/18 (write)pvPortMalloc/13 (addr)prvInsertBlockIntoFreeList/19 (addr)pvPortMalloc/13 (read)vPortGetHeapStats/20 (read)
- Availability: available
- Varpool flags:
- ucHeap/4 (ucHeap) @06b14120
- Type: variable definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring: prvHeapInit/18 (addr)
- Availability: available
- Varpool flags:
- vPortGetHeapStats (struct HeapStats_t * pxHeapStats)
- {
- size_t xMinSize;
- size_t xMaxSize;
- size_t xBlocks;
- struct BlockLink_t * pxBlock;
- unsigned int _1;
- struct BlockLink_t * pxEnd.26_3;
- unsigned int xFreeBytesRemaining.27_4;
- unsigned int xNumberOfSuccessfulAllocations.28_5;
- unsigned int xNumberOfSuccessfulFrees.29_6;
- unsigned int xMinimumEverFreeBytesRemaining.30_7;
- <bb 2> [local count: 168730857]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xBlocks => 0
- # DEBUG xMaxSize => 0
- # DEBUG xMinSize => 4294967295
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- pxBlock_17 = xStart.pxNextFreeBlock;
- # DEBUG pxBlock => pxBlock_17
- # DEBUG BEGIN_STMT
- if (pxBlock_17 != 0B)
- goto <bb 5>; [70.00%]
- else
- goto <bb 4>; [30.00%]
- <bb 5> [local count: 118111600]:
- <bb 3> [local count: 1073741824]:
- # pxBlock_8 = PHI <pxBlock_17(5), pxBlock_20(6)>
- # xBlocks_9 = PHI <0(5), xBlocks_18(6)>
- # xMaxSize_11 = PHI <0(5), xMaxSize_2(6)>
- # xMinSize_13 = PHI <4294967295(5), xMinSize_19(6)>
- # DEBUG xMinSize => xMinSize_13
- # DEBUG xMaxSize => xMaxSize_11
- # DEBUG xBlocks => xBlocks_9
- # DEBUG pxBlock => pxBlock_8
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xBlocks_18 = xBlocks_9 + 1;
- # DEBUG xBlocks => xBlocks_18
- # DEBUG BEGIN_STMT
- _1 = pxBlock_8->xBlockSize;
- xMaxSize_2 = MAX_EXPR <_1, xMaxSize_11>;
- # DEBUG xMaxSize => xMaxSize_2
- # DEBUG BEGIN_STMT
- xMinSize_19 = MIN_EXPR <_1, xMinSize_13>;
- # DEBUG xMinSize => xMinSize_19
- # DEBUG BEGIN_STMT
- pxBlock_20 = pxBlock_8->pxNextFreeBlock;
- # DEBUG pxBlock => pxBlock_20
- # DEBUG BEGIN_STMT
- pxEnd.26_3 = pxEnd;
- if (pxEnd.26_3 != pxBlock_20)
- goto <bb 6>; [89.00%]
- else
- goto <bb 4>; [11.00%]
- <bb 6> [local count: 955630225]:
- goto <bb 3>; [100.00%]
- <bb 4> [local count: 168730858]:
- # xBlocks_10 = PHI <0(2), xBlocks_18(3)>
- # xMaxSize_12 = PHI <0(2), xMaxSize_2(3)>
- # xMinSize_14 = PHI <4294967295(2), xMinSize_19(3)>
- # DEBUG xMinSize => xMinSize_14
- # DEBUG xMaxSize => xMaxSize_12
- # DEBUG xBlocks => xBlocks_10
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- pxHeapStats_22(D)->xSizeOfLargestFreeBlockInBytes = xMaxSize_12;
- # DEBUG BEGIN_STMT
- pxHeapStats_22(D)->xSizeOfSmallestFreeBlockInBytes = xMinSize_14;
- # DEBUG BEGIN_STMT
- pxHeapStats_22(D)->xNumberOfFreeBlocks = xBlocks_10;
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- xFreeBytesRemaining.27_4 = xFreeBytesRemaining;
- pxHeapStats_22(D)->xAvailableHeapSpaceInBytes = xFreeBytesRemaining.27_4;
- # DEBUG BEGIN_STMT
- xNumberOfSuccessfulAllocations.28_5 = xNumberOfSuccessfulAllocations;
- pxHeapStats_22(D)->xNumberOfSuccessfulAllocations = xNumberOfSuccessfulAllocations.28_5;
- # DEBUG BEGIN_STMT
- xNumberOfSuccessfulFrees.29_6 = xNumberOfSuccessfulFrees;
- pxHeapStats_22(D)->xNumberOfSuccessfulFrees = xNumberOfSuccessfulFrees.29_6;
- # DEBUG BEGIN_STMT
- xMinimumEverFreeBytesRemaining.30_7 = xMinimumEverFreeBytesRemaining;
- pxHeapStats_22(D)->xMinimumEverFreeBytesRemaining = xMinimumEverFreeBytesRemaining.30_7;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- return;
- }
- prvInsertBlockIntoFreeList (struct BlockLink_t * pxBlockToInsert)
- {
- struct BlockLink_t * pxIterator;
- struct A_BLOCK_LINK * _1;
- unsigned int _2;
- uint8_t * _3;
- unsigned int _5;
- unsigned int _6;
- unsigned int _7;
- uint8_t * _8;
- struct BlockLink_t * pxEnd.19_9;
- unsigned int _10;
- unsigned int _11;
- struct A_BLOCK_LINK * _12;
- struct A_BLOCK_LINK * _20;
- <bb 2> [local count: 118111600]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxIterator => &xStart
- <bb 3> [local count: 1073741824]:
- # pxIterator_14 = PHI <&xStart(2), _1(14)>
- # DEBUG pxIterator => pxIterator_14
- # DEBUG BEGIN_STMT
- _1 = pxIterator_14->pxNextFreeBlock;
- if (_1 < pxBlockToInsert_19(D))
- goto <bb 14>; [89.00%]
- else
- goto <bb 4>; [11.00%]
- <bb 14> [local count: 955630223]:
- goto <bb 3>; [100.00%]
- <bb 4> [local count: 118111601]:
- # _20 = PHI <_1(3)>
- # pxIterator_4 = PHI <pxIterator_14(3)>
- # DEBUG BEGIN_STMT
- # DEBUG puc => pxIterator_4
- # DEBUG BEGIN_STMT
- _2 = pxIterator_4->xBlockSize;
- _3 = pxIterator_4 + _2;
- if (_3 == pxBlockToInsert_19(D))
- goto <bb 5>; [30.00%]
- else
- goto <bb 6>; [70.00%]
- <bb 5> [local count: 35433480]:
- # DEBUG BEGIN_STMT
- _5 = pxBlockToInsert_19(D)->xBlockSize;
- _6 = _2 + _5;
- pxIterator_4->xBlockSize = _6;
- # DEBUG BEGIN_STMT
- # DEBUG pxBlockToInsert => pxIterator_4
- <bb 6> [local count: 118111601]:
- # pxBlockToInsert_13 = PHI <pxBlockToInsert_19(D)(4), pxIterator_4(5)>
- # DEBUG pxBlockToInsert => pxBlockToInsert_13
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG puc => pxBlockToInsert_13
- # DEBUG BEGIN_STMT
- _7 = pxBlockToInsert_13->xBlockSize;
- _8 = pxBlockToInsert_13 + _7;
- if (_8 == _20)
- goto <bb 7>; [30.00%]
- else
- goto <bb 10>; [70.00%]
- <bb 7> [local count: 35433480]:
- # DEBUG BEGIN_STMT
- pxEnd.19_9 = pxEnd;
- if (pxEnd.19_9 != _20)
- goto <bb 8>; [70.00%]
- else
- goto <bb 9>; [30.00%]
- <bb 8> [local count: 24803436]:
- # DEBUG BEGIN_STMT
- _10 = _20->xBlockSize;
- _11 = _7 + _10;
- pxBlockToInsert_13->xBlockSize = _11;
- # DEBUG BEGIN_STMT
- _12 = _20->pxNextFreeBlock;
- pxBlockToInsert_13->pxNextFreeBlock = _12;
- goto <bb 11>; [100.00%]
- <bb 9> [local count: 10630044]:
- # DEBUG BEGIN_STMT
- pxBlockToInsert_13->pxNextFreeBlock = pxEnd.19_9;
- goto <bb 11>; [100.00%]
- <bb 10> [local count: 82678120]:
- # DEBUG BEGIN_STMT
- pxBlockToInsert_13->pxNextFreeBlock = _20;
- <bb 11> [local count: 118111601]:
- # DEBUG BEGIN_STMT
- if (pxIterator_4 != pxBlockToInsert_13)
- goto <bb 12>; [70.00%]
- else
- goto <bb 13>; [30.00%]
- <bb 12> [local count: 82678120]:
- # DEBUG BEGIN_STMT
- pxIterator_4->pxNextFreeBlock = pxBlockToInsert_13;
- <bb 13> [local count: 118111601]:
- # DEBUG BEGIN_STMT
- return;
- }
- prvHeapInit ()
- {
- size_t xTotalHeapSize;
- size_t uxAddress;
- uint8_t * pucAlignedHeap;
- unsigned int _1;
- unsigned int _2;
- struct BlockLink_t * uxAddress.14_3;
- unsigned int _4;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xTotalHeapSize => 8192
- # DEBUG BEGIN_STMT
- uxAddress_7 = (size_t) &ucHeap;
- # DEBUG uxAddress => uxAddress_7
- # DEBUG BEGIN_STMT
- _1 = uxAddress_7 & 7;
- if (_1 != 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 4>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- uxAddress_8 = uxAddress_7 + 7;
- # DEBUG uxAddress => uxAddress_8
- # DEBUG BEGIN_STMT
- uxAddress_9 = uxAddress_8 & 4294967288;
- # DEBUG uxAddress => uxAddress_9
- # DEBUG BEGIN_STMT
- _2 = 8192 - uxAddress_9;
- xTotalHeapSize_10 = _2 + uxAddress_7;
- # DEBUG xTotalHeapSize => xTotalHeapSize_10
- <bb 4> [local count: 1073741824]:
- # uxAddress_5 = PHI <uxAddress_7(2), uxAddress_9(3)>
- # xTotalHeapSize_6 = PHI <8192(2), xTotalHeapSize_10(3)>
- # DEBUG xTotalHeapSize => xTotalHeapSize_6
- # DEBUG uxAddress => uxAddress_5
- # DEBUG BEGIN_STMT
- pucAlignedHeap_11 = (uint8_t *) uxAddress_5;
- # DEBUG pucAlignedHeap => pucAlignedHeap_11
- # DEBUG BEGIN_STMT
- xStart.pxNextFreeBlock = pucAlignedHeap_11;
- # DEBUG BEGIN_STMT
- xStart.xBlockSize = 0;
- # DEBUG BEGIN_STMT
- uxAddress_15 = uxAddress_5 + xTotalHeapSize_6;
- # DEBUG uxAddress => uxAddress_15
- # DEBUG BEGIN_STMT
- uxAddress_16 = uxAddress_15 + 4294967288;
- # DEBUG uxAddress => uxAddress_16
- # DEBUG BEGIN_STMT
- uxAddress_17 = uxAddress_16 & 4294967288;
- # DEBUG uxAddress => uxAddress_17
- # DEBUG BEGIN_STMT
- uxAddress.14_3 = (struct BlockLink_t *) uxAddress_17;
- pxEnd = uxAddress.14_3;
- # DEBUG BEGIN_STMT
- uxAddress.14_3->xBlockSize = 0;
- # DEBUG BEGIN_STMT
- uxAddress.14_3->pxNextFreeBlock = 0B;
- # DEBUG BEGIN_STMT
- # DEBUG pxFirstFreeBlock => pucAlignedHeap_11
- # DEBUG BEGIN_STMT
- _4 = uxAddress_17 - uxAddress_5;
- MEM[(struct BlockLink_t *)pucAlignedHeap_11].xBlockSize = _4;
- # DEBUG BEGIN_STMT
- MEM[(struct BlockLink_t *)pucAlignedHeap_11].pxNextFreeBlock = uxAddress.14_3;
- # DEBUG BEGIN_STMT
- xMinimumEverFreeBytesRemaining = _4;
- # DEBUG BEGIN_STMT
- xFreeBytesRemaining = _4;
- # DEBUG BEGIN_STMT
- xBlockAllocatedBit = 2147483648;
- return;
- }
- vPortInitialiseBlocks ()
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- return;
- }
- xPortGetMinimumEverFreeHeapSize ()
- {
- size_t _2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _2 = xMinimumEverFreeBytesRemaining;
- return _2;
- }
- xPortGetFreeHeapSize ()
- {
- size_t _2;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _2 = xFreeBytesRemaining;
- return _2;
- }
- vPortFree (void * pv)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint8_t * puc;
- unsigned int _1;
- unsigned int xBlockAllocatedBit.21_2;
- unsigned int _3;
- struct A_BLOCK_LINK * _4;
- unsigned int _5;
- unsigned int _6;
- unsigned int _7;
- unsigned int xFreeBytesRemaining.24_8;
- unsigned int _9;
- unsigned int xNumberOfSuccessfulFrees.25_10;
- unsigned int _11;
- <bb 2> [local count: 306783]:
- # DEBUG BEGIN_STMT
- # DEBUG puc => pv_13(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (pv_13(D) != 0B)
- goto <bb 3>; [70.00%]
- else
- goto <bb 10>; [30.00%]
- <bb 3> [local count: 214748]:
- # DEBUG BEGIN_STMT
- puc_15 = pv_13(D) + 4294967288;
- # DEBUG puc => puc_15
- # DEBUG BEGIN_STMT
- # DEBUG pxLink => puc_15
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct BlockLink_t *)pv_13(D) + 4294967288B].xBlockSize;
- xBlockAllocatedBit.21_2 = xBlockAllocatedBit;
- _3 = _1 & xBlockAllocatedBit.21_2;
- if (_3 == 0)
- goto <bb 4>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 4> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_22 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_22
- <bb 5> [local count: 1073741823]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 11> [local count: 1073741824]:
- goto <bb 5>; [100.00%]
- <bb 6> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _4 = MEM[(struct BlockLink_t *)pv_13(D) + 4294967288B].pxNextFreeBlock;
- if (_4 != 0B)
- goto <bb 7>; [82.57%]
- else
- goto <bb 9>; [17.43%]
- <bb 7> [local count: 88659]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
- <bb 8> [local count: 886588623]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 12> [local count: 886588623]:
- goto <bb 8>; [100.00%]
- <bb 9> [local count: 18715]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _5 = ~xBlockAllocatedBit.21_2;
- _6 = _1 & _5;
- MEM[(struct BlockLink_t *)pv_13(D) + 4294967288B].xBlockSize = _6;
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- _7 = MEM[(struct BlockLink_t *)pv_13(D) + 4294967288B].xBlockSize;
- xFreeBytesRemaining.24_8 = xFreeBytesRemaining;
- _9 = _7 + xFreeBytesRemaining.24_8;
- xFreeBytesRemaining = _9;
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- prvInsertBlockIntoFreeList (puc_15);
- # DEBUG BEGIN_STMT
- xNumberOfSuccessfulFrees.25_10 = xNumberOfSuccessfulFrees;
- _11 = xNumberOfSuccessfulFrees.25_10 + 1;
- xNumberOfSuccessfulFrees = _11;
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- <bb 10> [local count: 110750]:
- # DEBUG BEGIN_STMT
- return;
- }
- pvPortMalloc (size_t xWantedSize)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- void * pvReturn;
- struct BlockLink_t * pxNewBlockLink;
- struct BlockLink_t * pxPreviousBlock;
- struct BlockLink_t * pxBlock;
- struct BlockLink_t * pxEnd.0_1;
- unsigned int xBlockAllocatedBit.1_2;
- unsigned int _3;
- unsigned int _4;
- unsigned int _5;
- unsigned int _6;
- unsigned int _7;
- unsigned int xFreeBytesRemaining.2_9;
- unsigned int _10;
- struct A_BLOCK_LINK * _11;
- struct BlockLink_t * pxEnd.3_12;
- struct A_BLOCK_LINK * _13;
- struct A_BLOCK_LINK * _14;
- unsigned int _15;
- unsigned int pxNewBlockLink.4_16;
- unsigned int _17;
- unsigned int xFreeBytesRemaining.5_18;
- unsigned int _19;
- unsigned int _20;
- unsigned int xMinimumEverFreeBytesRemaining.7_21;
- unsigned int xBlockAllocatedBit.9_22;
- unsigned int _23;
- unsigned int xNumberOfSuccessfulAllocations.10_24;
- unsigned int _25;
- unsigned int pvReturn.11_26;
- unsigned int _27;
- unsigned int _57;
- <bb 2> [local count: 231566]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pvReturn => 0B
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- pxEnd.0_1 = pxEnd;
- if (pxEnd.0_1 == 0B)
- goto <bb 3>; [17.43%]
- else
- goto <bb 4>; [82.57%]
- <bb 3> [local count: 40362]:
- # DEBUG BEGIN_STMT
- prvHeapInit ();
- <bb 4> [local count: 231566]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xBlockAllocatedBit.1_2 = xBlockAllocatedBit;
- _3 = xBlockAllocatedBit.1_2 & xWantedSize_39(D);
- if (_3 == 0)
- goto <bb 5>; [83.25%]
- else
- goto <bb 22>; [16.75%]
- <bb 5> [local count: 192779]:
- # DEBUG BEGIN_STMT
- _4 = xWantedSize_39(D) + 4294967295;
- if (_4 <= 4294967286)
- goto <bb 6>; [71.00%]
- else
- goto <bb 22>; [29.00%]
- <bb 6> [local count: 136873]:
- # DEBUG BEGIN_STMT
- xWantedSize_40 = xWantedSize_39(D) + 8;
- # DEBUG xWantedSize => xWantedSize_40
- # DEBUG BEGIN_STMT
- _5 = xWantedSize_40 & 7;
- if (_5 != 0)
- goto <bb 7>; [50.00%]
- else
- goto <bb 8>; [50.00%]
- <bb 7> [local count: 68436]:
- # DEBUG BEGIN_STMT
- _6 = xWantedSize_40 & 4294967288;
- _7 = _6 + 8;
- if (_7 > xWantedSize_40)
- goto <bb 8>; [71.00%]
- else
- goto <bb 22>; [29.00%]
- <bb 8> [local count: 117026]:
- # xWantedSize_28 = PHI <_7(7), xWantedSize_40(6)>
- # DEBUG xWantedSize => xWantedSize_28
- # DEBUG BEGIN_STMT
- if (xWantedSize_28 != 0)
- goto <bb 9>; [71.00%]
- else
- goto <bb 22>; [29.00%]
- <bb 9> [local count: 83089]:
- xFreeBytesRemaining.2_9 = xFreeBytesRemaining;
- if (xFreeBytesRemaining.2_9 >= xWantedSize_28)
- goto <bb 10>; [71.00%]
- else
- goto <bb 22>; [29.00%]
- <bb 10> [local count: 58993]:
- # DEBUG BEGIN_STMT
- # DEBUG pxPreviousBlock => &xStart
- # DEBUG BEGIN_STMT
- pxBlock_41 = xStart.pxNextFreeBlock;
- # DEBUG pxBlock => pxBlock_41
- # DEBUG BEGIN_STMT
- <bb 11> [local count: 551465]:
- # pxBlock_29 = PHI <pxBlock_41(10), _11(28)>
- # pxPreviousBlock_30 = PHI <&xStart(10), pxBlock_29(28)>
- # DEBUG pxPreviousBlock => pxPreviousBlock_30
- # DEBUG pxBlock => pxBlock_29
- # DEBUG BEGIN_STMT
- _10 = pxBlock_29->xBlockSize;
- if (_10 < xWantedSize_28)
- goto <bb 12>; [94.50%]
- else
- goto <bb 13>; [5.50%]
- <bb 12> [local count: 521134]:
- _11 = pxBlock_29->pxNextFreeBlock;
- if (_11 != 0B)
- goto <bb 28>; [94.50%]
- else
- goto <bb 13>; [5.50%]
- <bb 28> [local count: 492472]:
- goto <bb 11>; [100.00%]
- <bb 13> [local count: 58993]:
- # _57 = PHI <_10(11), _10(12)>
- # pxBlock_54 = PHI <pxBlock_29(11), pxBlock_29(12)>
- # pxPreviousBlock_8 = PHI <pxPreviousBlock_30(11), pxPreviousBlock_30(12)>
- # DEBUG BEGIN_STMT
- pxEnd.3_12 = pxEnd;
- if (pxEnd.3_12 != pxBlock_54)
- goto <bb 14>; [85.10%]
- else
- goto <bb 22>; [14.90%]
- <bb 14> [local count: 50203]:
- # DEBUG BEGIN_STMT
- _13 = pxPreviousBlock_8->pxNextFreeBlock;
- pvReturn_42 = _13 + 8;
- # DEBUG pvReturn => pvReturn_42
- # DEBUG BEGIN_STMT
- _14 = pxBlock_54->pxNextFreeBlock;
- pxPreviousBlock_8->pxNextFreeBlock = _14;
- # DEBUG BEGIN_STMT
- _15 = _57 - xWantedSize_28;
- if (_15 > 16)
- goto <bb 15>; [50.00%]
- else
- goto <bb 19>; [50.00%]
- <bb 15> [local count: 25102]:
- # DEBUG BEGIN_STMT
- pxNewBlockLink_44 = pxBlock_54 + xWantedSize_28;
- # DEBUG pxNewBlockLink => pxNewBlockLink_44
- # DEBUG BEGIN_STMT
- pxNewBlockLink.4_16 = (unsigned int) pxNewBlockLink_44;
- _17 = pxNewBlockLink.4_16 & 7;
- if (_17 != 0)
- goto <bb 16>; [67.00%]
- else
- goto <bb 18>; [33.00%]
- <bb 16> [local count: 16818]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_55
- <bb 17> [local count: 168180375]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 26> [local count: 168180375]:
- goto <bb 17>; [100.00%]
- <bb 18> [local count: 8283]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- pxNewBlockLink_44->xBlockSize = _15;
- # DEBUG BEGIN_STMT
- pxBlock_54->xBlockSize = xWantedSize_28;
- # DEBUG BEGIN_STMT
- prvInsertBlockIntoFreeList (pxNewBlockLink_44);
- <bb 19> [local count: 33385]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xFreeBytesRemaining.5_18 = xFreeBytesRemaining;
- _19 = pxBlock_54->xBlockSize;
- _20 = xFreeBytesRemaining.5_18 - _19;
- xFreeBytesRemaining = _20;
- # DEBUG BEGIN_STMT
- xMinimumEverFreeBytesRemaining.7_21 = xMinimumEverFreeBytesRemaining;
- if (_20 < xMinimumEverFreeBytesRemaining.7_21)
- goto <bb 20>; [50.00%]
- else
- goto <bb 21>; [50.00%]
- <bb 20> [local count: 16693]:
- # DEBUG BEGIN_STMT
- xMinimumEverFreeBytesRemaining = _20;
- <bb 21> [local count: 33385]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xBlockAllocatedBit.9_22 = xBlockAllocatedBit;
- _23 = _19 | xBlockAllocatedBit.9_22;
- pxBlock_54->xBlockSize = _23;
- # DEBUG BEGIN_STMT
- pxBlock_54->pxNextFreeBlock = 0B;
- # DEBUG BEGIN_STMT
- xNumberOfSuccessfulAllocations.10_24 = xNumberOfSuccessfulAllocations;
- _25 = xNumberOfSuccessfulAllocations.10_24 + 1;
- xNumberOfSuccessfulAllocations = _25;
- <bb 22> [local count: 214748]:
- # pvReturn_31 = PHI <0B(4), 0B(9), 0B(8), 0B(13), pvReturn_42(21), 0B(7), 0B(5)>
- # DEBUG xWantedSize => NULL
- # DEBUG pvReturn => pvReturn_31
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- pvReturn.11_26 = (unsigned int) pvReturn_31;
- _27 = pvReturn.11_26 & 7;
- if (_27 != 0)
- goto <bb 23>; [50.00%]
- else
- goto <bb 25>; [50.00%]
- <bb 23> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_56 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_56
- <bb 24> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 27> [local count: 1073741824]:
- goto <bb 24>; [100.00%]
- <bb 25> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return pvReturn_31;
- }
|