stream_buffer.c.076i.inline 162 KB

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