stream_buffer.c.075i.fnsummary 131 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253
  1. Analyzing function: xStreamBufferSpacesAvailable.part.0/62
  2. ;; 2 loops found
  3. ;;
  4. ;; Loop 0
  5. ;; header 0, latch 1
  6. ;; depth 0, outer -1
  7. ;; nodes: 0 1 5 2 3 4
  8. ;;
  9. ;; Loop 1
  10. ;; header 3, latch 4
  11. ;; depth 1, outer 0
  12. ;; nodes: 3 4
  13. ;; 5 succs { 2 }
  14. ;; 2 succs { 3 }
  15. ;; 3 succs { 4 }
  16. ;; 4 succs { 3 }
  17. Analyzing function body size: xStreamBufferSpacesAvailable.part.0
  18. IPA function summary for xStreamBufferSpacesAvailable.part.0/62 inlinable
  19. global time: 5.000000
  20. self size: 7
  21. global size: 0
  22. min size: 0
  23. self stack: 0
  24. global stack: 0
  25. size:5.000000, time:5.000000
  26. size:2.000000, time:0.000000, executed if:(not inlined)
  27. calls:
  28. Analyzing function: prvReadBytesFromBuffer.part.0/53
  29. ;; 3 loops found
  30. ;;
  31. ;; Loop 0
  32. ;; header 0, latch 1
  33. ;; depth 0, outer -1
  34. ;; nodes: 0 1 15 2 3 4 5 6 7 8 9 10 11 12 13 14
  35. ;;
  36. ;; Loop 1
  37. ;; header 4, latch 5
  38. ;; depth 1, outer 0
  39. ;; nodes: 4 5
  40. ;;
  41. ;; Loop 2
  42. ;; header 8, latch 9
  43. ;; depth 1, outer 0
  44. ;; nodes: 8 9
  45. ;; 15 succs { 2 }
  46. ;; 2 succs { 3 6 }
  47. ;; 3 succs { 4 }
  48. ;; 4 succs { 5 }
  49. ;; 5 succs { 4 }
  50. ;; 6 succs { 7 10 }
  51. ;; 7 succs { 8 }
  52. ;; 8 succs { 9 }
  53. ;; 9 succs { 8 }
  54. ;; 10 succs { 11 12 }
  55. ;; 11 succs { 12 }
  56. ;; 12 succs { 13 14 }
  57. ;; 13 succs { 14 }
  58. ;; 14 succs { 1 }
  59. Analyzing function body size: prvReadBytesFromBuffer.part.0
  60. IPA function summary for prvReadBytesFromBuffer.part.0/53 inlinable
  61. global time: 15.423664
  62. self size: 41
  63. global size: 0
  64. min size: 0
  65. self stack: 0
  66. global stack: 0
  67. size:14.000000, time:4.697231
  68. size:4.000000, time:0.439720, executed if:(not inlined)
  69. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 64] changed) && (not inlined)
  70. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 64] changed)
  71. size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 64] changed || op3 changed)
  72. size:9.000000, time:4.884446, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed)
  73. size:0.500000, time:0.082499, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
  74. size:0.500000, time:0.082499, nonconst if:(op0[ref offset: 192] changed)
  75. size:1.000000, time:0.164998, nonconst if:(op3 changed || op0[ref offset: 192] changed)
  76. size:1.000000, time:0.054450, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed || op1 changed)
  77. size:1.000000, time:0.164998, nonconst if:(op3 changed || op2 changed)
  78. calls:
  79. memcpy/41 function body not available
  80. loop depth: 0 freq:0.16 size: 4 time: 13
  81. memcpy/41 function body not available
  82. loop depth: 0 freq:0.05 size: 4 time: 13
  83. Analyzing function: prvWriteBytesToBuffer.part.0/48
  84. ;; 3 loops found
  85. ;;
  86. ;; Loop 0
  87. ;; header 0, latch 1
  88. ;; depth 0, outer -1
  89. ;; nodes: 0 1 15 2 3 4 5 6 7 8 9 10 11 12 13 14
  90. ;;
  91. ;; Loop 1
  92. ;; header 4, latch 5
  93. ;; depth 1, outer 0
  94. ;; nodes: 4 5
  95. ;;
  96. ;; Loop 2
  97. ;; header 9, latch 10
  98. ;; depth 1, outer 0
  99. ;; nodes: 9 10
  100. ;; 15 succs { 2 }
  101. ;; 2 succs { 3 6 }
  102. ;; 3 succs { 4 }
  103. ;; 4 succs { 5 }
  104. ;; 5 succs { 4 }
  105. ;; 6 succs { 7 12 }
  106. ;; 7 succs { 8 11 }
  107. ;; 8 succs { 9 }
  108. ;; 9 succs { 10 }
  109. ;; 10 succs { 9 }
  110. ;; 11 succs { 12 }
  111. ;; 12 succs { 13 14 }
  112. ;; 13 succs { 14 }
  113. ;; 14 succs { 1 }
  114. Analyzing function body size: prvWriteBytesToBuffer.part.0
  115. IPA function summary for prvWriteBytesToBuffer.part.0/48 inlinable
  116. global time: 18.415930
  117. self size: 42
  118. global size: 0
  119. min size: 0
  120. self stack: 0
  121. global stack: 0
  122. size:16.500000, time:5.000824
  123. size:4.500000, time:0.658349, executed if:(not inlined)
  124. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 64] changed) && (not inlined)
  125. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 64] changed)
  126. size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 64] changed || op3 changed)
  127. size:7.000000, time:4.825003, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed)
  128. size:0.500000, time:0.165001, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
  129. size:0.500000, time:0.165001, nonconst if:(op0[ref offset: 192] changed)
  130. size:1.000000, time:0.330001, nonconst if:(op3 changed || op0[ref offset: 192] changed)
  131. size:1.000000, time:0.054449, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed || op1 changed)
  132. size:1.000000, time:0.219450, nonconst if:(op3 changed || op2 changed)
  133. calls:
  134. memcpy/41 function body not available
  135. loop depth: 0 freq:0.33 size: 4 time: 13
  136. memcpy/41 function body not available
  137. loop depth: 0 freq:0.05 size: 4 time: 13
  138. Analyzing function: prvInitialiseNewStreamBuffer.part.0/44
  139. ;; 1 loops found
  140. ;;
  141. ;; Loop 0
  142. ;; header 0, latch 1
  143. ;; depth 0, outer -1
  144. ;; nodes: 0 1 3 2
  145. ;; 3 succs { 2 }
  146. ;; 2 succs { 1 }
  147. Analyzing function body size: prvInitialiseNewStreamBuffer.part.0
  148. IPA function summary for prvInitialiseNewStreamBuffer.part.0/44 inlinable
  149. global time: 19.000000
  150. self size: 11
  151. global size: 0
  152. min size: 0
  153. self stack: 0
  154. global stack: 0
  155. size:2.000000, time:2.000000
  156. size:5.000000, time:4.000000, executed if:(not inlined)
  157. calls:
  158. memset/29 function body not available
  159. loop depth: 0 freq:1.00 size: 4 time: 13
  160. op1 is compile time invariant
  161. op2 is compile time invariant
  162. Analyzing function: ucStreamBufferGetStreamBufferType/27
  163. ;; 1 loops found
  164. ;;
  165. ;; Loop 0
  166. ;; header 0, latch 1
  167. ;; depth 0, outer -1
  168. ;; nodes: 0 1 2
  169. ;; 2 succs { 1 }
  170. Analyzing function body size: ucStreamBufferGetStreamBufferType
  171. IPA function summary for ucStreamBufferGetStreamBufferType/27 inlinable
  172. global time: 4.000000
  173. self size: 5
  174. global size: 0
  175. min size: 0
  176. self stack: 0
  177. global stack: 0
  178. size:0.000000, time:0.000000
  179. size:3.000000, time:2.000000, executed if:(not inlined)
  180. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 224] changed) && (not inlined)
  181. size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 224] changed)
  182. calls:
  183. Analyzing function: vStreamBufferSetStreamBufferNumber/26
  184. ;; 1 loops found
  185. ;;
  186. ;; Loop 0
  187. ;; header 0, latch 1
  188. ;; depth 0, outer -1
  189. ;; nodes: 0 1 2
  190. ;; 2 succs { 1 }
  191. Analyzing function body size: vStreamBufferSetStreamBufferNumber
  192. IPA function summary for vStreamBufferSetStreamBufferNumber/26 inlinable
  193. global time: 3.000000
  194. self size: 4
  195. global size: 0
  196. min size: 0
  197. self stack: 0
  198. global stack: 0
  199. size:0.500000, time:0.500000
  200. size:3.500000, time:2.500000, executed if:(not inlined)
  201. calls:
  202. Analyzing function: uxStreamBufferGetStreamBufferNumber/25
  203. ;; 1 loops found
  204. ;;
  205. ;; Loop 0
  206. ;; header 0, latch 1
  207. ;; depth 0, outer -1
  208. ;; nodes: 0 1 2
  209. ;; 2 succs { 1 }
  210. Analyzing function body size: uxStreamBufferGetStreamBufferNumber
  211. IPA function summary for uxStreamBufferGetStreamBufferNumber/25 inlinable
  212. global time: 3.000000
  213. self size: 4
  214. global size: 0
  215. min size: 0
  216. self stack: 0
  217. global stack: 0
  218. size:0.000000, time:0.000000
  219. size:3.000000, time:2.000000, executed if:(not inlined)
  220. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 256] changed) && (not inlined)
  221. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 256] changed)
  222. calls:
  223. Analyzing function: prvInitialiseNewStreamBuffer/24
  224. ;; 2 loops found
  225. ;;
  226. ;; Loop 0
  227. ;; header 0, latch 1
  228. ;; depth 0, outer -1
  229. ;; nodes: 0 1 2 3 4 6 5
  230. ;;
  231. ;; Loop 1
  232. ;; header 4, latch 6
  233. ;; depth 1, outer 0
  234. ;; nodes: 4 6
  235. ;; 2 succs { 3 5 }
  236. ;; 3 succs { 4 }
  237. ;; 4 succs { 6 }
  238. ;; 6 succs { 4 }
  239. ;; 5 succs { 1 }
  240. Analyzing function body size: prvInitialiseNewStreamBuffer
  241. IPA function summary for prvInitialiseNewStreamBuffer/24 inlinable
  242. global time: 23.091603
  243. self size: 21
  244. global size: 0
  245. min size: 0
  246. self stack: 0
  247. global stack: 0
  248. size:7.000000, time:6.128499
  249. size:3.000000, time:0.348600, executed if:(not inlined)
  250. calls:
  251. prvInitialiseNewStreamBuffer.part.0/44 function not considered for inlining
  252. loop depth: 0 freq:0.17 size: 6 time: 15callee size: 5 stack: 0
  253. memset/29 function body not available
  254. loop depth: 0 freq:1.00 size: 5 time: 14
  255. op1 is compile time invariant
  256. Analyzing function: prvBytesInBuffer/23
  257. ;; 1 loops found
  258. ;;
  259. ;; Loop 0
  260. ;; header 0, latch 1
  261. ;; depth 0, outer -1
  262. ;; nodes: 0 1 2 3 4
  263. ;; 2 succs { 3 4 }
  264. ;; 3 succs { 4 }
  265. ;; 4 succs { 1 }
  266. Analyzing function body size: prvBytesInBuffer
  267. IPA function summary for prvBytesInBuffer/23 inlinable
  268. global time: 9.500000
  269. self size: 11
  270. global size: 0
  271. min size: 0
  272. self stack: 0
  273. global stack: 0
  274. size:0.000000, time:0.000000
  275. size:3.000000, time:2.000000, executed if:(not inlined)
  276. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 64] changed) && (not inlined)
  277. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 64] changed)
  278. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 32] changed) && (not inlined)
  279. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 32] changed)
  280. size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 64] changed || op0[ref offset: 32] changed)
  281. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 0] changed) && (not inlined)
  282. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 0] changed)
  283. size:4.000000, time:3.500000, nonconst if:(op0[ref offset: 64] changed || op0[ref offset: 32] changed || op0[ref offset: 0] changed)
  284. calls:
  285. Analyzing function: prvReadBytesFromBuffer/22
  286. ;; 4 loops found
  287. ;;
  288. ;; Loop 0
  289. ;; header 0, latch 1
  290. ;; depth 0, outer -1
  291. ;; nodes: 0 1 2 3 4 6 5
  292. ;;
  293. ;; Loop 3
  294. ;; header 4, latch 6
  295. ;; depth 1, outer 0
  296. ;; nodes: 4 6
  297. ;; 2 succs { 3 5 }
  298. ;; 3 succs { 4 }
  299. ;; 4 succs { 6 }
  300. ;; 6 succs { 4 }
  301. ;; 5 succs { 1 }
  302. Analyzing function body size: prvReadBytesFromBuffer
  303. IPA function summary for prvReadBytesFromBuffer/22 inlinable
  304. global time: 13.000000
  305. self size: 16
  306. global size: 0
  307. min size: 0
  308. self stack: 0
  309. global stack: 0
  310. size:0.000000, time:0.000000
  311. size:2.000000, time:0.000000, executed if:(not inlined)
  312. size:2.000000, time:2.000000, nonconst if:(op2 changed)
  313. size:1.000000, time:1.000000, executed if:(op2 != 0) && (not inlined)
  314. size:5.000000, time:2.500000, executed if:(op2 == 0)
  315. calls:
  316. prvReadBytesFromBuffer.part.0/53 function not considered for inlining
  317. loop depth: 0 freq:0.50 size: 6 time: 15callee size:20 stack: 0 predicate: (op2 != 0)
  318. Analyzing function: prvWriteBytesToBuffer/21
  319. ;; 4 loops found
  320. ;;
  321. ;; Loop 0
  322. ;; header 0, latch 1
  323. ;; depth 0, outer -1
  324. ;; nodes: 0 1 2 3 4 6 5
  325. ;;
  326. ;; Loop 3
  327. ;; header 4, latch 6
  328. ;; depth 1, outer 0
  329. ;; nodes: 4 6
  330. ;; 2 succs { 3 5 }
  331. ;; 3 succs { 4 }
  332. ;; 4 succs { 6 }
  333. ;; 6 succs { 4 }
  334. ;; 5 succs { 1 }
  335. Analyzing function body size: prvWriteBytesToBuffer
  336. IPA function summary for prvWriteBytesToBuffer/21 inlinable
  337. global time: 13.000000
  338. self size: 16
  339. global size: 0
  340. min size: 0
  341. self stack: 0
  342. global stack: 0
  343. size:0.000000, time:0.000000
  344. size:2.000000, time:0.000000, executed if:(not inlined)
  345. size:2.000000, time:2.000000, nonconst if:(op2 changed)
  346. size:1.000000, time:1.000000, executed if:(op2 != 0) && (not inlined)
  347. size:5.000000, time:2.500000, executed if:(op2 == 0)
  348. calls:
  349. prvWriteBytesToBuffer.part.0/48 function not considered for inlining
  350. loop depth: 0 freq:0.50 size: 6 time: 15callee size:21 stack: 0 predicate: (op2 != 0)
  351. Analyzing function: xStreamBufferReceiveCompletedFromISR/20
  352. ;; 2 loops found
  353. ;;
  354. ;; Loop 0
  355. ;; header 0, latch 1
  356. ;; depth 0, outer -1
  357. ;; nodes: 0 1 2 3 4 8 5 6 7
  358. ;;
  359. ;; Loop 1
  360. ;; header 4, latch 8
  361. ;; depth 1, outer 0
  362. ;; nodes: 4 8
  363. ;; 2 succs { 3 5 }
  364. ;; 3 succs { 4 }
  365. ;; 4 succs { 8 }
  366. ;; 8 succs { 4 }
  367. ;; 5 succs { 6 7 }
  368. ;; 6 succs { 7 }
  369. ;; 7 succs { 1 }
  370. Analyzing function body size: xStreamBufferReceiveCompletedFromISR
  371. IPA function summary for xStreamBufferReceiveCompletedFromISR/20 inlinable
  372. global time: 18.637205
  373. self size: 29
  374. global size: 0
  375. min size: 0
  376. self stack: 0
  377. global stack: 0
  378. size:0.000000, time:0.000000
  379. size:2.000000, time:0.000000, executed if:(not inlined)
  380. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  381. size:10.500000, time:7.024287, executed if:(op0 != 0B)
  382. size:2.500000, time:2.124289, executed if:(op0 != 0B) && (not inlined)
  383. size:5.000000, time:1.500001, executed if:(op0 == 0B)
  384. calls:
  385. xTaskGenericNotifyFromISR/42 function body not available
  386. loop depth: 0 freq:0.37 size: 7 time: 16 predicate: (op0 != 0B)
  387. op1 is compile time invariant
  388. op2 is compile time invariant
  389. op3 is compile time invariant
  390. op4 is compile time invariant
  391. Analyzing function: xStreamBufferSendCompletedFromISR/19
  392. ;; 2 loops found
  393. ;;
  394. ;; Loop 0
  395. ;; header 0, latch 1
  396. ;; depth 0, outer -1
  397. ;; nodes: 0 1 2 3 4 8 5 6 7
  398. ;;
  399. ;; Loop 1
  400. ;; header 4, latch 8
  401. ;; depth 1, outer 0
  402. ;; nodes: 4 8
  403. ;; 2 succs { 3 5 }
  404. ;; 3 succs { 4 }
  405. ;; 4 succs { 8 }
  406. ;; 8 succs { 4 }
  407. ;; 5 succs { 6 7 }
  408. ;; 6 succs { 7 }
  409. ;; 7 succs { 1 }
  410. Analyzing function body size: xStreamBufferSendCompletedFromISR
  411. IPA function summary for xStreamBufferSendCompletedFromISR/19 inlinable
  412. global time: 18.637205
  413. self size: 29
  414. global size: 0
  415. min size: 0
  416. self stack: 0
  417. global stack: 0
  418. size:0.000000, time:0.000000
  419. size:2.000000, time:0.000000, executed if:(not inlined)
  420. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  421. size:10.500000, time:7.024287, executed if:(op0 != 0B)
  422. size:2.500000, time:2.124289, executed if:(op0 != 0B) && (not inlined)
  423. size:5.000000, time:1.500001, executed if:(op0 == 0B)
  424. calls:
  425. xTaskGenericNotifyFromISR/42 function body not available
  426. loop depth: 0 freq:0.37 size: 7 time: 16 predicate: (op0 != 0B)
  427. op1 is compile time invariant
  428. op2 is compile time invariant
  429. op3 is compile time invariant
  430. op4 is compile time invariant
  431. Analyzing function: xStreamBufferIsFull/18
  432. ;; 2 loops found
  433. ;;
  434. ;; Loop 0
  435. ;; header 0, latch 1
  436. ;; depth 0, outer -1
  437. ;; nodes: 0 1 2 3 4 10 5 6 7 8 9
  438. ;;
  439. ;; Loop 1
  440. ;; header 4, latch 10
  441. ;; depth 1, outer 0
  442. ;; nodes: 4 10
  443. ;; 2 succs { 3 5 }
  444. ;; 3 succs { 4 }
  445. ;; 4 succs { 10 }
  446. ;; 10 succs { 4 }
  447. ;; 5 succs { 7 6 }
  448. ;; 6 succs { 7 }
  449. ;; 7 succs { 9 8 }
  450. ;; 8 succs { 9 }
  451. ;; 9 succs { 1 }
  452. Analyzing function body size: xStreamBufferIsFull
  453. IPA function summary for xStreamBufferIsFull/18 inlinable
  454. global time: 17.499996
  455. self size: 19
  456. global size: 0
  457. min size: 0
  458. self stack: 0
  459. global stack: 0
  460. size:0.000000, time:0.000000
  461. size:2.000000, time:0.000000, executed if:(not inlined)
  462. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  463. size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (not inlined)
  464. size:3.500000, time:2.449999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B)
  465. size:2.000000, time:1.399999, executed if:(op0 != 0B)
  466. size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
  467. size:5.000000, time:1.500001, executed if:(op0 == 0B)
  468. calls:
  469. xStreamBufferSpacesAvailable/8 function not considered for inlining
  470. loop depth: 0 freq:0.70 size: 3 time: 12 predicate: (op0 != 0B)
  471. Analyzing function: xStreamBufferIsEmpty/17
  472. ;; 2 loops found
  473. ;;
  474. ;; Loop 0
  475. ;; header 0, latch 1
  476. ;; depth 0, outer -1
  477. ;; nodes: 0 1 2 3 4 8 5 6 7
  478. ;;
  479. ;; Loop 1
  480. ;; header 4, latch 8
  481. ;; depth 1, outer 0
  482. ;; nodes: 4 8
  483. ;; 2 succs { 3 5 }
  484. ;; 3 succs { 4 }
  485. ;; 4 succs { 8 }
  486. ;; 8 succs { 4 }
  487. ;; 5 succs { 7 6 }
  488. ;; 6 succs { 7 }
  489. ;; 7 succs { 1 }
  490. Analyzing function body size: xStreamBufferIsEmpty
  491. IPA function summary for xStreamBufferIsEmpty/17 inlinable
  492. global time: 7.700000
  493. self size: 14
  494. global size: 0
  495. min size: 0
  496. self stack: 0
  497. global stack: 0
  498. size:0.000000, time:0.000000
  499. size:2.000000, time:0.000000, executed if:(not inlined)
  500. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  501. size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B) && (not inlined)
  502. size:0.500000, time:0.350000, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B)
  503. size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B) && (not inlined)
  504. size:0.500000, time:0.350000, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B)
  505. size:2.000000, time:1.399999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed || op0[ref offset: 32] changed) && (op0 != 0B)
  506. size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
  507. size:5.000000, time:1.500001, executed if:(op0 == 0B)
  508. calls:
  509. Analyzing function: prvReadMessageFromBuffer/16
  510. ;; 2 loops found
  511. ;;
  512. ;; Loop 0
  513. ;; header 0, latch 1
  514. ;; depth 0, outer -1
  515. ;; nodes: 0 1 2 3 4 5 6 7
  516. ;; 2 succs { 3 5 }
  517. ;; 3 succs { 4 5 }
  518. ;; 4 succs { 5 }
  519. ;; 5 succs { 6 7 }
  520. ;; 6 succs { 7 }
  521. ;; 7 succs { 1 }
  522. Analyzing function body size: prvReadMessageFromBuffer
  523. IPA function summary for prvReadMessageFromBuffer/16 inlinable
  524. global time: 21.550000
  525. self size: 28
  526. global size: 0
  527. min size: 0
  528. self stack: 4
  529. global stack: 4
  530. size:6.500000, time:4.155000
  531. size:3.500000, time:2.165000, executed if:(not inlined)
  532. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 0] changed) && (not inlined)
  533. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 0] changed)
  534. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 224] changed) && (not inlined)
  535. size:3.500000, time:3.500000, nonconst if:(op0[ref offset: 224] changed)
  536. size:1.000000, time:0.330000, nonconst if:(op3 changed)
  537. calls:
  538. prvReadBytesFromBuffer/22 function not considered for inlining
  539. loop depth: 0 freq:0.33 size: 6 time: 15callee size: 8 stack: 0
  540. prvReadBytesFromBuffer.part.0/53 function not considered for inlining
  541. loop depth: 0 freq:0.33 size: 6 time: 15callee size:20 stack: 0
  542. op1 is compile time invariant
  543. op2 is compile time invariant
  544. Analyzing function: xStreamBufferReceiveFromISR/15
  545. ;; 3 loops found
  546. ;;
  547. ;; Loop 0
  548. ;; header 0, latch 1
  549. ;; depth 0, outer -1
  550. ;; nodes: 0 1 2 3 4 16 5 6 7 17 8 9 10 11 12 13 14 15
  551. ;;
  552. ;; Loop 2
  553. ;; header 4, latch 16
  554. ;; depth 1, outer 0
  555. ;; nodes: 4 16
  556. ;;
  557. ;; Loop 1
  558. ;; header 7, latch 17
  559. ;; depth 1, outer 0
  560. ;; nodes: 7 17
  561. ;; 2 succs { 3 5 }
  562. ;; 3 succs { 4 }
  563. ;; 4 succs { 16 }
  564. ;; 16 succs { 4 }
  565. ;; 5 succs { 6 8 }
  566. ;; 6 succs { 7 }
  567. ;; 7 succs { 17 }
  568. ;; 17 succs { 7 }
  569. ;; 8 succs { 10 9 }
  570. ;; 9 succs { 10 }
  571. ;; 10 succs { 11 15 }
  572. ;; 11 succs { 12 15 }
  573. ;; 12 succs { 13 14 }
  574. ;; 13 succs { 14 }
  575. ;; 14 succs { 15 }
  576. ;; 15 succs { 1 }
  577. Analyzing function body size: xStreamBufferReceiveFromISR
  578. IPA function summary for xStreamBufferReceiveFromISR/15 inlinable
  579. global time: 20.085616
  580. self size: 53
  581. global size: 0
  582. min size: 0
  583. self stack: 0
  584. global stack: 0
  585. size:0.000000, time:0.000000
  586. size:2.000000, time:0.000000, executed if:(not inlined)
  587. size:2.000000, time:2.000000, nonconst if:(op1 changed)
  588. size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
  589. size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
  590. size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
  591. size:14.500000, time:2.114705, executed if:(op0 != 0B) && (op1 != 0B)
  592. size:2.500000, time:1.063659, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
  593. size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
  594. size:5.000000, time:1.500001, executed if:(op1 == 0B)
  595. calls:
  596. xTaskGenericNotifyFromISR/42 function body not available
  597. loop depth: 0 freq:0.04 size: 7 time: 16 predicate: (op0 != 0B) && (op1 != 0B)
  598. op1 is compile time invariant
  599. op2 is compile time invariant
  600. op3 is compile time invariant
  601. op4 is compile time invariant
  602. prvReadMessageFromBuffer/16 function not considered for inlining
  603. loop depth: 0 freq:0.16 size: 6 time: 15callee size:14 stack: 4 predicate: (op0 != 0B) && (op1 != 0B)
  604. prvBytesInBuffer/23 function not considered for inlining
  605. loop depth: 0 freq:0.49 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
  606. Analyzing function: xStreamBufferNextMessageLengthBytes/14
  607. ;; 3 loops found
  608. ;;
  609. ;; Loop 0
  610. ;; header 0, latch 1
  611. ;; depth 0, outer -1
  612. ;; nodes: 0 1 2 3 4 12 5 6 7 8 9 10 13 11
  613. ;;
  614. ;; Loop 2
  615. ;; header 4, latch 12
  616. ;; depth 1, outer 0
  617. ;; nodes: 4 12
  618. ;;
  619. ;; Loop 1
  620. ;; header 10, latch 13
  621. ;; depth 1, outer 0
  622. ;; nodes: 10 13
  623. ;; 2 succs { 3 5 }
  624. ;; 3 succs { 4 }
  625. ;; 4 succs { 12 }
  626. ;; 12 succs { 4 }
  627. ;; 5 succs { 6 11 }
  628. ;; 6 succs { 7 8 }
  629. ;; 7 succs { 11 }
  630. ;; 8 succs { 9 11 }
  631. ;; 9 succs { 10 }
  632. ;; 10 succs { 13 }
  633. ;; 13 succs { 10 }
  634. ;; 11 succs { 1 }
  635. Analyzing function body size: xStreamBufferNextMessageLengthBytes
  636. IPA function summary for xStreamBufferNextMessageLengthBytes/14 inlinable
  637. global time: 12.695390
  638. self size: 33
  639. global size: 0
  640. min size: 0
  641. self stack: 4
  642. global stack: 4
  643. size:0.000000, time:0.000000
  644. size:2.000000, time:0.000000, executed if:(not inlined)
  645. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  646. size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (not inlined)
  647. size:3.500000, time:2.449999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B)
  648. size:10.500000, time:1.272809, executed if:(op0 != 0B)
  649. size:1.500000, time:1.283345, executed if:(op0 != 0B) && (not inlined)
  650. size:5.000000, time:1.500001, executed if:(op0 == 0B)
  651. calls:
  652. prvReadBytesFromBuffer/22 function not considered for inlining
  653. loop depth: 0 freq:0.08 size: 5 time: 14callee size: 8 stack: 0 predicate: (op0 != 0B)
  654. op1 is compile time invariant
  655. op2 is compile time invariant
  656. prvBytesInBuffer/23 function not considered for inlining
  657. loop depth: 0 freq:0.23 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B)
  658. Analyzing function: xStreamBufferReceive/13
  659. ;; 4 loops found
  660. ;;
  661. ;; Loop 0
  662. ;; header 0, latch 1
  663. ;; depth 0, outer -1
  664. ;; nodes: 0 1 2 3 4 25 5 6 7 26 8 9 10 11 12 13 14 27 15 16 17 18 19 20 21 22 23 24
  665. ;;
  666. ;; Loop 3
  667. ;; header 4, latch 25
  668. ;; depth 1, outer 0
  669. ;; nodes: 4 25
  670. ;;
  671. ;; Loop 2
  672. ;; header 7, latch 26
  673. ;; depth 1, outer 0
  674. ;; nodes: 7 26
  675. ;;
  676. ;; Loop 1
  677. ;; header 14, latch 27
  678. ;; depth 1, outer 0
  679. ;; nodes: 14 27
  680. ;; 2 succs { 3 5 }
  681. ;; 3 succs { 4 }
  682. ;; 4 succs { 25 }
  683. ;; 25 succs { 4 }
  684. ;; 5 succs { 6 8 }
  685. ;; 6 succs { 7 }
  686. ;; 7 succs { 26 }
  687. ;; 26 succs { 7 }
  688. ;; 8 succs { 10 9 }
  689. ;; 9 succs { 10 }
  690. ;; 10 succs { 11 18 }
  691. ;; 11 succs { 12 16 }
  692. ;; 12 succs { 13 15 }
  693. ;; 13 succs { 14 }
  694. ;; 14 succs { 27 }
  695. ;; 27 succs { 14 }
  696. ;; 15 succs { 16 }
  697. ;; 16 succs { 17 19 }
  698. ;; 17 succs { 19 }
  699. ;; 18 succs { 19 }
  700. ;; 19 succs { 20 24 }
  701. ;; 20 succs { 21 24 }
  702. ;; 21 succs { 22 23 }
  703. ;; 22 succs { 23 }
  704. ;; 23 succs { 24 }
  705. ;; 24 succs { 1 }
  706. Analyzing function body size: xStreamBufferReceive
  707. IPA function summary for xStreamBufferReceive/13 inlinable
  708. global time: 28.460665
  709. self size: 82
  710. global size: 0
  711. min size: 0
  712. self stack: 0
  713. global stack: 0
  714. size:0.000000, time:0.000000
  715. size:2.000000, time:0.000000, executed if:(not inlined)
  716. size:2.000000, time:2.000000, nonconst if:(op1 changed)
  717. size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
  718. size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
  719. size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
  720. size:2.000000, time:0.980004, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op3 changed) && (op0 != 0B) && (op1 != 0B)
  721. size:12.500000, time:1.624100, executed if:(op3 != 0) && (op0 != 0B) && (op1 != 0B)
  722. size:1.500000, time:0.095662, executed if:(op3 != 0) && (op0 != 0B) && (op1 != 0B) && (not inlined)
  723. size:7.500000, time:1.162852, executed if:(op0 != 0B) && (op1 != 0B)
  724. size:2.500000, time:0.821518, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
  725. size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
  726. size:5.000000, time:1.500001, executed if:(op1 == 0B)
  727. calls:
  728. xTaskResumeAll/40 function body not available
  729. loop depth: 0 freq:0.04 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
  730. xTaskGenericNotify/39 function body not available
  731. loop depth: 0 freq:0.02 size: 6 time: 15 predicate: (op0 != 0B) && (op1 != 0B)
  732. op1 is compile time invariant
  733. op2 is compile time invariant
  734. op3 is compile time invariant
  735. op4 is compile time invariant
  736. vTaskSuspendAll/38 function body not available
  737. loop depth: 0 freq:0.04 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
  738. prvReadMessageFromBuffer/16 function not considered for inlining
  739. loop depth: 0 freq:0.13 size: 6 time: 15callee size:14 stack: 4 predicate: (op0 != 0B) && (op1 != 0B)
  740. prvBytesInBuffer/23 function not considered for inlining
  741. loop depth: 0 freq:0.25 size: 3 time: 12callee size: 5 stack: 0 predicate: (op3 == 0) && (op0 != 0B) && (op1 != 0B)
  742. prvBytesInBuffer/23 function not considered for inlining
  743. loop depth: 0 freq:0.05 size: 3 time: 12callee size: 5 stack: 0 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
  744. xTaskGenericNotifyWait/36 function body not available
  745. loop depth: 0 freq:0.05 size: 6 time: 15 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
  746. op0 is compile time invariant
  747. op1 is compile time invariant
  748. op2 is compile time invariant
  749. op3 is compile time invariant
  750. vPortExitCritical/32 function body not available
  751. loop depth: 0 freq:0.14 size: 1 time: 10 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
  752. xTaskGetCurrentTaskHandle/35 function body not available
  753. loop depth: 0 freq:0.02 size: 2 time: 11 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
  754. xTaskGenericNotifyStateClear/34 function body not available
  755. loop depth: 0 freq:0.12 size: 3 time: 12 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
  756. op0 is compile time invariant
  757. op1 is compile time invariant
  758. prvBytesInBuffer/23 function not considered for inlining
  759. loop depth: 0 freq:0.25 size: 3 time: 12callee size: 5 stack: 0 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
  760. vPortEnterCritical/31 function body not available
  761. loop depth: 0 freq:0.25 size: 1 time: 10 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
  762. Analyzing function: prvWriteMessageToBuffer/12
  763. ;; 2 loops found
  764. ;;
  765. ;; Loop 0
  766. ;; header 0, latch 1
  767. ;; depth 0, outer -1
  768. ;; nodes: 0 1 2 3 4 5 6 7 8 9
  769. ;; 2 succs { 3 6 }
  770. ;; 3 succs { 4 5 }
  771. ;; 4 succs { 7 }
  772. ;; 5 succs { 7 }
  773. ;; 6 succs { 7 }
  774. ;; 7 succs { 8 9 }
  775. ;; 8 succs { 9 }
  776. ;; 9 succs { 1 }
  777. Analyzing function body size: prvWriteMessageToBuffer
  778. IPA function summary for prvWriteMessageToBuffer/12 inlinable
  779. global time: 21.590000
  780. self size: 31
  781. global size: 0
  782. min size: 0
  783. self stack: 0
  784. global stack: 0
  785. size:5.500000, time:4.582500
  786. size:4.500000, time:2.582500, executed if:(not inlined)
  787. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 32] changed) && (not inlined)
  788. size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 32] changed)
  789. size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 224] changed) && (not inlined)
  790. size:3.500000, time:3.500000, nonconst if:(op0[ref offset: 224] changed)
  791. size:1.000000, time:0.500000, executed if:(not inlined), nonconst if:(op2 changed) && (not inlined)
  792. size:1.000000, time:0.500000, nonconst if:(op2 changed || op3 changed)
  793. size:2.000000, time:1.000000, nonconst if:(op3 changed || op4 changed)
  794. calls:
  795. prvWriteBytesToBuffer/21 function not considered for inlining
  796. loop depth: 0 freq:0.33 size: 6 time: 15callee size: 8 stack: 0
  797. prvWriteBytesToBuffer.part.0/48 function not considered for inlining
  798. loop depth: 0 freq:0.17 size: 6 time: 15callee size:21 stack: 0
  799. op1 is compile time invariant
  800. op2 is compile time invariant
  801. Analyzing function: xStreamBufferSendFromISR/11
  802. ;; 3 loops found
  803. ;;
  804. ;; Loop 0
  805. ;; header 0, latch 1
  806. ;; depth 0, outer -1
  807. ;; nodes: 0 1 2 3 4 16 5 6 7 17 8 9 10 11 12 13 14 15
  808. ;;
  809. ;; Loop 2
  810. ;; header 4, latch 16
  811. ;; depth 1, outer 0
  812. ;; nodes: 4 16
  813. ;;
  814. ;; Loop 1
  815. ;; header 7, latch 17
  816. ;; depth 1, outer 0
  817. ;; nodes: 7 17
  818. ;; 2 succs { 3 5 }
  819. ;; 3 succs { 4 }
  820. ;; 4 succs { 16 }
  821. ;; 16 succs { 4 }
  822. ;; 5 succs { 6 8 }
  823. ;; 6 succs { 7 }
  824. ;; 7 succs { 17 }
  825. ;; 17 succs { 7 }
  826. ;; 8 succs { 9 10 }
  827. ;; 9 succs { 10 }
  828. ;; 10 succs { 11 15 }
  829. ;; 11 succs { 12 15 }
  830. ;; 12 succs { 13 14 }
  831. ;; 13 succs { 14 }
  832. ;; 14 succs { 15 }
  833. ;; 15 succs { 1 }
  834. Analyzing function body size: xStreamBufferSendFromISR
  835. IPA function summary for xStreamBufferSendFromISR/11 inlinable
  836. global time: 27.847242
  837. self size: 59
  838. global size: 0
  839. min size: 0
  840. self stack: 0
  841. global stack: 0
  842. size:0.000000, time:0.000000
  843. size:2.000000, time:0.000000, executed if:(not inlined)
  844. size:2.000000, time:2.000000, nonconst if:(op1 changed)
  845. size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
  846. size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
  847. size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
  848. size:1.000000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op2 changed) && (op0 != 0B) && (op1 != 0B)
  849. size:15.000000, time:2.195556, executed if:(op0 != 0B) && (op1 != 0B)
  850. size:3.000000, time:1.144510, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
  851. size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
  852. size:5.000000, time:1.500001, executed if:(op1 == 0B)
  853. calls:
  854. xTaskGenericNotifyFromISR/42 function body not available
  855. loop depth: 0 freq:0.04 size: 7 time: 16 predicate: (op0 != 0B) && (op1 != 0B)
  856. op1 is compile time invariant
  857. op2 is compile time invariant
  858. op3 is compile time invariant
  859. op4 is compile time invariant
  860. prvBytesInBuffer/23 function not considered for inlining
  861. loop depth: 0 freq:0.16 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
  862. prvWriteMessageToBuffer/12 function not considered for inlining
  863. loop depth: 0 freq:0.49 size: 7 time: 16callee size:15 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
  864. xStreamBufferSpacesAvailable/8 function not considered for inlining
  865. loop depth: 0 freq:0.49 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
  866. Analyzing function: xStreamBufferSend/10
  867. ;; 6 loops found
  868. ;;
  869. ;; Loop 0
  870. ;; header 0, latch 1
  871. ;; depth 0, outer -1
  872. ;; nodes: 0 1 2 3 4 31 5 6 7 32 8 9 10 11 33 12 13 14 15 16 17 18 19 20 34 21 35 22 23 24 25 26 27 28 29 30
  873. ;;
  874. ;; Loop 5
  875. ;; header 4, latch 31
  876. ;; depth 1, outer 0
  877. ;; nodes: 4 31
  878. ;;
  879. ;; Loop 4
  880. ;; header 7, latch 32
  881. ;; depth 1, outer 0
  882. ;; nodes: 7 32
  883. ;;
  884. ;; Loop 3
  885. ;; header 11, latch 33
  886. ;; depth 1, outer 0
  887. ;; nodes: 11 33
  888. ;;
  889. ;; Loop 2
  890. ;; header 20, latch 34
  891. ;; depth 1, outer 0
  892. ;; nodes: 20 34
  893. ;;
  894. ;; Loop 1
  895. ;; header 17, latch 35
  896. ;; depth 1, outer 0
  897. ;; nodes: 17 35 21 18
  898. ;; 2 succs { 3 5 }
  899. ;; 3 succs { 4 }
  900. ;; 4 succs { 31 }
  901. ;; 31 succs { 4 }
  902. ;; 5 succs { 6 8 }
  903. ;; 6 succs { 7 }
  904. ;; 7 succs { 32 }
  905. ;; 32 succs { 7 }
  906. ;; 8 succs { 9 14 }
  907. ;; 9 succs { 10 12 }
  908. ;; 10 succs { 11 }
  909. ;; 11 succs { 33 }
  910. ;; 33 succs { 11 }
  911. ;; 12 succs { 13 15 }
  912. ;; 13 succs { 15 }
  913. ;; 14 succs { 15 }
  914. ;; 15 succs { 16 24 }
  915. ;; 16 succs { 17 }
  916. ;; 17 succs { 18 22 }
  917. ;; 18 succs { 19 21 }
  918. ;; 19 succs { 20 }
  919. ;; 20 succs { 34 }
  920. ;; 34 succs { 20 }
  921. ;; 21 succs { 35 23 }
  922. ;; 35 succs { 17 }
  923. ;; 22 succs { 23 }
  924. ;; 23 succs { 24 25 }
  925. ;; 24 succs { 25 }
  926. ;; 25 succs { 26 30 }
  927. ;; 26 succs { 27 30 }
  928. ;; 27 succs { 28 29 }
  929. ;; 28 succs { 29 }
  930. ;; 29 succs { 30 }
  931. ;; 30 succs { 1 }
  932. Analyzing function body size: xStreamBufferSend
  933. IPA function summary for xStreamBufferSend/10 inlinable
  934. global time: 180.533722
  935. self size: 109
  936. global size: 0
  937. min size: 0
  938. self stack: 8
  939. global stack: 8
  940. size:0.000000, time:0.000000
  941. size:2.000000, time:0.000000, executed if:(not inlined)
  942. size:2.000000, time:2.000000, nonconst if:(op1 changed)
  943. size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
  944. size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
  945. size:1.500000, time:0.735003, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (op1 != 0B)
  946. size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
  947. size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
  948. size:3.000000, time:0.489999, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 64] changed || op2 changed) && (op0 != 0B) && (op1 != 0B)
  949. size:3.000000, time:0.735003, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op2 changed) && (op0 != 0B) && (op1 != 0B)
  950. size:5.000000, time:3.176092, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
  951. size:32.000000, time:17.363601, executed if:(op0 != 0B) && (op1 != 0B)
  952. size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
  953. size:5.000000, time:1.500001, executed if:(op1 == 0B)
  954. calls:
  955. xTaskResumeAll/40 function body not available
  956. loop depth: 0 freq:0.03 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
  957. xTaskGenericNotify/39 function body not available
  958. loop depth: 0 freq:0.02 size: 6 time: 15 predicate: (op0 != 0B) && (op1 != 0B)
  959. op1 is compile time invariant
  960. op2 is compile time invariant
  961. op3 is compile time invariant
  962. op4 is compile time invariant
  963. vTaskSuspendAll/38 function body not available
  964. loop depth: 0 freq:0.03 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
  965. prvBytesInBuffer/23 function not considered for inlining
  966. loop depth: 0 freq:0.10 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
  967. prvWriteMessageToBuffer/12 function not considered for inlining
  968. loop depth: 0 freq:0.31 size: 7 time: 16callee size:15 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
  969. xStreamBufferSpacesAvailable/8 function not considered for inlining
  970. loop depth: 0 freq:0.25 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
  971. vPortExitCritical/32 function body not available
  972. loop depth: 0 freq:0.06 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
  973. xTaskCheckForTimeOut/37 function body not available
  974. loop depth: 1 freq:1.61 size: 4 time: 13 predicate: (op0 != 0B) && (op1 != 0B)
  975. op0 is compile time invariant
  976. op1 is compile time invariant
  977. xTaskGenericNotifyWait/36 function body not available
  978. loop depth: 1 freq:1.61 size: 6 time: 15 predicate: (op0 != 0B) && (op1 != 0B)
  979. op0 is compile time invariant
  980. op1 is compile time invariant
  981. op2 is compile time invariant
  982. op3 is compile time invariant
  983. vPortExitCritical/32 function body not available
  984. loop depth: 1 freq:1.61 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
  985. xTaskGetCurrentTaskHandle/35 function body not available
  986. loop depth: 1 freq:1.61 size: 2 time: 11 predicate: (op0 != 0B) && (op1 != 0B)
  987. xTaskGenericNotifyStateClear/34 function body not available
  988. loop depth: 1 freq:1.67 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
  989. op0 is compile time invariant
  990. op1 is compile time invariant
  991. xStreamBufferSpacesAvailable/8 function not considered for inlining
  992. loop depth: 1 freq:1.74 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
  993. op0 change 57.590000% of time
  994. vPortEnterCritical/31 function body not available
  995. loop depth: 1 freq:1.74 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
  996. vTaskSetTimeOutState/33 function body not available
  997. loop depth: 0 freq:0.18 size: 2 time: 11 predicate: (op0 != 0B) && (op1 != 0B)
  998. op0 is compile time invariant
  999. Analyzing function: xStreamBufferBytesAvailable/9
  1000. ;; 2 loops found
  1001. ;;
  1002. ;; Loop 0
  1003. ;; header 0, latch 1
  1004. ;; depth 0, outer -1
  1005. ;; nodes: 0 1 2 3 4 6 5
  1006. ;;
  1007. ;; Loop 1
  1008. ;; header 4, latch 6
  1009. ;; depth 1, outer 0
  1010. ;; nodes: 4 6
  1011. ;; 2 succs { 3 5 }
  1012. ;; 3 succs { 4 }
  1013. ;; 4 succs { 6 }
  1014. ;; 6 succs { 4 }
  1015. ;; 5 succs { 1 }
  1016. Analyzing function body size: xStreamBufferBytesAvailable
  1017. IPA function summary for xStreamBufferBytesAvailable/9 inlinable
  1018. global time: 11.812301
  1019. self size: 13
  1020. global size: 0
  1021. min size: 0
  1022. self stack: 0
  1023. global stack: 0
  1024. size:0.000000, time:0.000000
  1025. size:2.000000, time:0.000000, executed if:(not inlined)
  1026. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  1027. size:1.000000, time:1.069400, executed if:(op0 != 0B) && (not inlined)
  1028. size:5.000000, time:2.326499, executed if:(op0 == 0B)
  1029. calls:
  1030. prvBytesInBuffer/23 function not considered for inlining
  1031. loop depth: 0 freq:0.53 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B)
  1032. Analyzing function: xStreamBufferSpacesAvailable/8
  1033. Created preheader block for loop 1
  1034. ;; 3 loops found
  1035. ;;
  1036. ;; Loop 0
  1037. ;; header 0, latch 1
  1038. ;; depth 0, outer -1
  1039. ;; nodes: 0 1 2 3 8 4 9 5 6 7
  1040. ;;
  1041. ;; Loop 1
  1042. ;; header 4, latch 9
  1043. ;; depth 1, outer 0
  1044. ;; nodes: 4 9
  1045. ;; 2 succs { 3 8 }
  1046. ;; 3 succs { }
  1047. ;; 8 succs { 4 }
  1048. ;; 4 succs { 9 5 }
  1049. ;; 9 succs { 4 }
  1050. ;; 5 succs { 6 7 }
  1051. ;; 6 succs { 7 }
  1052. ;; 7 succs { 1 }
  1053. Analyzing function body size: xStreamBufferSpacesAvailable
  1054. IPA function summary for xStreamBufferSpacesAvailable/8 inlinable
  1055. global time: 66.122776
  1056. self size: 19
  1057. global size: 0
  1058. min size: 0
  1059. self stack: 0
  1060. global stack: 0
  1061. size:0.000000, time:0.000000
  1062. size:2.000000, time:0.000000, executed if:(not inlined)
  1063. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  1064. size:1.500000, time:9.545462, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B) && (not inlined)
  1065. size:3.500000, time:22.272745, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B)
  1066. size:0.500000, time:3.181821, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (not inlined)
  1067. size:0.500000, time:3.181821, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B)
  1068. size:1.000000, time:6.363641, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed || op0[ref offset: 64] changed) && (op0 != 0B)
  1069. size:0.500000, time:3.181821, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B) && (not inlined)
  1070. size:0.500000, time:3.181821, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B)
  1071. size:5.000000, time:8.813642, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed || op0[ref offset: 64] changed || op0[ref offset: 32] changed) && (op0 != 0B)
  1072. size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
  1073. calls:
  1074. xStreamBufferSpacesAvailable.part.0/62 function not considered for inlining
  1075. loop depth: 0 freq:0.30 size: 1 time: 10callee size: 3 stack: 0 predicate: (op0 == 0B)
  1076. Analyzing function: xStreamBufferSetTriggerLevel/7
  1077. ;; 2 loops found
  1078. ;;
  1079. ;; Loop 0
  1080. ;; header 0, latch 1
  1081. ;; depth 0, outer -1
  1082. ;; nodes: 0 1 2 3 4 8 5 6 7
  1083. ;;
  1084. ;; Loop 1
  1085. ;; header 4, latch 8
  1086. ;; depth 1, outer 0
  1087. ;; nodes: 4 8
  1088. ;; 2 succs { 3 5 }
  1089. ;; 3 succs { 4 }
  1090. ;; 4 succs { 8 }
  1091. ;; 8 succs { 4 }
  1092. ;; 5 succs { 6 7 }
  1093. ;; 6 succs { 7 }
  1094. ;; 7 succs { 1 }
  1095. Analyzing function body size: xStreamBufferSetTriggerLevel
  1096. IPA function summary for xStreamBufferSetTriggerLevel/7 inlinable
  1097. global time: 8.050001
  1098. self size: 15
  1099. global size: 0
  1100. min size: 0
  1101. self stack: 0
  1102. global stack: 0
  1103. size:0.000000, time:0.000000
  1104. size:2.000000, time:0.000000, executed if:(not inlined)
  1105. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  1106. size:1.000000, time:0.700000, executed if:(op0 != 0B), nonconst if:(op1 changed) && (op0 != 0B)
  1107. size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (not inlined)
  1108. size:0.500000, time:0.350000, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B)
  1109. size:2.000000, time:1.399999, executed if:(op0 != 0B), nonconst if:(op1 changed || op0[ref offset: 64] changed) && (op0 != 0B)
  1110. size:1.500000, time:1.575000, executed if:(op0 != 0B) && (not inlined)
  1111. size:0.500000, time:0.175001, executed if:(op0 != 0B)
  1112. size:5.000000, time:1.500001, executed if:(op0 == 0B)
  1113. calls:
  1114. Analyzing function: xStreamBufferReset/6
  1115. ;; 2 loops found
  1116. ;;
  1117. ;; Loop 0
  1118. ;; header 0, latch 1
  1119. ;; depth 0, outer -1
  1120. ;; nodes: 0 1 2 3 4 9 5 6 7 8
  1121. ;;
  1122. ;; Loop 1
  1123. ;; header 4, latch 9
  1124. ;; depth 1, outer 0
  1125. ;; nodes: 4 9
  1126. ;; 2 succs { 3 5 }
  1127. ;; 3 succs { 4 }
  1128. ;; 4 succs { 9 }
  1129. ;; 9 succs { 4 }
  1130. ;; 5 succs { 6 8 }
  1131. ;; 6 succs { 7 8 }
  1132. ;; 7 succs { 8 }
  1133. ;; 8 succs { 1 }
  1134. Analyzing function body size: xStreamBufferReset
  1135. IPA function summary for xStreamBufferReset/6 inlinable
  1136. global time: 19.269125
  1137. self size: 30
  1138. global size: 0
  1139. min size: 0
  1140. self stack: 0
  1141. global stack: 0
  1142. size:0.000000, time:0.000000
  1143. size:2.000000, time:0.000000, executed if:(not inlined)
  1144. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  1145. size:5.000000, time:1.754205, executed if:(op0 != 0B) && (not inlined)
  1146. size:8.000000, time:2.075027, executed if:(op0 != 0B)
  1147. size:5.000000, time:2.326499, executed if:(op0 == 0B)
  1148. calls:
  1149. vPortExitCritical/32 function body not available
  1150. loop depth: 0 freq:0.53 size: 1 time: 10 predicate: (op0 != 0B)
  1151. prvInitialiseNewStreamBuffer/24 function not considered for inlining
  1152. loop depth: 0 freq:0.03 size: 6 time: 15callee size:10 stack: 0 predicate: (op0 != 0B)
  1153. vPortEnterCritical/31 function body not available
  1154. loop depth: 0 freq:0.53 size: 1 time: 10 predicate: (op0 != 0B)
  1155. Analyzing function: vStreamBufferDelete/5
  1156. ;; 2 loops found
  1157. ;;
  1158. ;; Loop 0
  1159. ;; header 0, latch 1
  1160. ;; depth 0, outer -1
  1161. ;; nodes: 0 1 2 3 4 9 5 6 7 8
  1162. ;;
  1163. ;; Loop 1
  1164. ;; header 4, latch 9
  1165. ;; depth 1, outer 0
  1166. ;; nodes: 4 9
  1167. ;; 2 succs { 3 5 }
  1168. ;; 3 succs { 4 }
  1169. ;; 4 succs { 9 }
  1170. ;; 9 succs { 4 }
  1171. ;; 5 succs { 6 7 }
  1172. ;; 6 succs { 8 }
  1173. ;; 7 succs { 8 }
  1174. ;; 8 succs { 1 }
  1175. Analyzing function body size: vStreamBufferDelete
  1176. IPA function summary for vStreamBufferDelete/5 inlinable
  1177. global time: 16.100030
  1178. self size: 20
  1179. global size: 0
  1180. min size: 0
  1181. self stack: 0
  1182. global stack: 0
  1183. size:0.000000, time:0.000000
  1184. size:2.000000, time:0.000000, executed if:(not inlined)
  1185. size:2.000000, time:2.000000, nonconst if:(op0 changed)
  1186. size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (not inlined)
  1187. size:3.500000, time:2.449999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B)
  1188. size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
  1189. size:5.000000, time:1.500001, executed if:(op0 == 0B)
  1190. calls:
  1191. memset/29 function body not available
  1192. loop depth: 0 freq:0.35 size: 4 time: 13 predicate: (op0 != 0B)
  1193. op1 is compile time invariant
  1194. op2 is compile time invariant
  1195. vPortFree/30 function body not available
  1196. loop depth: 0 freq:0.35 size: 2 time: 11 predicate: (op0 != 0B)
  1197. Analyzing function: xStreamBufferGenericCreate/4
  1198. ;; 4 loops found
  1199. ;;
  1200. ;; Loop 0
  1201. ;; header 0, latch 1
  1202. ;; depth 0, outer -1
  1203. ;; nodes: 0 1 2 3 4 5 16 6 7 8 18 9 10 11 17 12 13 14 15
  1204. ;;
  1205. ;; Loop 3
  1206. ;; header 5, latch 16
  1207. ;; depth 1, outer 0
  1208. ;; nodes: 5 16
  1209. ;;
  1210. ;; Loop 2
  1211. ;; header 11, latch 17
  1212. ;; depth 1, outer 0
  1213. ;; nodes: 11 17
  1214. ;;
  1215. ;; Loop 1
  1216. ;; header 8, latch 18
  1217. ;; depth 1, outer 0
  1218. ;; nodes: 8 18
  1219. ;; 2 succs { 3 6 }
  1220. ;; 3 succs { 4 9 }
  1221. ;; 4 succs { 5 }
  1222. ;; 5 succs { 16 }
  1223. ;; 16 succs { 5 }
  1224. ;; 6 succs { 7 9 }
  1225. ;; 7 succs { 8 }
  1226. ;; 8 succs { 18 }
  1227. ;; 18 succs { 8 }
  1228. ;; 9 succs { 10 12 }
  1229. ;; 10 succs { 11 }
  1230. ;; 11 succs { 17 }
  1231. ;; 17 succs { 11 }
  1232. ;; 12 succs { 13 15 }
  1233. ;; 13 succs { 14 15 }
  1234. ;; 14 succs { 15 }
  1235. ;; 15 succs { 1 }
  1236. Analyzing function body size: xStreamBufferGenericCreate
  1237. IPA function summary for xStreamBufferGenericCreate/4 inlinable
  1238. global time: 13.356117
  1239. self size: 43
  1240. global size: 0
  1241. min size: 0
  1242. self stack: 0
  1243. global stack: 0
  1244. size:0.000000, time:0.000000
  1245. size:2.000000, time:0.000000, executed if:(not inlined)
  1246. size:2.000000, time:2.000000, nonconst if:(op2 changed)
  1247. size:2.000000, time:1.319999, executed if:(op2 != 1), nonconst if:(op0 changed) && (op2 != 1)
  1248. size:5.000000, time:1.649999, executed if:(op0 == 0) && (op2 != 1)
  1249. size:2.000000, time:0.680001, executed if:(op2 == 1), nonconst if:(op0 changed) && (op2 == 1)
  1250. size:2.000000, time:1.000000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op0 changed || op1 changed) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1251. size:1.000000, time:0.250000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op1 changed) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1252. size:2.000000, time:0.500000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op0 changed) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1253. size:2.000000, time:0.273351, executed if:(op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op0 changed) && (op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1254. size:3.000000, time:0.346433, executed if:(op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1255. size:1.000000, time:0.500000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4) && (not inlined)
  1256. size:5.000000, time:1.250000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1257. size:5.000000, time:0.850001, executed if:(op0 <= 4) && (op2 == 1)
  1258. calls:
  1259. prvInitialiseNewStreamBuffer/24 function not considered for inlining
  1260. loop depth: 0 freq:0.07 size: 6 time: 15callee size:10 stack: 0 predicate: (op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1261. pvPortMalloc/28 function body not available
  1262. loop depth: 0 freq:0.14 size: 3 time: 12 predicate: (op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
  1263. Symbol table:
  1264. xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05fcd7e0
  1265. Type: function definition analyzed
  1266. Visibility: prevailing_def_ironly artificial
  1267. References:
  1268. Referring:
  1269. Availability: local
  1270. Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
  1271. Called by: xStreamBufferSpacesAvailable/8 (107374 (estimated locally),0.30 per call)
  1272. Calls:
  1273. prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05fcd700
  1274. Type: function definition analyzed
  1275. Visibility: prevailing_def_ironly artificial
  1276. References:
  1277. Referring:
  1278. Availability: local
  1279. Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
  1280. Called by: prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer/22 (107374 (estimated locally),0.50 per call)
  1281. Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
  1282. prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05fcd620
  1283. Type: function definition analyzed
  1284. Visibility: prevailing_def_ironly artificial
  1285. References:
  1286. Referring:
  1287. Availability: local
  1288. Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
  1289. Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (107374 (estimated locally),0.50 per call)
  1290. Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
  1291. prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e8d8c0
  1292. Type: function definition analyzed
  1293. Visibility: prevailing_def_ironly artificial
  1294. References:
  1295. Referring:
  1296. Availability: local
  1297. Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
  1298. Called by: prvInitialiseNewStreamBuffer/24 (22666 (estimated locally),0.17 per call)
  1299. Calls: memset/29 (1073741824 (estimated locally),1.00 per call)
  1300. xTaskGenericNotifyFromISR/42 (xTaskGenericNotifyFromISR) @05f910e0
  1301. Type: function
  1302. Visibility: external public
  1303. References:
  1304. Referring:
  1305. Availability: not_available
  1306. Function flags: optimize_size
  1307. Called by: xStreamBufferReceiveCompletedFromISR/20 (133963 (estimated locally),0.37 per call) xStreamBufferSendCompletedFromISR/19 (133963 (estimated locally),0.37 per call) xStreamBufferReceiveFromISR/15 (15473 (estimated locally),0.04 per call) xStreamBufferSendFromISR/11 (15473 (estimated locally),0.04 per call)
  1308. Calls:
  1309. memcpy/41 (memcpy) @05f7eee0
  1310. Type: function
  1311. Visibility: external public
  1312. References:
  1313. Referring:
  1314. Availability: not_available
  1315. Function flags: optimize_size
  1316. Called by: prvReadBytesFromBuffer.part.0/53 (35433 (estimated locally),0.16 per call) prvReadBytesFromBuffer.part.0/53 (11693 (estimated locally),0.05 per call) prvWriteBytesToBuffer.part.0/48 (52886 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (8726 (estimated locally),0.05 per call)
  1317. Calls:
  1318. xTaskResumeAll/40 (xTaskResumeAll) @05f7ec40
  1319. Type: function
  1320. Visibility: external public
  1321. References:
  1322. Referring:
  1323. Availability: not_available
  1324. Function flags: optimize_size
  1325. Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
  1326. Calls:
  1327. xTaskGenericNotify/39 (xTaskGenericNotify) @05f7eb60
  1328. Type: function
  1329. Visibility: external public
  1330. References:
  1331. Referring:
  1332. Availability: not_available
  1333. Function flags: optimize_size
  1334. Called by: xStreamBufferReceive/13 (8104 (estimated locally),0.02 per call) xStreamBufferSend/10 (6383 (estimated locally),0.02 per call)
  1335. Calls:
  1336. vTaskSuspendAll/38 (vTaskSuspendAll) @05f7ea80
  1337. Type: function
  1338. Visibility: external public
  1339. References:
  1340. Referring:
  1341. Availability: not_available
  1342. Function flags: optimize_size
  1343. Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
  1344. Calls:
  1345. xTaskCheckForTimeOut/37 (xTaskCheckForTimeOut) @05f7e9a0
  1346. Type: function
  1347. Visibility: external public
  1348. References:
  1349. Referring:
  1350. Availability: not_available
  1351. Function flags: optimize_size
  1352. Called by: xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  1353. Calls:
  1354. xTaskGenericNotifyWait/36 (xTaskGenericNotifyWait) @05f7e8c0
  1355. Type: function
  1356. Visibility: external public
  1357. References:
  1358. Referring:
  1359. Availability: not_available
  1360. Function flags: optimize_size
  1361. Called by: xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  1362. Calls:
  1363. xTaskGetCurrentTaskHandle/35 (xTaskGetCurrentTaskHandle) @05f7e7e0
  1364. Type: function
  1365. Visibility: external public
  1366. References:
  1367. Referring:
  1368. Availability: not_available
  1369. Function flags: optimize_size
  1370. Called by: xStreamBufferReceive/13 (7642 (estimated locally),0.02 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
  1371. Calls:
  1372. xTaskGenericNotifyStateClear/34 (xTaskGenericNotifyStateClear) @05f7e700
  1373. Type: function
  1374. Visibility: external public
  1375. References:
  1376. Referring:
  1377. Availability: not_available
  1378. Function flags: optimize_size
  1379. Called by: xStreamBufferReceive/13 (43844 (estimated locally),0.12 per call) xStreamBufferSend/10 (598690 (estimated locally),1.67 per call)
  1380. Calls:
  1381. vTaskSetTimeOutState/33 (vTaskSetTimeOutState) @05f7e620
  1382. Type: function
  1383. Visibility: external public
  1384. References:
  1385. Referring:
  1386. Availability: not_available
  1387. Function flags: optimize_size
  1388. Called by: xStreamBufferSend/10 (65767 (estimated locally),0.18 per call)
  1389. Calls:
  1390. vPortExitCritical/32 (vPortExitCritical) @05f582a0
  1391. Type: function
  1392. Visibility: external public
  1393. References:
  1394. Referring:
  1395. Availability: not_available
  1396. Function flags: optimize_size
  1397. Called by: xStreamBufferReceive/13 (51486 (estimated locally),0.14 per call) xStreamBufferSend/10 (22744 (estimated locally),0.06 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call) xStreamBufferReset/6 (123389 (estimated locally),0.53 per call)
  1398. Calls:
  1399. vPortEnterCritical/31 (vPortEnterCritical) @05f58000
  1400. Type: function
  1401. Visibility: external public
  1402. References:
  1403. Referring:
  1404. Availability: not_available
  1405. Function flags: optimize_size
  1406. Called by: xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call) xStreamBufferReset/6 (123389 (estimated locally),0.53 per call)
  1407. Calls:
  1408. vPortFree/30 (vPortFree) @05f58e00
  1409. Type: function
  1410. Visibility: external public
  1411. References:
  1412. Referring:
  1413. Availability: not_available
  1414. Function flags: optimize_size
  1415. Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call)
  1416. Calls:
  1417. memset/29 (memset) @05f58c40
  1418. Type: function
  1419. Visibility: external public
  1420. References:
  1421. Referring:
  1422. Availability: not_available
  1423. Function flags: optimize_size
  1424. Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call) prvInitialiseNewStreamBuffer/24 (130040 (estimated locally),1.00 per call) prvInitialiseNewStreamBuffer.part.0/44 (1073741824 (estimated locally),1.00 per call)
  1425. Calls:
  1426. pvPortMalloc/28 (pvPortMalloc) @05f589a0
  1427. Type: function
  1428. Visibility: external public
  1429. References:
  1430. Referring:
  1431. Availability: not_available
  1432. Function flags: optimize_size
  1433. Called by: xStreamBufferGenericCreate/4 (44471 (estimated locally),0.14 per call)
  1434. Calls:
  1435. ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f58460
  1436. Type: function definition analyzed
  1437. Visibility: externally_visible public
  1438. References:
  1439. Referring:
  1440. Availability: available
  1441. Function flags: count:1073741824 (estimated locally) body optimize_size
  1442. Called by:
  1443. Calls:
  1444. vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f581c0
  1445. Type: function definition analyzed
  1446. Visibility: externally_visible public
  1447. References:
  1448. Referring:
  1449. Availability: available
  1450. Function flags: count:1073741824 (estimated locally) body optimize_size
  1451. Called by:
  1452. Calls:
  1453. uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f50d20
  1454. Type: function definition analyzed
  1455. Visibility: externally_visible public
  1456. References:
  1457. Referring:
  1458. Availability: available
  1459. Function flags: count:1073741824 (estimated locally) body optimize_size
  1460. Called by:
  1461. Calls:
  1462. prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f50540
  1463. Type: function definition analyzed
  1464. Visibility: prevailing_def_ironly
  1465. References:
  1466. Referring:
  1467. Availability: local
  1468. Function flags: count:130040 (estimated locally) body local optimize_size
  1469. Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
  1470. Calls: prvInitialiseNewStreamBuffer.part.0/44 (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
  1471. prvBytesInBuffer/23 (prvBytesInBuffer) @05f50ee0
  1472. Type: function definition analyzed
  1473. Visibility: prevailing_def_ironly
  1474. References:
  1475. Referring:
  1476. Availability: local
  1477. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1478. Called by: xStreamBufferReceiveFromISR/15 (175378 (estimated locally),0.49 per call) xStreamBufferNextMessageLengthBytes/14 (82678 (estimated locally),0.23 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferReceive/13 (87689 (estimated locally),0.25 per call) xStreamBufferSendFromISR/11 (57875 (estimated locally),0.16 per call) xStreamBufferSend/10 (36175 (estimated locally),0.10 per call) xStreamBufferBytesAvailable/9 (123389 (estimated locally),0.53 per call)
  1479. Calls:
  1480. prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f50c40
  1481. Type: function definition analyzed
  1482. Visibility: prevailing_def_ironly
  1483. References:
  1484. Referring:
  1485. Availability: local
  1486. Function flags: count:214748 (estimated locally) body local optimize_size
  1487. Called by: xStreamBufferNextMessageLengthBytes/14 (27284 (estimated locally),0.08 per call) prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call)
  1488. Calls: prvReadBytesFromBuffer.part.0/53 (107374 (estimated locally),0.50 per call)
  1489. prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f507e0
  1490. Type: function definition analyzed
  1491. Visibility: prevailing_def_ironly
  1492. References:
  1493. Referring:
  1494. Availability: local
  1495. Function flags: count:214748 (estimated locally) body local optimize_size
  1496. Called by: prvWriteMessageToBuffer/12 (354334802 (estimated locally),0.33 per call)
  1497. Calls: prvWriteBytesToBuffer.part.0/48 (107374 (estimated locally),0.50 per call)
  1498. xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f50460
  1499. Type: function definition analyzed
  1500. Visibility: externally_visible public
  1501. References:
  1502. Referring:
  1503. Availability: available
  1504. Function flags: count:357913 (estimated locally) body optimize_size
  1505. Called by:
  1506. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1507. xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f500e0
  1508. Type: function definition analyzed
  1509. Visibility: externally_visible public
  1510. References:
  1511. Referring:
  1512. Availability: available
  1513. Function flags: count:357913 (estimated locally) body optimize_size
  1514. Called by:
  1515. Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
  1516. xStreamBufferIsFull/18 (xStreamBufferIsFull) @05f428c0
  1517. Type: function definition analyzed
  1518. Visibility: externally_visible public
  1519. References:
  1520. Referring:
  1521. Availability: available
  1522. Function flags: count:357913 (estimated locally) body optimize_size
  1523. Called by:
  1524. Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
  1525. xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05f42ee0
  1526. Type: function definition analyzed
  1527. Visibility: externally_visible public
  1528. References:
  1529. Referring:
  1530. Availability: available
  1531. Function flags: count:357913 (estimated locally) body optimize_size
  1532. Called by:
  1533. Calls:
  1534. prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05f42b60
  1535. Type: function definition analyzed
  1536. Visibility: prevailing_def_ironly
  1537. References:
  1538. Referring:
  1539. Availability: local
  1540. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1541. Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
  1542. Calls: prvReadBytesFromBuffer/22 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
  1543. xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05f427e0
  1544. Type: function definition analyzed
  1545. Visibility: externally_visible public
  1546. References:
  1547. Referring:
  1548. Availability: available
  1549. Function flags: count:357913 (estimated locally) body optimize_size
  1550. Called by:
  1551. Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (57875 (estimated locally),0.16 per call) prvBytesInBuffer/23 (175378 (estimated locally),0.49 per call)
  1552. xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05f42380
  1553. Type: function definition analyzed
  1554. Visibility: externally_visible public
  1555. References:
  1556. Referring:
  1557. Availability: available
  1558. Function flags: count:357913 (estimated locally) body optimize_size
  1559. Called by:
  1560. Calls: prvReadBytesFromBuffer/22 (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
  1561. xStreamBufferReceive/13 (xStreamBufferReceive) @05f01e00
  1562. Type: function definition analyzed
  1563. Visibility: externally_visible public
  1564. References:
  1565. Referring:
  1566. Availability: available
  1567. Function flags: count:357913 (estimated locally) body optimize_size
  1568. Called by:
  1569. Calls: xTaskResumeAll/40 (15156 (estimated locally),0.04 per call) xTaskGenericNotify/39 (8104 (estimated locally),0.02 per call) vTaskSuspendAll/38 (15156 (estimated locally),0.04 per call) prvReadMessageFromBuffer/16 (45928 (estimated locally),0.13 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) prvBytesInBuffer/23 (16991 (estimated locally),0.05 per call) xTaskGenericNotifyWait/36 (16991 (estimated locally),0.05 per call) vPortExitCritical/32 (51486 (estimated locally),0.14 per call) xTaskGetCurrentTaskHandle/35 (7642 (estimated locally),0.02 per call) xTaskGenericNotifyStateClear/34 (43844 (estimated locally),0.12 per call) prvBytesInBuffer/23 (87689 (estimated locally),0.25 per call) vPortEnterCritical/31 (87689 (estimated locally),0.25 per call)
  1570. prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05f01d20
  1571. Type: function definition analyzed
  1572. Visibility: prevailing_def_ironly
  1573. References:
  1574. Referring:
  1575. Availability: local
  1576. Function flags: count:1073741824 (estimated locally) body local optimize_size
  1577. Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
  1578. Calls: prvWriteBytesToBuffer/21 (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
  1579. xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05f019a0
  1580. Type: function definition analyzed
  1581. Visibility: externally_visible public
  1582. References:
  1583. Referring:
  1584. Availability: available
  1585. Function flags: count:357913 (estimated locally) body optimize_size
  1586. Called by:
  1587. Calls: xTaskGenericNotifyFromISR/42 (15473 (estimated locally),0.04 per call) prvBytesInBuffer/23 (57875 (estimated locally),0.16 per call) prvWriteMessageToBuffer/12 (175378 (estimated locally),0.49 per call) xStreamBufferSpacesAvailable/8 (175378 (estimated locally),0.49 per call)
  1588. xStreamBufferSend/10 (xStreamBufferSend) @05f01540
  1589. Type: function definition analyzed
  1590. Visibility: externally_visible public
  1591. References:
  1592. Referring:
  1593. Availability: available
  1594. Function flags: count:357913 (estimated locally) body optimize_size
  1595. Called by:
  1596. Calls: xTaskResumeAll/40 (11938 (estimated locally),0.03 per call) xTaskGenericNotify/39 (6383 (estimated locally),0.02 per call) vTaskSuspendAll/38 (11938 (estimated locally),0.03 per call) prvBytesInBuffer/23 (36175 (estimated locally),0.10 per call) prvWriteMessageToBuffer/12 (109621 (estimated locally),0.31 per call) xStreamBufferSpacesAvailable/8 (87694 (estimated locally),0.25 per call) vPortExitCritical/32 (22744 (estimated locally),0.06 per call) xTaskCheckForTimeOut/37 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyWait/36 (576777 (estimated locally),1.61 per call) vPortExitCritical/32 (576777 (estimated locally),1.61 per call) xTaskGetCurrentTaskHandle/35 (576777 (estimated locally),1.61 per call) xTaskGenericNotifyStateClear/34 (598690 (estimated locally),1.67 per call) xStreamBufferSpacesAvailable/8 (621434 (estimated locally),1.74 per call) vPortEnterCritical/31 (621434 (estimated locally),1.74 per call) vTaskSetTimeOutState/33 (65767 (estimated locally),0.18 per call)
  1597. xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05ef8d20
  1598. Type: function definition analyzed
  1599. Visibility: externally_visible public
  1600. References:
  1601. Referring:
  1602. Availability: available
  1603. Function flags: count:230763 (estimated locally) body optimize_size
  1604. Called by:
  1605. Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
  1606. xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05ef82a0
  1607. Type: function definition analyzed
  1608. Visibility: externally_visible public
  1609. References:
  1610. Referring:
  1611. Availability: available
  1612. Function flags: count:357913 (estimated locally) body optimize_size
  1613. Called by: xStreamBufferIsFull/18 (250539 (estimated locally),0.70 per call) xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (87694 (estimated locally),0.25 per call) xStreamBufferSend/10 (621434 (estimated locally),1.74 per call)
  1614. Calls: xStreamBufferSpacesAvailable.part.0/62 (107374 (estimated locally),0.30 per call)
  1615. xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05ef8c40
  1616. Type: function definition analyzed
  1617. Visibility: externally_visible public
  1618. References:
  1619. Referring:
  1620. Availability: available
  1621. Function flags: count:357913 (estimated locally) body optimize_size
  1622. Called by:
  1623. Calls:
  1624. xStreamBufferReset/6 (xStreamBufferReset) @05ef88c0
  1625. Type: function definition analyzed
  1626. Visibility: externally_visible public
  1627. References:
  1628. Referring:
  1629. Availability: available
  1630. Function flags: count:230763 (estimated locally) body optimize_size
  1631. Called by:
  1632. Calls: vPortExitCritical/32 (123389 (estimated locally),0.53 per call) prvInitialiseNewStreamBuffer/24 (6452 (estimated locally),0.03 per call) vPortEnterCritical/31 (123389 (estimated locally),0.53 per call)
  1633. vStreamBufferDelete/5 (vStreamBufferDelete) @05ef8540
  1634. Type: function definition analyzed
  1635. Visibility: externally_visible public
  1636. References:
  1637. Referring:
  1638. Availability: available
  1639. Function flags: count:357913 (estimated locally) body optimize_size
  1640. Called by:
  1641. Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
  1642. xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05ef81c0
  1643. Type: function definition analyzed
  1644. Visibility: externally_visible public
  1645. References:
  1646. Referring:
  1647. Availability: available
  1648. Function flags: count:325376 (estimated locally) body optimize_size
  1649. Called by:
  1650. Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
  1651. xStreamBufferSpacesAvailable.part.0 ()
  1652. {
  1653. const struct StreamBuffer_t * const pxStreamBuffer;
  1654. size_t xSpace;
  1655. size_t xOriginalTail;
  1656. uint32_t ulNewBASEPRI;
  1657. struct StreamBufferDef_t * xStreamBuffer;
  1658. <bb 5> [local count: 107374]:
  1659. # DEBUG D#2 s=> xStreamBuffer
  1660. # DEBUG xStreamBuffer => D#2
  1661. <bb 2> [local count: 107374]:
  1662. # DEBUG BEGIN_STMT
  1663. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  1664. # DEBUG BEGIN_STMT
  1665. # DEBUG BEGIN_STMT
  1666. __asm__ __volatile__(" mov %0, %1
  1667. msr basepri, %0
  1668. isb
  1669. dsb
  1670. " : "=r" ulNewBASEPRI_1 : "i" 16 : "memory");
  1671. # DEBUG ulNewBASEPRI => ulNewBASEPRI_1
  1672. <bb 3> [local count: 1073741824]:
  1673. # DEBUG ulNewBASEPRI => NULL
  1674. # DEBUG BEGIN_STMT
  1675. # DEBUG BEGIN_STMT
  1676. # DEBUG BEGIN_STMT
  1677. <bb 4> [local count: 1073741824]:
  1678. goto <bb 3>; [100.00%]
  1679. }
  1680. prvReadBytesFromBuffer.part.0 (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
  1681. {
  1682. size_t xFirstLength;
  1683. uint32_t ulNewBASEPRI;
  1684. uint32_t ulNewBASEPRI;
  1685. uint32_t ulNewBASEPRI;
  1686. unsigned int _2;
  1687. unsigned int _4;
  1688. unsigned int _8;
  1689. uint8_t * _10;
  1690. uint8_t * _11;
  1691. uint8_t * _13;
  1692. uint8_t * _14;
  1693. unsigned int _15;
  1694. unsigned int _17;
  1695. <bb 15> [local count: 214748]:
  1696. <bb 2> [local count: 214748]:
  1697. # DEBUG BEGIN_STMT
  1698. # DEBUG BEGIN_STMT
  1699. _2 = pxStreamBuffer_1(D)->xLength;
  1700. _4 = _2 - xTail_3(D);
  1701. xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
  1702. # DEBUG xFirstLength => xFirstLength_6
  1703. # DEBUG BEGIN_STMT
  1704. if (xCount_5(D) < xFirstLength_6)
  1705. goto <bb 3>; [50.00%]
  1706. else
  1707. goto <bb 6>; [50.00%]
  1708. <bb 3> [local count: 107374]:
  1709. # DEBUG BEGIN_STMT
  1710. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  1711. # DEBUG BEGIN_STMT
  1712. # DEBUG BEGIN_STMT
  1713. __asm__ __volatile__(" mov %0, %1
  1714. msr basepri, %0
  1715. isb
  1716. dsb
  1717. " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
  1718. # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
  1719. <bb 4> [local count: 1073741824]:
  1720. # DEBUG ulNewBASEPRI => NULL
  1721. # DEBUG BEGIN_STMT
  1722. # DEBUG BEGIN_STMT
  1723. # DEBUG BEGIN_STMT
  1724. <bb 5> [local count: 1073741824]:
  1725. goto <bb 4>; [100.00%]
  1726. <bb 6> [local count: 107374]:
  1727. # DEBUG BEGIN_STMT
  1728. # DEBUG BEGIN_STMT
  1729. _8 = xTail_3(D) + xFirstLength_6;
  1730. if (_2 < _8)
  1731. goto <bb 7>; [67.00%]
  1732. else
  1733. goto <bb 10>; [33.00%]
  1734. <bb 7> [local count: 71941]:
  1735. # DEBUG BEGIN_STMT
  1736. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  1737. # DEBUG BEGIN_STMT
  1738. # DEBUG BEGIN_STMT
  1739. __asm__ __volatile__(" mov %0, %1
  1740. msr basepri, %0
  1741. isb
  1742. dsb
  1743. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  1744. # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
  1745. <bb 8> [local count: 719407023]:
  1746. # DEBUG ulNewBASEPRI => NULL
  1747. # DEBUG BEGIN_STMT
  1748. # DEBUG BEGIN_STMT
  1749. # DEBUG BEGIN_STMT
  1750. <bb 9> [local count: 719407023]:
  1751. goto <bb 8>; [100.00%]
  1752. <bb 10> [local count: 35433]:
  1753. # DEBUG BEGIN_STMT
  1754. # DEBUG BEGIN_STMT
  1755. _10 = pxStreamBuffer_1(D)->pucBuffer;
  1756. _11 = _10 + xTail_3(D);
  1757. memcpy (pucData_12(D), _11, xFirstLength_6);
  1758. # DEBUG BEGIN_STMT
  1759. if (xCount_5(D) > xFirstLength_6)
  1760. goto <bb 11>; [33.00%]
  1761. else
  1762. goto <bb 12>; [67.00%]
  1763. <bb 11> [local count: 11693]:
  1764. # DEBUG BEGIN_STMT
  1765. _13 = pucData_12(D) + xFirstLength_6;
  1766. _14 = pxStreamBuffer_1(D)->pucBuffer;
  1767. _15 = xCount_5(D) - xFirstLength_6;
  1768. memcpy (_13, _14, _15);
  1769. <bb 12> [local count: 35433]:
  1770. # DEBUG BEGIN_STMT
  1771. # DEBUG BEGIN_STMT
  1772. xTail_16 = xTail_3(D) + xCount_5(D);
  1773. # DEBUG xTail => xTail_16
  1774. # DEBUG BEGIN_STMT
  1775. _17 = pxStreamBuffer_1(D)->xLength;
  1776. if (xTail_16 >= _17)
  1777. goto <bb 13>; [50.00%]
  1778. else
  1779. goto <bb 14>; [50.00%]
  1780. <bb 13> [local count: 17717]:
  1781. # DEBUG BEGIN_STMT
  1782. xTail_18 = xTail_16 - _17;
  1783. # DEBUG xTail => xTail_18
  1784. <bb 14> [local count: 35433]:
  1785. # xTail_19 = PHI <xTail_16(12), xTail_18(13)>
  1786. # DEBUG xTail => xTail_19
  1787. # DEBUG BEGIN_STMT
  1788. return xTail_19;
  1789. }
  1790. prvWriteBytesToBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
  1791. {
  1792. size_t xFirstLength;
  1793. uint32_t ulNewBASEPRI;
  1794. uint32_t ulNewBASEPRI;
  1795. uint32_t ulNewBASEPRI;
  1796. unsigned int _2;
  1797. unsigned int _4;
  1798. unsigned int _7;
  1799. uint8_t * _9;
  1800. uint8_t * _10;
  1801. unsigned int _12;
  1802. unsigned int _13;
  1803. uint8_t * _15;
  1804. const uint8_t * _16;
  1805. unsigned int _18;
  1806. <bb 15> [local count: 160260]:
  1807. <bb 2> [local count: 160260]:
  1808. # DEBUG BEGIN_STMT
  1809. # DEBUG BEGIN_STMT
  1810. _2 = pxStreamBuffer_1(D)->xLength;
  1811. _4 = _2 - xHead_3(D);
  1812. xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
  1813. # DEBUG xFirstLength => xFirstLength_6
  1814. # DEBUG BEGIN_STMT
  1815. _7 = xHead_3(D) + xFirstLength_6;
  1816. if (_2 < _7)
  1817. goto <bb 3>; [67.00%]
  1818. else
  1819. goto <bb 6>; [33.00%]
  1820. <bb 3> [local count: 107374]:
  1821. # DEBUG BEGIN_STMT
  1822. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  1823. # DEBUG BEGIN_STMT
  1824. # DEBUG BEGIN_STMT
  1825. __asm__ __volatile__(" mov %0, %1
  1826. msr basepri, %0
  1827. isb
  1828. dsb
  1829. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  1830. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  1831. <bb 4> [local count: 1073741824]:
  1832. # DEBUG ulNewBASEPRI => NULL
  1833. # DEBUG BEGIN_STMT
  1834. # DEBUG BEGIN_STMT
  1835. # DEBUG BEGIN_STMT
  1836. <bb 5> [local count: 1073741824]:
  1837. goto <bb 4>; [100.00%]
  1838. <bb 6> [local count: 52886]:
  1839. # DEBUG BEGIN_STMT
  1840. # DEBUG BEGIN_STMT
  1841. _9 = pxStreamBuffer_1(D)->pucBuffer;
  1842. _10 = _9 + xHead_3(D);
  1843. memcpy (_10, pucData_11(D), xFirstLength_6);
  1844. # DEBUG BEGIN_STMT
  1845. if (xCount_5(D) > xFirstLength_6)
  1846. goto <bb 7>; [50.00%]
  1847. else
  1848. goto <bb 12>; [50.00%]
  1849. <bb 7> [local count: 26443]:
  1850. # DEBUG BEGIN_STMT
  1851. _12 = xCount_5(D) - xFirstLength_6;
  1852. _13 = pxStreamBuffer_1(D)->xLength;
  1853. if (_12 > _13)
  1854. goto <bb 8>; [67.00%]
  1855. else
  1856. goto <bb 11>; [33.00%]
  1857. <bb 8> [local count: 17717]:
  1858. # DEBUG BEGIN_STMT
  1859. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  1860. # DEBUG BEGIN_STMT
  1861. # DEBUG BEGIN_STMT
  1862. __asm__ __volatile__(" mov %0, %1
  1863. msr basepri, %0
  1864. isb
  1865. dsb
  1866. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  1867. # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
  1868. <bb 9> [local count: 177167401]:
  1869. # DEBUG ulNewBASEPRI => NULL
  1870. # DEBUG BEGIN_STMT
  1871. # DEBUG BEGIN_STMT
  1872. # DEBUG BEGIN_STMT
  1873. <bb 10> [local count: 177167401]:
  1874. goto <bb 9>; [100.00%]
  1875. <bb 11> [local count: 8726]:
  1876. # DEBUG BEGIN_STMT
  1877. # DEBUG BEGIN_STMT
  1878. _15 = pxStreamBuffer_1(D)->pucBuffer;
  1879. _16 = pucData_11(D) + xFirstLength_6;
  1880. memcpy (_15, _16, _12);
  1881. <bb 12> [local count: 35169]:
  1882. # DEBUG BEGIN_STMT
  1883. # DEBUG BEGIN_STMT
  1884. xHead_17 = xHead_3(D) + xCount_5(D);
  1885. # DEBUG xHead => xHead_17
  1886. # DEBUG BEGIN_STMT
  1887. _18 = pxStreamBuffer_1(D)->xLength;
  1888. if (xHead_17 >= _18)
  1889. goto <bb 13>; [50.00%]
  1890. else
  1891. goto <bb 14>; [50.00%]
  1892. <bb 13> [local count: 17584]:
  1893. # DEBUG BEGIN_STMT
  1894. xHead_19 = xHead_17 - _18;
  1895. # DEBUG xHead => xHead_19
  1896. <bb 14> [local count: 35169]:
  1897. # xHead_20 = PHI <xHead_17(12), xHead_19(13)>
  1898. # DEBUG xHead => xHead_20
  1899. # DEBUG BEGIN_STMT
  1900. # DEBUG BEGIN_STMT
  1901. return xHead_20;
  1902. }
  1903. prvInitialiseNewStreamBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
  1904. {
  1905. const BaseType_t xWriteValue;
  1906. uint32_t ulNewBASEPRI;
  1907. <bb 3> [local count: 1073741824]:
  1908. <bb 2> [local count: 1073741824]:
  1909. # DEBUG BEGIN_STMT
  1910. # DEBUG BEGIN_STMT
  1911. memset (pxStreamBuffer_1(D), 0, 36);
  1912. # DEBUG BEGIN_STMT
  1913. pxStreamBuffer_1(D)->pucBuffer = pucBuffer_2(D);
  1914. # DEBUG BEGIN_STMT
  1915. pxStreamBuffer_1(D)->xLength = xBufferSizeBytes_3(D);
  1916. # DEBUG BEGIN_STMT
  1917. pxStreamBuffer_1(D)->xTriggerLevelBytes = xTriggerLevelBytes_4(D);
  1918. # DEBUG BEGIN_STMT
  1919. pxStreamBuffer_1(D)->ucFlags = ucFlags_5(D);
  1920. return;
  1921. }
  1922. ucStreamBufferGetStreamBufferType (struct StreamBufferDef_t * xStreamBuffer)
  1923. {
  1924. unsigned char _1;
  1925. uint8_t _4;
  1926. <bb 2> [local count: 1073741824]:
  1927. # DEBUG BEGIN_STMT
  1928. _1 = xStreamBuffer_3(D)->ucFlags;
  1929. _4 = _1 & 1;
  1930. return _4;
  1931. }
  1932. vStreamBufferSetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer, UBaseType_t uxStreamBufferNumber)
  1933. {
  1934. <bb 2> [local count: 1073741824]:
  1935. # DEBUG BEGIN_STMT
  1936. xStreamBuffer_2(D)->uxStreamBufferNumber = uxStreamBufferNumber_3(D);
  1937. return;
  1938. }
  1939. uxStreamBufferGetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer)
  1940. {
  1941. UBaseType_t _3;
  1942. <bb 2> [local count: 1073741824]:
  1943. # DEBUG BEGIN_STMT
  1944. _3 = xStreamBuffer_2(D)->uxStreamBufferNumber;
  1945. return _3;
  1946. }
  1947. prvInitialiseNewStreamBuffer (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
  1948. {
  1949. uint32_t ulNewBASEPRI;
  1950. void * _1;
  1951. <bb 2> [local count: 130040]:
  1952. # DEBUG BEGIN_STMT
  1953. # DEBUG xWriteValue => 85
  1954. # DEBUG BEGIN_STMT
  1955. _1 = memset (pucBuffer_4(D), 85, xBufferSizeBytes_5(D));
  1956. if (_1 != pucBuffer_4(D))
  1957. goto <bb 3>; [82.57%]
  1958. else
  1959. goto <bb 5>; [17.43%]
  1960. <bb 3> [local count: 107374]:
  1961. # DEBUG BEGIN_STMT
  1962. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  1963. # DEBUG BEGIN_STMT
  1964. # DEBUG BEGIN_STMT
  1965. __asm__ __volatile__(" mov %0, %1
  1966. msr basepri, %0
  1967. isb
  1968. dsb
  1969. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  1970. # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
  1971. <bb 4> [local count: 1073741824]:
  1972. # DEBUG ulNewBASEPRI => NULL
  1973. # DEBUG BEGIN_STMT
  1974. # DEBUG BEGIN_STMT
  1975. # DEBUG BEGIN_STMT
  1976. <bb 6> [local count: 1073741824]:
  1977. goto <bb 4>; [100.00%]
  1978. <bb 5> [local count: 22666]:
  1979. prvInitialiseNewStreamBuffer.part.0 (pxStreamBuffer_7(D), pucBuffer_4(D), xBufferSizeBytes_5(D), xTriggerLevelBytes_8(D), ucFlags_9(D));
  1980. return;
  1981. }
  1982. prvBytesInBuffer (const struct StreamBuffer_t * const pxStreamBuffer)
  1983. {
  1984. size_t xCount;
  1985. unsigned int _1;
  1986. unsigned int _2;
  1987. unsigned int _7;
  1988. <bb 2> [local count: 1073741824]:
  1989. # DEBUG BEGIN_STMT
  1990. # DEBUG BEGIN_STMT
  1991. _1 = pxStreamBuffer_5(D)->xLength;
  1992. _2 ={v} pxStreamBuffer_5(D)->xHead;
  1993. xCount_6 = _1 + _2;
  1994. # DEBUG xCount => xCount_6
  1995. # DEBUG BEGIN_STMT
  1996. _7 ={v} pxStreamBuffer_5(D)->xTail;
  1997. xCount_8 = xCount_6 - _7;
  1998. # DEBUG xCount => xCount_8
  1999. # DEBUG BEGIN_STMT
  2000. if (_1 <= xCount_8)
  2001. goto <bb 3>; [50.00%]
  2002. else
  2003. goto <bb 4>; [50.00%]
  2004. <bb 3> [local count: 536870913]:
  2005. # DEBUG BEGIN_STMT
  2006. xCount_9 = xCount_8 - _1;
  2007. # DEBUG xCount => xCount_9
  2008. <bb 4> [local count: 1073741824]:
  2009. # xCount_3 = PHI <xCount_8(2), xCount_9(3)>
  2010. # DEBUG xCount => xCount_3
  2011. # DEBUG BEGIN_STMT
  2012. # DEBUG BEGIN_STMT
  2013. return xCount_3;
  2014. }
  2015. prvReadBytesFromBuffer (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
  2016. {
  2017. uint32_t ulNewBASEPRI;
  2018. <bb 2> [local count: 214748]:
  2019. # DEBUG BEGIN_STMT
  2020. # DEBUG BEGIN_STMT
  2021. if (xCount_3(D) == 0)
  2022. goto <bb 3>; [50.00%]
  2023. else
  2024. goto <bb 5>; [50.00%]
  2025. <bb 3> [local count: 107374]:
  2026. # DEBUG BEGIN_STMT
  2027. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2028. # DEBUG BEGIN_STMT
  2029. # DEBUG BEGIN_STMT
  2030. __asm__ __volatile__(" mov %0, %1
  2031. msr basepri, %0
  2032. isb
  2033. dsb
  2034. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  2035. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  2036. <bb 4> [local count: 1073741824]:
  2037. # DEBUG ulNewBASEPRI => NULL
  2038. # DEBUG BEGIN_STMT
  2039. # DEBUG BEGIN_STMT
  2040. # DEBUG BEGIN_STMT
  2041. <bb 6> [local count: 1073741824]:
  2042. goto <bb 4>; [100.00%]
  2043. <bb 5> [local count: 107374]:
  2044. xTail_1 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xTail_6(D));
  2045. # DEBUG xTail => xTail_1
  2046. # DEBUG BEGIN_STMT
  2047. return xTail_1;
  2048. }
  2049. prvWriteBytesToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
  2050. {
  2051. uint32_t ulNewBASEPRI;
  2052. <bb 2> [local count: 214748]:
  2053. # DEBUG BEGIN_STMT
  2054. # DEBUG BEGIN_STMT
  2055. if (xCount_3(D) == 0)
  2056. goto <bb 3>; [50.00%]
  2057. else
  2058. goto <bb 5>; [50.00%]
  2059. <bb 3> [local count: 107374]:
  2060. # DEBUG BEGIN_STMT
  2061. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2062. # DEBUG BEGIN_STMT
  2063. # DEBUG BEGIN_STMT
  2064. __asm__ __volatile__(" mov %0, %1
  2065. msr basepri, %0
  2066. isb
  2067. dsb
  2068. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  2069. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  2070. <bb 4> [local count: 1073741824]:
  2071. # DEBUG ulNewBASEPRI => NULL
  2072. # DEBUG BEGIN_STMT
  2073. # DEBUG BEGIN_STMT
  2074. # DEBUG BEGIN_STMT
  2075. <bb 6> [local count: 1073741824]:
  2076. goto <bb 4>; [100.00%]
  2077. <bb 5> [local count: 107374]:
  2078. xHead_1 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xHead_6(D));
  2079. # DEBUG xHead => xHead_1
  2080. # DEBUG BEGIN_STMT
  2081. # DEBUG BEGIN_STMT
  2082. return xHead_1;
  2083. }
  2084. xStreamBufferReceiveCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
  2085. {
  2086. uint32_t ulOriginalBASEPRI;
  2087. uint32_t ulNewBASEPRI;
  2088. uint32_t ulNewBASEPRI;
  2089. BaseType_t xReturn;
  2090. struct tskTaskControlBlock * _1;
  2091. struct tskTaskControlBlock * _2;
  2092. <bb 2> [local count: 357913]:
  2093. # DEBUG BEGIN_STMT
  2094. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  2095. # DEBUG BEGIN_STMT
  2096. # DEBUG BEGIN_STMT
  2097. # DEBUG BEGIN_STMT
  2098. if (xStreamBuffer_5(D) == 0B)
  2099. goto <bb 3>; [30.00%]
  2100. else
  2101. goto <bb 5>; [70.00%]
  2102. <bb 3> [local count: 107374]:
  2103. # DEBUG BEGIN_STMT
  2104. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2105. # DEBUG BEGIN_STMT
  2106. # DEBUG BEGIN_STMT
  2107. __asm__ __volatile__(" mov %0, %1
  2108. msr basepri, %0
  2109. isb
  2110. dsb
  2111. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  2112. # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
  2113. <bb 4> [local count: 1073741824]:
  2114. # DEBUG ulNewBASEPRI => NULL
  2115. # DEBUG BEGIN_STMT
  2116. # DEBUG BEGIN_STMT
  2117. # DEBUG BEGIN_STMT
  2118. <bb 8> [local count: 1073741824]:
  2119. goto <bb 4>; [100.00%]
  2120. <bb 5> [local count: 250539]:
  2121. # DEBUG BEGIN_STMT
  2122. # DEBUG BEGIN_STMT
  2123. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  2124. # DEBUG BEGIN_STMT
  2125. # DEBUG BEGIN_STMT
  2126. __asm__ __volatile__(" mrs %0, basepri
  2127. mov %1, %2
  2128. msr basepri, %1
  2129. isb
  2130. dsb
  2131. " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
  2132. # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
  2133. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
  2134. # DEBUG BEGIN_STMT
  2135. # DEBUG ulNewBASEPRI => NULL
  2136. # DEBUG ulOriginalBASEPRI => NULL
  2137. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
  2138. # DEBUG BEGIN_STMT
  2139. _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
  2140. if (_1 != 0B)
  2141. goto <bb 6>; [53.47%]
  2142. else
  2143. goto <bb 7>; [46.53%]
  2144. <bb 6> [local count: 133963]:
  2145. # DEBUG BEGIN_STMT
  2146. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
  2147. xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
  2148. # DEBUG BEGIN_STMT
  2149. MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend ={v} 0B;
  2150. # DEBUG BEGIN_STMT
  2151. # DEBUG xReturn => 1
  2152. <bb 7> [local count: 250539]:
  2153. # xReturn_3 = PHI <1(6), 0(5)>
  2154. # DEBUG xReturn => xReturn_3
  2155. # DEBUG BEGIN_STMT
  2156. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
  2157. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  2158. # DEBUG BEGIN_STMT
  2159. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
  2160. # DEBUG ulNewMaskValue => NULL
  2161. # DEBUG BEGIN_STMT
  2162. return xReturn_3;
  2163. }
  2164. xStreamBufferSendCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
  2165. {
  2166. uint32_t ulOriginalBASEPRI;
  2167. uint32_t ulNewBASEPRI;
  2168. uint32_t ulNewBASEPRI;
  2169. BaseType_t xReturn;
  2170. struct tskTaskControlBlock * _1;
  2171. struct tskTaskControlBlock * _2;
  2172. <bb 2> [local count: 357913]:
  2173. # DEBUG BEGIN_STMT
  2174. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  2175. # DEBUG BEGIN_STMT
  2176. # DEBUG BEGIN_STMT
  2177. # DEBUG BEGIN_STMT
  2178. if (xStreamBuffer_5(D) == 0B)
  2179. goto <bb 3>; [30.00%]
  2180. else
  2181. goto <bb 5>; [70.00%]
  2182. <bb 3> [local count: 107374]:
  2183. # DEBUG BEGIN_STMT
  2184. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2185. # DEBUG BEGIN_STMT
  2186. # DEBUG BEGIN_STMT
  2187. __asm__ __volatile__(" mov %0, %1
  2188. msr basepri, %0
  2189. isb
  2190. dsb
  2191. " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
  2192. # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
  2193. <bb 4> [local count: 1073741824]:
  2194. # DEBUG ulNewBASEPRI => NULL
  2195. # DEBUG BEGIN_STMT
  2196. # DEBUG BEGIN_STMT
  2197. # DEBUG BEGIN_STMT
  2198. <bb 8> [local count: 1073741824]:
  2199. goto <bb 4>; [100.00%]
  2200. <bb 5> [local count: 250539]:
  2201. # DEBUG BEGIN_STMT
  2202. # DEBUG BEGIN_STMT
  2203. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  2204. # DEBUG BEGIN_STMT
  2205. # DEBUG BEGIN_STMT
  2206. __asm__ __volatile__(" mrs %0, basepri
  2207. mov %1, %2
  2208. msr basepri, %1
  2209. isb
  2210. dsb
  2211. " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
  2212. # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
  2213. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
  2214. # DEBUG BEGIN_STMT
  2215. # DEBUG ulNewBASEPRI => NULL
  2216. # DEBUG ulOriginalBASEPRI => NULL
  2217. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
  2218. # DEBUG BEGIN_STMT
  2219. _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
  2220. if (_1 != 0B)
  2221. goto <bb 6>; [53.47%]
  2222. else
  2223. goto <bb 7>; [46.53%]
  2224. <bb 6> [local count: 133963]:
  2225. # DEBUG BEGIN_STMT
  2226. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
  2227. xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
  2228. # DEBUG BEGIN_STMT
  2229. MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive ={v} 0B;
  2230. # DEBUG BEGIN_STMT
  2231. # DEBUG xReturn => 1
  2232. <bb 7> [local count: 250539]:
  2233. # xReturn_3 = PHI <1(6), 0(5)>
  2234. # DEBUG xReturn => xReturn_3
  2235. # DEBUG BEGIN_STMT
  2236. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
  2237. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  2238. # DEBUG BEGIN_STMT
  2239. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
  2240. # DEBUG ulNewMaskValue => NULL
  2241. # DEBUG BEGIN_STMT
  2242. return xReturn_3;
  2243. }
  2244. xStreamBufferIsFull (struct StreamBufferDef_t * xStreamBuffer)
  2245. {
  2246. uint32_t ulNewBASEPRI;
  2247. size_t xBytesToStoreMessageLength;
  2248. BaseType_t xReturn;
  2249. unsigned char _1;
  2250. unsigned int _2;
  2251. unsigned char _6;
  2252. <bb 2> [local count: 357913]:
  2253. # DEBUG BEGIN_STMT
  2254. # DEBUG BEGIN_STMT
  2255. # DEBUG BEGIN_STMT
  2256. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  2257. # DEBUG BEGIN_STMT
  2258. if (xStreamBuffer_5(D) == 0B)
  2259. goto <bb 3>; [30.00%]
  2260. else
  2261. goto <bb 5>; [70.00%]
  2262. <bb 3> [local count: 107374]:
  2263. # DEBUG BEGIN_STMT
  2264. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2265. # DEBUG BEGIN_STMT
  2266. # DEBUG BEGIN_STMT
  2267. __asm__ __volatile__(" mov %0, %1
  2268. msr basepri, %0
  2269. isb
  2270. dsb
  2271. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  2272. # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
  2273. <bb 4> [local count: 1073741824]:
  2274. # DEBUG ulNewBASEPRI => NULL
  2275. # DEBUG BEGIN_STMT
  2276. # DEBUG BEGIN_STMT
  2277. # DEBUG BEGIN_STMT
  2278. <bb 10> [local count: 1073741824]:
  2279. goto <bb 4>; [100.00%]
  2280. <bb 5> [local count: 250539]:
  2281. # DEBUG BEGIN_STMT
  2282. # DEBUG BEGIN_STMT
  2283. _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
  2284. _6 = _1 & 1;
  2285. if (_6 != 0)
  2286. goto <bb 7>; [50.00%]
  2287. else
  2288. goto <bb 6>; [50.00%]
  2289. <bb 6> [local count: 125270]:
  2290. # DEBUG BEGIN_STMT
  2291. # DEBUG xBytesToStoreMessageLength => 0
  2292. <bb 7> [local count: 250539]:
  2293. # xBytesToStoreMessageLength_4 = PHI <4(5), 0(6)>
  2294. # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_4
  2295. # DEBUG BEGIN_STMT
  2296. _2 = xStreamBufferSpacesAvailable (xStreamBuffer_5(D));
  2297. if (_2 <= xBytesToStoreMessageLength_4)
  2298. goto <bb 9>; [50.00%]
  2299. else
  2300. goto <bb 8>; [50.00%]
  2301. <bb 8> [local count: 125270]:
  2302. # DEBUG BEGIN_STMT
  2303. # DEBUG xReturn => 0
  2304. <bb 9> [local count: 250539]:
  2305. # xReturn_3 = PHI <1(7), 0(8)>
  2306. # DEBUG xReturn => xReturn_3
  2307. # DEBUG BEGIN_STMT
  2308. return xReturn_3;
  2309. }
  2310. xStreamBufferIsEmpty (struct StreamBufferDef_t * xStreamBuffer)
  2311. {
  2312. uint32_t ulNewBASEPRI;
  2313. size_t xTail;
  2314. BaseType_t xReturn;
  2315. unsigned int _1;
  2316. <bb 2> [local count: 357913]:
  2317. # DEBUG BEGIN_STMT
  2318. # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
  2319. # DEBUG BEGIN_STMT
  2320. # DEBUG BEGIN_STMT
  2321. # DEBUG BEGIN_STMT
  2322. if (xStreamBuffer_3(D) == 0B)
  2323. goto <bb 3>; [30.00%]
  2324. else
  2325. goto <bb 5>; [70.00%]
  2326. <bb 3> [local count: 107374]:
  2327. # DEBUG BEGIN_STMT
  2328. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2329. # DEBUG BEGIN_STMT
  2330. # DEBUG BEGIN_STMT
  2331. __asm__ __volatile__(" mov %0, %1
  2332. msr basepri, %0
  2333. isb
  2334. dsb
  2335. " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
  2336. # DEBUG ulNewBASEPRI => ulNewBASEPRI_6
  2337. <bb 4> [local count: 1073741824]:
  2338. # DEBUG ulNewBASEPRI => NULL
  2339. # DEBUG BEGIN_STMT
  2340. # DEBUG BEGIN_STMT
  2341. # DEBUG BEGIN_STMT
  2342. <bb 8> [local count: 1073741824]:
  2343. goto <bb 4>; [100.00%]
  2344. <bb 5> [local count: 250539]:
  2345. # DEBUG BEGIN_STMT
  2346. # DEBUG BEGIN_STMT
  2347. xTail_5 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xTail;
  2348. # DEBUG xTail => xTail_5
  2349. # DEBUG BEGIN_STMT
  2350. _1 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xHead;
  2351. if (_1 == xTail_5)
  2352. goto <bb 7>; [34.00%]
  2353. else
  2354. goto <bb 6>; [66.00%]
  2355. <bb 6> [local count: 165356]:
  2356. # DEBUG BEGIN_STMT
  2357. # DEBUG xReturn => 0
  2358. <bb 7> [local count: 250539]:
  2359. # xReturn_2 = PHI <1(5), 0(6)>
  2360. # DEBUG xReturn => xReturn_2
  2361. # DEBUG BEGIN_STMT
  2362. return xReturn_2;
  2363. }
  2364. prvReadMessageFromBuffer (struct StreamBuffer_t * pxStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, size_t xBytesAvailable)
  2365. {
  2366. size_t xTail;
  2367. size_t xNextTail;
  2368. size_t xTempNextMessageLength;
  2369. size_t xNextMessageLength;
  2370. size_t xCount;
  2371. unsigned char _1;
  2372. unsigned int _2;
  2373. unsigned char _12;
  2374. <bb 2> [local count: 1073741824]:
  2375. # DEBUG BEGIN_STMT
  2376. # DEBUG BEGIN_STMT
  2377. # DEBUG BEGIN_STMT
  2378. xNextTail_10 ={v} pxStreamBuffer_9(D)->xTail;
  2379. # DEBUG xNextTail => xNextTail_10
  2380. # DEBUG BEGIN_STMT
  2381. _1 = pxStreamBuffer_9(D)->ucFlags;
  2382. _12 = _1 & 1;
  2383. if (_12 != 0)
  2384. goto <bb 3>; [33.00%]
  2385. else
  2386. goto <bb 5>; [67.00%]
  2387. <bb 3> [local count: 354334802]:
  2388. # DEBUG BEGIN_STMT
  2389. # DEBUG pxStreamBuffer => pxStreamBuffer_9(D)
  2390. # DEBUG pucData => &xTempNextMessageLength
  2391. # DEBUG xCount => 4
  2392. # DEBUG xTail => xNextTail_10
  2393. # DEBUG INLINE_ENTRY prvReadBytesFromBuffer
  2394. # DEBUG BEGIN_STMT
  2395. # DEBUG BEGIN_STMT
  2396. xTail_21 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_9(D), &xTempNextMessageLength, 4, xNextTail_10);
  2397. # DEBUG xTail => xTail_21
  2398. # DEBUG BEGIN_STMT
  2399. # DEBUG pxStreamBuffer => NULL
  2400. # DEBUG pucData => NULL
  2401. # DEBUG xCount => NULL
  2402. # DEBUG xTail => NULL
  2403. # DEBUG ulNewBASEPRI => NULL
  2404. # DEBUG xNextTail => xTail_21
  2405. # DEBUG BEGIN_STMT
  2406. xNextMessageLength_14 = xTempNextMessageLength;
  2407. # DEBUG xNextMessageLength => xNextMessageLength_14
  2408. # DEBUG BEGIN_STMT
  2409. xBytesAvailable_15 = xBytesAvailable_13(D) + 4294967292;
  2410. # DEBUG xBytesAvailable => xBytesAvailable_15
  2411. # DEBUG BEGIN_STMT
  2412. if (xBufferLengthBytes_11(D) < xNextMessageLength_14)
  2413. goto <bb 4>; [50.00%]
  2414. else
  2415. goto <bb 5>; [50.00%]
  2416. <bb 4> [local count: 177167401]:
  2417. # DEBUG BEGIN_STMT
  2418. # DEBUG xNextMessageLength => 0
  2419. <bb 5> [local count: 1073741824]:
  2420. # xBytesAvailable_3 = PHI <xBytesAvailable_15(4), xBytesAvailable_13(D)(2), xBytesAvailable_15(3)>
  2421. # xNextMessageLength_4 = PHI <0(4), xBufferLengthBytes_11(D)(2), xNextMessageLength_14(3)>
  2422. # xNextTail_5 = PHI <xTail_21(4), xNextTail_10(2), xTail_21(3)>
  2423. # DEBUG xNextTail => xNextTail_5
  2424. # DEBUG xNextMessageLength => xNextMessageLength_4
  2425. # DEBUG xBytesAvailable => xBytesAvailable_3
  2426. # DEBUG BEGIN_STMT
  2427. xCount_16 = MIN_EXPR <xBytesAvailable_3, xNextMessageLength_4>;
  2428. # DEBUG xCount => xCount_16
  2429. # DEBUG BEGIN_STMT
  2430. if (xCount_16 != 0)
  2431. goto <bb 6>; [33.00%]
  2432. else
  2433. goto <bb 7>; [67.00%]
  2434. <bb 6> [local count: 354334802]:
  2435. # DEBUG BEGIN_STMT
  2436. _2 = prvReadBytesFromBuffer (pxStreamBuffer_9(D), pvRxData_17(D), xCount_16, xNextTail_5);
  2437. pxStreamBuffer_9(D)->xTail ={v} _2;
  2438. <bb 7> [local count: 1073741824]:
  2439. # DEBUG BEGIN_STMT
  2440. xTempNextMessageLength ={v} {CLOBBER};
  2441. return xCount_16;
  2442. }
  2443. xStreamBufferReceiveFromISR (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
  2444. {
  2445. uint32_t ulOriginalBASEPRI;
  2446. uint32_t ulNewBASEPRI;
  2447. uint32_t ulNewBASEPRI;
  2448. uint32_t ulNewBASEPRI;
  2449. size_t xBytesToStoreMessageLength;
  2450. size_t xBytesAvailable;
  2451. size_t xReceivedLength;
  2452. unsigned char _1;
  2453. struct tskTaskControlBlock * _2;
  2454. struct tskTaskControlBlock * _3;
  2455. unsigned char _9;
  2456. <bb 2> [local count: 357913]:
  2457. # DEBUG BEGIN_STMT
  2458. # DEBUG pxStreamBuffer => xStreamBuffer_8(D)
  2459. # DEBUG BEGIN_STMT
  2460. # DEBUG xReceivedLength => 0
  2461. # DEBUG BEGIN_STMT
  2462. if (pvRxData_10(D) == 0B)
  2463. goto <bb 3>; [30.00%]
  2464. else
  2465. goto <bb 5>; [70.00%]
  2466. <bb 3> [local count: 107374]:
  2467. # DEBUG BEGIN_STMT
  2468. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2469. # DEBUG BEGIN_STMT
  2470. # DEBUG BEGIN_STMT
  2471. __asm__ __volatile__(" mov %0, %1
  2472. msr basepri, %0
  2473. isb
  2474. dsb
  2475. " : "=r" ulNewBASEPRI_20 : "i" 16 : "memory");
  2476. # DEBUG ulNewBASEPRI => ulNewBASEPRI_20
  2477. <bb 4> [local count: 1073741824]:
  2478. # DEBUG ulNewBASEPRI => NULL
  2479. # DEBUG BEGIN_STMT
  2480. # DEBUG BEGIN_STMT
  2481. # DEBUG BEGIN_STMT
  2482. <bb 16> [local count: 1073741824]:
  2483. goto <bb 4>; [100.00%]
  2484. <bb 5> [local count: 250539]:
  2485. # DEBUG BEGIN_STMT
  2486. # DEBUG BEGIN_STMT
  2487. if (xStreamBuffer_8(D) == 0B)
  2488. goto <bb 6>; [30.00%]
  2489. else
  2490. goto <bb 8>; [70.00%]
  2491. <bb 6> [local count: 75162]:
  2492. # DEBUG BEGIN_STMT
  2493. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2494. # DEBUG BEGIN_STMT
  2495. # DEBUG BEGIN_STMT
  2496. __asm__ __volatile__(" mov %0, %1
  2497. msr basepri, %0
  2498. isb
  2499. dsb
  2500. " : "=r" ulNewBASEPRI_21 : "i" 16 : "memory");
  2501. # DEBUG ulNewBASEPRI => ulNewBASEPRI_21
  2502. <bb 7> [local count: 751619279]:
  2503. # DEBUG ulNewBASEPRI => NULL
  2504. # DEBUG BEGIN_STMT
  2505. # DEBUG BEGIN_STMT
  2506. # DEBUG BEGIN_STMT
  2507. <bb 17> [local count: 751619279]:
  2508. goto <bb 7>; [100.00%]
  2509. <bb 8> [local count: 175378]:
  2510. # DEBUG BEGIN_STMT
  2511. # DEBUG BEGIN_STMT
  2512. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].ucFlags;
  2513. _9 = _1 & 1;
  2514. if (_9 != 0)
  2515. goto <bb 10>; [50.00%]
  2516. else
  2517. goto <bb 9>; [50.00%]
  2518. <bb 9> [local count: 87689]:
  2519. # DEBUG BEGIN_STMT
  2520. # DEBUG xBytesToStoreMessageLength => 0
  2521. <bb 10> [local count: 175378]:
  2522. # xBytesToStoreMessageLength_5 = PHI <4(8), 0(9)>
  2523. # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_5
  2524. # DEBUG BEGIN_STMT
  2525. xBytesAvailable_13 = prvBytesInBuffer (xStreamBuffer_8(D));
  2526. # DEBUG xBytesAvailable => xBytesAvailable_13
  2527. # DEBUG BEGIN_STMT
  2528. if (xBytesToStoreMessageLength_5 < xBytesAvailable_13)
  2529. goto <bb 11>; [33.00%]
  2530. else
  2531. goto <bb 15>; [67.00%]
  2532. <bb 11> [local count: 57875]:
  2533. # DEBUG BEGIN_STMT
  2534. xReceivedLength_16 = prvReadMessageFromBuffer (xStreamBuffer_8(D), pvRxData_10(D), xBufferLengthBytes_14(D), xBytesAvailable_13);
  2535. # DEBUG xReceivedLength => xReceivedLength_16
  2536. # DEBUG BEGIN_STMT
  2537. if (xReceivedLength_16 != 0)
  2538. goto <bb 12>; [50.00%]
  2539. else
  2540. goto <bb 15>; [50.00%]
  2541. <bb 12> [local count: 28937]:
  2542. # DEBUG BEGIN_STMT
  2543. # DEBUG BEGIN_STMT
  2544. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  2545. # DEBUG BEGIN_STMT
  2546. # DEBUG BEGIN_STMT
  2547. __asm__ __volatile__(" mrs %0, basepri
  2548. mov %1, %2
  2549. msr basepri, %1
  2550. isb
  2551. dsb
  2552. " : "=r" ulOriginalBASEPRI_22, "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
  2553. # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
  2554. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_22
  2555. # DEBUG BEGIN_STMT
  2556. # DEBUG ulNewBASEPRI => NULL
  2557. # DEBUG ulOriginalBASEPRI => NULL
  2558. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_22
  2559. # DEBUG BEGIN_STMT
  2560. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
  2561. if (_2 != 0B)
  2562. goto <bb 13>; [53.47%]
  2563. else
  2564. goto <bb 14>; [46.53%]
  2565. <bb 13> [local count: 15473]:
  2566. # DEBUG BEGIN_STMT
  2567. _3 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
  2568. xTaskGenericNotifyFromISR (_3, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_17(D));
  2569. # DEBUG BEGIN_STMT
  2570. MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend ={v} 0B;
  2571. <bb 14> [local count: 28937]:
  2572. # DEBUG BEGIN_STMT
  2573. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_22
  2574. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  2575. # DEBUG BEGIN_STMT
  2576. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_22 : "memory");
  2577. <bb 15> [local count: 175378]:
  2578. # xReceivedLength_4 = PHI <0(10), xReceivedLength_16(14), xReceivedLength_16(11)>
  2579. # DEBUG ulNewMaskValue => NULL
  2580. # DEBUG xReceivedLength => xReceivedLength_4
  2581. # DEBUG BEGIN_STMT
  2582. # DEBUG BEGIN_STMT
  2583. # DEBUG BEGIN_STMT
  2584. return xReceivedLength_4;
  2585. }
  2586. xStreamBufferNextMessageLengthBytes (struct StreamBufferDef_t * xStreamBuffer)
  2587. {
  2588. uint32_t ulNewBASEPRI;
  2589. uint32_t ulNewBASEPRI;
  2590. size_t xTempReturn;
  2591. size_t xBytesAvailable;
  2592. size_t xReturn;
  2593. unsigned char _1;
  2594. unsigned int _2;
  2595. unsigned char _6;
  2596. <bb 2> [local count: 357913]:
  2597. # DEBUG BEGIN_STMT
  2598. # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
  2599. # DEBUG BEGIN_STMT
  2600. # DEBUG BEGIN_STMT
  2601. # DEBUG BEGIN_STMT
  2602. if (xStreamBuffer_5(D) == 0B)
  2603. goto <bb 3>; [30.00%]
  2604. else
  2605. goto <bb 5>; [70.00%]
  2606. <bb 3> [local count: 107374]:
  2607. # DEBUG BEGIN_STMT
  2608. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2609. # DEBUG BEGIN_STMT
  2610. # DEBUG BEGIN_STMT
  2611. __asm__ __volatile__(" mov %0, %1
  2612. msr basepri, %0
  2613. isb
  2614. dsb
  2615. " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
  2616. # DEBUG ulNewBASEPRI => ulNewBASEPRI_13
  2617. <bb 4> [local count: 1073741824]:
  2618. # DEBUG ulNewBASEPRI => NULL
  2619. # DEBUG BEGIN_STMT
  2620. # DEBUG BEGIN_STMT
  2621. # DEBUG BEGIN_STMT
  2622. <bb 12> [local count: 1073741824]:
  2623. goto <bb 4>; [100.00%]
  2624. <bb 5> [local count: 250539]:
  2625. # DEBUG BEGIN_STMT
  2626. # DEBUG BEGIN_STMT
  2627. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
  2628. _6 = _1 & 1;
  2629. if (_6 != 0)
  2630. goto <bb 6>; [33.00%]
  2631. else
  2632. goto <bb 11>; [67.00%]
  2633. <bb 6> [local count: 82678]:
  2634. # DEBUG BEGIN_STMT
  2635. xBytesAvailable_9 = prvBytesInBuffer (xStreamBuffer_5(D));
  2636. # DEBUG xBytesAvailable => xBytesAvailable_9
  2637. # DEBUG BEGIN_STMT
  2638. if (xBytesAvailable_9 > 4)
  2639. goto <bb 7>; [33.00%]
  2640. else
  2641. goto <bb 8>; [67.00%]
  2642. <bb 7> [local count: 27284]:
  2643. # DEBUG BEGIN_STMT
  2644. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTail;
  2645. prvReadBytesFromBuffer (xStreamBuffer_5(D), &xTempReturn, 4, _2);
  2646. # DEBUG BEGIN_STMT
  2647. xReturn_11 = xTempReturn;
  2648. # DEBUG xReturn => xReturn_11
  2649. goto <bb 11>; [100.00%]
  2650. <bb 8> [local count: 55394]:
  2651. # DEBUG BEGIN_STMT
  2652. if (xBytesAvailable_9 != 0)
  2653. goto <bb 9>; [50.00%]
  2654. else
  2655. goto <bb 11>; [50.00%]
  2656. <bb 9> [local count: 27697]:
  2657. # DEBUG BEGIN_STMT
  2658. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2659. # DEBUG BEGIN_STMT
  2660. # DEBUG BEGIN_STMT
  2661. __asm__ __volatile__(" mov %0, %1
  2662. msr basepri, %0
  2663. isb
  2664. dsb
  2665. " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
  2666. # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
  2667. <bb 10> [local count: 276971704]:
  2668. # DEBUG ulNewBASEPRI => NULL
  2669. # DEBUG BEGIN_STMT
  2670. # DEBUG BEGIN_STMT
  2671. # DEBUG BEGIN_STMT
  2672. <bb 13> [local count: 276971704]:
  2673. goto <bb 10>; [100.00%]
  2674. <bb 11> [local count: 222842]:
  2675. # xReturn_3 = PHI <0(8), 0(5), xReturn_11(7)>
  2676. # DEBUG xReturn => xReturn_3
  2677. # DEBUG BEGIN_STMT
  2678. xTempReturn ={v} {CLOBBER};
  2679. return xReturn_3;
  2680. }
  2681. xStreamBufferReceive (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, TickType_t xTicksToWait)
  2682. {
  2683. uint32_t ulNewBASEPRI;
  2684. uint32_t ulNewBASEPRI;
  2685. uint32_t ulNewBASEPRI;
  2686. size_t xBytesToStoreMessageLength;
  2687. size_t xBytesAvailable;
  2688. size_t xReceivedLength;
  2689. unsigned char _1;
  2690. struct tskTaskControlBlock * _2;
  2691. struct tskTaskControlBlock * _3;
  2692. struct tskTaskControlBlock * _4;
  2693. struct tskTaskControlBlock * _5;
  2694. unsigned char _14;
  2695. <bb 2> [local count: 357913]:
  2696. # DEBUG BEGIN_STMT
  2697. # DEBUG pxStreamBuffer => xStreamBuffer_13(D)
  2698. # DEBUG BEGIN_STMT
  2699. # DEBUG xReceivedLength => 0
  2700. # DEBUG BEGIN_STMT
  2701. if (pvRxData_15(D) == 0B)
  2702. goto <bb 3>; [30.00%]
  2703. else
  2704. goto <bb 5>; [70.00%]
  2705. <bb 3> [local count: 107374]:
  2706. # DEBUG BEGIN_STMT
  2707. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2708. # DEBUG BEGIN_STMT
  2709. # DEBUG BEGIN_STMT
  2710. __asm__ __volatile__(" mov %0, %1
  2711. msr basepri, %0
  2712. isb
  2713. dsb
  2714. " : "=r" ulNewBASEPRI_38 : "i" 16 : "memory");
  2715. # DEBUG ulNewBASEPRI => ulNewBASEPRI_38
  2716. <bb 4> [local count: 1073741824]:
  2717. # DEBUG ulNewBASEPRI => NULL
  2718. # DEBUG BEGIN_STMT
  2719. # DEBUG BEGIN_STMT
  2720. # DEBUG BEGIN_STMT
  2721. <bb 25> [local count: 1073741824]:
  2722. goto <bb 4>; [100.00%]
  2723. <bb 5> [local count: 250539]:
  2724. # DEBUG BEGIN_STMT
  2725. # DEBUG BEGIN_STMT
  2726. if (xStreamBuffer_13(D) == 0B)
  2727. goto <bb 6>; [30.00%]
  2728. else
  2729. goto <bb 8>; [70.00%]
  2730. <bb 6> [local count: 75162]:
  2731. # DEBUG BEGIN_STMT
  2732. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2733. # DEBUG BEGIN_STMT
  2734. # DEBUG BEGIN_STMT
  2735. __asm__ __volatile__(" mov %0, %1
  2736. msr basepri, %0
  2737. isb
  2738. dsb
  2739. " : "=r" ulNewBASEPRI_39 : "i" 16 : "memory");
  2740. # DEBUG ulNewBASEPRI => ulNewBASEPRI_39
  2741. <bb 7> [local count: 751619279]:
  2742. # DEBUG ulNewBASEPRI => NULL
  2743. # DEBUG BEGIN_STMT
  2744. # DEBUG BEGIN_STMT
  2745. # DEBUG BEGIN_STMT
  2746. <bb 26> [local count: 751619279]:
  2747. goto <bb 7>; [100.00%]
  2748. <bb 8> [local count: 175378]:
  2749. # DEBUG BEGIN_STMT
  2750. # DEBUG BEGIN_STMT
  2751. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].ucFlags;
  2752. _14 = _1 & 1;
  2753. if (_14 != 0)
  2754. goto <bb 10>; [50.00%]
  2755. else
  2756. goto <bb 9>; [50.00%]
  2757. <bb 9> [local count: 87689]:
  2758. # DEBUG BEGIN_STMT
  2759. # DEBUG xBytesToStoreMessageLength => 0
  2760. <bb 10> [local count: 175378]:
  2761. # xBytesToStoreMessageLength_8 = PHI <4(8), 0(9)>
  2762. # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_8
  2763. # DEBUG BEGIN_STMT
  2764. if (xTicksToWait_17(D) != 0)
  2765. goto <bb 11>; [50.00%]
  2766. else
  2767. goto <bb 18>; [50.00%]
  2768. <bb 11> [local count: 87689]:
  2769. # DEBUG BEGIN_STMT
  2770. vPortEnterCritical ();
  2771. # DEBUG BEGIN_STMT
  2772. xBytesAvailable_22 = prvBytesInBuffer (xStreamBuffer_13(D));
  2773. # DEBUG xBytesAvailable => xBytesAvailable_22
  2774. # DEBUG BEGIN_STMT
  2775. if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
  2776. goto <bb 12>; [50.00%]
  2777. else
  2778. goto <bb 16>; [50.00%]
  2779. <bb 12> [local count: 43844]:
  2780. # DEBUG BEGIN_STMT
  2781. xTaskGenericNotifyStateClear (0B, 0);
  2782. # DEBUG BEGIN_STMT
  2783. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive;
  2784. if (_2 != 0B)
  2785. goto <bb 13>; [82.57%]
  2786. else
  2787. goto <bb 15>; [17.43%]
  2788. <bb 13> [local count: 36202]:
  2789. # DEBUG BEGIN_STMT
  2790. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2791. # DEBUG BEGIN_STMT
  2792. # DEBUG BEGIN_STMT
  2793. __asm__ __volatile__(" mov %0, %1
  2794. msr basepri, %0
  2795. isb
  2796. dsb
  2797. " : "=r" ulNewBASEPRI_40 : "i" 16 : "memory");
  2798. # DEBUG ulNewBASEPRI => ulNewBASEPRI_40
  2799. <bb 14> [local count: 362023689]:
  2800. # DEBUG ulNewBASEPRI => NULL
  2801. # DEBUG BEGIN_STMT
  2802. # DEBUG BEGIN_STMT
  2803. # DEBUG BEGIN_STMT
  2804. <bb 27> [local count: 362023689]:
  2805. goto <bb 14>; [100.00%]
  2806. <bb 15> [local count: 7642]:
  2807. # DEBUG BEGIN_STMT
  2808. # DEBUG BEGIN_STMT
  2809. _3 = xTaskGetCurrentTaskHandle ();
  2810. MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} _3;
  2811. <bb 16> [local count: 51486]:
  2812. # DEBUG BEGIN_STMT
  2813. # DEBUG BEGIN_STMT
  2814. vPortExitCritical ();
  2815. # DEBUG BEGIN_STMT
  2816. if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
  2817. goto <bb 17>; [33.00%]
  2818. else
  2819. goto <bb 19>; [67.00%]
  2820. <bb 17> [local count: 16991]:
  2821. # DEBUG BEGIN_STMT
  2822. # DEBUG BEGIN_STMT
  2823. xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait_17(D));
  2824. # DEBUG BEGIN_STMT
  2825. MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} 0B;
  2826. # DEBUG BEGIN_STMT
  2827. xBytesAvailable_30 = prvBytesInBuffer (xStreamBuffer_13(D));
  2828. # DEBUG xBytesAvailable => xBytesAvailable_30
  2829. goto <bb 19>; [100.00%]
  2830. <bb 18> [local count: 87689]:
  2831. # DEBUG BEGIN_STMT
  2832. xBytesAvailable_19 = prvBytesInBuffer (xStreamBuffer_13(D));
  2833. # DEBUG xBytesAvailable => xBytesAvailable_19
  2834. <bb 19> [local count: 139175]:
  2835. # xBytesAvailable_7 = PHI <xBytesAvailable_30(17), xBytesAvailable_19(18), xBytesAvailable_22(16)>
  2836. # DEBUG xBytesAvailable => xBytesAvailable_7
  2837. # DEBUG BEGIN_STMT
  2838. if (xBytesAvailable_7 > xBytesToStoreMessageLength_8)
  2839. goto <bb 20>; [33.00%]
  2840. else
  2841. goto <bb 24>; [67.00%]
  2842. <bb 20> [local count: 45928]:
  2843. # DEBUG BEGIN_STMT
  2844. xReceivedLength_33 = prvReadMessageFromBuffer (xStreamBuffer_13(D), pvRxData_15(D), xBufferLengthBytes_31(D), xBytesAvailable_7);
  2845. # DEBUG xReceivedLength => xReceivedLength_33
  2846. # DEBUG BEGIN_STMT
  2847. if (xReceivedLength_33 != 0)
  2848. goto <bb 21>; [33.00%]
  2849. else
  2850. goto <bb 24>; [67.00%]
  2851. <bb 21> [local count: 15156]:
  2852. # DEBUG BEGIN_STMT
  2853. # DEBUG BEGIN_STMT
  2854. vTaskSuspendAll ();
  2855. # DEBUG BEGIN_STMT
  2856. _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
  2857. if (_4 != 0B)
  2858. goto <bb 22>; [53.47%]
  2859. else
  2860. goto <bb 23>; [46.53%]
  2861. <bb 22> [local count: 8104]:
  2862. # DEBUG BEGIN_STMT
  2863. _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
  2864. xTaskGenericNotify (_5, 0, 0, 0, 0B);
  2865. # DEBUG BEGIN_STMT
  2866. MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend ={v} 0B;
  2867. <bb 23> [local count: 15156]:
  2868. # DEBUG BEGIN_STMT
  2869. xTaskResumeAll ();
  2870. # DEBUG BEGIN_STMT
  2871. <bb 24> [local count: 139175]:
  2872. # xReceivedLength_6 = PHI <0(19), xReceivedLength_33(23), xReceivedLength_33(20)>
  2873. # DEBUG xReceivedLength => xReceivedLength_6
  2874. # DEBUG BEGIN_STMT
  2875. # DEBUG BEGIN_STMT
  2876. # DEBUG BEGIN_STMT
  2877. return xReceivedLength_6;
  2878. }
  2879. prvWriteMessageToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, size_t xSpace, size_t xRequiredSpace)
  2880. {
  2881. size_t xHead;
  2882. size_t xNextHead;
  2883. unsigned char _1;
  2884. unsigned int xDataLengthBytes.2_2;
  2885. unsigned int _3;
  2886. unsigned int xDataLengthBytes.3_4;
  2887. unsigned int _5;
  2888. size_t _19;
  2889. unsigned char _22;
  2890. <bb 2> [local count: 1073741824]:
  2891. # DEBUG BEGIN_STMT
  2892. xNextHead_11 ={v} pxStreamBuffer_10(D)->xHead;
  2893. # DEBUG xNextHead => xNextHead_11
  2894. # DEBUG BEGIN_STMT
  2895. _1 = pxStreamBuffer_10(D)->ucFlags;
  2896. _22 = _1 & 1;
  2897. if (_22 != 0)
  2898. goto <bb 3>; [50.00%]
  2899. else
  2900. goto <bb 6>; [50.00%]
  2901. <bb 3> [local count: 536870913]:
  2902. # DEBUG BEGIN_STMT
  2903. if (xSpace_12(D) >= xRequiredSpace_14(D))
  2904. goto <bb 4>; [33.00%]
  2905. else
  2906. goto <bb 5>; [67.00%]
  2907. <bb 4> [local count: 177167401]:
  2908. # DEBUG BEGIN_STMT
  2909. # DEBUG pxStreamBuffer => pxStreamBuffer_10(D)
  2910. # DEBUG pucData => &xDataLengthBytes
  2911. # DEBUG xCount => 4
  2912. # DEBUG xHead => xNextHead_11
  2913. # DEBUG INLINE_ENTRY prvWriteBytesToBuffer
  2914. # DEBUG BEGIN_STMT
  2915. # DEBUG BEGIN_STMT
  2916. xHead_20 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_10(D), &xDataLengthBytes, 4, xNextHead_11);
  2917. # DEBUG xHead => xHead_20
  2918. # DEBUG BEGIN_STMT
  2919. # DEBUG BEGIN_STMT
  2920. # DEBUG pxStreamBuffer => NULL
  2921. # DEBUG pucData => NULL
  2922. # DEBUG xCount => NULL
  2923. # DEBUG xHead => NULL
  2924. # DEBUG ulNewBASEPRI => NULL
  2925. # DEBUG xNextHead => xHead_20
  2926. goto <bb 7>; [100.00%]
  2927. <bb 5> [local count: 359703511]:
  2928. # DEBUG BEGIN_STMT
  2929. xDataLengthBytes = 0;
  2930. goto <bb 7>; [100.00%]
  2931. <bb 6> [local count: 536870913]:
  2932. # DEBUG BEGIN_STMT
  2933. xDataLengthBytes.2_2 = xDataLengthBytes;
  2934. _3 = MIN_EXPR <xDataLengthBytes.2_2, xSpace_12(D)>;
  2935. xDataLengthBytes = _3;
  2936. <bb 7> [local count: 1073741824]:
  2937. # xNextHead_6 = PHI <xNextHead_11(5), xNextHead_11(6), xHead_20(4)>
  2938. # DEBUG xNextHead => xNextHead_6
  2939. # DEBUG BEGIN_STMT
  2940. xDataLengthBytes.3_4 = xDataLengthBytes;
  2941. if (xDataLengthBytes.3_4 != 0)
  2942. goto <bb 8>; [33.00%]
  2943. else
  2944. goto <bb 9>; [67.00%]
  2945. <bb 8> [local count: 354334802]:
  2946. # DEBUG BEGIN_STMT
  2947. _5 = prvWriteBytesToBuffer (pxStreamBuffer_10(D), pvTxData_16(D), xDataLengthBytes.3_4, xNextHead_6);
  2948. pxStreamBuffer_10(D)->xHead ={v} _5;
  2949. <bb 9> [local count: 1073741824]:
  2950. # DEBUG BEGIN_STMT
  2951. _19 = xDataLengthBytes;
  2952. return _19;
  2953. }
  2954. xStreamBufferSendFromISR (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
  2955. {
  2956. uint32_t ulOriginalBASEPRI;
  2957. uint32_t ulNewBASEPRI;
  2958. uint32_t ulNewBASEPRI;
  2959. uint32_t ulNewBASEPRI;
  2960. size_t xRequiredSpace;
  2961. size_t xSpace;
  2962. size_t xReturn;
  2963. unsigned char _1;
  2964. unsigned int _2;
  2965. unsigned int _3;
  2966. struct tskTaskControlBlock * _4;
  2967. struct tskTaskControlBlock * _5;
  2968. unsigned char _10;
  2969. <bb 2> [local count: 357913]:
  2970. # DEBUG BEGIN_STMT
  2971. # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
  2972. # DEBUG BEGIN_STMT
  2973. # DEBUG BEGIN_STMT
  2974. # DEBUG xRequiredSpace => xDataLengthBytes_11(D)
  2975. # DEBUG BEGIN_STMT
  2976. if (pvTxData_12(D) == 0B)
  2977. goto <bb 3>; [30.00%]
  2978. else
  2979. goto <bb 5>; [70.00%]
  2980. <bb 3> [local count: 107374]:
  2981. # DEBUG BEGIN_STMT
  2982. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  2983. # DEBUG BEGIN_STMT
  2984. # DEBUG BEGIN_STMT
  2985. __asm__ __volatile__(" mov %0, %1
  2986. msr basepri, %0
  2987. isb
  2988. dsb
  2989. " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
  2990. # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
  2991. <bb 4> [local count: 1073741824]:
  2992. # DEBUG ulNewBASEPRI => NULL
  2993. # DEBUG BEGIN_STMT
  2994. # DEBUG BEGIN_STMT
  2995. # DEBUG BEGIN_STMT
  2996. <bb 16> [local count: 1073741824]:
  2997. goto <bb 4>; [100.00%]
  2998. <bb 5> [local count: 250539]:
  2999. # DEBUG BEGIN_STMT
  3000. # DEBUG BEGIN_STMT
  3001. if (xStreamBuffer_9(D) == 0B)
  3002. goto <bb 6>; [30.00%]
  3003. else
  3004. goto <bb 8>; [70.00%]
  3005. <bb 6> [local count: 75162]:
  3006. # DEBUG BEGIN_STMT
  3007. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3008. # DEBUG BEGIN_STMT
  3009. # DEBUG BEGIN_STMT
  3010. __asm__ __volatile__(" mov %0, %1
  3011. msr basepri, %0
  3012. isb
  3013. dsb
  3014. " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
  3015. # DEBUG ulNewBASEPRI => ulNewBASEPRI_24
  3016. <bb 7> [local count: 751619279]:
  3017. # DEBUG ulNewBASEPRI => NULL
  3018. # DEBUG BEGIN_STMT
  3019. # DEBUG BEGIN_STMT
  3020. # DEBUG BEGIN_STMT
  3021. <bb 17> [local count: 751619279]:
  3022. goto <bb 7>; [100.00%]
  3023. <bb 8> [local count: 175378]:
  3024. # DEBUG BEGIN_STMT
  3025. # DEBUG BEGIN_STMT
  3026. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
  3027. _10 = _1 & 1;
  3028. if (_10 != 0)
  3029. goto <bb 9>; [50.00%]
  3030. else
  3031. goto <bb 10>; [50.00%]
  3032. <bb 9> [local count: 87689]:
  3033. # DEBUG BEGIN_STMT
  3034. xRequiredSpace_14 = xDataLengthBytes_11(D) + 4;
  3035. # DEBUG xRequiredSpace => xRequiredSpace_14
  3036. <bb 10> [local count: 175378]:
  3037. # xRequiredSpace_6 = PHI <xDataLengthBytes_11(D)(8), xRequiredSpace_14(9)>
  3038. # DEBUG xRequiredSpace => xRequiredSpace_6
  3039. # DEBUG BEGIN_STMT
  3040. # DEBUG BEGIN_STMT
  3041. xSpace_16 = xStreamBufferSpacesAvailable (xStreamBuffer_9(D));
  3042. # DEBUG xSpace => xSpace_16
  3043. # DEBUG BEGIN_STMT
  3044. xReturn_18 = prvWriteMessageToBuffer (xStreamBuffer_9(D), pvTxData_12(D), xDataLengthBytes_11(D), xSpace_16, xRequiredSpace_6);
  3045. # DEBUG xReturn => xReturn_18
  3046. # DEBUG BEGIN_STMT
  3047. if (xReturn_18 != 0)
  3048. goto <bb 11>; [33.00%]
  3049. else
  3050. goto <bb 15>; [67.00%]
  3051. <bb 11> [local count: 57875]:
  3052. # DEBUG BEGIN_STMT
  3053. _2 = prvBytesInBuffer (xStreamBuffer_9(D));
  3054. _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
  3055. if (_2 >= _3)
  3056. goto <bb 12>; [50.00%]
  3057. else
  3058. goto <bb 15>; [50.00%]
  3059. <bb 12> [local count: 28937]:
  3060. # DEBUG BEGIN_STMT
  3061. # DEBUG BEGIN_STMT
  3062. # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
  3063. # DEBUG BEGIN_STMT
  3064. # DEBUG BEGIN_STMT
  3065. __asm__ __volatile__(" mrs %0, basepri
  3066. mov %1, %2
  3067. msr basepri, %1
  3068. isb
  3069. dsb
  3070. " : "=r" ulOriginalBASEPRI_25, "=r" ulNewBASEPRI_26 : "i" 16 : "memory");
  3071. # DEBUG ulNewBASEPRI => ulNewBASEPRI_26
  3072. # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_25
  3073. # DEBUG BEGIN_STMT
  3074. # DEBUG ulNewBASEPRI => NULL
  3075. # DEBUG ulOriginalBASEPRI => NULL
  3076. # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_25
  3077. # DEBUG BEGIN_STMT
  3078. _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  3079. if (_4 != 0B)
  3080. goto <bb 13>; [53.47%]
  3081. else
  3082. goto <bb 14>; [46.53%]
  3083. <bb 13> [local count: 15473]:
  3084. # DEBUG BEGIN_STMT
  3085. _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  3086. xTaskGenericNotifyFromISR (_5, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_20(D));
  3087. # DEBUG BEGIN_STMT
  3088. MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive ={v} 0B;
  3089. <bb 14> [local count: 28937]:
  3090. # DEBUG BEGIN_STMT
  3091. # DEBUG ulNewMaskValue => ulOriginalBASEPRI_25
  3092. # DEBUG INLINE_ENTRY vPortSetBASEPRI
  3093. # DEBUG BEGIN_STMT
  3094. __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_25 : "memory");
  3095. <bb 15> [local count: 175378]:
  3096. # DEBUG ulNewMaskValue => NULL
  3097. # DEBUG BEGIN_STMT
  3098. # DEBUG BEGIN_STMT
  3099. # DEBUG BEGIN_STMT
  3100. return xReturn_18;
  3101. }
  3102. xStreamBufferSend (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, TickType_t xTicksToWait)
  3103. {
  3104. uint32_t ulNewBASEPRI;
  3105. uint32_t ulNewBASEPRI;
  3106. uint32_t ulNewBASEPRI;
  3107. uint32_t ulNewBASEPRI;
  3108. size_t xMaxReportedSpace;
  3109. struct TimeOut_t xTimeOut;
  3110. size_t xRequiredSpace;
  3111. size_t xSpace;
  3112. size_t xReturn;
  3113. unsigned int _1;
  3114. unsigned char _2;
  3115. unsigned int _3;
  3116. long unsigned int xTicksToWait.0_4;
  3117. struct tskTaskControlBlock * _5;
  3118. struct tskTaskControlBlock * _6;
  3119. long unsigned int xTicksToWait.1_7;
  3120. long int _8;
  3121. unsigned int _9;
  3122. unsigned int _10;
  3123. struct tskTaskControlBlock * _11;
  3124. struct tskTaskControlBlock * _12;
  3125. unsigned char _23;
  3126. <bb 2> [local count: 357913]:
  3127. # DEBUG BEGIN_STMT
  3128. # DEBUG pxStreamBuffer => xStreamBuffer_22(D)
  3129. # DEBUG BEGIN_STMT
  3130. # DEBUG xSpace => 0
  3131. # DEBUG BEGIN_STMT
  3132. # DEBUG xRequiredSpace => xDataLengthBytes_25(D)
  3133. # DEBUG BEGIN_STMT
  3134. # DEBUG BEGIN_STMT
  3135. # DEBUG xMaxReportedSpace => 0
  3136. # DEBUG BEGIN_STMT
  3137. if (pvTxData_27(D) == 0B)
  3138. goto <bb 3>; [30.00%]
  3139. else
  3140. goto <bb 5>; [70.00%]
  3141. <bb 3> [local count: 107374]:
  3142. # DEBUG BEGIN_STMT
  3143. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3144. # DEBUG BEGIN_STMT
  3145. # DEBUG BEGIN_STMT
  3146. __asm__ __volatile__(" mov %0, %1
  3147. msr basepri, %0
  3148. isb
  3149. dsb
  3150. " : "=r" ulNewBASEPRI_54 : "i" 16 : "memory");
  3151. # DEBUG ulNewBASEPRI => ulNewBASEPRI_54
  3152. <bb 4> [local count: 1073741824]:
  3153. # DEBUG ulNewBASEPRI => NULL
  3154. # DEBUG BEGIN_STMT
  3155. # DEBUG BEGIN_STMT
  3156. # DEBUG BEGIN_STMT
  3157. <bb 31> [local count: 1073741824]:
  3158. goto <bb 4>; [100.00%]
  3159. <bb 5> [local count: 250539]:
  3160. # DEBUG BEGIN_STMT
  3161. # DEBUG BEGIN_STMT
  3162. if (xStreamBuffer_22(D) == 0B)
  3163. goto <bb 6>; [30.00%]
  3164. else
  3165. goto <bb 8>; [70.00%]
  3166. <bb 6> [local count: 75162]:
  3167. # DEBUG BEGIN_STMT
  3168. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3169. # DEBUG BEGIN_STMT
  3170. # DEBUG BEGIN_STMT
  3171. __asm__ __volatile__(" mov %0, %1
  3172. msr basepri, %0
  3173. isb
  3174. dsb
  3175. " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
  3176. # DEBUG ulNewBASEPRI => ulNewBASEPRI_55
  3177. <bb 7> [local count: 751619279]:
  3178. # DEBUG ulNewBASEPRI => NULL
  3179. # DEBUG BEGIN_STMT
  3180. # DEBUG BEGIN_STMT
  3181. # DEBUG BEGIN_STMT
  3182. <bb 32> [local count: 751619279]:
  3183. goto <bb 7>; [100.00%]
  3184. <bb 8> [local count: 175378]:
  3185. # DEBUG BEGIN_STMT
  3186. # DEBUG BEGIN_STMT
  3187. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xLength;
  3188. xMaxReportedSpace_29 = _1 + 4294967295;
  3189. # DEBUG xMaxReportedSpace => xMaxReportedSpace_29
  3190. # DEBUG BEGIN_STMT
  3191. _2 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].ucFlags;
  3192. _23 = _2 & 1;
  3193. if (_23 != 0)
  3194. goto <bb 9>; [50.00%]
  3195. else
  3196. goto <bb 14>; [50.00%]
  3197. <bb 9> [local count: 87689]:
  3198. # DEBUG BEGIN_STMT
  3199. xRequiredSpace_30 = xDataLengthBytes_25(D) + 4;
  3200. # DEBUG xRequiredSpace => xRequiredSpace_30
  3201. # DEBUG BEGIN_STMT
  3202. if (xDataLengthBytes_25(D) >= xRequiredSpace_30)
  3203. goto <bb 10>; [50.00%]
  3204. else
  3205. goto <bb 12>; [50.00%]
  3206. <bb 10> [local count: 43844]:
  3207. # DEBUG BEGIN_STMT
  3208. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3209. # DEBUG BEGIN_STMT
  3210. # DEBUG BEGIN_STMT
  3211. __asm__ __volatile__(" mov %0, %1
  3212. msr basepri, %0
  3213. isb
  3214. dsb
  3215. " : "=r" ulNewBASEPRI_56 : "i" 16 : "memory");
  3216. # DEBUG ulNewBASEPRI => ulNewBASEPRI_56
  3217. <bb 11> [local count: 438444579]:
  3218. # DEBUG ulNewBASEPRI => NULL
  3219. # DEBUG BEGIN_STMT
  3220. # DEBUG BEGIN_STMT
  3221. # DEBUG BEGIN_STMT
  3222. <bb 33> [local count: 438444579]:
  3223. goto <bb 11>; [100.00%]
  3224. <bb 12> [local count: 43844]:
  3225. # DEBUG BEGIN_STMT
  3226. # DEBUG BEGIN_STMT
  3227. if (xMaxReportedSpace_29 < xRequiredSpace_30)
  3228. goto <bb 13>; [50.00%]
  3229. else
  3230. goto <bb 15>; [50.00%]
  3231. <bb 13> [local count: 21922]:
  3232. # DEBUG BEGIN_STMT
  3233. xTicksToWait = 0;
  3234. goto <bb 15>; [100.00%]
  3235. <bb 14> [local count: 87689]:
  3236. # DEBUG BEGIN_STMT
  3237. _3 = MIN_EXPR <xMaxReportedSpace_29, xDataLengthBytes_25(D)>;
  3238. <bb 15> [local count: 131533]:
  3239. # xRequiredSpace_15 = PHI <xRequiredSpace_30(13), _3(14), xRequiredSpace_30(12)>
  3240. # DEBUG xRequiredSpace => xRequiredSpace_15
  3241. # DEBUG BEGIN_STMT
  3242. # DEBUG BEGIN_STMT
  3243. xTicksToWait.0_4 = xTicksToWait;
  3244. if (xTicksToWait.0_4 != 0)
  3245. goto <bb 16>; [50.00%]
  3246. else
  3247. goto <bb 24>; [50.00%]
  3248. <bb 16> [local count: 65767]:
  3249. # DEBUG BEGIN_STMT
  3250. vTaskSetTimeOutState (&xTimeOut);
  3251. <bb 17> [local count: 621434]:
  3252. # DEBUG BEGIN_STMT
  3253. # DEBUG BEGIN_STMT
  3254. vPortEnterCritical ();
  3255. # DEBUG BEGIN_STMT
  3256. xSpace_35 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
  3257. # DEBUG xSpace => xSpace_35
  3258. # DEBUG BEGIN_STMT
  3259. if (xRequiredSpace_15 > xSpace_35)
  3260. goto <bb 18>; [96.34%]
  3261. else
  3262. goto <bb 22>; [3.66%]
  3263. <bb 18> [local count: 598690]:
  3264. # DEBUG BEGIN_STMT
  3265. xTaskGenericNotifyStateClear (0B, 0);
  3266. # DEBUG BEGIN_STMT
  3267. _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend;
  3268. if (_5 != 0B)
  3269. goto <bb 19>; [3.66%]
  3270. else
  3271. goto <bb 21>; [96.34%]
  3272. <bb 19> [local count: 21912]:
  3273. # DEBUG BEGIN_STMT
  3274. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3275. # DEBUG BEGIN_STMT
  3276. # DEBUG BEGIN_STMT
  3277. __asm__ __volatile__(" mov %0, %1
  3278. msr basepri, %0
  3279. isb
  3280. dsb
  3281. " : "=r" ulNewBASEPRI_57 : "i" 16 : "memory");
  3282. # DEBUG ulNewBASEPRI => ulNewBASEPRI_57
  3283. <bb 20> [local count: 219120732]:
  3284. # DEBUG ulNewBASEPRI => NULL
  3285. # DEBUG BEGIN_STMT
  3286. # DEBUG BEGIN_STMT
  3287. # DEBUG BEGIN_STMT
  3288. <bb 34> [local count: 219120732]:
  3289. goto <bb 20>; [100.00%]
  3290. <bb 21> [local count: 576777]:
  3291. # DEBUG BEGIN_STMT
  3292. # DEBUG BEGIN_STMT
  3293. _6 = xTaskGetCurrentTaskHandle ();
  3294. MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} _6;
  3295. # DEBUG BEGIN_STMT
  3296. vPortExitCritical ();
  3297. # DEBUG BEGIN_STMT
  3298. # DEBUG BEGIN_STMT
  3299. xTicksToWait.1_7 = xTicksToWait;
  3300. xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait.1_7);
  3301. # DEBUG BEGIN_STMT
  3302. MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} 0B;
  3303. # DEBUG BEGIN_STMT
  3304. _8 = xTaskCheckForTimeOut (&xTimeOut, &xTicksToWait);
  3305. if (_8 == 0)
  3306. goto <bb 35>; [96.34%]
  3307. else
  3308. goto <bb 23>; [3.66%]
  3309. <bb 35> [local count: 555667]:
  3310. goto <bb 17>; [100.00%]
  3311. <bb 22> [local count: 22744]:
  3312. # xSpace_24 = PHI <xSpace_35(17)>
  3313. # DEBUG BEGIN_STMT
  3314. vPortExitCritical ();
  3315. # DEBUG BEGIN_STMT
  3316. <bb 23> [local count: 43855]:
  3317. # xSpace_13 = PHI <xSpace_24(22), xSpace_35(21)>
  3318. # DEBUG xSpace => xSpace_13
  3319. # DEBUG BEGIN_STMT
  3320. # DEBUG BEGIN_STMT
  3321. if (xSpace_13 == 0)
  3322. goto <bb 24>; [50.00%]
  3323. else
  3324. goto <bb 25>; [50.00%]
  3325. <bb 24> [local count: 87694]:
  3326. # DEBUG xSpace => NULL
  3327. # DEBUG BEGIN_STMT
  3328. xSpace_45 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
  3329. # DEBUG xSpace => xSpace_45
  3330. <bb 25> [local count: 109621]:
  3331. # xSpace_14 = PHI <xSpace_13(23), xSpace_45(24)>
  3332. # DEBUG xSpace => xSpace_14
  3333. # DEBUG BEGIN_STMT
  3334. # DEBUG BEGIN_STMT
  3335. xReturn_47 = prvWriteMessageToBuffer (xStreamBuffer_22(D), pvTxData_27(D), xDataLengthBytes_25(D), xSpace_14, xRequiredSpace_15);
  3336. # DEBUG xReturn => xReturn_47
  3337. # DEBUG BEGIN_STMT
  3338. if (xReturn_47 != 0)
  3339. goto <bb 26>; [33.00%]
  3340. else
  3341. goto <bb 30>; [67.00%]
  3342. <bb 26> [local count: 36175]:
  3343. # DEBUG BEGIN_STMT
  3344. # DEBUG BEGIN_STMT
  3345. _9 = prvBytesInBuffer (xStreamBuffer_22(D));
  3346. _10 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTriggerLevelBytes;
  3347. if (_9 >= _10)
  3348. goto <bb 27>; [33.00%]
  3349. else
  3350. goto <bb 30>; [67.00%]
  3351. <bb 27> [local count: 11938]:
  3352. # DEBUG BEGIN_STMT
  3353. vTaskSuspendAll ();
  3354. # DEBUG BEGIN_STMT
  3355. _11 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
  3356. if (_11 != 0B)
  3357. goto <bb 28>; [53.47%]
  3358. else
  3359. goto <bb 29>; [46.53%]
  3360. <bb 28> [local count: 6383]:
  3361. # DEBUG BEGIN_STMT
  3362. _12 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
  3363. xTaskGenericNotify (_12, 0, 0, 0, 0B);
  3364. # DEBUG BEGIN_STMT
  3365. MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive ={v} 0B;
  3366. <bb 29> [local count: 11938]:
  3367. # DEBUG BEGIN_STMT
  3368. xTaskResumeAll ();
  3369. # DEBUG BEGIN_STMT
  3370. <bb 30> [local count: 109621]:
  3371. # DEBUG BEGIN_STMT
  3372. # DEBUG BEGIN_STMT
  3373. # DEBUG BEGIN_STMT
  3374. xTimeOut ={v} {CLOBBER};
  3375. return xReturn_47;
  3376. }
  3377. xStreamBufferBytesAvailable (struct StreamBufferDef_t * xStreamBuffer)
  3378. {
  3379. uint32_t ulNewBASEPRI;
  3380. size_t xReturn;
  3381. <bb 2> [local count: 230763]:
  3382. # DEBUG BEGIN_STMT
  3383. # DEBUG pxStreamBuffer => xStreamBuffer_1(D)
  3384. # DEBUG BEGIN_STMT
  3385. # DEBUG BEGIN_STMT
  3386. if (xStreamBuffer_1(D) == 0B)
  3387. goto <bb 3>; [46.53%]
  3388. else
  3389. goto <bb 5>; [53.47%]
  3390. <bb 3> [local count: 107374]:
  3391. # DEBUG BEGIN_STMT
  3392. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3393. # DEBUG BEGIN_STMT
  3394. # DEBUG BEGIN_STMT
  3395. __asm__ __volatile__(" mov %0, %1
  3396. msr basepri, %0
  3397. isb
  3398. dsb
  3399. " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
  3400. # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
  3401. <bb 4> [local count: 1073741824]:
  3402. # DEBUG ulNewBASEPRI => NULL
  3403. # DEBUG BEGIN_STMT
  3404. # DEBUG BEGIN_STMT
  3405. # DEBUG BEGIN_STMT
  3406. <bb 6> [local count: 1073741824]:
  3407. goto <bb 4>; [100.00%]
  3408. <bb 5> [local count: 123389]:
  3409. # DEBUG BEGIN_STMT
  3410. # DEBUG BEGIN_STMT
  3411. xReturn_4 = prvBytesInBuffer (xStreamBuffer_1(D));
  3412. # DEBUG xReturn => xReturn_4
  3413. # DEBUG BEGIN_STMT
  3414. return xReturn_4;
  3415. }
  3416. xStreamBufferSpacesAvailable (struct StreamBufferDef_t * xStreamBuffer)
  3417. {
  3418. size_t xOriginalTail;
  3419. size_t xSpace;
  3420. unsigned int _1;
  3421. unsigned int _2;
  3422. unsigned int _3;
  3423. unsigned int _4;
  3424. unsigned int _12;
  3425. <bb 2> [local count: 357913]:
  3426. # DEBUG BEGIN_STMT
  3427. # DEBUG pxStreamBuffer => xStreamBuffer_7(D)
  3428. # DEBUG BEGIN_STMT
  3429. # DEBUG BEGIN_STMT
  3430. # DEBUG BEGIN_STMT
  3431. if (xStreamBuffer_7(D) == 0B)
  3432. goto <bb 3>; [30.00%]
  3433. else
  3434. goto <bb 8>; [70.00%]
  3435. <bb 3> [local count: 107374]:
  3436. # DEBUG D#1 => xStreamBuffer_7(D)
  3437. xStreamBufferSpacesAvailable.part.0 ();
  3438. <bb 8> [local count: 250539]:
  3439. <bb 4> [local count: 2277630]:
  3440. # DEBUG BEGIN_STMT
  3441. # DEBUG BEGIN_STMT
  3442. # DEBUG BEGIN_STMT
  3443. xOriginalTail_10 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  3444. # DEBUG xOriginalTail => xOriginalTail_10
  3445. # DEBUG BEGIN_STMT
  3446. _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xLength;
  3447. _2 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  3448. xSpace_11 = _1 + _2;
  3449. # DEBUG xSpace => xSpace_11
  3450. # DEBUG BEGIN_STMT
  3451. _12 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xHead;
  3452. xSpace_13 = xSpace_11 - _12;
  3453. # DEBUG xSpace => xSpace_13
  3454. # DEBUG BEGIN_STMT
  3455. _3 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
  3456. if (_3 != xOriginalTail_10)
  3457. goto <bb 9>; [89.00%]
  3458. else
  3459. goto <bb 5>; [11.00%]
  3460. <bb 9> [local count: 2027091]:
  3461. goto <bb 4>; [100.00%]
  3462. <bb 5> [local count: 250539]:
  3463. # _4 = PHI <_1(4)>
  3464. # xSpace_5 = PHI <xSpace_13(4)>
  3465. # DEBUG BEGIN_STMT
  3466. xSpace_14 = xSpace_5 + 4294967295;
  3467. # DEBUG xSpace => xSpace_14
  3468. # DEBUG BEGIN_STMT
  3469. if (_4 <= xSpace_14)
  3470. goto <bb 6>; [50.00%]
  3471. else
  3472. goto <bb 7>; [50.00%]
  3473. <bb 6> [local count: 125270]:
  3474. # DEBUG BEGIN_STMT
  3475. xSpace_15 = xSpace_14 - _4;
  3476. # DEBUG xSpace => xSpace_15
  3477. <bb 7> [local count: 250539]:
  3478. # xSpace_6 = PHI <xSpace_14(5), xSpace_15(6)>
  3479. # DEBUG xSpace => xSpace_6
  3480. # DEBUG BEGIN_STMT
  3481. # DEBUG BEGIN_STMT
  3482. return xSpace_6;
  3483. }
  3484. xStreamBufferSetTriggerLevel (struct StreamBufferDef_t * xStreamBuffer, size_t xTriggerLevel)
  3485. {
  3486. uint32_t ulNewBASEPRI;
  3487. BaseType_t xReturn;
  3488. unsigned int _1;
  3489. <bb 2> [local count: 357913]:
  3490. # DEBUG BEGIN_STMT
  3491. # DEBUG pxStreamBuffer => xStreamBuffer_4(D)
  3492. # DEBUG BEGIN_STMT
  3493. # DEBUG BEGIN_STMT
  3494. if (xStreamBuffer_4(D) == 0B)
  3495. goto <bb 3>; [30.00%]
  3496. else
  3497. goto <bb 5>; [70.00%]
  3498. <bb 3> [local count: 107374]:
  3499. # DEBUG BEGIN_STMT
  3500. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3501. # DEBUG BEGIN_STMT
  3502. # DEBUG BEGIN_STMT
  3503. __asm__ __volatile__(" mov %0, %1
  3504. msr basepri, %0
  3505. isb
  3506. dsb
  3507. " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
  3508. # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
  3509. <bb 4> [local count: 1073741824]:
  3510. # DEBUG ulNewBASEPRI => NULL
  3511. # DEBUG BEGIN_STMT
  3512. # DEBUG BEGIN_STMT
  3513. # DEBUG BEGIN_STMT
  3514. <bb 8> [local count: 1073741824]:
  3515. goto <bb 4>; [100.00%]
  3516. <bb 5> [local count: 250539]:
  3517. # DEBUG BEGIN_STMT
  3518. # DEBUG BEGIN_STMT
  3519. xTriggerLevel_8 = MAX_EXPR <1, xTriggerLevel_5(D)>;
  3520. # DEBUG xTriggerLevel => xTriggerLevel_8
  3521. # DEBUG BEGIN_STMT
  3522. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xLength;
  3523. if (_1 > xTriggerLevel_8)
  3524. goto <bb 6>; [50.00%]
  3525. else
  3526. goto <bb 7>; [50.00%]
  3527. <bb 6> [local count: 125270]:
  3528. # DEBUG BEGIN_STMT
  3529. MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xTriggerLevelBytes = xTriggerLevel_8;
  3530. # DEBUG BEGIN_STMT
  3531. # DEBUG xReturn => 1
  3532. <bb 7> [local count: 250539]:
  3533. # xReturn_2 = PHI <1(6), 0(5)>
  3534. # DEBUG xReturn => xReturn_2
  3535. # DEBUG BEGIN_STMT
  3536. return xReturn_2;
  3537. }
  3538. xStreamBufferReset (struct StreamBufferDef_t * xStreamBuffer)
  3539. {
  3540. uint32_t ulNewBASEPRI;
  3541. UBaseType_t uxStreamBufferNumber;
  3542. BaseType_t xReturn;
  3543. struct tskTaskControlBlock * _1;
  3544. struct tskTaskControlBlock * _2;
  3545. uint8_t * _3;
  3546. unsigned int _4;
  3547. unsigned int _5;
  3548. unsigned char _6;
  3549. <bb 2> [local count: 230763]:
  3550. # DEBUG BEGIN_STMT
  3551. # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
  3552. # DEBUG BEGIN_STMT
  3553. # DEBUG xReturn => 0
  3554. # DEBUG BEGIN_STMT
  3555. # DEBUG BEGIN_STMT
  3556. if (xStreamBuffer_9(D) == 0B)
  3557. goto <bb 3>; [46.53%]
  3558. else
  3559. goto <bb 5>; [53.47%]
  3560. <bb 3> [local count: 107374]:
  3561. # DEBUG BEGIN_STMT
  3562. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3563. # DEBUG BEGIN_STMT
  3564. # DEBUG BEGIN_STMT
  3565. __asm__ __volatile__(" mov %0, %1
  3566. msr basepri, %0
  3567. isb
  3568. dsb
  3569. " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
  3570. # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
  3571. <bb 4> [local count: 1073741824]:
  3572. # DEBUG ulNewBASEPRI => NULL
  3573. # DEBUG BEGIN_STMT
  3574. # DEBUG BEGIN_STMT
  3575. # DEBUG BEGIN_STMT
  3576. <bb 9> [local count: 1073741824]:
  3577. goto <bb 4>; [100.00%]
  3578. <bb 5> [local count: 123389]:
  3579. # DEBUG BEGIN_STMT
  3580. # DEBUG BEGIN_STMT
  3581. uxStreamBufferNumber_11 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber;
  3582. # DEBUG uxStreamBufferNumber => uxStreamBufferNumber_11
  3583. # DEBUG BEGIN_STMT
  3584. vPortEnterCritical ();
  3585. # DEBUG BEGIN_STMT
  3586. _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
  3587. if (_1 == 0B)
  3588. goto <bb 6>; [30.00%]
  3589. else
  3590. goto <bb 8>; [70.00%]
  3591. <bb 6> [local count: 37017]:
  3592. # DEBUG BEGIN_STMT
  3593. _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToSend;
  3594. if (_2 == 0B)
  3595. goto <bb 7>; [17.43%]
  3596. else
  3597. goto <bb 8>; [82.57%]
  3598. <bb 7> [local count: 6452]:
  3599. # DEBUG BEGIN_STMT
  3600. _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].pucBuffer;
  3601. _4 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xLength;
  3602. _5 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
  3603. _6 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
  3604. prvInitialiseNewStreamBuffer (xStreamBuffer_9(D), _3, _4, _5, _6);
  3605. # DEBUG BEGIN_STMT
  3606. # DEBUG xReturn => 1
  3607. # DEBUG BEGIN_STMT
  3608. MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber = uxStreamBufferNumber_11;
  3609. <bb 8> [local count: 123389]:
  3610. # xReturn_7 = PHI <0(5), 0(6), 1(7)>
  3611. # DEBUG xReturn => xReturn_7
  3612. # DEBUG BEGIN_STMT
  3613. # DEBUG BEGIN_STMT
  3614. vPortExitCritical ();
  3615. # DEBUG BEGIN_STMT
  3616. return xReturn_7;
  3617. }
  3618. vStreamBufferDelete (struct StreamBufferDef_t * xStreamBuffer)
  3619. {
  3620. uint32_t ulNewBASEPRI;
  3621. unsigned char _1;
  3622. unsigned char _4;
  3623. <bb 2> [local count: 357913]:
  3624. # DEBUG BEGIN_STMT
  3625. # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
  3626. # DEBUG BEGIN_STMT
  3627. if (xStreamBuffer_3(D) == 0B)
  3628. goto <bb 3>; [30.00%]
  3629. else
  3630. goto <bb 5>; [70.00%]
  3631. <bb 3> [local count: 107374]:
  3632. # DEBUG BEGIN_STMT
  3633. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3634. # DEBUG BEGIN_STMT
  3635. # DEBUG BEGIN_STMT
  3636. __asm__ __volatile__(" mov %0, %1
  3637. msr basepri, %0
  3638. isb
  3639. dsb
  3640. " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
  3641. # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
  3642. <bb 4> [local count: 1073741824]:
  3643. # DEBUG ulNewBASEPRI => NULL
  3644. # DEBUG BEGIN_STMT
  3645. # DEBUG BEGIN_STMT
  3646. # DEBUG BEGIN_STMT
  3647. <bb 9> [local count: 1073741824]:
  3648. goto <bb 4>; [100.00%]
  3649. <bb 5> [local count: 250539]:
  3650. # DEBUG BEGIN_STMT
  3651. # DEBUG BEGIN_STMT
  3652. # DEBUG BEGIN_STMT
  3653. _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_3(D)].ucFlags;
  3654. _4 = _1 & 2;
  3655. if (_4 == 0)
  3656. goto <bb 6>; [50.00%]
  3657. else
  3658. goto <bb 7>; [50.00%]
  3659. <bb 6> [local count: 125270]:
  3660. # DEBUG BEGIN_STMT
  3661. vPortFree (xStreamBuffer_3(D));
  3662. goto <bb 8>; [100.00%]
  3663. <bb 7> [local count: 125270]:
  3664. # DEBUG BEGIN_STMT
  3665. memset (xStreamBuffer_3(D), 0, 36);
  3666. <bb 8> [local count: 250539]:
  3667. return;
  3668. }
  3669. xStreamBufferGenericCreate (size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer)
  3670. {
  3671. uint32_t ulNewBASEPRI;
  3672. uint32_t ulNewBASEPRI;
  3673. uint32_t ulNewBASEPRI;
  3674. uint8_t ucFlags;
  3675. uint8_t * pucAllocatedMemory;
  3676. unsigned int _1;
  3677. uint8_t * _2;
  3678. <bb 2> [local count: 325376]:
  3679. # DEBUG BEGIN_STMT
  3680. # DEBUG BEGIN_STMT
  3681. # DEBUG BEGIN_STMT
  3682. if (xIsMessageBuffer_5(D) == 1)
  3683. goto <bb 3>; [34.00%]
  3684. else
  3685. goto <bb 6>; [66.00%]
  3686. <bb 3> [local count: 110628]:
  3687. # DEBUG BEGIN_STMT
  3688. # DEBUG ucFlags => 1
  3689. # DEBUG BEGIN_STMT
  3690. if (xBufferSizeBytes_6(D) <= 4)
  3691. goto <bb 4>; [50.00%]
  3692. else
  3693. goto <bb 9>; [50.00%]
  3694. <bb 4> [local count: 55314]:
  3695. # DEBUG BEGIN_STMT
  3696. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3697. # DEBUG BEGIN_STMT
  3698. # DEBUG BEGIN_STMT
  3699. __asm__ __volatile__(" mov %0, %1
  3700. msr basepri, %0
  3701. isb
  3702. dsb
  3703. " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
  3704. # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
  3705. <bb 5> [local count: 553139728]:
  3706. # DEBUG ulNewBASEPRI => NULL
  3707. # DEBUG BEGIN_STMT
  3708. # DEBUG BEGIN_STMT
  3709. # DEBUG BEGIN_STMT
  3710. <bb 16> [local count: 553139728]:
  3711. goto <bb 5>; [100.00%]
  3712. <bb 6> [local count: 214748]:
  3713. # DEBUG BEGIN_STMT
  3714. # DEBUG ucFlags => 0
  3715. # DEBUG BEGIN_STMT
  3716. if (xBufferSizeBytes_6(D) == 0)
  3717. goto <bb 7>; [50.00%]
  3718. else
  3719. goto <bb 9>; [50.00%]
  3720. <bb 7> [local count: 107374]:
  3721. # DEBUG BEGIN_STMT
  3722. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3723. # DEBUG BEGIN_STMT
  3724. # DEBUG BEGIN_STMT
  3725. __asm__ __volatile__(" mov %0, %1
  3726. msr basepri, %0
  3727. isb
  3728. dsb
  3729. " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
  3730. # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
  3731. <bb 8> [local count: 1073741824]:
  3732. # DEBUG ulNewBASEPRI => NULL
  3733. # DEBUG BEGIN_STMT
  3734. # DEBUG BEGIN_STMT
  3735. # DEBUG BEGIN_STMT
  3736. <bb 18> [local count: 1073741824]:
  3737. goto <bb 8>; [100.00%]
  3738. <bb 9> [local count: 162688]:
  3739. # ucFlags_3 = PHI <1(3), 0(6)>
  3740. # DEBUG ucFlags => ucFlags_3
  3741. # DEBUG BEGIN_STMT
  3742. # DEBUG BEGIN_STMT
  3743. if (xBufferSizeBytes_6(D) < xTriggerLevelBytes_8(D))
  3744. goto <bb 10>; [50.00%]
  3745. else
  3746. goto <bb 12>; [50.00%]
  3747. <bb 10> [local count: 81344]:
  3748. # DEBUG BEGIN_STMT
  3749. # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
  3750. # DEBUG BEGIN_STMT
  3751. # DEBUG BEGIN_STMT
  3752. __asm__ __volatile__(" mov %0, %1
  3753. msr basepri, %0
  3754. isb
  3755. dsb
  3756. " : "=r" ulNewBASEPRI_17 : "i" 16 : "memory");
  3757. # DEBUG ulNewBASEPRI => ulNewBASEPRI_17
  3758. <bb 11> [local count: 813440776]:
  3759. # DEBUG ulNewBASEPRI => NULL
  3760. # DEBUG BEGIN_STMT
  3761. # DEBUG BEGIN_STMT
  3762. # DEBUG BEGIN_STMT
  3763. <bb 17> [local count: 813440776]:
  3764. goto <bb 11>; [100.00%]
  3765. <bb 12> [local count: 81344]:
  3766. # DEBUG BEGIN_STMT
  3767. # DEBUG BEGIN_STMT
  3768. xTriggerLevelBytes_9 = MAX_EXPR <1, xTriggerLevelBytes_8(D)>;
  3769. # DEBUG xTriggerLevelBytes => xTriggerLevelBytes_9
  3770. # DEBUG BEGIN_STMT
  3771. if (xBufferSizeBytes_6(D) <= 4294967258)
  3772. goto <bb 13>; [54.67%]
  3773. else
  3774. goto <bb 15>; [45.33%]
  3775. <bb 13> [local count: 44471]:
  3776. # DEBUG BEGIN_STMT
  3777. xBufferSizeBytes_11 = xBufferSizeBytes_6(D) + 1;
  3778. # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
  3779. # DEBUG BEGIN_STMT
  3780. _1 = xBufferSizeBytes_6(D) + 37;
  3781. pucAllocatedMemory_13 = pvPortMalloc (_1);
  3782. # DEBUG pucAllocatedMemory => pucAllocatedMemory_13
  3783. # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
  3784. # DEBUG BEGIN_STMT
  3785. if (pucAllocatedMemory_13 != 0B)
  3786. goto <bb 14>; [53.47%]
  3787. else
  3788. goto <bb 15>; [46.53%]
  3789. <bb 14> [local count: 23779]:
  3790. # DEBUG BEGIN_STMT
  3791. _2 = pucAllocatedMemory_13 + 36;
  3792. prvInitialiseNewStreamBuffer (pucAllocatedMemory_13, _2, xBufferSizeBytes_11, xTriggerLevelBytes_9, ucFlags_3);
  3793. # DEBUG BEGIN_STMT
  3794. <bb 15> [local count: 81344]:
  3795. # pucAllocatedMemory_10 = PHI <pucAllocatedMemory_13(13), pucAllocatedMemory_13(14), 0B(12)>
  3796. # DEBUG pucAllocatedMemory => NULL
  3797. # DEBUG xBufferSizeBytes => NULL
  3798. # DEBUG BEGIN_STMT
  3799. # DEBUG BEGIN_STMT
  3800. return pucAllocatedMemory_10;
  3801. }