12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253 |
- Analyzing function: xStreamBufferSpacesAvailable.part.0/62
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 5 2 3 4
- ;;
- ;; Loop 1
- ;; header 3, latch 4
- ;; depth 1, outer 0
- ;; nodes: 3 4
- ;; 5 succs { 2 }
- ;; 2 succs { 3 }
- ;; 3 succs { 4 }
- ;; 4 succs { 3 }
- Analyzing function body size: xStreamBufferSpacesAvailable.part.0
- IPA function summary for xStreamBufferSpacesAvailable.part.0/62 inlinable
- global time: 5.000000
- self size: 7
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:5.000000, time:5.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- calls:
- Analyzing function: prvReadBytesFromBuffer.part.0/53
- ;; 3 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 15 2 3 4 5 6 7 8 9 10 11 12 13 14
- ;;
- ;; Loop 1
- ;; header 4, latch 5
- ;; depth 1, outer 0
- ;; nodes: 4 5
- ;;
- ;; Loop 2
- ;; header 8, latch 9
- ;; depth 1, outer 0
- ;; nodes: 8 9
- ;; 15 succs { 2 }
- ;; 2 succs { 3 6 }
- ;; 3 succs { 4 }
- ;; 4 succs { 5 }
- ;; 5 succs { 4 }
- ;; 6 succs { 7 10 }
- ;; 7 succs { 8 }
- ;; 8 succs { 9 }
- ;; 9 succs { 8 }
- ;; 10 succs { 11 12 }
- ;; 11 succs { 12 }
- ;; 12 succs { 13 14 }
- ;; 13 succs { 14 }
- ;; 14 succs { 1 }
- Analyzing function body size: prvReadBytesFromBuffer.part.0
- IPA function summary for prvReadBytesFromBuffer.part.0/53 inlinable
- global time: 15.423664
- self size: 41
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:14.000000, time:4.697231
- size:4.000000, time:0.439720, executed if:(not inlined)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 64] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 64] changed)
- size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 64] changed || op3 changed)
- size:9.000000, time:4.884446, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed)
- size:0.500000, time:0.082499, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
- size:0.500000, time:0.082499, nonconst if:(op0[ref offset: 192] changed)
- size:1.000000, time:0.164998, nonconst if:(op3 changed || op0[ref offset: 192] changed)
- size:1.000000, time:0.054450, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed || op1 changed)
- size:1.000000, time:0.164998, nonconst if:(op3 changed || op2 changed)
- calls:
- memcpy/41 function body not available
- loop depth: 0 freq:0.16 size: 4 time: 13
- memcpy/41 function body not available
- loop depth: 0 freq:0.05 size: 4 time: 13
- Analyzing function: prvWriteBytesToBuffer.part.0/48
- ;; 3 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 15 2 3 4 5 6 7 8 9 10 11 12 13 14
- ;;
- ;; Loop 1
- ;; header 4, latch 5
- ;; depth 1, outer 0
- ;; nodes: 4 5
- ;;
- ;; Loop 2
- ;; header 9, latch 10
- ;; depth 1, outer 0
- ;; nodes: 9 10
- ;; 15 succs { 2 }
- ;; 2 succs { 3 6 }
- ;; 3 succs { 4 }
- ;; 4 succs { 5 }
- ;; 5 succs { 4 }
- ;; 6 succs { 7 12 }
- ;; 7 succs { 8 11 }
- ;; 8 succs { 9 }
- ;; 9 succs { 10 }
- ;; 10 succs { 9 }
- ;; 11 succs { 12 }
- ;; 12 succs { 13 14 }
- ;; 13 succs { 14 }
- ;; 14 succs { 1 }
- Analyzing function body size: prvWriteBytesToBuffer.part.0
- IPA function summary for prvWriteBytesToBuffer.part.0/48 inlinable
- global time: 18.415930
- self size: 42
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:16.500000, time:5.000824
- size:4.500000, time:0.658349, executed if:(not inlined)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 64] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 64] changed)
- size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 64] changed || op3 changed)
- size:7.000000, time:4.825003, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed)
- size:0.500000, time:0.165001, executed if:(not inlined), nonconst if:(op0[ref offset: 192] changed) && (not inlined)
- size:0.500000, time:0.165001, nonconst if:(op0[ref offset: 192] changed)
- size:1.000000, time:0.330001, nonconst if:(op3 changed || op0[ref offset: 192] changed)
- size:1.000000, time:0.054449, nonconst if:(op0[ref offset: 64] changed || op3 changed || op2 changed || op1 changed)
- size:1.000000, time:0.219450, nonconst if:(op3 changed || op2 changed)
- calls:
- memcpy/41 function body not available
- loop depth: 0 freq:0.33 size: 4 time: 13
- memcpy/41 function body not available
- loop depth: 0 freq:0.05 size: 4 time: 13
- Analyzing function: prvInitialiseNewStreamBuffer.part.0/44
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 3 2
- ;; 3 succs { 2 }
- ;; 2 succs { 1 }
- Analyzing function body size: prvInitialiseNewStreamBuffer.part.0
- IPA function summary for prvInitialiseNewStreamBuffer.part.0/44 inlinable
- global time: 19.000000
- self size: 11
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:2.000000, time:2.000000
- size:5.000000, time:4.000000, executed if:(not inlined)
- calls:
- memset/29 function body not available
- loop depth: 0 freq:1.00 size: 4 time: 13
- op1 is compile time invariant
- op2 is compile time invariant
- Analyzing function: ucStreamBufferGetStreamBufferType/27
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2
- ;; 2 succs { 1 }
- Analyzing function body size: ucStreamBufferGetStreamBufferType
- IPA function summary for ucStreamBufferGetStreamBufferType/27 inlinable
- global time: 4.000000
- self size: 5
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:3.000000, time:2.000000, executed if:(not inlined)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 224] changed) && (not inlined)
- size:1.500000, time:1.500000, nonconst if:(op0[ref offset: 224] changed)
- calls:
- Analyzing function: vStreamBufferSetStreamBufferNumber/26
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2
- ;; 2 succs { 1 }
- Analyzing function body size: vStreamBufferSetStreamBufferNumber
- IPA function summary for vStreamBufferSetStreamBufferNumber/26 inlinable
- global time: 3.000000
- self size: 4
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.500000, time:0.500000
- size:3.500000, time:2.500000, executed if:(not inlined)
- calls:
- Analyzing function: uxStreamBufferGetStreamBufferNumber/25
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2
- ;; 2 succs { 1 }
- Analyzing function body size: uxStreamBufferGetStreamBufferNumber
- IPA function summary for uxStreamBufferGetStreamBufferNumber/25 inlinable
- global time: 3.000000
- self size: 4
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:3.000000, time:2.000000, executed if:(not inlined)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 256] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 256] changed)
- calls:
- Analyzing function: prvInitialiseNewStreamBuffer/24
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 6 5
- ;;
- ;; Loop 1
- ;; header 4, latch 6
- ;; depth 1, outer 0
- ;; nodes: 4 6
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 6 }
- ;; 6 succs { 4 }
- ;; 5 succs { 1 }
- Analyzing function body size: prvInitialiseNewStreamBuffer
- IPA function summary for prvInitialiseNewStreamBuffer/24 inlinable
- global time: 23.091603
- self size: 21
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:7.000000, time:6.128499
- size:3.000000, time:0.348600, executed if:(not inlined)
- calls:
- prvInitialiseNewStreamBuffer.part.0/44 function not considered for inlining
- loop depth: 0 freq:0.17 size: 6 time: 15callee size: 5 stack: 0
- memset/29 function body not available
- loop depth: 0 freq:1.00 size: 5 time: 14
- op1 is compile time invariant
- Analyzing function: prvBytesInBuffer/23
- ;; 1 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4
- ;; 2 succs { 3 4 }
- ;; 3 succs { 4 }
- ;; 4 succs { 1 }
- Analyzing function body size: prvBytesInBuffer
- IPA function summary for prvBytesInBuffer/23 inlinable
- global time: 9.500000
- self size: 11
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:3.000000, time:2.000000, executed if:(not inlined)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 64] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 64] changed)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 32] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 32] changed)
- size:1.000000, time:1.000000, nonconst if:(op0[ref offset: 64] changed || op0[ref offset: 32] changed)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 0] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 0] changed)
- size:4.000000, time:3.500000, nonconst if:(op0[ref offset: 64] changed || op0[ref offset: 32] changed || op0[ref offset: 0] changed)
- calls:
- Analyzing function: prvReadBytesFromBuffer/22
- ;; 4 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 6 5
- ;;
- ;; Loop 3
- ;; header 4, latch 6
- ;; depth 1, outer 0
- ;; nodes: 4 6
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 6 }
- ;; 6 succs { 4 }
- ;; 5 succs { 1 }
- Analyzing function body size: prvReadBytesFromBuffer
- IPA function summary for prvReadBytesFromBuffer/22 inlinable
- global time: 13.000000
- self size: 16
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op2 changed)
- size:1.000000, time:1.000000, executed if:(op2 != 0) && (not inlined)
- size:5.000000, time:2.500000, executed if:(op2 == 0)
- calls:
- prvReadBytesFromBuffer.part.0/53 function not considered for inlining
- loop depth: 0 freq:0.50 size: 6 time: 15callee size:20 stack: 0 predicate: (op2 != 0)
- Analyzing function: prvWriteBytesToBuffer/21
- ;; 4 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 6 5
- ;;
- ;; Loop 3
- ;; header 4, latch 6
- ;; depth 1, outer 0
- ;; nodes: 4 6
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 6 }
- ;; 6 succs { 4 }
- ;; 5 succs { 1 }
- Analyzing function body size: prvWriteBytesToBuffer
- IPA function summary for prvWriteBytesToBuffer/21 inlinable
- global time: 13.000000
- self size: 16
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op2 changed)
- size:1.000000, time:1.000000, executed if:(op2 != 0) && (not inlined)
- size:5.000000, time:2.500000, executed if:(op2 == 0)
- calls:
- prvWriteBytesToBuffer.part.0/48 function not considered for inlining
- loop depth: 0 freq:0.50 size: 6 time: 15callee size:21 stack: 0 predicate: (op2 != 0)
- Analyzing function: xStreamBufferReceiveCompletedFromISR/20
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 8 5 6 7
- ;;
- ;; Loop 1
- ;; header 4, latch 8
- ;; depth 1, outer 0
- ;; nodes: 4 8
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 8 }
- ;; 8 succs { 4 }
- ;; 5 succs { 6 7 }
- ;; 6 succs { 7 }
- ;; 7 succs { 1 }
- Analyzing function body size: xStreamBufferReceiveCompletedFromISR
- IPA function summary for xStreamBufferReceiveCompletedFromISR/20 inlinable
- global time: 18.637205
- self size: 29
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:10.500000, time:7.024287, executed if:(op0 != 0B)
- size:2.500000, time:2.124289, executed if:(op0 != 0B) && (not inlined)
- size:5.000000, time:1.500001, executed if:(op0 == 0B)
- calls:
- xTaskGenericNotifyFromISR/42 function body not available
- loop depth: 0 freq:0.37 size: 7 time: 16 predicate: (op0 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- op4 is compile time invariant
- Analyzing function: xStreamBufferSendCompletedFromISR/19
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 8 5 6 7
- ;;
- ;; Loop 1
- ;; header 4, latch 8
- ;; depth 1, outer 0
- ;; nodes: 4 8
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 8 }
- ;; 8 succs { 4 }
- ;; 5 succs { 6 7 }
- ;; 6 succs { 7 }
- ;; 7 succs { 1 }
- Analyzing function body size: xStreamBufferSendCompletedFromISR
- IPA function summary for xStreamBufferSendCompletedFromISR/19 inlinable
- global time: 18.637205
- self size: 29
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:10.500000, time:7.024287, executed if:(op0 != 0B)
- size:2.500000, time:2.124289, executed if:(op0 != 0B) && (not inlined)
- size:5.000000, time:1.500001, executed if:(op0 == 0B)
- calls:
- xTaskGenericNotifyFromISR/42 function body not available
- loop depth: 0 freq:0.37 size: 7 time: 16 predicate: (op0 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- op4 is compile time invariant
- Analyzing function: xStreamBufferIsFull/18
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 10 5 6 7 8 9
- ;;
- ;; Loop 1
- ;; header 4, latch 10
- ;; depth 1, outer 0
- ;; nodes: 4 10
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 10 }
- ;; 10 succs { 4 }
- ;; 5 succs { 7 6 }
- ;; 6 succs { 7 }
- ;; 7 succs { 9 8 }
- ;; 8 succs { 9 }
- ;; 9 succs { 1 }
- Analyzing function body size: xStreamBufferIsFull
- IPA function summary for xStreamBufferIsFull/18 inlinable
- global time: 17.499996
- self size: 19
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (not inlined)
- size:3.500000, time:2.449999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B)
- size:2.000000, time:1.399999, executed if:(op0 != 0B)
- size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
- size:5.000000, time:1.500001, executed if:(op0 == 0B)
- calls:
- xStreamBufferSpacesAvailable/8 function not considered for inlining
- loop depth: 0 freq:0.70 size: 3 time: 12 predicate: (op0 != 0B)
- Analyzing function: xStreamBufferIsEmpty/17
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 8 5 6 7
- ;;
- ;; Loop 1
- ;; header 4, latch 8
- ;; depth 1, outer 0
- ;; nodes: 4 8
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 8 }
- ;; 8 succs { 4 }
- ;; 5 succs { 7 6 }
- ;; 6 succs { 7 }
- ;; 7 succs { 1 }
- Analyzing function body size: xStreamBufferIsEmpty
- IPA function summary for xStreamBufferIsEmpty/17 inlinable
- global time: 7.700000
- self size: 14
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B) && (not inlined)
- size:0.500000, time:0.350000, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B)
- size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B) && (not inlined)
- size:0.500000, time:0.350000, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B)
- size:2.000000, time:1.399999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed || op0[ref offset: 32] changed) && (op0 != 0B)
- size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
- size:5.000000, time:1.500001, executed if:(op0 == 0B)
- calls:
- Analyzing function: prvReadMessageFromBuffer/16
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 5 6 7
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 5 }
- ;; 4 succs { 5 }
- ;; 5 succs { 6 7 }
- ;; 6 succs { 7 }
- ;; 7 succs { 1 }
- Analyzing function body size: prvReadMessageFromBuffer
- IPA function summary for prvReadMessageFromBuffer/16 inlinable
- global time: 21.550000
- self size: 28
- global size: 0
- min size: 0
- self stack: 4
- global stack: 4
- size:6.500000, time:4.155000
- size:3.500000, time:2.165000, executed if:(not inlined)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 0] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 0] changed)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 224] changed) && (not inlined)
- size:3.500000, time:3.500000, nonconst if:(op0[ref offset: 224] changed)
- size:1.000000, time:0.330000, nonconst if:(op3 changed)
- calls:
- prvReadBytesFromBuffer/22 function not considered for inlining
- loop depth: 0 freq:0.33 size: 6 time: 15callee size: 8 stack: 0
- prvReadBytesFromBuffer.part.0/53 function not considered for inlining
- loop depth: 0 freq:0.33 size: 6 time: 15callee size:20 stack: 0
- op1 is compile time invariant
- op2 is compile time invariant
- Analyzing function: xStreamBufferReceiveFromISR/15
- ;; 3 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 16 5 6 7 17 8 9 10 11 12 13 14 15
- ;;
- ;; Loop 2
- ;; header 4, latch 16
- ;; depth 1, outer 0
- ;; nodes: 4 16
- ;;
- ;; Loop 1
- ;; header 7, latch 17
- ;; depth 1, outer 0
- ;; nodes: 7 17
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 16 }
- ;; 16 succs { 4 }
- ;; 5 succs { 6 8 }
- ;; 6 succs { 7 }
- ;; 7 succs { 17 }
- ;; 17 succs { 7 }
- ;; 8 succs { 10 9 }
- ;; 9 succs { 10 }
- ;; 10 succs { 11 15 }
- ;; 11 succs { 12 15 }
- ;; 12 succs { 13 14 }
- ;; 13 succs { 14 }
- ;; 14 succs { 15 }
- ;; 15 succs { 1 }
- Analyzing function body size: xStreamBufferReceiveFromISR
- IPA function summary for xStreamBufferReceiveFromISR/15 inlinable
- global time: 20.085616
- self size: 53
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op1 changed)
- size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
- size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
- size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
- size:14.500000, time:2.114705, executed if:(op0 != 0B) && (op1 != 0B)
- size:2.500000, time:1.063659, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
- size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
- size:5.000000, time:1.500001, executed if:(op1 == 0B)
- calls:
- xTaskGenericNotifyFromISR/42 function body not available
- loop depth: 0 freq:0.04 size: 7 time: 16 predicate: (op0 != 0B) && (op1 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- op4 is compile time invariant
- prvReadMessageFromBuffer/16 function not considered for inlining
- loop depth: 0 freq:0.16 size: 6 time: 15callee size:14 stack: 4 predicate: (op0 != 0B) && (op1 != 0B)
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.49 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
- Analyzing function: xStreamBufferNextMessageLengthBytes/14
- ;; 3 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 12 5 6 7 8 9 10 13 11
- ;;
- ;; Loop 2
- ;; header 4, latch 12
- ;; depth 1, outer 0
- ;; nodes: 4 12
- ;;
- ;; Loop 1
- ;; header 10, latch 13
- ;; depth 1, outer 0
- ;; nodes: 10 13
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 12 }
- ;; 12 succs { 4 }
- ;; 5 succs { 6 11 }
- ;; 6 succs { 7 8 }
- ;; 7 succs { 11 }
- ;; 8 succs { 9 11 }
- ;; 9 succs { 10 }
- ;; 10 succs { 13 }
- ;; 13 succs { 10 }
- ;; 11 succs { 1 }
- Analyzing function body size: xStreamBufferNextMessageLengthBytes
- IPA function summary for xStreamBufferNextMessageLengthBytes/14 inlinable
- global time: 12.695390
- self size: 33
- global size: 0
- min size: 0
- self stack: 4
- global stack: 4
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (not inlined)
- size:3.500000, time:2.449999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B)
- size:10.500000, time:1.272809, executed if:(op0 != 0B)
- size:1.500000, time:1.283345, executed if:(op0 != 0B) && (not inlined)
- size:5.000000, time:1.500001, executed if:(op0 == 0B)
- calls:
- prvReadBytesFromBuffer/22 function not considered for inlining
- loop depth: 0 freq:0.08 size: 5 time: 14callee size: 8 stack: 0 predicate: (op0 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.23 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B)
- Analyzing function: xStreamBufferReceive/13
- ;; 4 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 25 5 6 7 26 8 9 10 11 12 13 14 27 15 16 17 18 19 20 21 22 23 24
- ;;
- ;; Loop 3
- ;; header 4, latch 25
- ;; depth 1, outer 0
- ;; nodes: 4 25
- ;;
- ;; Loop 2
- ;; header 7, latch 26
- ;; depth 1, outer 0
- ;; nodes: 7 26
- ;;
- ;; Loop 1
- ;; header 14, latch 27
- ;; depth 1, outer 0
- ;; nodes: 14 27
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 25 }
- ;; 25 succs { 4 }
- ;; 5 succs { 6 8 }
- ;; 6 succs { 7 }
- ;; 7 succs { 26 }
- ;; 26 succs { 7 }
- ;; 8 succs { 10 9 }
- ;; 9 succs { 10 }
- ;; 10 succs { 11 18 }
- ;; 11 succs { 12 16 }
- ;; 12 succs { 13 15 }
- ;; 13 succs { 14 }
- ;; 14 succs { 27 }
- ;; 27 succs { 14 }
- ;; 15 succs { 16 }
- ;; 16 succs { 17 19 }
- ;; 17 succs { 19 }
- ;; 18 succs { 19 }
- ;; 19 succs { 20 24 }
- ;; 20 succs { 21 24 }
- ;; 21 succs { 22 23 }
- ;; 22 succs { 23 }
- ;; 23 succs { 24 }
- ;; 24 succs { 1 }
- Analyzing function body size: xStreamBufferReceive
- IPA function summary for xStreamBufferReceive/13 inlinable
- global time: 28.460665
- self size: 82
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op1 changed)
- size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
- size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
- size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
- size:2.000000, time:0.980004, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op3 changed) && (op0 != 0B) && (op1 != 0B)
- size:12.500000, time:1.624100, executed if:(op3 != 0) && (op0 != 0B) && (op1 != 0B)
- size:1.500000, time:0.095662, executed if:(op3 != 0) && (op0 != 0B) && (op1 != 0B) && (not inlined)
- size:7.500000, time:1.162852, executed if:(op0 != 0B) && (op1 != 0B)
- size:2.500000, time:0.821518, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
- size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
- size:5.000000, time:1.500001, executed if:(op1 == 0B)
- calls:
- xTaskResumeAll/40 function body not available
- loop depth: 0 freq:0.04 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
- xTaskGenericNotify/39 function body not available
- loop depth: 0 freq:0.02 size: 6 time: 15 predicate: (op0 != 0B) && (op1 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- op4 is compile time invariant
- vTaskSuspendAll/38 function body not available
- loop depth: 0 freq:0.04 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
- prvReadMessageFromBuffer/16 function not considered for inlining
- loop depth: 0 freq:0.13 size: 6 time: 15callee size:14 stack: 4 predicate: (op0 != 0B) && (op1 != 0B)
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.25 size: 3 time: 12callee size: 5 stack: 0 predicate: (op3 == 0) && (op0 != 0B) && (op1 != 0B)
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.05 size: 3 time: 12callee size: 5 stack: 0 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
- xTaskGenericNotifyWait/36 function body not available
- loop depth: 0 freq:0.05 size: 6 time: 15 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
- op0 is compile time invariant
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- vPortExitCritical/32 function body not available
- loop depth: 0 freq:0.14 size: 1 time: 10 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
- xTaskGetCurrentTaskHandle/35 function body not available
- loop depth: 0 freq:0.02 size: 2 time: 11 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
- xTaskGenericNotifyStateClear/34 function body not available
- loop depth: 0 freq:0.12 size: 3 time: 12 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
- op0 is compile time invariant
- op1 is compile time invariant
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.25 size: 3 time: 12callee size: 5 stack: 0 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
- vPortEnterCritical/31 function body not available
- loop depth: 0 freq:0.25 size: 1 time: 10 predicate: (op3 != 0) && (op0 != 0B) && (op1 != 0B)
- Analyzing function: prvWriteMessageToBuffer/12
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 5 6 7 8 9
- ;; 2 succs { 3 6 }
- ;; 3 succs { 4 5 }
- ;; 4 succs { 7 }
- ;; 5 succs { 7 }
- ;; 6 succs { 7 }
- ;; 7 succs { 8 9 }
- ;; 8 succs { 9 }
- ;; 9 succs { 1 }
- Analyzing function body size: prvWriteMessageToBuffer
- IPA function summary for prvWriteMessageToBuffer/12 inlinable
- global time: 21.590000
- self size: 31
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:5.500000, time:4.582500
- size:4.500000, time:2.582500, executed if:(not inlined)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 32] changed) && (not inlined)
- size:0.500000, time:0.500000, nonconst if:(op0[ref offset: 32] changed)
- size:0.500000, time:0.500000, executed if:(not inlined), nonconst if:(op0[ref offset: 224] changed) && (not inlined)
- size:3.500000, time:3.500000, nonconst if:(op0[ref offset: 224] changed)
- size:1.000000, time:0.500000, executed if:(not inlined), nonconst if:(op2 changed) && (not inlined)
- size:1.000000, time:0.500000, nonconst if:(op2 changed || op3 changed)
- size:2.000000, time:1.000000, nonconst if:(op3 changed || op4 changed)
- calls:
- prvWriteBytesToBuffer/21 function not considered for inlining
- loop depth: 0 freq:0.33 size: 6 time: 15callee size: 8 stack: 0
- prvWriteBytesToBuffer.part.0/48 function not considered for inlining
- loop depth: 0 freq:0.17 size: 6 time: 15callee size:21 stack: 0
- op1 is compile time invariant
- op2 is compile time invariant
- Analyzing function: xStreamBufferSendFromISR/11
- ;; 3 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 16 5 6 7 17 8 9 10 11 12 13 14 15
- ;;
- ;; Loop 2
- ;; header 4, latch 16
- ;; depth 1, outer 0
- ;; nodes: 4 16
- ;;
- ;; Loop 1
- ;; header 7, latch 17
- ;; depth 1, outer 0
- ;; nodes: 7 17
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 16 }
- ;; 16 succs { 4 }
- ;; 5 succs { 6 8 }
- ;; 6 succs { 7 }
- ;; 7 succs { 17 }
- ;; 17 succs { 7 }
- ;; 8 succs { 9 10 }
- ;; 9 succs { 10 }
- ;; 10 succs { 11 15 }
- ;; 11 succs { 12 15 }
- ;; 12 succs { 13 14 }
- ;; 13 succs { 14 }
- ;; 14 succs { 15 }
- ;; 15 succs { 1 }
- Analyzing function body size: xStreamBufferSendFromISR
- IPA function summary for xStreamBufferSendFromISR/11 inlinable
- global time: 27.847242
- self size: 59
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op1 changed)
- size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
- size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
- size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
- size:1.000000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op2 changed) && (op0 != 0B) && (op1 != 0B)
- size:15.000000, time:2.195556, executed if:(op0 != 0B) && (op1 != 0B)
- size:3.000000, time:1.144510, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
- size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
- size:5.000000, time:1.500001, executed if:(op1 == 0B)
- calls:
- xTaskGenericNotifyFromISR/42 function body not available
- loop depth: 0 freq:0.04 size: 7 time: 16 predicate: (op0 != 0B) && (op1 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- op4 is compile time invariant
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.16 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
- prvWriteMessageToBuffer/12 function not considered for inlining
- loop depth: 0 freq:0.49 size: 7 time: 16callee size:15 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
- xStreamBufferSpacesAvailable/8 function not considered for inlining
- loop depth: 0 freq:0.49 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
- Analyzing function: xStreamBufferSend/10
- ;; 6 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 31 5 6 7 32 8 9 10 11 33 12 13 14 15 16 17 18 19 20 34 21 35 22 23 24 25 26 27 28 29 30
- ;;
- ;; Loop 5
- ;; header 4, latch 31
- ;; depth 1, outer 0
- ;; nodes: 4 31
- ;;
- ;; Loop 4
- ;; header 7, latch 32
- ;; depth 1, outer 0
- ;; nodes: 7 32
- ;;
- ;; Loop 3
- ;; header 11, latch 33
- ;; depth 1, outer 0
- ;; nodes: 11 33
- ;;
- ;; Loop 2
- ;; header 20, latch 34
- ;; depth 1, outer 0
- ;; nodes: 20 34
- ;;
- ;; Loop 1
- ;; header 17, latch 35
- ;; depth 1, outer 0
- ;; nodes: 17 35 21 18
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 31 }
- ;; 31 succs { 4 }
- ;; 5 succs { 6 8 }
- ;; 6 succs { 7 }
- ;; 7 succs { 32 }
- ;; 32 succs { 7 }
- ;; 8 succs { 9 14 }
- ;; 9 succs { 10 12 }
- ;; 10 succs { 11 }
- ;; 11 succs { 33 }
- ;; 33 succs { 11 }
- ;; 12 succs { 13 15 }
- ;; 13 succs { 15 }
- ;; 14 succs { 15 }
- ;; 15 succs { 16 24 }
- ;; 16 succs { 17 }
- ;; 17 succs { 18 22 }
- ;; 18 succs { 19 21 }
- ;; 19 succs { 20 }
- ;; 20 succs { 34 }
- ;; 34 succs { 20 }
- ;; 21 succs { 35 23 }
- ;; 35 succs { 17 }
- ;; 22 succs { 23 }
- ;; 23 succs { 24 25 }
- ;; 24 succs { 25 }
- ;; 25 succs { 26 30 }
- ;; 26 succs { 27 30 }
- ;; 27 succs { 28 29 }
- ;; 28 succs { 29 }
- ;; 29 succs { 30 }
- ;; 30 succs { 1 }
- Analyzing function body size: xStreamBufferSend
- IPA function summary for xStreamBufferSend/10 inlinable
- global time: 180.533722
- self size: 109
- global size: 0
- min size: 0
- self stack: 8
- global stack: 8
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op1 changed)
- size:2.000000, time:1.399999, executed if:(op1 != 0B), nonconst if:(op0 changed) && (op1 != 0B)
- size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
- size:1.500000, time:0.735003, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (op1 != 0B)
- size:0.500000, time:0.245001, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B) && (not inlined)
- size:3.500000, time:1.715006, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (op1 != 0B)
- size:3.000000, time:0.489999, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op0[ref offset: 64] changed || op2 changed) && (op0 != 0B) && (op1 != 0B)
- size:3.000000, time:0.735003, executed if:(op0 != 0B) && (op1 != 0B), nonconst if:(op2 changed) && (op0 != 0B) && (op1 != 0B)
- size:5.000000, time:3.176092, executed if:(op0 != 0B) && (op1 != 0B) && (not inlined)
- size:32.000000, time:17.363601, executed if:(op0 != 0B) && (op1 != 0B)
- size:5.000000, time:1.050004, executed if:(op0 == 0B) && (op1 != 0B)
- size:5.000000, time:1.500001, executed if:(op1 == 0B)
- calls:
- xTaskResumeAll/40 function body not available
- loop depth: 0 freq:0.03 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
- xTaskGenericNotify/39 function body not available
- loop depth: 0 freq:0.02 size: 6 time: 15 predicate: (op0 != 0B) && (op1 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- op4 is compile time invariant
- vTaskSuspendAll/38 function body not available
- loop depth: 0 freq:0.03 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.10 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
- prvWriteMessageToBuffer/12 function not considered for inlining
- loop depth: 0 freq:0.31 size: 7 time: 16callee size:15 stack: 0 predicate: (op0 != 0B) && (op1 != 0B)
- xStreamBufferSpacesAvailable/8 function not considered for inlining
- loop depth: 0 freq:0.25 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
- vPortExitCritical/32 function body not available
- loop depth: 0 freq:0.06 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
- xTaskCheckForTimeOut/37 function body not available
- loop depth: 1 freq:1.61 size: 4 time: 13 predicate: (op0 != 0B) && (op1 != 0B)
- op0 is compile time invariant
- op1 is compile time invariant
- xTaskGenericNotifyWait/36 function body not available
- loop depth: 1 freq:1.61 size: 6 time: 15 predicate: (op0 != 0B) && (op1 != 0B)
- op0 is compile time invariant
- op1 is compile time invariant
- op2 is compile time invariant
- op3 is compile time invariant
- vPortExitCritical/32 function body not available
- loop depth: 1 freq:1.61 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
- xTaskGetCurrentTaskHandle/35 function body not available
- loop depth: 1 freq:1.61 size: 2 time: 11 predicate: (op0 != 0B) && (op1 != 0B)
- xTaskGenericNotifyStateClear/34 function body not available
- loop depth: 1 freq:1.67 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
- op0 is compile time invariant
- op1 is compile time invariant
- xStreamBufferSpacesAvailable/8 function not considered for inlining
- loop depth: 1 freq:1.74 size: 3 time: 12 predicate: (op0 != 0B) && (op1 != 0B)
- op0 change 57.590000% of time
- vPortEnterCritical/31 function body not available
- loop depth: 1 freq:1.74 size: 1 time: 10 predicate: (op0 != 0B) && (op1 != 0B)
- vTaskSetTimeOutState/33 function body not available
- loop depth: 0 freq:0.18 size: 2 time: 11 predicate: (op0 != 0B) && (op1 != 0B)
- op0 is compile time invariant
- Analyzing function: xStreamBufferBytesAvailable/9
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 6 5
- ;;
- ;; Loop 1
- ;; header 4, latch 6
- ;; depth 1, outer 0
- ;; nodes: 4 6
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 6 }
- ;; 6 succs { 4 }
- ;; 5 succs { 1 }
- Analyzing function body size: xStreamBufferBytesAvailable
- IPA function summary for xStreamBufferBytesAvailable/9 inlinable
- global time: 11.812301
- self size: 13
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:1.000000, time:1.069400, executed if:(op0 != 0B) && (not inlined)
- size:5.000000, time:2.326499, executed if:(op0 == 0B)
- calls:
- prvBytesInBuffer/23 function not considered for inlining
- loop depth: 0 freq:0.53 size: 3 time: 12callee size: 5 stack: 0 predicate: (op0 != 0B)
- Analyzing function: xStreamBufferSpacesAvailable/8
- Created preheader block for loop 1
- ;; 3 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 8 4 9 5 6 7
- ;;
- ;; Loop 1
- ;; header 4, latch 9
- ;; depth 1, outer 0
- ;; nodes: 4 9
- ;; 2 succs { 3 8 }
- ;; 3 succs { }
- ;; 8 succs { 4 }
- ;; 4 succs { 9 5 }
- ;; 9 succs { 4 }
- ;; 5 succs { 6 7 }
- ;; 6 succs { 7 }
- ;; 7 succs { 1 }
- Analyzing function body size: xStreamBufferSpacesAvailable
- IPA function summary for xStreamBufferSpacesAvailable/8 inlinable
- global time: 66.122776
- self size: 19
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:1.500000, time:9.545462, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B) && (not inlined)
- size:3.500000, time:22.272745, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed) && (op0 != 0B)
- size:0.500000, time:3.181821, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (not inlined)
- size:0.500000, time:3.181821, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B)
- size:1.000000, time:6.363641, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed || op0[ref offset: 64] changed) && (op0 != 0B)
- size:0.500000, time:3.181821, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B) && (not inlined)
- size:0.500000, time:3.181821, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 32] changed) && (op0 != 0B)
- size:5.000000, time:8.813642, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 0] changed || op0[ref offset: 64] changed || op0[ref offset: 32] changed) && (op0 != 0B)
- size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
- calls:
- xStreamBufferSpacesAvailable.part.0/62 function not considered for inlining
- loop depth: 0 freq:0.30 size: 1 time: 10callee size: 3 stack: 0 predicate: (op0 == 0B)
- Analyzing function: xStreamBufferSetTriggerLevel/7
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 8 5 6 7
- ;;
- ;; Loop 1
- ;; header 4, latch 8
- ;; depth 1, outer 0
- ;; nodes: 4 8
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 8 }
- ;; 8 succs { 4 }
- ;; 5 succs { 6 7 }
- ;; 6 succs { 7 }
- ;; 7 succs { 1 }
- Analyzing function body size: xStreamBufferSetTriggerLevel
- IPA function summary for xStreamBufferSetTriggerLevel/7 inlinable
- global time: 8.050001
- self size: 15
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:1.000000, time:0.700000, executed if:(op0 != 0B), nonconst if:(op1 changed) && (op0 != 0B)
- size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B) && (not inlined)
- size:0.500000, time:0.350000, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 64] changed) && (op0 != 0B)
- size:2.000000, time:1.399999, executed if:(op0 != 0B), nonconst if:(op1 changed || op0[ref offset: 64] changed) && (op0 != 0B)
- size:1.500000, time:1.575000, executed if:(op0 != 0B) && (not inlined)
- size:0.500000, time:0.175001, executed if:(op0 != 0B)
- size:5.000000, time:1.500001, executed if:(op0 == 0B)
- calls:
- Analyzing function: xStreamBufferReset/6
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 9 5 6 7 8
- ;;
- ;; Loop 1
- ;; header 4, latch 9
- ;; depth 1, outer 0
- ;; nodes: 4 9
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 9 }
- ;; 9 succs { 4 }
- ;; 5 succs { 6 8 }
- ;; 6 succs { 7 8 }
- ;; 7 succs { 8 }
- ;; 8 succs { 1 }
- Analyzing function body size: xStreamBufferReset
- IPA function summary for xStreamBufferReset/6 inlinable
- global time: 19.269125
- self size: 30
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:5.000000, time:1.754205, executed if:(op0 != 0B) && (not inlined)
- size:8.000000, time:2.075027, executed if:(op0 != 0B)
- size:5.000000, time:2.326499, executed if:(op0 == 0B)
- calls:
- vPortExitCritical/32 function body not available
- loop depth: 0 freq:0.53 size: 1 time: 10 predicate: (op0 != 0B)
- prvInitialiseNewStreamBuffer/24 function not considered for inlining
- loop depth: 0 freq:0.03 size: 6 time: 15callee size:10 stack: 0 predicate: (op0 != 0B)
- vPortEnterCritical/31 function body not available
- loop depth: 0 freq:0.53 size: 1 time: 10 predicate: (op0 != 0B)
- Analyzing function: vStreamBufferDelete/5
- ;; 2 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 9 5 6 7 8
- ;;
- ;; Loop 1
- ;; header 4, latch 9
- ;; depth 1, outer 0
- ;; nodes: 4 9
- ;; 2 succs { 3 5 }
- ;; 3 succs { 4 }
- ;; 4 succs { 9 }
- ;; 9 succs { 4 }
- ;; 5 succs { 6 7 }
- ;; 6 succs { 8 }
- ;; 7 succs { 8 }
- ;; 8 succs { 1 }
- Analyzing function body size: vStreamBufferDelete
- IPA function summary for vStreamBufferDelete/5 inlinable
- global time: 16.100030
- self size: 20
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op0 changed)
- size:0.500000, time:0.350000, executed if:(op0 != 0B) && (not inlined), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B) && (not inlined)
- size:3.500000, time:2.449999, executed if:(op0 != 0B), nonconst if:(op0[ref offset: 224] changed) && (op0 != 0B)
- size:1.000000, time:1.399999, executed if:(op0 != 0B) && (not inlined)
- size:5.000000, time:1.500001, executed if:(op0 == 0B)
- calls:
- memset/29 function body not available
- loop depth: 0 freq:0.35 size: 4 time: 13 predicate: (op0 != 0B)
- op1 is compile time invariant
- op2 is compile time invariant
- vPortFree/30 function body not available
- loop depth: 0 freq:0.35 size: 2 time: 11 predicate: (op0 != 0B)
- Analyzing function: xStreamBufferGenericCreate/4
- ;; 4 loops found
- ;;
- ;; Loop 0
- ;; header 0, latch 1
- ;; depth 0, outer -1
- ;; nodes: 0 1 2 3 4 5 16 6 7 8 18 9 10 11 17 12 13 14 15
- ;;
- ;; Loop 3
- ;; header 5, latch 16
- ;; depth 1, outer 0
- ;; nodes: 5 16
- ;;
- ;; Loop 2
- ;; header 11, latch 17
- ;; depth 1, outer 0
- ;; nodes: 11 17
- ;;
- ;; Loop 1
- ;; header 8, latch 18
- ;; depth 1, outer 0
- ;; nodes: 8 18
- ;; 2 succs { 3 6 }
- ;; 3 succs { 4 9 }
- ;; 4 succs { 5 }
- ;; 5 succs { 16 }
- ;; 16 succs { 5 }
- ;; 6 succs { 7 9 }
- ;; 7 succs { 8 }
- ;; 8 succs { 18 }
- ;; 18 succs { 8 }
- ;; 9 succs { 10 12 }
- ;; 10 succs { 11 }
- ;; 11 succs { 17 }
- ;; 17 succs { 11 }
- ;; 12 succs { 13 15 }
- ;; 13 succs { 14 15 }
- ;; 14 succs { 15 }
- ;; 15 succs { 1 }
- Analyzing function body size: xStreamBufferGenericCreate
- IPA function summary for xStreamBufferGenericCreate/4 inlinable
- global time: 13.356117
- self size: 43
- global size: 0
- min size: 0
- self stack: 0
- global stack: 0
- size:0.000000, time:0.000000
- size:2.000000, time:0.000000, executed if:(not inlined)
- size:2.000000, time:2.000000, nonconst if:(op2 changed)
- size:2.000000, time:1.319999, executed if:(op2 != 1), nonconst if:(op0 changed) && (op2 != 1)
- size:5.000000, time:1.649999, executed if:(op0 == 0) && (op2 != 1)
- size:2.000000, time:0.680001, executed if:(op2 == 1), nonconst if:(op0 changed) && (op2 == 1)
- size:2.000000, time:1.000000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op0 changed || op1 changed) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- size:1.000000, time:0.250000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op1 changed) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- size:2.000000, time:0.500000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op0 changed) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- size:2.000000, time:0.273351, executed if:(op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4), nonconst if:(op0 changed) && (op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- size:3.000000, time:0.346433, executed if:(op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- size:1.000000, time:0.500000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4) && (not inlined)
- size:5.000000, time:1.250000, executed if:(op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- size:5.000000, time:0.850001, executed if:(op0 <= 4) && (op2 == 1)
- calls:
- prvInitialiseNewStreamBuffer/24 function not considered for inlining
- loop depth: 0 freq:0.07 size: 6 time: 15callee size:10 stack: 0 predicate: (op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- pvPortMalloc/28 function body not available
- loop depth: 0 freq:0.14 size: 3 time: 12 predicate: (op0 <= 4294967258) && (op0 > 4 || op0 != 0) && (op2 == 1 || op0 != 0) && (op2 != 1 || op0 > 4)
- Symbol table:
- xStreamBufferSpacesAvailable.part.0/62 (xStreamBufferSpacesAvailable.part.0) @05faf7e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:107374 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: xStreamBufferSpacesAvailable/8 (107374 (estimated locally),0.30 per call)
- Calls:
- prvReadBytesFromBuffer.part.0/53 (prvReadBytesFromBuffer.part.0) @05faf700
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:214748 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer/22 (107374 (estimated locally),0.50 per call)
- Calls: memcpy/41 (35433 (estimated locally),0.16 per call) memcpy/41 (11693 (estimated locally),0.05 per call)
- prvWriteBytesToBuffer.part.0/48 (prvWriteBytesToBuffer.part.0) @05faf620
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:160260 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvWriteMessageToBuffer/12 (177167401 (estimated locally),0.17 per call) prvWriteBytesToBuffer/21 (107374 (estimated locally),0.50 per call)
- Calls: memcpy/41 (52886 (estimated locally),0.33 per call) memcpy/41 (8726 (estimated locally),0.05 per call)
- prvInitialiseNewStreamBuffer.part.0/44 (prvInitialiseNewStreamBuffer.part.0) @05e6d8c0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly artificial
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) first_run:1 body local split_part optimize_size
- Called by: prvInitialiseNewStreamBuffer/24 (22666 (estimated locally),0.17 per call)
- Calls: memset/29 (1073741824 (estimated locally),1.00 per call)
- xTaskGenericNotifyFromISR/42 (xTaskGenericNotifyFromISR) @05f6e0e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- 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)
- Calls:
- memcpy/41 (memcpy) @05f5bee0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- 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)
- Calls:
- xTaskResumeAll/40 (xTaskResumeAll) @05f5bc40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
- Calls:
- xTaskGenericNotify/39 (xTaskGenericNotify) @05f5bb60
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (8104 (estimated locally),0.02 per call) xStreamBufferSend/10 (6383 (estimated locally),0.02 per call)
- Calls:
- vTaskSuspendAll/38 (vTaskSuspendAll) @05f5ba80
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (15156 (estimated locally),0.04 per call) xStreamBufferSend/10 (11938 (estimated locally),0.03 per call)
- Calls:
- xTaskCheckForTimeOut/37 (xTaskCheckForTimeOut) @05f5b9a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGenericNotifyWait/36 (xTaskGenericNotifyWait) @05f5b8c0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (16991 (estimated locally),0.05 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGetCurrentTaskHandle/35 (xTaskGetCurrentTaskHandle) @05f5b7e0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (7642 (estimated locally),0.02 per call) xStreamBufferSend/10 (576777 (estimated locally),1.61 per call)
- Calls:
- xTaskGenericNotifyStateClear/34 (xTaskGenericNotifyStateClear) @05f5b700
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferReceive/13 (43844 (estimated locally),0.12 per call) xStreamBufferSend/10 (598690 (estimated locally),1.67 per call)
- Calls:
- vTaskSetTimeOutState/33 (vTaskSetTimeOutState) @05f5b620
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferSend/10 (65767 (estimated locally),0.18 per call)
- Calls:
- vPortExitCritical/32 (vPortExitCritical) @05f362a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- 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)
- Calls:
- vPortEnterCritical/31 (vPortEnterCritical) @05f36000
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- 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)
- Calls:
- vPortFree/30 (vPortFree) @05f36e00
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: vStreamBufferDelete/5 (125270 (estimated locally),0.35 per call)
- Calls:
- memset/29 (memset) @05f36c40
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- 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)
- Calls:
- pvPortMalloc/28 (pvPortMalloc) @05f369a0
- Type: function
- Visibility: external public
- References:
- Referring:
- Availability: not_available
- Function flags: optimize_size
- Called by: xStreamBufferGenericCreate/4 (44471 (estimated locally),0.14 per call)
- Calls:
- ucStreamBufferGetStreamBufferType/27 (ucStreamBufferGetStreamBufferType) @05f36460
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- vStreamBufferSetStreamBufferNumber/26 (vStreamBufferSetStreamBufferNumber) @05f361c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- uxStreamBufferGetStreamBufferNumber/25 (uxStreamBufferGetStreamBufferNumber) @05f2ed20
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:1073741824 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvInitialiseNewStreamBuffer/24 (prvInitialiseNewStreamBuffer) @05f2e540
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:130040 (estimated locally) body local optimize_size
- Called by: xStreamBufferReset/6 (6452 (estimated locally),0.03 per call) xStreamBufferGenericCreate/4 (23779 (estimated locally),0.07 per call)
- Calls: prvInitialiseNewStreamBuffer.part.0/44 (22666 (estimated locally),0.17 per call) memset/29 (130040 (estimated locally),1.00 per call)
- prvBytesInBuffer/23 (prvBytesInBuffer) @05f2eee0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- 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)
- Calls:
- prvReadBytesFromBuffer/22 (prvReadBytesFromBuffer) @05f2ec40
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:214748 (estimated locally) body local optimize_size
- Called by: xStreamBufferNextMessageLengthBytes/14 (27284 (estimated locally),0.08 per call) prvReadMessageFromBuffer/16 (354334802 (estimated locally),0.33 per call)
- Calls: prvReadBytesFromBuffer.part.0/53 (107374 (estimated locally),0.50 per call)
- prvWriteBytesToBuffer/21 (prvWriteBytesToBuffer) @05f2e7e0
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:214748 (estimated locally) body local optimize_size
- Called by: prvWriteMessageToBuffer/12 (354334802 (estimated locally),0.33 per call)
- Calls: prvWriteBytesToBuffer.part.0/48 (107374 (estimated locally),0.50 per call)
- xStreamBufferReceiveCompletedFromISR/20 (xStreamBufferReceiveCompletedFromISR) @05f2e460
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferSendCompletedFromISR/19 (xStreamBufferSendCompletedFromISR) @05f2e0e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xTaskGenericNotifyFromISR/42 (133963 (estimated locally),0.37 per call)
- xStreamBufferIsFull/18 (xStreamBufferIsFull) @05ede8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: xStreamBufferSpacesAvailable/8 (250539 (estimated locally),0.70 per call)
- xStreamBufferIsEmpty/17 (xStreamBufferIsEmpty) @05edeee0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- prvReadMessageFromBuffer/16 (prvReadMessageFromBuffer) @05edeb60
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferReceiveFromISR/15 (57875 (estimated locally),0.16 per call) xStreamBufferReceive/13 (45928 (estimated locally),0.13 per call)
- Calls: prvReadBytesFromBuffer/22 (354334802 (estimated locally),0.33 per call) prvReadBytesFromBuffer.part.0/53 (354334802 (estimated locally),0.33 per call)
- xStreamBufferReceiveFromISR/15 (xStreamBufferReceiveFromISR) @05ede7e0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- 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)
- xStreamBufferNextMessageLengthBytes/14 (xStreamBufferNextMessageLengthBytes) @05ede380
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: prvReadBytesFromBuffer/22 (27284 (estimated locally),0.08 per call) prvBytesInBuffer/23 (82678 (estimated locally),0.23 per call)
- xStreamBufferReceive/13 (xStreamBufferReceive) @05ed1e00
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- 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)
- prvWriteMessageToBuffer/12 (prvWriteMessageToBuffer) @05ed1d20
- Type: function definition analyzed
- Visibility: prevailing_def_ironly
- References:
- Referring:
- Availability: local
- Function flags: count:1073741824 (estimated locally) body local optimize_size
- Called by: xStreamBufferSendFromISR/11 (175378 (estimated locally),0.49 per call) xStreamBufferSend/10 (109621 (estimated locally),0.31 per call)
- Calls: prvWriteBytesToBuffer/21 (354334802 (estimated locally),0.33 per call) prvWriteBytesToBuffer.part.0/48 (177167401 (estimated locally),0.17 per call)
- xStreamBufferSendFromISR/11 (xStreamBufferSendFromISR) @05ed19a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- 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)
- xStreamBufferSend/10 (xStreamBufferSend) @05ed1540
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- 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)
- xStreamBufferBytesAvailable/9 (xStreamBufferBytesAvailable) @05f2bd20
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- Calls: prvBytesInBuffer/23 (123389 (estimated locally),0.53 per call)
- xStreamBufferSpacesAvailable/8 (xStreamBufferSpacesAvailable) @05f2b2a0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- 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)
- Calls: xStreamBufferSpacesAvailable.part.0/62 (107374 (estimated locally),0.30 per call)
- xStreamBufferSetTriggerLevel/7 (xStreamBufferSetTriggerLevel) @05f2bc40
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls:
- xStreamBufferReset/6 (xStreamBufferReset) @05f2b8c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:230763 (estimated locally) body optimize_size
- Called by:
- 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)
- vStreamBufferDelete/5 (vStreamBufferDelete) @05f2b540
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:357913 (estimated locally) body optimize_size
- Called by:
- Calls: memset/29 (125270 (estimated locally),0.35 per call) vPortFree/30 (125270 (estimated locally),0.35 per call)
- xStreamBufferGenericCreate/4 (xStreamBufferGenericCreate) @05f2b1c0
- Type: function definition analyzed
- Visibility: externally_visible public
- References:
- Referring:
- Availability: available
- Function flags: count:325376 (estimated locally) body optimize_size
- Called by:
- Calls: prvInitialiseNewStreamBuffer/24 (23779 (estimated locally),0.07 per call) pvPortMalloc/28 (44471 (estimated locally),0.14 per call)
- xStreamBufferSpacesAvailable.part.0 ()
- {
- const struct StreamBuffer_t * const pxStreamBuffer;
- size_t xSpace;
- size_t xOriginalTail;
- uint32_t ulNewBASEPRI;
- struct StreamBufferDef_t * xStreamBuffer;
- <bb 5> [local count: 107374]:
- # DEBUG D#2 s=> xStreamBuffer
- # DEBUG xStreamBuffer => D#2
- <bb 2> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_1 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_1
- <bb 3> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 4> [local count: 1073741824]:
- goto <bb 3>; [100.00%]
- }
- prvReadBytesFromBuffer.part.0 (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
- {
- size_t xFirstLength;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- unsigned int _2;
- unsigned int _4;
- unsigned int _8;
- uint8_t * _10;
- uint8_t * _11;
- uint8_t * _13;
- uint8_t * _14;
- unsigned int _15;
- unsigned int _17;
- <bb 15> [local count: 214748]:
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = pxStreamBuffer_1(D)->xLength;
- _4 = _2 - xTail_3(D);
- xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
- # DEBUG xFirstLength => xFirstLength_6
- # DEBUG BEGIN_STMT
- if (xCount_5(D) < xFirstLength_6)
- goto <bb 3>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_7 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_7
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 5> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 6> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _8 = xTail_3(D) + xFirstLength_6;
- if (_2 < _8)
- goto <bb 7>; [67.00%]
- else
- goto <bb 10>; [33.00%]
- <bb 7> [local count: 71941]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
- <bb 8> [local count: 719407023]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 719407023]:
- goto <bb 8>; [100.00%]
- <bb 10> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _10 = pxStreamBuffer_1(D)->pucBuffer;
- _11 = _10 + xTail_3(D);
- memcpy (pucData_12(D), _11, xFirstLength_6);
- # DEBUG BEGIN_STMT
- if (xCount_5(D) > xFirstLength_6)
- goto <bb 11>; [33.00%]
- else
- goto <bb 12>; [67.00%]
- <bb 11> [local count: 11693]:
- # DEBUG BEGIN_STMT
- _13 = pucData_12(D) + xFirstLength_6;
- _14 = pxStreamBuffer_1(D)->pucBuffer;
- _15 = xCount_5(D) - xFirstLength_6;
- memcpy (_13, _14, _15);
- <bb 12> [local count: 35433]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTail_16 = xTail_3(D) + xCount_5(D);
- # DEBUG xTail => xTail_16
- # DEBUG BEGIN_STMT
- _17 = pxStreamBuffer_1(D)->xLength;
- if (xTail_16 >= _17)
- goto <bb 13>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 13> [local count: 17717]:
- # DEBUG BEGIN_STMT
- xTail_18 = xTail_16 - _17;
- # DEBUG xTail => xTail_18
- <bb 14> [local count: 35433]:
- # xTail_19 = PHI <xTail_16(12), xTail_18(13)>
- # DEBUG xTail => xTail_19
- # DEBUG BEGIN_STMT
- return xTail_19;
- }
- prvWriteBytesToBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
- {
- size_t xFirstLength;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- unsigned int _2;
- unsigned int _4;
- unsigned int _7;
- uint8_t * _9;
- uint8_t * _10;
- unsigned int _12;
- unsigned int _13;
- uint8_t * _15;
- const uint8_t * _16;
- unsigned int _18;
- <bb 15> [local count: 160260]:
- <bb 2> [local count: 160260]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _2 = pxStreamBuffer_1(D)->xLength;
- _4 = _2 - xHead_3(D);
- xFirstLength_6 = MIN_EXPR <_4, xCount_5(D)>;
- # DEBUG xFirstLength => xFirstLength_6
- # DEBUG BEGIN_STMT
- _7 = xHead_3(D) + xFirstLength_6;
- if (_2 < _7)
- goto <bb 3>; [67.00%]
- else
- goto <bb 6>; [33.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 5> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 6> [local count: 52886]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _9 = pxStreamBuffer_1(D)->pucBuffer;
- _10 = _9 + xHead_3(D);
- memcpy (_10, pucData_11(D), xFirstLength_6);
- # DEBUG BEGIN_STMT
- if (xCount_5(D) > xFirstLength_6)
- goto <bb 7>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 7> [local count: 26443]:
- # DEBUG BEGIN_STMT
- _12 = xCount_5(D) - xFirstLength_6;
- _13 = pxStreamBuffer_1(D)->xLength;
- if (_12 > _13)
- goto <bb 8>; [67.00%]
- else
- goto <bb 11>; [33.00%]
- <bb 8> [local count: 17717]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
- <bb 9> [local count: 177167401]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 177167401]:
- goto <bb 9>; [100.00%]
- <bb 11> [local count: 8726]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _15 = pxStreamBuffer_1(D)->pucBuffer;
- _16 = pucData_11(D) + xFirstLength_6;
- memcpy (_15, _16, _12);
- <bb 12> [local count: 35169]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xHead_17 = xHead_3(D) + xCount_5(D);
- # DEBUG xHead => xHead_17
- # DEBUG BEGIN_STMT
- _18 = pxStreamBuffer_1(D)->xLength;
- if (xHead_17 >= _18)
- goto <bb 13>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 13> [local count: 17584]:
- # DEBUG BEGIN_STMT
- xHead_19 = xHead_17 - _18;
- # DEBUG xHead => xHead_19
- <bb 14> [local count: 35169]:
- # xHead_20 = PHI <xHead_17(12), xHead_19(13)>
- # DEBUG xHead => xHead_20
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xHead_20;
- }
- prvInitialiseNewStreamBuffer.part.0 (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
- {
- const BaseType_t xWriteValue;
- uint32_t ulNewBASEPRI;
- <bb 3> [local count: 1073741824]:
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- memset (pxStreamBuffer_1(D), 0, 36);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->pucBuffer = pucBuffer_2(D);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->xLength = xBufferSizeBytes_3(D);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->xTriggerLevelBytes = xTriggerLevelBytes_4(D);
- # DEBUG BEGIN_STMT
- pxStreamBuffer_1(D)->ucFlags = ucFlags_5(D);
- return;
- }
- ucStreamBufferGetStreamBufferType (struct StreamBufferDef_t * xStreamBuffer)
- {
- unsigned char _1;
- uint8_t _4;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _1 = xStreamBuffer_3(D)->ucFlags;
- _4 = _1 & 1;
- return _4;
- }
- vStreamBufferSetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer, UBaseType_t uxStreamBufferNumber)
- {
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xStreamBuffer_2(D)->uxStreamBufferNumber = uxStreamBufferNumber_3(D);
- return;
- }
- uxStreamBufferGetStreamBufferNumber (struct StreamBufferDef_t * xStreamBuffer)
- {
- UBaseType_t _3;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _3 = xStreamBuffer_2(D)->uxStreamBufferNumber;
- return _3;
- }
- prvInitialiseNewStreamBuffer (struct StreamBuffer_t * const pxStreamBuffer, uint8_t * const pucBuffer, size_t xBufferSizeBytes, size_t xTriggerLevelBytes, uint8_t ucFlags)
- {
- uint32_t ulNewBASEPRI;
- void * _1;
- <bb 2> [local count: 130040]:
- # DEBUG BEGIN_STMT
- # DEBUG xWriteValue => 85
- # DEBUG BEGIN_STMT
- _1 = memset (pucBuffer_4(D), 85, xBufferSizeBytes_5(D));
- if (_1 != pucBuffer_4(D))
- goto <bb 3>; [82.57%]
- else
- goto <bb 5>; [17.43%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 22666]:
- prvInitialiseNewStreamBuffer.part.0 (pxStreamBuffer_7(D), pucBuffer_4(D), xBufferSizeBytes_5(D), xTriggerLevelBytes_8(D), ucFlags_9(D));
- return;
- }
- prvBytesInBuffer (const struct StreamBuffer_t * const pxStreamBuffer)
- {
- size_t xCount;
- unsigned int _1;
- unsigned int _2;
- unsigned int _7;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = pxStreamBuffer_5(D)->xLength;
- _2 ={v} pxStreamBuffer_5(D)->xHead;
- xCount_6 = _1 + _2;
- # DEBUG xCount => xCount_6
- # DEBUG BEGIN_STMT
- _7 ={v} pxStreamBuffer_5(D)->xTail;
- xCount_8 = xCount_6 - _7;
- # DEBUG xCount => xCount_8
- # DEBUG BEGIN_STMT
- if (_1 <= xCount_8)
- goto <bb 3>; [50.00%]
- else
- goto <bb 4>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- xCount_9 = xCount_8 - _1;
- # DEBUG xCount => xCount_9
- <bb 4> [local count: 1073741824]:
- # xCount_3 = PHI <xCount_8(2), xCount_9(3)>
- # DEBUG xCount => xCount_3
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xCount_3;
- }
- prvReadBytesFromBuffer (struct StreamBuffer_t * pxStreamBuffer, uint8_t * pucData, size_t xCount, size_t xTail)
- {
- uint32_t ulNewBASEPRI;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xCount_3(D) == 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- xTail_1 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xTail_6(D));
- # DEBUG xTail => xTail_1
- # DEBUG BEGIN_STMT
- return xTail_1;
- }
- prvWriteBytesToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const uint8_t * pucData, size_t xCount, size_t xHead)
- {
- uint32_t ulNewBASEPRI;
- <bb 2> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xCount_3(D) == 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 107374]:
- xHead_1 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_5(D), pucData_7(D), xCount_3(D), xHead_6(D));
- # DEBUG xHead => xHead_1
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xHead_1;
- }
- xStreamBufferReceiveCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- struct tskTaskControlBlock * _1;
- struct tskTaskControlBlock * _2;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
- if (_1 != 0B)
- goto <bb 6>; [53.47%]
- else
- goto <bb 7>; [46.53%]
- <bb 6> [local count: 133963]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend;
- xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToSend ={v} 0B;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 7> [local count: 250539]:
- # xReturn_3 = PHI <1(6), 0(5)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- xStreamBufferSendCompletedFromISR (struct StreamBufferDef_t * xStreamBuffer, BaseType_t * pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- struct tskTaskControlBlock * _1;
- struct tskTaskControlBlock * _2;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_10 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_10
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_11, "=r" ulNewBASEPRI_12 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_12
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_11
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
- if (_1 != 0B)
- goto <bb 6>; [53.47%]
- else
- goto <bb 7>; [46.53%]
- <bb 6> [local count: 133963]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive;
- xTaskGenericNotifyFromISR (_2, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_7(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTaskWaitingToReceive ={v} 0B;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 7> [local count: 250539]:
- # xReturn_3 = PHI <1(6), 0(5)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_11
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_11 : "memory");
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- xStreamBufferIsFull (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- size_t xBytesToStoreMessageLength;
- BaseType_t xReturn;
- unsigned char _1;
- unsigned int _2;
- unsigned char _6;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 10> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
- _6 = _1 & 1;
- if (_6 != 0)
- goto <bb 7>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG xBytesToStoreMessageLength => 0
- <bb 7> [local count: 250539]:
- # xBytesToStoreMessageLength_4 = PHI <4(5), 0(6)>
- # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_4
- # DEBUG BEGIN_STMT
- _2 = xStreamBufferSpacesAvailable (xStreamBuffer_5(D));
- if (_2 <= xBytesToStoreMessageLength_4)
- goto <bb 9>; [50.00%]
- else
- goto <bb 8>; [50.00%]
- <bb 8> [local count: 125270]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- <bb 9> [local count: 250539]:
- # xReturn_3 = PHI <1(7), 0(8)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- return xReturn_3;
- }
- xStreamBufferIsEmpty (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- size_t xTail;
- BaseType_t xReturn;
- unsigned int _1;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_3(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_6 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_6
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTail_5 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xTail;
- # DEBUG xTail => xTail_5
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_3(D)].xHead;
- if (_1 == xTail_5)
- goto <bb 7>; [34.00%]
- else
- goto <bb 6>; [66.00%]
- <bb 6> [local count: 165356]:
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- <bb 7> [local count: 250539]:
- # xReturn_2 = PHI <1(5), 0(6)>
- # DEBUG xReturn => xReturn_2
- # DEBUG BEGIN_STMT
- return xReturn_2;
- }
- prvReadMessageFromBuffer (struct StreamBuffer_t * pxStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, size_t xBytesAvailable)
- {
- size_t xTail;
- size_t xNextTail;
- size_t xTempNextMessageLength;
- size_t xNextMessageLength;
- size_t xCount;
- unsigned char _1;
- unsigned int _2;
- unsigned char _12;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xNextTail_10 ={v} pxStreamBuffer_9(D)->xTail;
- # DEBUG xNextTail => xNextTail_10
- # DEBUG BEGIN_STMT
- _1 = pxStreamBuffer_9(D)->ucFlags;
- _12 = _1 & 1;
- if (_12 != 0)
- goto <bb 3>; [33.00%]
- else
- goto <bb 5>; [67.00%]
- <bb 3> [local count: 354334802]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => pxStreamBuffer_9(D)
- # DEBUG pucData => &xTempNextMessageLength
- # DEBUG xCount => 4
- # DEBUG xTail => xNextTail_10
- # DEBUG INLINE_ENTRY prvReadBytesFromBuffer
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTail_21 = prvReadBytesFromBuffer.part.0 (pxStreamBuffer_9(D), &xTempNextMessageLength, 4, xNextTail_10);
- # DEBUG xTail => xTail_21
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => NULL
- # DEBUG pucData => NULL
- # DEBUG xCount => NULL
- # DEBUG xTail => NULL
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG xNextTail => xTail_21
- # DEBUG BEGIN_STMT
- xNextMessageLength_14 = xTempNextMessageLength;
- # DEBUG xNextMessageLength => xNextMessageLength_14
- # DEBUG BEGIN_STMT
- xBytesAvailable_15 = xBytesAvailable_13(D) + 4294967292;
- # DEBUG xBytesAvailable => xBytesAvailable_15
- # DEBUG BEGIN_STMT
- if (xBufferLengthBytes_11(D) < xNextMessageLength_14)
- goto <bb 4>; [50.00%]
- else
- goto <bb 5>; [50.00%]
- <bb 4> [local count: 177167401]:
- # DEBUG BEGIN_STMT
- # DEBUG xNextMessageLength => 0
- <bb 5> [local count: 1073741824]:
- # xBytesAvailable_3 = PHI <xBytesAvailable_15(4), xBytesAvailable_13(D)(2), xBytesAvailable_15(3)>
- # xNextMessageLength_4 = PHI <0(4), xBufferLengthBytes_11(D)(2), xNextMessageLength_14(3)>
- # xNextTail_5 = PHI <xTail_21(4), xNextTail_10(2), xTail_21(3)>
- # DEBUG xNextTail => xNextTail_5
- # DEBUG xNextMessageLength => xNextMessageLength_4
- # DEBUG xBytesAvailable => xBytesAvailable_3
- # DEBUG BEGIN_STMT
- xCount_16 = MIN_EXPR <xBytesAvailable_3, xNextMessageLength_4>;
- # DEBUG xCount => xCount_16
- # DEBUG BEGIN_STMT
- if (xCount_16 != 0)
- goto <bb 6>; [33.00%]
- else
- goto <bb 7>; [67.00%]
- <bb 6> [local count: 354334802]:
- # DEBUG BEGIN_STMT
- _2 = prvReadBytesFromBuffer (pxStreamBuffer_9(D), pvRxData_17(D), xCount_16, xNextTail_5);
- pxStreamBuffer_9(D)->xTail ={v} _2;
- <bb 7> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xTempNextMessageLength ={v} {CLOBBER};
- return xCount_16;
- }
- xStreamBufferReceiveFromISR (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xBytesToStoreMessageLength;
- size_t xBytesAvailable;
- size_t xReceivedLength;
- unsigned char _1;
- struct tskTaskControlBlock * _2;
- struct tskTaskControlBlock * _3;
- unsigned char _9;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_8(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReceivedLength => 0
- # DEBUG BEGIN_STMT
- if (pvRxData_10(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_20 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_20
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_8(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_21 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_21
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].ucFlags;
- _9 = _1 & 1;
- if (_9 != 0)
- goto <bb 10>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- # DEBUG xBytesToStoreMessageLength => 0
- <bb 10> [local count: 175378]:
- # xBytesToStoreMessageLength_5 = PHI <4(8), 0(9)>
- # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_5
- # DEBUG BEGIN_STMT
- xBytesAvailable_13 = prvBytesInBuffer (xStreamBuffer_8(D));
- # DEBUG xBytesAvailable => xBytesAvailable_13
- # DEBUG BEGIN_STMT
- if (xBytesToStoreMessageLength_5 < xBytesAvailable_13)
- goto <bb 11>; [33.00%]
- else
- goto <bb 15>; [67.00%]
- <bb 11> [local count: 57875]:
- # DEBUG BEGIN_STMT
- xReceivedLength_16 = prvReadMessageFromBuffer (xStreamBuffer_8(D), pvRxData_10(D), xBufferLengthBytes_14(D), xBytesAvailable_13);
- # DEBUG xReceivedLength => xReceivedLength_16
- # DEBUG BEGIN_STMT
- if (xReceivedLength_16 != 0)
- goto <bb 12>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 12> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_22, "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_22
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_22
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
- if (_2 != 0B)
- goto <bb 13>; [53.47%]
- else
- goto <bb 14>; [46.53%]
- <bb 13> [local count: 15473]:
- # DEBUG BEGIN_STMT
- _3 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend;
- xTaskGenericNotifyFromISR (_3, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_17(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_8(D)].xTaskWaitingToSend ={v} 0B;
- <bb 14> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_22
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_22 : "memory");
- <bb 15> [local count: 175378]:
- # xReceivedLength_4 = PHI <0(10), xReceivedLength_16(14), xReceivedLength_16(11)>
- # DEBUG ulNewMaskValue => NULL
- # DEBUG xReceivedLength => xReceivedLength_4
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReceivedLength_4;
- }
- xStreamBufferNextMessageLengthBytes (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xTempReturn;
- size_t xBytesAvailable;
- size_t xReturn;
- unsigned char _1;
- unsigned int _2;
- unsigned char _6;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_5(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_5(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_13 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_13
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 12> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].ucFlags;
- _6 = _1 & 1;
- if (_6 != 0)
- goto <bb 6>; [33.00%]
- else
- goto <bb 11>; [67.00%]
- <bb 6> [local count: 82678]:
- # DEBUG BEGIN_STMT
- xBytesAvailable_9 = prvBytesInBuffer (xStreamBuffer_5(D));
- # DEBUG xBytesAvailable => xBytesAvailable_9
- # DEBUG BEGIN_STMT
- if (xBytesAvailable_9 > 4)
- goto <bb 7>; [33.00%]
- else
- goto <bb 8>; [67.00%]
- <bb 7> [local count: 27284]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_5(D)].xTail;
- prvReadBytesFromBuffer (xStreamBuffer_5(D), &xTempReturn, 4, _2);
- # DEBUG BEGIN_STMT
- xReturn_11 = xTempReturn;
- # DEBUG xReturn => xReturn_11
- goto <bb 11>; [100.00%]
- <bb 8> [local count: 55394]:
- # DEBUG BEGIN_STMT
- if (xBytesAvailable_9 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 11>; [50.00%]
- <bb 9> [local count: 27697]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_14 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_14
- <bb 10> [local count: 276971704]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 13> [local count: 276971704]:
- goto <bb 10>; [100.00%]
- <bb 11> [local count: 222842]:
- # xReturn_3 = PHI <0(8), 0(5), xReturn_11(7)>
- # DEBUG xReturn => xReturn_3
- # DEBUG BEGIN_STMT
- xTempReturn ={v} {CLOBBER};
- return xReturn_3;
- }
- xStreamBufferReceive (struct StreamBufferDef_t * xStreamBuffer, void * pvRxData, size_t xBufferLengthBytes, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xBytesToStoreMessageLength;
- size_t xBytesAvailable;
- size_t xReceivedLength;
- unsigned char _1;
- struct tskTaskControlBlock * _2;
- struct tskTaskControlBlock * _3;
- struct tskTaskControlBlock * _4;
- struct tskTaskControlBlock * _5;
- unsigned char _14;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_13(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReceivedLength => 0
- # DEBUG BEGIN_STMT
- if (pvRxData_15(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_38 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_38
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 25> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_13(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_39 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_39
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 26> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].ucFlags;
- _14 = _1 & 1;
- if (_14 != 0)
- goto <bb 10>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- # DEBUG xBytesToStoreMessageLength => 0
- <bb 10> [local count: 175378]:
- # xBytesToStoreMessageLength_8 = PHI <4(8), 0(9)>
- # DEBUG xBytesToStoreMessageLength => xBytesToStoreMessageLength_8
- # DEBUG BEGIN_STMT
- if (xTicksToWait_17(D) != 0)
- goto <bb 11>; [50.00%]
- else
- goto <bb 18>; [50.00%]
- <bb 11> [local count: 87689]:
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- xBytesAvailable_22 = prvBytesInBuffer (xStreamBuffer_13(D));
- # DEBUG xBytesAvailable => xBytesAvailable_22
- # DEBUG BEGIN_STMT
- if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
- goto <bb 12>; [50.00%]
- else
- goto <bb 16>; [50.00%]
- <bb 12> [local count: 43844]:
- # DEBUG BEGIN_STMT
- xTaskGenericNotifyStateClear (0B, 0);
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive;
- if (_2 != 0B)
- goto <bb 13>; [82.57%]
- else
- goto <bb 15>; [17.43%]
- <bb 13> [local count: 36202]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_40 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_40
- <bb 14> [local count: 362023689]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 27> [local count: 362023689]:
- goto <bb 14>; [100.00%]
- <bb 15> [local count: 7642]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _3 = xTaskGetCurrentTaskHandle ();
- MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} _3;
- <bb 16> [local count: 51486]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- if (xBytesToStoreMessageLength_8 >= xBytesAvailable_22)
- goto <bb 17>; [33.00%]
- else
- goto <bb 19>; [67.00%]
- <bb 17> [local count: 16991]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait_17(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToReceive ={v} 0B;
- # DEBUG BEGIN_STMT
- xBytesAvailable_30 = prvBytesInBuffer (xStreamBuffer_13(D));
- # DEBUG xBytesAvailable => xBytesAvailable_30
- goto <bb 19>; [100.00%]
- <bb 18> [local count: 87689]:
- # DEBUG BEGIN_STMT
- xBytesAvailable_19 = prvBytesInBuffer (xStreamBuffer_13(D));
- # DEBUG xBytesAvailable => xBytesAvailable_19
- <bb 19> [local count: 139175]:
- # xBytesAvailable_7 = PHI <xBytesAvailable_30(17), xBytesAvailable_19(18), xBytesAvailable_22(16)>
- # DEBUG xBytesAvailable => xBytesAvailable_7
- # DEBUG BEGIN_STMT
- if (xBytesAvailable_7 > xBytesToStoreMessageLength_8)
- goto <bb 20>; [33.00%]
- else
- goto <bb 24>; [67.00%]
- <bb 20> [local count: 45928]:
- # DEBUG BEGIN_STMT
- xReceivedLength_33 = prvReadMessageFromBuffer (xStreamBuffer_13(D), pvRxData_15(D), xBufferLengthBytes_31(D), xBytesAvailable_7);
- # DEBUG xReceivedLength => xReceivedLength_33
- # DEBUG BEGIN_STMT
- if (xReceivedLength_33 != 0)
- goto <bb 21>; [33.00%]
- else
- goto <bb 24>; [67.00%]
- <bb 21> [local count: 15156]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
- if (_4 != 0B)
- goto <bb 22>; [53.47%]
- else
- goto <bb 23>; [46.53%]
- <bb 22> [local count: 8104]:
- # DEBUG BEGIN_STMT
- _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend;
- xTaskGenericNotify (_5, 0, 0, 0, 0B);
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_13(D)].xTaskWaitingToSend ={v} 0B;
- <bb 23> [local count: 15156]:
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- <bb 24> [local count: 139175]:
- # xReceivedLength_6 = PHI <0(19), xReceivedLength_33(23), xReceivedLength_33(20)>
- # DEBUG xReceivedLength => xReceivedLength_6
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReceivedLength_6;
- }
- prvWriteMessageToBuffer (struct StreamBuffer_t * const pxStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, size_t xSpace, size_t xRequiredSpace)
- {
- size_t xHead;
- size_t xNextHead;
- unsigned char _1;
- unsigned int xDataLengthBytes.2_2;
- unsigned int _3;
- unsigned int xDataLengthBytes.3_4;
- unsigned int _5;
- size_t _19;
- unsigned char _22;
- <bb 2> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- xNextHead_11 ={v} pxStreamBuffer_10(D)->xHead;
- # DEBUG xNextHead => xNextHead_11
- # DEBUG BEGIN_STMT
- _1 = pxStreamBuffer_10(D)->ucFlags;
- _22 = _1 & 1;
- if (_22 != 0)
- goto <bb 3>; [50.00%]
- else
- goto <bb 6>; [50.00%]
- <bb 3> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- if (xSpace_12(D) >= xRequiredSpace_14(D))
- goto <bb 4>; [33.00%]
- else
- goto <bb 5>; [67.00%]
- <bb 4> [local count: 177167401]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => pxStreamBuffer_10(D)
- # DEBUG pucData => &xDataLengthBytes
- # DEBUG xCount => 4
- # DEBUG xHead => xNextHead_11
- # DEBUG INLINE_ENTRY prvWriteBytesToBuffer
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xHead_20 = prvWriteBytesToBuffer.part.0 (pxStreamBuffer_10(D), &xDataLengthBytes, 4, xNextHead_11);
- # DEBUG xHead => xHead_20
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => NULL
- # DEBUG pucData => NULL
- # DEBUG xCount => NULL
- # DEBUG xHead => NULL
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG xNextHead => xHead_20
- goto <bb 7>; [100.00%]
- <bb 5> [local count: 359703511]:
- # DEBUG BEGIN_STMT
- xDataLengthBytes = 0;
- goto <bb 7>; [100.00%]
- <bb 6> [local count: 536870913]:
- # DEBUG BEGIN_STMT
- xDataLengthBytes.2_2 = xDataLengthBytes;
- _3 = MIN_EXPR <xDataLengthBytes.2_2, xSpace_12(D)>;
- xDataLengthBytes = _3;
- <bb 7> [local count: 1073741824]:
- # xNextHead_6 = PHI <xNextHead_11(5), xNextHead_11(6), xHead_20(4)>
- # DEBUG xNextHead => xNextHead_6
- # DEBUG BEGIN_STMT
- xDataLengthBytes.3_4 = xDataLengthBytes;
- if (xDataLengthBytes.3_4 != 0)
- goto <bb 8>; [33.00%]
- else
- goto <bb 9>; [67.00%]
- <bb 8> [local count: 354334802]:
- # DEBUG BEGIN_STMT
- _5 = prvWriteBytesToBuffer (pxStreamBuffer_10(D), pvTxData_16(D), xDataLengthBytes.3_4, xNextHead_6);
- pxStreamBuffer_10(D)->xHead ={v} _5;
- <bb 9> [local count: 1073741824]:
- # DEBUG BEGIN_STMT
- _19 = xDataLengthBytes;
- return _19;
- }
- xStreamBufferSendFromISR (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, BaseType_t * const pxHigherPriorityTaskWoken)
- {
- uint32_t ulOriginalBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xRequiredSpace;
- size_t xSpace;
- size_t xReturn;
- unsigned char _1;
- unsigned int _2;
- unsigned int _3;
- struct tskTaskControlBlock * _4;
- struct tskTaskControlBlock * _5;
- unsigned char _10;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xRequiredSpace => xDataLengthBytes_11(D)
- # DEBUG BEGIN_STMT
- if (pvTxData_12(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_23 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_23
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_9(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_24 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_24
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
- _10 = _1 & 1;
- if (_10 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 10>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- xRequiredSpace_14 = xDataLengthBytes_11(D) + 4;
- # DEBUG xRequiredSpace => xRequiredSpace_14
- <bb 10> [local count: 175378]:
- # xRequiredSpace_6 = PHI <xDataLengthBytes_11(D)(8), xRequiredSpace_14(9)>
- # DEBUG xRequiredSpace => xRequiredSpace_6
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xSpace_16 = xStreamBufferSpacesAvailable (xStreamBuffer_9(D));
- # DEBUG xSpace => xSpace_16
- # DEBUG BEGIN_STMT
- xReturn_18 = prvWriteMessageToBuffer (xStreamBuffer_9(D), pvTxData_12(D), xDataLengthBytes_11(D), xSpace_16, xRequiredSpace_6);
- # DEBUG xReturn => xReturn_18
- # DEBUG BEGIN_STMT
- if (xReturn_18 != 0)
- goto <bb 11>; [33.00%]
- else
- goto <bb 15>; [67.00%]
- <bb 11> [local count: 57875]:
- # DEBUG BEGIN_STMT
- _2 = prvBytesInBuffer (xStreamBuffer_9(D));
- _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
- if (_2 >= _3)
- goto <bb 12>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 12> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY ulPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mrs %0, basepri
- mov %1, %2
- msr basepri, %1
- isb
- dsb
- " : "=r" ulOriginalBASEPRI_25, "=r" ulNewBASEPRI_26 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_26
- # DEBUG ulOriginalBASEPRI => ulOriginalBASEPRI_25
- # DEBUG BEGIN_STMT
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG ulOriginalBASEPRI => NULL
- # DEBUG uxSavedInterruptStatus => ulOriginalBASEPRI_25
- # DEBUG BEGIN_STMT
- _4 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- if (_4 != 0B)
- goto <bb 13>; [53.47%]
- else
- goto <bb 14>; [46.53%]
- <bb 13> [local count: 15473]:
- # DEBUG BEGIN_STMT
- _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- xTaskGenericNotifyFromISR (_5, 0, 0, 0, 0B, pxHigherPriorityTaskWoken_20(D));
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive ={v} 0B;
- <bb 14> [local count: 28937]:
- # DEBUG BEGIN_STMT
- # DEBUG ulNewMaskValue => ulOriginalBASEPRI_25
- # DEBUG INLINE_ENTRY vPortSetBASEPRI
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" msr basepri, %0 " : : "r" ulOriginalBASEPRI_25 : "memory");
- <bb 15> [local count: 175378]:
- # DEBUG ulNewMaskValue => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xReturn_18;
- }
- xStreamBufferSend (struct StreamBufferDef_t * xStreamBuffer, const void * pvTxData, size_t xDataLengthBytes, TickType_t xTicksToWait)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- size_t xMaxReportedSpace;
- struct TimeOut_t xTimeOut;
- size_t xRequiredSpace;
- size_t xSpace;
- size_t xReturn;
- unsigned int _1;
- unsigned char _2;
- unsigned int _3;
- long unsigned int xTicksToWait.0_4;
- struct tskTaskControlBlock * _5;
- struct tskTaskControlBlock * _6;
- long unsigned int xTicksToWait.1_7;
- long int _8;
- unsigned int _9;
- unsigned int _10;
- struct tskTaskControlBlock * _11;
- struct tskTaskControlBlock * _12;
- unsigned char _23;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_22(D)
- # DEBUG BEGIN_STMT
- # DEBUG xSpace => 0
- # DEBUG BEGIN_STMT
- # DEBUG xRequiredSpace => xDataLengthBytes_25(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG xMaxReportedSpace => 0
- # DEBUG BEGIN_STMT
- if (pvTxData_27(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_54 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_54
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 31> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_22(D) == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 75162]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_55 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_55
- <bb 7> [local count: 751619279]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 32> [local count: 751619279]:
- goto <bb 7>; [100.00%]
- <bb 8> [local count: 175378]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xLength;
- xMaxReportedSpace_29 = _1 + 4294967295;
- # DEBUG xMaxReportedSpace => xMaxReportedSpace_29
- # DEBUG BEGIN_STMT
- _2 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].ucFlags;
- _23 = _2 & 1;
- if (_23 != 0)
- goto <bb 9>; [50.00%]
- else
- goto <bb 14>; [50.00%]
- <bb 9> [local count: 87689]:
- # DEBUG BEGIN_STMT
- xRequiredSpace_30 = xDataLengthBytes_25(D) + 4;
- # DEBUG xRequiredSpace => xRequiredSpace_30
- # DEBUG BEGIN_STMT
- if (xDataLengthBytes_25(D) >= xRequiredSpace_30)
- goto <bb 10>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 10> [local count: 43844]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_56 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_56
- <bb 11> [local count: 438444579]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 33> [local count: 438444579]:
- goto <bb 11>; [100.00%]
- <bb 12> [local count: 43844]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xMaxReportedSpace_29 < xRequiredSpace_30)
- goto <bb 13>; [50.00%]
- else
- goto <bb 15>; [50.00%]
- <bb 13> [local count: 21922]:
- # DEBUG BEGIN_STMT
- xTicksToWait = 0;
- goto <bb 15>; [100.00%]
- <bb 14> [local count: 87689]:
- # DEBUG BEGIN_STMT
- _3 = MIN_EXPR <xMaxReportedSpace_29, xDataLengthBytes_25(D)>;
- <bb 15> [local count: 131533]:
- # xRequiredSpace_15 = PHI <xRequiredSpace_30(13), _3(14), xRequiredSpace_30(12)>
- # DEBUG xRequiredSpace => xRequiredSpace_15
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTicksToWait.0_4 = xTicksToWait;
- if (xTicksToWait.0_4 != 0)
- goto <bb 16>; [50.00%]
- else
- goto <bb 24>; [50.00%]
- <bb 16> [local count: 65767]:
- # DEBUG BEGIN_STMT
- vTaskSetTimeOutState (&xTimeOut);
- <bb 17> [local count: 621434]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- xSpace_35 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
- # DEBUG xSpace => xSpace_35
- # DEBUG BEGIN_STMT
- if (xRequiredSpace_15 > xSpace_35)
- goto <bb 18>; [96.34%]
- else
- goto <bb 22>; [3.66%]
- <bb 18> [local count: 598690]:
- # DEBUG BEGIN_STMT
- xTaskGenericNotifyStateClear (0B, 0);
- # DEBUG BEGIN_STMT
- _5 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend;
- if (_5 != 0B)
- goto <bb 19>; [3.66%]
- else
- goto <bb 21>; [96.34%]
- <bb 19> [local count: 21912]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_57 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_57
- <bb 20> [local count: 219120732]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 34> [local count: 219120732]:
- goto <bb 20>; [100.00%]
- <bb 21> [local count: 576777]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _6 = xTaskGetCurrentTaskHandle ();
- MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} _6;
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTicksToWait.1_7 = xTicksToWait;
- xTaskGenericNotifyWait (0, 0, 0, 0B, xTicksToWait.1_7);
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToSend ={v} 0B;
- # DEBUG BEGIN_STMT
- _8 = xTaskCheckForTimeOut (&xTimeOut, &xTicksToWait);
- if (_8 == 0)
- goto <bb 35>; [96.34%]
- else
- goto <bb 23>; [3.66%]
- <bb 35> [local count: 555667]:
- goto <bb 17>; [100.00%]
- <bb 22> [local count: 22744]:
- # xSpace_24 = PHI <xSpace_35(17)>
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- <bb 23> [local count: 43855]:
- # xSpace_13 = PHI <xSpace_24(22), xSpace_35(21)>
- # DEBUG xSpace => xSpace_13
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xSpace_13 == 0)
- goto <bb 24>; [50.00%]
- else
- goto <bb 25>; [50.00%]
- <bb 24> [local count: 87694]:
- # DEBUG xSpace => NULL
- # DEBUG BEGIN_STMT
- xSpace_45 = xStreamBufferSpacesAvailable (xStreamBuffer_22(D));
- # DEBUG xSpace => xSpace_45
- <bb 25> [local count: 109621]:
- # xSpace_14 = PHI <xSpace_13(23), xSpace_45(24)>
- # DEBUG xSpace => xSpace_14
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_47 = prvWriteMessageToBuffer (xStreamBuffer_22(D), pvTxData_27(D), xDataLengthBytes_25(D), xSpace_14, xRequiredSpace_15);
- # DEBUG xReturn => xReturn_47
- # DEBUG BEGIN_STMT
- if (xReturn_47 != 0)
- goto <bb 26>; [33.00%]
- else
- goto <bb 30>; [67.00%]
- <bb 26> [local count: 36175]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _9 = prvBytesInBuffer (xStreamBuffer_22(D));
- _10 = MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTriggerLevelBytes;
- if (_9 >= _10)
- goto <bb 27>; [33.00%]
- else
- goto <bb 30>; [67.00%]
- <bb 27> [local count: 11938]:
- # DEBUG BEGIN_STMT
- vTaskSuspendAll ();
- # DEBUG BEGIN_STMT
- _11 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
- if (_11 != 0B)
- goto <bb 28>; [53.47%]
- else
- goto <bb 29>; [46.53%]
- <bb 28> [local count: 6383]:
- # DEBUG BEGIN_STMT
- _12 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive;
- xTaskGenericNotify (_12, 0, 0, 0, 0B);
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_22(D)].xTaskWaitingToReceive ={v} 0B;
- <bb 29> [local count: 11938]:
- # DEBUG BEGIN_STMT
- xTaskResumeAll ();
- # DEBUG BEGIN_STMT
- <bb 30> [local count: 109621]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTimeOut ={v} {CLOBBER};
- return xReturn_47;
- }
- xStreamBufferBytesAvailable (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- size_t xReturn;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_1(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_1(D) == 0B)
- goto <bb 3>; [46.53%]
- else
- goto <bb 5>; [53.47%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_5 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_5
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 6> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xReturn_4 = prvBytesInBuffer (xStreamBuffer_1(D));
- # DEBUG xReturn => xReturn_4
- # DEBUG BEGIN_STMT
- return xReturn_4;
- }
- xStreamBufferSpacesAvailable (struct StreamBufferDef_t * xStreamBuffer)
- {
- size_t xOriginalTail;
- size_t xSpace;
- unsigned int _1;
- unsigned int _2;
- unsigned int _3;
- unsigned int _4;
- unsigned int _12;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_7(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_7(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG D#1 => xStreamBuffer_7(D)
- xStreamBufferSpacesAvailable.part.0 ();
- <bb 8> [local count: 250539]:
- <bb 4> [local count: 2277630]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xOriginalTail_10 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- # DEBUG xOriginalTail => xOriginalTail_10
- # DEBUG BEGIN_STMT
- _1 = MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xLength;
- _2 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- xSpace_11 = _1 + _2;
- # DEBUG xSpace => xSpace_11
- # DEBUG BEGIN_STMT
- _12 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xHead;
- xSpace_13 = xSpace_11 - _12;
- # DEBUG xSpace => xSpace_13
- # DEBUG BEGIN_STMT
- _3 ={v} MEM[(const struct StreamBuffer_t *)xStreamBuffer_7(D)].xTail;
- if (_3 != xOriginalTail_10)
- goto <bb 9>; [89.00%]
- else
- goto <bb 5>; [11.00%]
- <bb 9> [local count: 2027091]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # _4 = PHI <_1(4)>
- # xSpace_5 = PHI <xSpace_13(4)>
- # DEBUG BEGIN_STMT
- xSpace_14 = xSpace_5 + 4294967295;
- # DEBUG xSpace => xSpace_14
- # DEBUG BEGIN_STMT
- if (_4 <= xSpace_14)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- xSpace_15 = xSpace_14 - _4;
- # DEBUG xSpace => xSpace_15
- <bb 7> [local count: 250539]:
- # xSpace_6 = PHI <xSpace_14(5), xSpace_15(6)>
- # DEBUG xSpace => xSpace_6
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return xSpace_6;
- }
- xStreamBufferSetTriggerLevel (struct StreamBufferDef_t * xStreamBuffer, size_t xTriggerLevel)
- {
- uint32_t ulNewBASEPRI;
- BaseType_t xReturn;
- unsigned int _1;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_4(D)
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_4(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_9 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_9
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 8> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTriggerLevel_8 = MAX_EXPR <1, xTriggerLevel_5(D)>;
- # DEBUG xTriggerLevel => xTriggerLevel_8
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xLength;
- if (_1 > xTriggerLevel_8)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_4(D)].xTriggerLevelBytes = xTriggerLevel_8;
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- <bb 7> [local count: 250539]:
- # xReturn_2 = PHI <1(6), 0(5)>
- # DEBUG xReturn => xReturn_2
- # DEBUG BEGIN_STMT
- return xReturn_2;
- }
- xStreamBufferReset (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- UBaseType_t uxStreamBufferNumber;
- BaseType_t xReturn;
- struct tskTaskControlBlock * _1;
- struct tskTaskControlBlock * _2;
- uint8_t * _3;
- unsigned int _4;
- unsigned int _5;
- unsigned char _6;
- <bb 2> [local count: 230763]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_9(D)
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 0
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_9(D) == 0B)
- goto <bb 3>; [46.53%]
- else
- goto <bb 5>; [53.47%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 123389]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- uxStreamBufferNumber_11 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber;
- # DEBUG uxStreamBufferNumber => uxStreamBufferNumber_11
- # DEBUG BEGIN_STMT
- vPortEnterCritical ();
- # DEBUG BEGIN_STMT
- _1 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToReceive;
- if (_1 == 0B)
- goto <bb 6>; [30.00%]
- else
- goto <bb 8>; [70.00%]
- <bb 6> [local count: 37017]:
- # DEBUG BEGIN_STMT
- _2 ={v} MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTaskWaitingToSend;
- if (_2 == 0B)
- goto <bb 7>; [17.43%]
- else
- goto <bb 8>; [82.57%]
- <bb 7> [local count: 6452]:
- # DEBUG BEGIN_STMT
- _3 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].pucBuffer;
- _4 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xLength;
- _5 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].xTriggerLevelBytes;
- _6 = MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].ucFlags;
- prvInitialiseNewStreamBuffer (xStreamBuffer_9(D), _3, _4, _5, _6);
- # DEBUG BEGIN_STMT
- # DEBUG xReturn => 1
- # DEBUG BEGIN_STMT
- MEM[(struct StreamBuffer_t *)xStreamBuffer_9(D)].uxStreamBufferNumber = uxStreamBufferNumber_11;
- <bb 8> [local count: 123389]:
- # xReturn_7 = PHI <0(5), 0(6), 1(7)>
- # DEBUG xReturn => xReturn_7
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- vPortExitCritical ();
- # DEBUG BEGIN_STMT
- return xReturn_7;
- }
- vStreamBufferDelete (struct StreamBufferDef_t * xStreamBuffer)
- {
- uint32_t ulNewBASEPRI;
- unsigned char _1;
- unsigned char _4;
- <bb 2> [local count: 357913]:
- # DEBUG BEGIN_STMT
- # DEBUG pxStreamBuffer => xStreamBuffer_3(D)
- # DEBUG BEGIN_STMT
- if (xStreamBuffer_3(D) == 0B)
- goto <bb 3>; [30.00%]
- else
- goto <bb 5>; [70.00%]
- <bb 3> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_8 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_8
- <bb 4> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 9> [local count: 1073741824]:
- goto <bb 4>; [100.00%]
- <bb 5> [local count: 250539]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- _1 = MEM[(struct StreamBuffer_t *)xStreamBuffer_3(D)].ucFlags;
- _4 = _1 & 2;
- if (_4 == 0)
- goto <bb 6>; [50.00%]
- else
- goto <bb 7>; [50.00%]
- <bb 6> [local count: 125270]:
- # DEBUG BEGIN_STMT
- vPortFree (xStreamBuffer_3(D));
- goto <bb 8>; [100.00%]
- <bb 7> [local count: 125270]:
- # DEBUG BEGIN_STMT
- memset (xStreamBuffer_3(D), 0, 36);
- <bb 8> [local count: 250539]:
- return;
- }
- xStreamBufferGenericCreate (size_t xBufferSizeBytes, size_t xTriggerLevelBytes, BaseType_t xIsMessageBuffer)
- {
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint32_t ulNewBASEPRI;
- uint8_t ucFlags;
- uint8_t * pucAllocatedMemory;
- unsigned int _1;
- uint8_t * _2;
- <bb 2> [local count: 325376]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xIsMessageBuffer_5(D) == 1)
- goto <bb 3>; [34.00%]
- else
- goto <bb 6>; [66.00%]
- <bb 3> [local count: 110628]:
- # DEBUG BEGIN_STMT
- # DEBUG ucFlags => 1
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) <= 4)
- goto <bb 4>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 4> [local count: 55314]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_15 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_15
- <bb 5> [local count: 553139728]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 16> [local count: 553139728]:
- goto <bb 5>; [100.00%]
- <bb 6> [local count: 214748]:
- # DEBUG BEGIN_STMT
- # DEBUG ucFlags => 0
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) == 0)
- goto <bb 7>; [50.00%]
- else
- goto <bb 9>; [50.00%]
- <bb 7> [local count: 107374]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_16 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_16
- <bb 8> [local count: 1073741824]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 18> [local count: 1073741824]:
- goto <bb 8>; [100.00%]
- <bb 9> [local count: 162688]:
- # ucFlags_3 = PHI <1(3), 0(6)>
- # DEBUG ucFlags => ucFlags_3
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) < xTriggerLevelBytes_8(D))
- goto <bb 10>; [50.00%]
- else
- goto <bb 12>; [50.00%]
- <bb 10> [local count: 81344]:
- # DEBUG BEGIN_STMT
- # DEBUG INLINE_ENTRY vPortRaiseBASEPRI
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- __asm__ __volatile__(" mov %0, %1
- msr basepri, %0
- isb
- dsb
- " : "=r" ulNewBASEPRI_17 : "i" 16 : "memory");
- # DEBUG ulNewBASEPRI => ulNewBASEPRI_17
- <bb 11> [local count: 813440776]:
- # DEBUG ulNewBASEPRI => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- <bb 17> [local count: 813440776]:
- goto <bb 11>; [100.00%]
- <bb 12> [local count: 81344]:
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- xTriggerLevelBytes_9 = MAX_EXPR <1, xTriggerLevelBytes_8(D)>;
- # DEBUG xTriggerLevelBytes => xTriggerLevelBytes_9
- # DEBUG BEGIN_STMT
- if (xBufferSizeBytes_6(D) <= 4294967258)
- goto <bb 13>; [54.67%]
- else
- goto <bb 15>; [45.33%]
- <bb 13> [local count: 44471]:
- # DEBUG BEGIN_STMT
- xBufferSizeBytes_11 = xBufferSizeBytes_6(D) + 1;
- # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
- # DEBUG BEGIN_STMT
- _1 = xBufferSizeBytes_6(D) + 37;
- pucAllocatedMemory_13 = pvPortMalloc (_1);
- # DEBUG pucAllocatedMemory => pucAllocatedMemory_13
- # DEBUG xBufferSizeBytes => xBufferSizeBytes_11
- # DEBUG BEGIN_STMT
- if (pucAllocatedMemory_13 != 0B)
- goto <bb 14>; [53.47%]
- else
- goto <bb 15>; [46.53%]
- <bb 14> [local count: 23779]:
- # DEBUG BEGIN_STMT
- _2 = pucAllocatedMemory_13 + 36;
- prvInitialiseNewStreamBuffer (pucAllocatedMemory_13, _2, xBufferSizeBytes_11, xTriggerLevelBytes_9, ucFlags_3);
- # DEBUG BEGIN_STMT
- <bb 15> [local count: 81344]:
- # pucAllocatedMemory_10 = PHI <pucAllocatedMemory_13(13), pucAllocatedMemory_13(14), 0B(12)>
- # DEBUG pucAllocatedMemory => NULL
- # DEBUG xBufferSizeBytes => NULL
- # DEBUG BEGIN_STMT
- # DEBUG BEGIN_STMT
- return pucAllocatedMemory_10;
- }
|