stream_buffer.c.072i.cp 128 KB

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