log_module_fusion.txt 283 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127
  1. [INFO][runOnModule] Starting analysis for module: <stdin>
  2. [INFO][buildCallGraph] Building complete call graph
  3. ```mermaid
  4. graph TD
  5. %% Project Call Graph
  6. calculateCircleArea["calculateCircleArea\nDepth: 3\nCritical Points: 2"]
  7. calculateDistance["calculateDistance\nDepth: 3\nCritical Points: 2"]
  8. countSetBits["countSetBits\nDepth: 2\nCritical Points: 3"]:::target
  9. createDynamicArray["createDynamicArray\nDepth: 2\nCritical Points: 2"]
  10. createMatrix["createMatrix\nDepth: 2\nCritical Points: 2"]
  11. factorial["factorial\nDepth: 3\nCritical Points: 2"]
  12. findCentroid["findCentroid\nDepth: 3\nCritical Points: 2"]
  13. getErrorMessage["getErrorMessage\nDepth: 3\nCritical Points: 2"]
  14. insertNode["insertNode\nDepth: 2\nCritical Points: 2"]
  15. longestIncreasingSubsequence["longestIncreasingSubsequence\nDepth: 2\nCritical Points: 7"]:::target
  16. memoizedFib["memoizedFib\nDepth: 2\nCritical Points: 2"]:::target
  17. multiplyMatrices["multiplyMatrices\nDepth: 2\nCritical Points: 2"]
  18. performSimpleCalculations["performSimpleCalculations\nDepth: 3\nCritical Points: 7"]
  19. processMatrix["processMatrix\nDepth: 2\nCritical Points: 3"]:::target
  20. projectA_main["projectA_main\nDepth: 2\nCritical Points: 2"]
  21. projectB_main["projectB_main\nDepth: 1\nCritical Points: 5"]:::target
  22. pushBack["pushBack\nDepth: 2\nCritical Points: 2"]
  23. quickSort["quickSort\nDepth: 3\nCritical Points: 2"]
  24. removeDuplicates["removeDuplicates\nDepth: 3\nCritical Points: 2"]
  25. reverseString["reverseString\nDepth: 2\nCritical Points: 3"]:::target
  26. setErrorMessage["setErrorMessage\nDepth: 2\nCritical Points: 3"]
  27. testPoints["testPoints\nDepth: 2\nCritical Points: 3"]:::target
  28. validateMatrix["validateMatrix\nDepth: 3\nCritical Points: 2"]
  29. calculateCircleArea --> setErrorMessage
  30. calculateDistance --> setErrorMessage
  31. createDynamicArray --> setErrorMessage
  32. createMatrix --> setErrorMessage
  33. factorial --> factorial
  34. factorial --> setErrorMessage
  35. findCentroid --> setErrorMessage
  36. insertNode --> setErrorMessage
  37. memoizedFib --> memoizedFib
  38. multiplyMatrices --> createMatrix
  39. multiplyMatrices --> setErrorMessage
  40. processMatrix --> countSetBits
  41. projectA_main --> createDynamicArray
  42. projectA_main --> createMatrix
  43. projectA_main --> getErrorMessage
  44. projectA_main --> insertNode
  45. projectA_main --> multiplyMatrices
  46. projectA_main --> performSimpleCalculations
  47. projectA_main --> pushBack
  48. projectA_main --> setErrorMessage
  49. projectB_main --> countSetBits
  50. projectB_main --> longestIncreasingSubsequence
  51. projectB_main --> memoizedFib
  52. projectB_main --> processMatrix
  53. projectB_main --> reverseString
  54. projectB_main --> testPoints
  55. pushBack --> setErrorMessage
  56. quickSort --> quickSort
  57. quickSort --> setErrorMessage
  58. removeDuplicates --> quickSort
  59. removeDuplicates --> setErrorMessage
  60. validateMatrix --> setErrorMessage
  61. classDef target fill:#f96,stroke:#333,stroke-width:4px
  62. ```
  63. ```mermaid: getErrorMessage
  64. graph TD
  65. 0["Block 0:\n %1 = load i8*, i8** @globalErrorMessage, align 8\n %2 = icmp ne i8* %1, null\n br i1 %2, label %3, label %5\n"]:::critical
  66. 0 -->|true| 3
  67. 0 -->|false| 5
  68. 3["Block 3:\n %4 = load i8*, i8** @globalErrorMessage, align 8\n br label %6\n"]
  69. 3 --> 6
  70. 5["Block 5:\n br label %6\n"]
  71. 5 --> 6
  72. 6["Block 6:\n %7 = phi i8* [ %4, %3 ], [ getelementptr inbo...\n ret i8* %7\n"]:::critical
  73. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  74. ```
  75. ```mermaid: setErrorMessage
  76. graph TD
  77. 1["Block 1:\n %2 = alloca i8*, align 8\n store i8* %0, i8** %2, align 8\n %3 = load i8*, i8** @globalErrorMessage, align 8\n %4 = icmp ne i8* %3, null\n br i1 %4, label %5, label %7\n"]:::critical
  78. 1 -->|true| 5
  79. 1 -->|false| 7
  80. 5["Block 5:\n %6 = load i8*, i8** @globalErrorMessage, align 8\n call void @free(i8* %6) #7\n br label %7\n"]
  81. 5 --> 7
  82. 7["Block 7:\n %8 = load i8*, i8** %2, align 8\n %9 = icmp ne i8* %8, null\n br i1 %9, label %10, label %19\n"]:::critical
  83. 7 -->|true| 10
  84. 7 -->|false| 19
  85. 10["Block 10:\n %11 = load i8*, i8** %2, align 8\n %12 = call noalias i8* @strdup(i8* %11) #7\n store i8* %12, i8** @globalErrorMessage, align 8\n %13 = load i8*, i8** @globalErrorMessage, ali...\n %14 = icmp eq i8* %13, null\n br i1 %14, label %15, label %18\n"]
  86. 10 -->|true| 15
  87. 10 -->|false| 18
  88. 15["Block 15:\n %16 = load %struct._IO_FILE*, %struct._IO_FIL...\n %17 = call i32 (%struct._IO_FILE*, i8*, ...) ...\n br label %18\n"]
  89. 15 --> 18
  90. 18["Block 18:\n br label %20\n"]
  91. 18 --> 20
  92. 19["Block 19:\n store i8* null, i8** @globalErrorMessage, ali...\n br label %20\n"]
  93. 19 --> 20
  94. 20["Block 20:\n ret void\n"]:::critical
  95. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  96. ```
  97. ```mermaid: factorial
  98. graph TD
  99. 1["Block 1:\n %2 = alloca i32, align 4\n %3 = alloca i32, align 4\n %4 = alloca i32, align 4\n %5 = alloca i32, align 4\n store i32 %0, i32* %3, align 4\n %6 = load i32, i32* @recursionDepth, align 4\n %7 = add nsw i32 %6, 1\n store i32 %7, i32* @recursionDepth, align 4\n %8 = icmp sgt i32 %7, 1000\n br i1 %8, label %9, label %12\n"]:::critical
  100. 1 -->|true| 9
  101. 1 -->|false| 12
  102. 9["Block 9:\n call void @setErrorMessage(i8* getelementptr ...\n %10 = load i32, i32* @recursionDepth, align 4\n %11 = add nsw i32 %10, -1\n store i32 %11, i32* @recursionDepth, align 4\n store i32 -1, i32* %2, align 4\n br label %53\n"]
  103. 9 --> 53
  104. 12["Block 12:\n %13 = load i32, i32* %3, align 4\n %14 = icmp slt i32 %13, 0\n br i1 %14, label %15, label %18\n"]
  105. 12 -->|true| 15
  106. 12 -->|false| 18
  107. 15["Block 15:\n call void @setErrorMessage(i8* getelementptr ...\n %16 = load i32, i32* @recursionDepth, align 4\n %17 = add nsw i32 %16, -1\n store i32 %17, i32* @recursionDepth, align 4\n store i32 -1, i32* %2, align 4\n br label %53\n"]
  108. 15 --> 53
  109. 18["Block 18:\n %19 = load i32, i32* %3, align 4\n %20 = icmp sgt i32 %19, 20\n br i1 %20, label %21, label %24\n"]
  110. 18 -->|true| 21
  111. 18 -->|false| 24
  112. 21["Block 21:\n call void @setErrorMessage(i8* getelementptr ...\n %22 = load i32, i32* @recursionDepth, align 4\n %23 = add nsw i32 %22, -1\n store i32 %23, i32* @recursionDepth, align 4\n store i32 -1, i32* %2, align 4\n br label %53\n"]
  113. 21 --> 53
  114. 24["Block 24:\n %25 = load i32, i32* %3, align 4\n %26 = icmp sle i32 %25, 1\n br i1 %26, label %27, label %28\n"]
  115. 24 -->|true| 27
  116. 24 -->|false| 28
  117. 27["Block 27:\n store i32 1, i32* %4, align 4\n br label %49\n"]
  118. 27 --> 49
  119. 28["Block 28:\n %29 = load i32, i32* %3, align 4\n %30 = sub nsw i32 %29, 1\n %31 = call i32 @factorial(i32 %30)\n store i32 %31, i32* %5, align 4\n %32 = load i32, i32* %5, align 4\n %33 = icmp eq i32 %32, -1\n br i1 %33, label %34, label %37\n"]
  120. 28 -->|true| 34
  121. 28 -->|false| 37
  122. 34["Block 34:\n %35 = load i32, i32* @recursionDepth, align 4\n %36 = add nsw i32 %35, -1\n store i32 %36, i32* @recursionDepth, align 4\n store i32 -1, i32* %2, align 4\n br label %53\n"]
  123. 34 --> 53
  124. 37["Block 37:\n %38 = load i32, i32* %5, align 4\n %39 = load i32, i32* %3, align 4\n %40 = sdiv i32 2147483647, %39\n %41 = icmp sgt i32 %38, %40\n br i1 %41, label %42, label %45\n"]
  125. 37 -->|true| 42
  126. 37 -->|false| 45
  127. 42["Block 42:\n call void @setErrorMessage(i8* getelementptr ...\n %43 = load i32, i32* @recursionDepth, align 4\n %44 = add nsw i32 %43, -1\n store i32 %44, i32* @recursionDepth, align 4\n store i32 -1, i32* %2, align 4\n br label %53\n"]
  128. 42 --> 53
  129. 45["Block 45:\n %46 = load i32, i32* %3, align 4\n %47 = load i32, i32* %5, align 4\n %48 = mul nsw i32 %46, %47\n store i32 %48, i32* %4, align 4\n br label %49\n"]
  130. 45 --> 49
  131. 49["Block 49:\n %50 = load i32, i32* @recursionDepth, align 4\n %51 = add nsw i32 %50, -1\n store i32 %51, i32* @recursionDepth, align 4\n %52 = load i32, i32* %4, align 4\n store i32 %52, i32* %2, align 4\n br label %53\n"]
  132. 49 --> 53
  133. 53["Block 53:\n %54 = load i32, i32* %2, align 4\n ret i32 %54\n"]:::critical
  134. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  135. ```
  136. ```mermaid: createDynamicArray
  137. graph TD
  138. 1["Block 1:\n %2 = alloca %struct.DynamicArray*, align 8\n %3 = alloca i32, align 4\n %4 = alloca %struct.DynamicArray*, align 8\n store i32 %0, i32* %3, align 4\n %5 = load i32, i32* %3, align 4\n %6 = icmp sle i32 %5, 0\n br i1 %6, label %7, label %8\n"]:::critical
  139. 1 -->|true| 7
  140. 1 -->|false| 8
  141. 7["Block 7:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %44\n"]
  142. 7 --> 44
  143. 8["Block 8:\n %9 = load i32, i32* %3, align 4\n %10 = icmp sgt i32 %9, 1000\n br i1 %10, label %11, label %12\n"]
  144. 8 -->|true| 11
  145. 8 -->|false| 12
  146. 11["Block 11:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %44\n"]
  147. 11 --> 44
  148. 12["Block 12:\n %13 = call noalias i8* @malloc(i64 24) #7\n %14 = bitcast i8* %13 to %struct.DynamicArray*\n store %struct.DynamicArray* %14, %struct.Dyna...\n %15 = load %struct.DynamicArray*, %struct.Dyn...\n %16 = icmp ne %struct.DynamicArray* %15, null\n br i1 %16, label %18, label %17\n"]
  149. 12 -->|true| 18
  150. 12 -->|false| 17
  151. 17["Block 17:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %44\n"]
  152. 17 --> 44
  153. 18["Block 18:\n %19 = load i32, i32* %3, align 4\n %20 = sext i32 %19 to i64\n %21 = mul i64 4, %20\n %22 = call noalias i8* @malloc(i64 %21) #7\n %23 = bitcast i8* %22 to i32*\n %24 = load %struct.DynamicArray*, %struct.Dyn...\n %25 = getelementptr inbounds %struct.DynamicA...\n store i32* %23, i32** %25, align 8\n %26 = load %struct.DynamicArray*, %struct.Dyn...\n %27 = getelementptr inbounds %struct.DynamicA...\n %28 = load i32*, i32** %27, align 8\n %29 = icmp ne i32* %28, null\n br i1 %29, label %33, label %30\n"]
  154. 18 -->|true| 33
  155. 18 -->|false| 30
  156. 30["Block 30:\n %31 = load %struct.DynamicArray*, %struct.Dyn...\n %32 = bitcast %struct.DynamicArray* %31 to i8*\n call void @free(i8* %32) #7\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %44\n"]
  157. 30 --> 44
  158. 33["Block 33:\n %34 = load %struct.DynamicArray*, %struct.Dyn...\n %35 = getelementptr inbounds %struct.DynamicA...\n store i32 0, i32* %35, align 8\n %36 = load i32, i32* %3, align 4\n %37 = load %struct.DynamicArray*, %struct.Dyn...\n %38 = getelementptr inbounds %struct.DynamicA...\n store i32 %36, i32* %38, align 4\n %39 = load %struct.DynamicArray*, %struct.Dyn...\n %40 = getelementptr inbounds %struct.DynamicA...\n store i32 1, i32* %40, align 8\n %41 = load %struct.DynamicArray*, %struct.Dyn...\n %42 = getelementptr inbounds %struct.DynamicA...\n store i32 0, i32* %42, align 4\n %43 = load %struct.DynamicArray*, %struct.Dyn...\n store %struct.DynamicArray* %43, %struct.Dyna...\n br label %44\n"]
  159. 33 --> 44
  160. 44["Block 44:\n %45 = load %struct.DynamicArray*, %struct.Dyn...\n ret %struct.DynamicArray* %45\n"]:::critical
  161. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  162. ```
  163. ```mermaid: pushBack
  164. graph TD
  165. 2["Block 2:\n %3 = alloca %struct.DynamicArray*, align 8\n %4 = alloca i32, align 4\n %5 = alloca i32, align 4\n %6 = alloca i32*, align 8\n store %struct.DynamicArray* %0, %struct.Dynam...\n store i32 %1, i32* %4, align 4\n %7 = load %struct.DynamicArray*, %struct.Dyna...\n %8 = icmp ne %struct.DynamicArray* %7, null\n br i1 %8, label %10, label %9\n"]:::critical
  166. 2 -->|true| 10
  167. 2 -->|false| 9
  168. 9["Block 9:\n call void @setErrorMessage(i8* getelementptr ...\n br label %91\n"]
  169. 9 --> 91
  170. 10["Block 10:\n %11 = load %struct.DynamicArray*, %struct.Dyn...\n %12 = getelementptr inbounds %struct.DynamicA...\n %13 = load i32, i32* %12, align 8\n %14 = icmp sge i32 %13, 1000\n br i1 %14, label %15, label %16\n"]
  171. 10 -->|true| 15
  172. 10 -->|false| 16
  173. 15["Block 15:\n call void @setErrorMessage(i8* getelementptr ...\n br label %91\n"]
  174. 15 --> 91
  175. 16["Block 16:\n %17 = load %struct.DynamicArray*, %struct.Dyn...\n %18 = getelementptr inbounds %struct.DynamicA...\n %19 = load i32, i32* %18, align 8\n %20 = load %struct.DynamicArray*, %struct.Dyn...\n %21 = getelementptr inbounds %struct.DynamicA...\n %22 = load i32, i32* %21, align 4\n %23 = icmp sge i32 %19, %22\n br i1 %23, label %24, label %52\n"]
  176. 16 -->|true| 24
  177. 16 -->|false| 52
  178. 24["Block 24:\n %25 = load %struct.DynamicArray*, %struct.Dyn...\n %26 = getelementptr inbounds %struct.DynamicA...\n %27 = load i32, i32* %26, align 4\n %28 = mul nsw i32 %27, 2\n store i32 %28, i32* %5, align 4\n %29 = load i32, i32* %5, align 4\n %30 = icmp sgt i32 %29, 1000\n br i1 %30, label %31, label %32\n"]
  179. 24 -->|true| 31
  180. 24 -->|false| 32
  181. 31["Block 31:\n store i32 1000, i32* %5, align 4\n br label %32\n"]
  182. 31 --> 32
  183. 32["Block 32:\n %33 = load %struct.DynamicArray*, %struct.Dyn...\n %34 = getelementptr inbounds %struct.DynamicA...\n %35 = load i32*, i32** %34, align 8\n %36 = bitcast i32* %35 to i8*\n %37 = load i32, i32* %5, align 4\n %38 = sext i32 %37 to i64\n %39 = mul i64 4, %38\n %40 = call i8* @realloc(i8* %36, i64 %39) #7\n %41 = bitcast i8* %40 to i32*\n store i32* %41, i32** %6, align 8\n %42 = load i32*, i32** %6, align 8\n %43 = icmp ne i32* %42, null\n br i1 %43, label %45, label %44\n"]
  184. 32 -->|true| 45
  185. 32 -->|false| 44
  186. 44["Block 44:\n call void @setErrorMessage(i8* getelementptr ...\n br label %91\n"]
  187. 44 --> 91
  188. 45["Block 45:\n %46 = load i32*, i32** %6, align 8\n %47 = load %struct.DynamicArray*, %struct.Dyn...\n %48 = getelementptr inbounds %struct.DynamicA...\n store i32* %46, i32** %48, align 8\n %49 = load i32, i32* %5, align 4\n %50 = load %struct.DynamicArray*, %struct.Dyn...\n %51 = getelementptr inbounds %struct.DynamicA...\n store i32 %49, i32* %51, align 4\n br label %52\n"]
  189. 45 --> 52
  190. 52["Block 52:\n %53 = load %struct.DynamicArray*, %struct.Dyn...\n %54 = getelementptr inbounds %struct.DynamicA...\n %55 = load i32, i32* %54, align 8\n %56 = icmp ne i32 %55, 0\n br i1 %56, label %57, label %78\n"]
  191. 52 -->|true| 57
  192. 52 -->|false| 78
  193. 57["Block 57:\n %58 = load %struct.DynamicArray*, %struct.Dyn...\n %59 = getelementptr inbounds %struct.DynamicA...\n %60 = load i32, i32* %59, align 8\n %61 = icmp sgt i32 %60, 0\n br i1 %61, label %62, label %78\n"]
  194. 57 -->|true| 62
  195. 57 -->|false| 78
  196. 62["Block 62:\n %63 = load i32, i32* %4, align 4\n %64 = load %struct.DynamicArray*, %struct.Dyn...\n %65 = getelementptr inbounds %struct.DynamicA...\n %66 = load i32*, i32** %65, align 8\n %67 = load %struct.DynamicArray*, %struct.Dyn...\n %68 = getelementptr inbounds %struct.DynamicA...\n %69 = load i32, i32* %68, align 8\n %70 = sub nsw i32 %69, 1\n %71 = sext i32 %70 to i64\n %72 = getelementptr inbounds i32, i32* %66, i...\n %73 = load i32, i32* %72, align 4\n %74 = icmp slt i32 %63, %73\n br i1 %74, label %75, label %78\n"]
  197. 62 -->|true| 75
  198. 62 -->|false| 78
  199. 75["Block 75:\n %76 = load %struct.DynamicArray*, %struct.Dyn...\n %77 = getelementptr inbounds %struct.DynamicA...\n store i32 0, i32* %77, align 8\n br label %78\n"]
  200. 75 --> 78
  201. 78["Block 78:\n %79 = load i32, i32* %4, align 4\n %80 = load %struct.DynamicArray*, %struct.Dyn...\n %81 = getelementptr inbounds %struct.DynamicA...\n %82 = load i32*, i32** %81, align 8\n %83 = load %struct.DynamicArray*, %struct.Dyn...\n %84 = getelementptr inbounds %struct.DynamicA...\n %85 = load i32, i32* %84, align 8\n %86 = add nsw i32 %85, 1\n store i32 %86, i32* %84, align 8\n %87 = sext i32 %85 to i64\n %88 = getelementptr inbounds i32, i32* %82, i...\n store i32 %79, i32* %88, align 4\n %89 = load %struct.DynamicArray*, %struct.Dyn...\n %90 = getelementptr inbounds %struct.DynamicA...\n store i32 1, i32* %90, align 4\n br label %91\n"]
  202. 78 --> 91
  203. 91["Block 91:\n ret void\n"]:::critical
  204. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  205. ```
  206. ```mermaid: quickSort
  207. graph TD
  208. 4["Block 4:\n %5 = alloca i32*, align 8\n %6 = alloca i32, align 4\n %7 = alloca i32, align 4\n %8 = alloca i32*, align 8\n %9 = alloca i32, align 4\n %10 = alloca i32, align 4\n %11 = alloca i32, align 4\n %12 = alloca i32, align 4\n %13 = alloca i32, align 4\n %14 = alloca i32, align 4\n store i32* %0, i32** %5, align 8\n store i32 %1, i32* %6, align 4\n store i32 %2, i32* %7, align 4\n store i32* %3, i32** %8, align 8\n %15 = load i32, i32* @recursionDepth, align 4\n %16 = add nsw i32 %15, 1\n store i32 %16, i32* @recursionDepth, align 4\n %17 = icmp sgt i32 %16, 1000\n br i1 %17, label %18, label %22\n"]:::critical
  209. 4 -->|true| 18
  210. 4 -->|false| 22
  211. 18["Block 18:\n call void @setErrorMessage(i8* getelementptr ...\n %19 = load i32*, i32** %8, align 8\n store i32 1, i32* %19, align 4\n %20 = load i32, i32* @recursionDepth, align 4\n %21 = add nsw i32 %20, -1\n store i32 %21, i32* @recursionDepth, align 4\n br label %247\n"]
  212. 18 --> 247
  213. 22["Block 22:\n %23 = load i32*, i32** %5, align 8\n %24 = icmp ne i32* %23, null\n br i1 %24, label %29, label %25\n"]
  214. 22 -->|true| 29
  215. 22 -->|false| 25
  216. 25["Block 25:\n call void @setErrorMessage(i8* getelementptr ...\n %26 = load i32*, i32** %8, align 8\n store i32 1, i32* %26, align 4\n %27 = load i32, i32* @recursionDepth, align 4\n %28 = add nsw i32 %27, -1\n store i32 %28, i32* @recursionDepth, align 4\n br label %247\n"]
  217. 25 --> 247
  218. 29["Block 29:\n %30 = load i32, i32* %6, align 4\n %31 = icmp slt i32 %30, 0\n br i1 %31, label %41, label %32\n"]
  219. 29 -->|true| 41
  220. 29 -->|false| 32
  221. 32["Block 32:\n %33 = load i32, i32* %7, align 4\n %34 = icmp slt i32 %33, 0\n br i1 %34, label %41, label %35\n"]
  222. 32 -->|true| 41
  223. 32 -->|false| 35
  224. 35["Block 35:\n %36 = load i32, i32* %6, align 4\n %37 = icmp sge i32 %36, 1000\n br i1 %37, label %41, label %38\n"]
  225. 35 -->|true| 41
  226. 35 -->|false| 38
  227. 38["Block 38:\n %39 = load i32, i32* %7, align 4\n %40 = icmp sge i32 %39, 1000\n br i1 %40, label %41, label %45\n"]
  228. 38 -->|true| 41
  229. 38 -->|false| 45
  230. 41["Block 41:\n call void @setErrorMessage(i8* getelementptr ...\n %42 = load i32*, i32** %8, align 8\n store i32 1, i32* %42, align 4\n %43 = load i32, i32* @recursionDepth, align 4\n %44 = add nsw i32 %43, -1\n store i32 %44, i32* @recursionDepth, align 4\n br label %247\n"]
  231. 41 --> 247
  232. 45["Block 45:\n %46 = load i32, i32* %6, align 4\n %47 = load i32, i32* %7, align 4\n %48 = icmp slt i32 %46, %47\n br i1 %48, label %49, label %244\n"]
  233. 45 -->|true| 49
  234. 45 -->|false| 244
  235. 49["Block 49:\n %50 = load i32, i32* %6, align 4\n %51 = load i32, i32* %7, align 4\n %52 = load i32, i32* %6, align 4\n %53 = sub nsw i32 %51, %52\n %54 = sdiv i32 %53, 2\n %55 = add nsw i32 %50, %54\n store i32 %55, i32* %9, align 4\n %56 = load i32*, i32** %5, align 8\n %57 = load i32, i32* %6, align 4\n %58 = sext i32 %57 to i64\n %59 = getelementptr inbounds i32, i32* %56, i...\n %60 = load i32, i32* %59, align 4\n %61 = load i32*, i32** %5, align 8\n %62 = load i32, i32* %9, align 4\n %63 = sext i32 %62 to i64\n %64 = getelementptr inbounds i32, i32* %61, i...\n %65 = load i32, i32* %64, align 4\n %66 = icmp sle i32 %60, %65\n br i1 %66, label %67, label %99\n"]
  236. 49 -->|true| 67
  237. 49 -->|false| 99
  238. 67["Block 67:\n %68 = load i32*, i32** %5, align 8\n %69 = load i32, i32* %9, align 4\n %70 = sext i32 %69 to i64\n %71 = getelementptr inbounds i32, i32* %68, i...\n %72 = load i32, i32* %71, align 4\n %73 = load i32*, i32** %5, align 8\n %74 = load i32, i32* %7, align 4\n %75 = sext i32 %74 to i64\n %76 = getelementptr inbounds i32, i32* %73, i...\n %77 = load i32, i32* %76, align 4\n %78 = icmp sle i32 %72, %77\n br i1 %78, label %79, label %81\n"]
  239. 67 -->|true| 79
  240. 67 -->|false| 81
  241. 79["Block 79:\n %80 = load i32, i32* %9, align 4\n store i32 %80, i32* %10, align 4\n br label %98\n"]
  242. 79 --> 98
  243. 81["Block 81:\n %82 = load i32*, i32** %5, align 8\n %83 = load i32, i32* %6, align 4\n %84 = sext i32 %83 to i64\n %85 = getelementptr inbounds i32, i32* %82, i...\n %86 = load i32, i32* %85, align 4\n %87 = load i32*, i32** %5, align 8\n %88 = load i32, i32* %7, align 4\n %89 = sext i32 %88 to i64\n %90 = getelementptr inbounds i32, i32* %87, i...\n %91 = load i32, i32* %90, align 4\n %92 = icmp sle i32 %86, %91\n br i1 %92, label %93, label %95\n"]
  244. 81 -->|true| 93
  245. 81 -->|false| 95
  246. 93["Block 93:\n %94 = load i32, i32* %7, align 4\n store i32 %94, i32* %10, align 4\n br label %97\n"]
  247. 93 --> 97
  248. 95["Block 95:\n %96 = load i32, i32* %6, align 4\n store i32 %96, i32* %10, align 4\n br label %97\n"]
  249. 95 --> 97
  250. 97["Block 97:\n br label %98\n"]
  251. 97 --> 98
  252. 98["Block 98:\n br label %131\n"]
  253. 98 --> 131
  254. 99["Block 99:\n %100 = load i32*, i32** %5, align 8\n %101 = load i32, i32* %6, align 4\n %102 = sext i32 %101 to i64\n %103 = getelementptr inbounds i32, i32* %100,...\n %104 = load i32, i32* %103, align 4\n %105 = load i32*, i32** %5, align 8\n %106 = load i32, i32* %7, align 4\n %107 = sext i32 %106 to i64\n %108 = getelementptr inbounds i32, i32* %105,...\n %109 = load i32, i32* %108, align 4\n %110 = icmp sle i32 %104, %109\n br i1 %110, label %111, label %113\n"]
  255. 99 -->|true| 111
  256. 99 -->|false| 113
  257. 111["Block 111:\n %112 = load i32, i32* %6, align 4\n store i32 %112, i32* %10, align 4\n br label %130\n"]
  258. 111 --> 130
  259. 113["Block 113:\n %114 = load i32*, i32** %5, align 8\n %115 = load i32, i32* %9, align 4\n %116 = sext i32 %115 to i64\n %117 = getelementptr inbounds i32, i32* %114,...\n %118 = load i32, i32* %117, align 4\n %119 = load i32*, i32** %5, align 8\n %120 = load i32, i32* %7, align 4\n %121 = sext i32 %120 to i64\n %122 = getelementptr inbounds i32, i32* %119,...\n %123 = load i32, i32* %122, align 4\n %124 = icmp sle i32 %118, %123\n br i1 %124, label %125, label %127\n"]
  260. 113 -->|true| 125
  261. 113 -->|false| 127
  262. 125["Block 125:\n %126 = load i32, i32* %7, align 4\n store i32 %126, i32* %10, align 4\n br label %129\n"]
  263. 125 --> 129
  264. 127["Block 127:\n %128 = load i32, i32* %9, align 4\n store i32 %128, i32* %10, align 4\n br label %129\n"]
  265. 127 --> 129
  266. 129["Block 129:\n br label %130\n"]
  267. 129 --> 130
  268. 130["Block 130:\n br label %131\n"]
  269. 130 --> 131
  270. 131["Block 131:\n %132 = load i32*, i32** %5, align 8\n %133 = load i32, i32* %7, align 4\n %134 = sext i32 %133 to i64\n %135 = getelementptr inbounds i32, i32* %132,...\n %136 = load i32, i32* %135, align 4\n store i32 %136, i32* %11, align 4\n %137 = load i32*, i32** %5, align 8\n %138 = load i32, i32* %10, align 4\n %139 = sext i32 %138 to i64\n %140 = getelementptr inbounds i32, i32* %137,...\n %141 = load i32, i32* %140, align 4\n %142 = load i32*, i32** %5, align 8\n %143 = load i32, i32* %7, align 4\n %144 = sext i32 %143 to i64\n %145 = getelementptr inbounds i32, i32* %142,...\n store i32 %141, i32* %145, align 4\n %146 = load i32, i32* %11, align 4\n %147 = load i32*, i32** %5, align 8\n %148 = load i32, i32* %10, align 4\n %149 = sext i32 %148 to i64\n %150 = getelementptr inbounds i32, i32* %147,...\n store i32 %146, i32* %150, align 4\n %151 = load i32*, i32** %5, align 8\n %152 = load i32, i32* %7, align 4\n %153 = sext i32 %152 to i64\n %154 = getelementptr inbounds i32, i32* %151,...\n %155 = load i32, i32* %154, align 4\n store i32 %155, i32* %12, align 4\n %156 = load i32, i32* %6, align 4\n %157 = sub nsw i32 %156, 1\n store i32 %157, i32* %13, align 4\n %158 = load i32, i32* %6, align 4\n store i32 %158, i32* %14, align 4\n br label %159\n"]
  271. 131 --> 159
  272. 159["Block 159:\n %160 = load i32, i32* %14, align 4\n %161 = load i32, i32* %7, align 4\n %162 = icmp slt i32 %160, %161\n br i1 %162, label %163, label %199\n"]
  273. 159 -->|true| 163
  274. 159 -->|false| 199
  275. 163["Block 163:\n %164 = load i32*, i32** %5, align 8\n %165 = load i32, i32* %14, align 4\n %166 = sext i32 %165 to i64\n %167 = getelementptr inbounds i32, i32* %164,...\n %168 = load i32, i32* %167, align 4\n %169 = load i32, i32* %12, align 4\n %170 = icmp sle i32 %168, %169\n br i1 %170, label %171, label %195\n"]
  276. 163 -->|true| 171
  277. 163 -->|false| 195
  278. 171["Block 171:\n %172 = load i32, i32* %13, align 4\n %173 = add nsw i32 %172, 1\n store i32 %173, i32* %13, align 4\n %174 = load i32*, i32** %5, align 8\n %175 = load i32, i32* %13, align 4\n %176 = sext i32 %175 to i64\n %177 = getelementptr inbounds i32, i32* %174,...\n %178 = load i32, i32* %177, align 4\n store i32 %178, i32* %11, align 4\n %179 = load i32*, i32** %5, align 8\n %180 = load i32, i32* %14, align 4\n %181 = sext i32 %180 to i64\n %182 = getelementptr inbounds i32, i32* %179,...\n %183 = load i32, i32* %182, align 4\n %184 = load i32*, i32** %5, align 8\n %185 = load i32, i32* %13, align 4\n %186 = sext i32 %185 to i64\n %187 = getelementptr inbounds i32, i32* %184,...\n store i32 %183, i32* %187, align 4\n %188 = load i32, i32* %11, align 4\n %189 = load i32*, i32** %5, align 8\n %190 = load i32, i32* %14, align 4\n %191 = sext i32 %190 to i64\n %192 = getelementptr inbounds i32, i32* %189,...\n store i32 %188, i32* %192, align 4\n %193 = load i32, i32* @globalCounter, align 4\n %194 = add nsw i32 %193, 1\n store i32 %194, i32* @globalCounter, align 4\n br label %195\n"]
  279. 171 --> 195
  280. 195["Block 195:\n br label %196\n"]
  281. 195 --> 196
  282. 196["Block 196:\n %197 = load i32, i32* %14, align 4\n %198 = add nsw i32 %197, 1\n store i32 %198, i32* %14, align 4\n br label %159\n"]
  283. 196 --> 159
  284. 199["Block 199:\n %200 = load i32*, i32** %5, align 8\n %201 = load i32, i32* %13, align 4\n %202 = add nsw i32 %201, 1\n %203 = sext i32 %202 to i64\n %204 = getelementptr inbounds i32, i32* %200,...\n %205 = load i32, i32* %204, align 4\n store i32 %205, i32* %11, align 4\n %206 = load i32*, i32** %5, align 8\n %207 = load i32, i32* %7, align 4\n %208 = sext i32 %207 to i64\n %209 = getelementptr inbounds i32, i32* %206,...\n %210 = load i32, i32* %209, align 4\n %211 = load i32*, i32** %5, align 8\n %212 = load i32, i32* %13, align 4\n %213 = add nsw i32 %212, 1\n %214 = sext i32 %213 to i64\n %215 = getelementptr inbounds i32, i32* %211,...\n store i32 %210, i32* %215, align 4\n %216 = load i32, i32* %11, align 4\n %217 = load i32*, i32** %5, align 8\n %218 = load i32, i32* %7, align 4\n %219 = sext i32 %218 to i64\n %220 = getelementptr inbounds i32, i32* %217,...\n store i32 %216, i32* %220, align 4\n %221 = load i32*, i32** %5, align 8\n %222 = load i32, i32* %6, align 4\n %223 = load i32, i32* %13, align 4\n %224 = load i32*, i32** %8, align 8\n call void @quickSort(i32* %221, i32 %222, i32...\n %225 = load i32*, i32** %8, align 8\n %226 = load i32, i32* %225, align 4\n %227 = icmp ne i32 %226, 0\n br i1 %227, label %228, label %231\n"]
  285. 199 -->|true| 228
  286. 199 -->|false| 231
  287. 228["Block 228:\n %229 = load i32, i32* @recursionDepth, align 4\n %230 = add nsw i32 %229, -1\n store i32 %230, i32* @recursionDepth, align 4\n br label %247\n"]
  288. 228 --> 247
  289. 231["Block 231:\n %232 = load i32*, i32** %5, align 8\n %233 = load i32, i32* %13, align 4\n %234 = add nsw i32 %233, 2\n %235 = load i32, i32* %7, align 4\n %236 = load i32*, i32** %8, align 8\n call void @quickSort(i32* %232, i32 %234, i32...\n %237 = load i32*, i32** %8, align 8\n %238 = load i32, i32* %237, align 4\n %239 = icmp ne i32 %238, 0\n br i1 %239, label %240, label %243\n"]
  290. 231 -->|true| 240
  291. 231 -->|false| 243
  292. 240["Block 240:\n %241 = load i32, i32* @recursionDepth, align 4\n %242 = add nsw i32 %241, -1\n store i32 %242, i32* @recursionDepth, align 4\n br label %247\n"]
  293. 240 --> 247
  294. 243["Block 243:\n br label %244\n"]
  295. 243 --> 244
  296. 244["Block 244:\n %245 = load i32, i32* @recursionDepth, align 4\n %246 = add nsw i32 %245, -1\n store i32 %246, i32* @recursionDepth, align 4\n br label %247\n"]
  297. 244 --> 247
  298. 247["Block 247:\n ret void\n"]:::critical
  299. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  300. ```
  301. ```mermaid: createMatrix
  302. graph TD
  303. 2["Block 2:\n %3 = alloca %struct.Matrix*, align 8\n %4 = alloca i32, align 4\n %5 = alloca i32, align 4\n %6 = alloca %struct.Matrix*, align 8\n %7 = alloca i32, align 4\n %8 = alloca i32, align 4\n store i32 %0, i32* %4, align 4\n store i32 %1, i32* %5, align 4\n %9 = load i32, i32* %4, align 4\n %10 = icmp slt i32 %9, 1\n br i1 %10, label %14, label %11\n"]:::critical
  304. 2 -->|true| 14
  305. 2 -->|false| 11
  306. 11["Block 11:\n %12 = load i32, i32* %5, align 4\n %13 = icmp slt i32 %12, 1\n br i1 %13, label %14, label %15\n"]
  307. 11 -->|true| 14
  308. 11 -->|false| 15
  309. 14["Block 14:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %111\n"]
  310. 14 --> 111
  311. 15["Block 15:\n %16 = load i32, i32* %4, align 4\n %17 = icmp sgt i32 %16, 100\n br i1 %17, label %21, label %18\n"]
  312. 15 -->|true| 21
  313. 15 -->|false| 18
  314. 18["Block 18:\n %19 = load i32, i32* %5, align 4\n %20 = icmp sgt i32 %19, 100\n br i1 %20, label %21, label %22\n"]
  315. 18 -->|true| 21
  316. 18 -->|false| 22
  317. 21["Block 21:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %111\n"]
  318. 21 --> 111
  319. 22["Block 22:\n %23 = call noalias i8* @malloc(i64 32) #7\n %24 = bitcast i8* %23 to %struct.Matrix*\n store %struct.Matrix* %24, %struct.Matrix** %...\n %25 = load %struct.Matrix*, %struct.Matrix** ...\n %26 = icmp ne %struct.Matrix* %25, null\n br i1 %26, label %28, label %27\n"]
  320. 22 -->|true| 28
  321. 22 -->|false| 27
  322. 27["Block 27:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %111\n"]
  323. 27 --> 111
  324. 28["Block 28:\n %29 = load i32, i32* %4, align 4\n %30 = load %struct.Matrix*, %struct.Matrix** ...\n %31 = getelementptr inbounds %struct.Matrix, ...\n store i32 %29, i32* %31, align 8\n %32 = load i32, i32* %5, align 4\n %33 = load %struct.Matrix*, %struct.Matrix** ...\n %34 = getelementptr inbounds %struct.Matrix, ...\n store i32 %32, i32* %34, align 4\n %35 = load i32, i32* %4, align 4\n %36 = load i32, i32* %5, align 4\n %37 = icmp eq i32 %35, %36\n %38 = zext i1 %37 to i32\n %39 = load %struct.Matrix*, %struct.Matrix** ...\n %40 = getelementptr inbounds %struct.Matrix, ...\n store i32 %38, i32* %40, align 8\n %41 = load %struct.Matrix*, %struct.Matrix** ...\n %42 = getelementptr inbounds %struct.Matrix, ...\n store double 0.000000e+00, double* %42, align 8\n %43 = load i32, i32* %4, align 4\n %44 = sext i32 %43 to i64\n %45 = mul i64 %44, 8\n %46 = call noalias i8* @malloc(i64 %45) #7\n %47 = bitcast i8* %46 to i32**\n %48 = load %struct.Matrix*, %struct.Matrix** ...\n %49 = getelementptr inbounds %struct.Matrix, ...\n store i32** %47, i32*** %49, align 8\n %50 = load %struct.Matrix*, %struct.Matrix** ...\n %51 = getelementptr inbounds %struct.Matrix, ...\n %52 = load i32**, i32*** %51, align 8\n %53 = icmp ne i32** %52, null\n br i1 %53, label %57, label %54\n"]
  325. 28 -->|true| 57
  326. 28 -->|false| 54
  327. 54["Block 54:\n %55 = load %struct.Matrix*, %struct.Matrix** ...\n %56 = bitcast %struct.Matrix* %55 to i8*\n call void @free(i8* %56) #7\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %111\n"]
  328. 54 --> 111
  329. 57["Block 57:\n store i32 0, i32* %7, align 4\n br label %58\n"]
  330. 57 --> 58
  331. 58["Block 58:\n %59 = load i32, i32* %7, align 4\n %60 = load i32, i32* %4, align 4\n %61 = icmp slt i32 %59, %60\n br i1 %61, label %62, label %109\n"]
  332. 58 -->|true| 62
  333. 58 -->|false| 109
  334. 62["Block 62:\n %63 = load i32, i32* %5, align 4\n %64 = sext i32 %63 to i64\n %65 = call noalias i8* @calloc(i64 %64, i64 4...\n %66 = bitcast i8* %65 to i32*\n %67 = load %struct.Matrix*, %struct.Matrix** ...\n %68 = getelementptr inbounds %struct.Matrix, ...\n %69 = load i32**, i32*** %68, align 8\n %70 = load i32, i32* %7, align 4\n %71 = sext i32 %70 to i64\n %72 = getelementptr inbounds i32*, i32** %69,...\n store i32* %66, i32** %72, align 8\n %73 = load %struct.Matrix*, %struct.Matrix** ...\n %74 = getelementptr inbounds %struct.Matrix, ...\n %75 = load i32**, i32*** %74, align 8\n %76 = load i32, i32* %7, align 4\n %77 = sext i32 %76 to i64\n %78 = getelementptr inbounds i32*, i32** %75,...\n %79 = load i32*, i32** %78, align 8\n %80 = icmp ne i32* %79, null\n br i1 %80, label %105, label %81\n"]
  335. 62 -->|true| 105
  336. 62 -->|false| 81
  337. 81["Block 81:\n store i32 0, i32* %8, align 4\n br label %82\n"]
  338. 81 --> 82
  339. 82["Block 82:\n %83 = load i32, i32* %8, align 4\n %84 = load i32, i32* %7, align 4\n %85 = icmp slt i32 %83, %84\n br i1 %85, label %86, label %98\n"]
  340. 82 -->|true| 86
  341. 82 -->|false| 98
  342. 86["Block 86:\n %87 = load %struct.Matrix*, %struct.Matrix** ...\n %88 = getelementptr inbounds %struct.Matrix, ...\n %89 = load i32**, i32*** %88, align 8\n %90 = load i32, i32* %8, align 4\n %91 = sext i32 %90 to i64\n %92 = getelementptr inbounds i32*, i32** %89,...\n %93 = load i32*, i32** %92, align 8\n %94 = bitcast i32* %93 to i8*\n call void @free(i8* %94) #7\n br label %95\n"]
  343. 86 --> 95
  344. 95["Block 95:\n %96 = load i32, i32* %8, align 4\n %97 = add nsw i32 %96, 1\n store i32 %97, i32* %8, align 4\n br label %82\n"]
  345. 95 --> 82
  346. 98["Block 98:\n %99 = load %struct.Matrix*, %struct.Matrix** ...\n %100 = getelementptr inbounds %struct.Matrix,...\n %101 = load i32**, i32*** %100, align 8\n %102 = bitcast i32** %101 to i8*\n call void @free(i8* %102) #7\n %103 = load %struct.Matrix*, %struct.Matrix**...\n %104 = bitcast %struct.Matrix* %103 to i8*\n call void @free(i8* %104) #7\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %111\n"]
  347. 98 --> 111
  348. 105["Block 105:\n br label %106\n"]
  349. 105 --> 106
  350. 106["Block 106:\n %107 = load i32, i32* %7, align 4\n %108 = add nsw i32 %107, 1\n store i32 %108, i32* %7, align 4\n br label %58\n"]
  351. 106 --> 58
  352. 109["Block 109:\n %110 = load %struct.Matrix*, %struct.Matrix**...\n store %struct.Matrix* %110, %struct.Matrix** ...\n br label %111\n"]
  353. 109 --> 111
  354. 111["Block 111:\n %112 = load %struct.Matrix*, %struct.Matrix**...\n ret %struct.Matrix* %112\n"]:::critical
  355. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  356. ```
  357. ```mermaid: multiplyMatrices
  358. graph TD
  359. 2["Block 2:\n %3 = alloca %struct.Matrix*, align 8\n %4 = alloca %struct.Matrix*, align 8\n %5 = alloca %struct.Matrix*, align 8\n %6 = alloca %struct.Matrix*, align 8\n %7 = alloca i64, align 8\n %8 = alloca i32, align 4\n %9 = alloca i32, align 4\n %10 = alloca i64, align 8\n %11 = alloca i32, align 4\n %12 = alloca i64, align 8\n %13 = alloca i32, align 4\n store %struct.Matrix* %0, %struct.Matrix** %4...\n store %struct.Matrix* %1, %struct.Matrix** %5...\n %14 = load %struct.Matrix*, %struct.Matrix** ...\n %15 = icmp ne %struct.Matrix* %14, null\n br i1 %15, label %16, label %19\n"]:::critical
  360. 2 -->|true| 16
  361. 2 -->|false| 19
  362. 16["Block 16:\n %17 = load %struct.Matrix*, %struct.Matrix** ...\n %18 = icmp ne %struct.Matrix* %17, null\n br i1 %18, label %20, label %19\n"]
  363. 16 -->|true| 20
  364. 16 -->|false| 19
  365. 19["Block 19:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %209\n"]
  366. 19 --> 209
  367. 20["Block 20:\n %21 = load %struct.Matrix*, %struct.Matrix** ...\n %22 = getelementptr inbounds %struct.Matrix, ...\n %23 = load i32**, i32*** %22, align 8\n %24 = icmp ne i32** %23, null\n br i1 %24, label %25, label %30\n"]
  368. 20 -->|true| 25
  369. 20 -->|false| 30
  370. 25["Block 25:\n %26 = load %struct.Matrix*, %struct.Matrix** ...\n %27 = getelementptr inbounds %struct.Matrix, ...\n %28 = load i32**, i32*** %27, align 8\n %29 = icmp ne i32** %28, null\n br i1 %29, label %31, label %30\n"]
  371. 25 -->|true| 31
  372. 25 -->|false| 30
  373. 30["Block 30:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %209\n"]
  374. 30 --> 209
  375. 31["Block 31:\n %32 = load %struct.Matrix*, %struct.Matrix** ...\n %33 = getelementptr inbounds %struct.Matrix, ...\n %34 = load i32, i32* %33, align 4\n %35 = load %struct.Matrix*, %struct.Matrix** ...\n %36 = getelementptr inbounds %struct.Matrix, ...\n %37 = load i32, i32* %36, align 8\n %38 = icmp ne i32 %34, %37\n br i1 %38, label %39, label %40\n"]
  376. 31 -->|true| 39
  377. 31 -->|false| 40
  378. 39["Block 39:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %209\n"]
  379. 39 --> 209
  380. 40["Block 40:\n %41 = load %struct.Matrix*, %struct.Matrix** ...\n %42 = getelementptr inbounds %struct.Matrix, ...\n %43 = load i32, i32* %42, align 4\n %44 = icmp sgt i32 %43, 100\n br i1 %44, label %50, label %45\n"]
  381. 40 -->|true| 50
  382. 40 -->|false| 45
  383. 45["Block 45:\n %46 = load %struct.Matrix*, %struct.Matrix** ...\n %47 = getelementptr inbounds %struct.Matrix, ...\n %48 = load i32, i32* %47, align 8\n %49 = icmp sgt i32 %48, 100\n br i1 %49, label %50, label %51\n"]
  384. 45 -->|true| 50
  385. 45 -->|false| 51
  386. 50["Block 50:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %209\n"]
  387. 50 --> 209
  388. 51["Block 51:\n %52 = load %struct.Matrix*, %struct.Matrix** ...\n %53 = getelementptr inbounds %struct.Matrix, ...\n %54 = load i32, i32* %53, align 8\n %55 = load %struct.Matrix*, %struct.Matrix** ...\n %56 = getelementptr inbounds %struct.Matrix, ...\n %57 = load i32, i32* %56, align 4\n %58 = call %struct.Matrix* @createMatrix(i32 ...\n store %struct.Matrix* %58, %struct.Matrix** %...\n %59 = load %struct.Matrix*, %struct.Matrix** ...\n %60 = icmp ne %struct.Matrix* %59, null\n br i1 %60, label %62, label %61\n"]
  389. 51 -->|true| 62
  390. 51 -->|false| 61
  391. 61["Block 61:\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %209\n"]
  392. 61 --> 209
  393. 62["Block 62:\n store i64 0, i64* %7, align 8\n store i32 0, i32* %8, align 4\n br label %63\n"]
  394. 62 --> 63
  395. 63["Block 63:\n %64 = load i32, i32* %8, align 4\n %65 = load %struct.Matrix*, %struct.Matrix** ...\n %66 = getelementptr inbounds %struct.Matrix, ...\n %67 = load i32, i32* %66, align 8\n %68 = icmp slt i32 %64, %67\n br i1 %68, label %69, label %197\n"]
  396. 63 -->|true| 69
  397. 63 -->|false| 197
  398. 69["Block 69:\n store i32 0, i32* %9, align 4\n br label %70\n"]
  399. 69 --> 70
  400. 70["Block 70:\n %71 = load i32, i32* %9, align 4\n %72 = load %struct.Matrix*, %struct.Matrix** ...\n %73 = getelementptr inbounds %struct.Matrix, ...\n %74 = load i32, i32* %73, align 4\n %75 = icmp slt i32 %71, %74\n br i1 %75, label %76, label %193\n"]
  401. 70 -->|true| 76
  402. 70 -->|false| 193
  403. 76["Block 76:\n store i64 0, i64* %10, align 8\n store i32 0, i32* %11, align 4\n br label %77\n"]
  404. 76 --> 77
  405. 77["Block 77:\n %78 = load i32, i32* %11, align 4\n %79 = load %struct.Matrix*, %struct.Matrix** ...\n %80 = getelementptr inbounds %struct.Matrix, ...\n %81 = load i32, i32* %80, align 4\n %82 = icmp slt i32 %78, %81\n br i1 %82, label %83, label %147\n"]
  406. 77 -->|true| 83
  407. 77 -->|false| 147
  408. 83["Block 83:\n %84 = load %struct.Matrix*, %struct.Matrix** ...\n %85 = getelementptr inbounds %struct.Matrix, ...\n %86 = load i32**, i32*** %85, align 8\n %87 = load i32, i32* %8, align 4\n %88 = sext i32 %87 to i64\n %89 = getelementptr inbounds i32*, i32** %86,...\n %90 = load i32*, i32** %89, align 8\n %91 = load i32, i32* %11, align 4\n %92 = sext i32 %91 to i64\n %93 = getelementptr inbounds i32, i32* %90, i...\n %94 = load i32, i32* %93, align 4\n %95 = sext i32 %94 to i64\n %96 = load %struct.Matrix*, %struct.Matrix** ...\n %97 = getelementptr inbounds %struct.Matrix, ...\n %98 = load i32**, i32*** %97, align 8\n %99 = load i32, i32* %11, align 4\n %100 = sext i32 %99 to i64\n %101 = getelementptr inbounds i32*, i32** %98...\n %102 = load i32*, i32** %101, align 8\n %103 = load i32, i32* %9, align 4\n %104 = sext i32 %103 to i64\n %105 = getelementptr inbounds i32, i32* %102,...\n %106 = load i32, i32* %105, align 4\n %107 = sext i32 %106 to i64\n %108 = mul nsw i64 %95, %107\n store i64 %108, i64* %12, align 8\n %109 = load i64, i64* %12, align 8\n %110 = load i64, i64* %10, align 8\n %111 = add nsw i64 %110, %109\n store i64 %111, i64* %10, align 8\n %112 = load i64, i64* %10, align 8\n %113 = icmp sgt i64 %112, 2147483647\n br i1 %113, label %117, label %114\n"]
  409. 83 -->|true| 117
  410. 83 -->|false| 114
  411. 114["Block 114:\n %115 = load i64, i64* %10, align 8\n %116 = icmp slt i64 %115, -2147483648\n br i1 %116, label %117, label %143\n"]
  412. 114 -->|true| 117
  413. 114 -->|false| 143
  414. 117["Block 117:\n call void @setErrorMessage(i8* getelementptr ...\n store i32 0, i32* %13, align 4\n br label %118\n"]
  415. 117 --> 118
  416. 118["Block 118:\n %119 = load i32, i32* %13, align 4\n %120 = load %struct.Matrix*, %struct.Matrix**...\n %121 = getelementptr inbounds %struct.Matrix,...\n %122 = load i32, i32* %121, align 8\n %123 = icmp slt i32 %119, %122\n br i1 %123, label %124, label %136\n"]
  417. 118 -->|true| 124
  418. 118 -->|false| 136
  419. 124["Block 124:\n %125 = load %struct.Matrix*, %struct.Matrix**...\n %126 = getelementptr inbounds %struct.Matrix,...\n %127 = load i32**, i32*** %126, align 8\n %128 = load i32, i32* %13, align 4\n %129 = sext i32 %128 to i64\n %130 = getelementptr inbounds i32*, i32** %12...\n %131 = load i32*, i32** %130, align 8\n %132 = bitcast i32* %131 to i8*\n call void @free(i8* %132) #7\n br label %133\n"]
  420. 124 --> 133
  421. 133["Block 133:\n %134 = load i32, i32* %13, align 4\n %135 = add nsw i32 %134, 1\n store i32 %135, i32* %13, align 4\n br label %118\n"]
  422. 133 --> 118
  423. 136["Block 136:\n %137 = load %struct.Matrix*, %struct.Matrix**...\n %138 = getelementptr inbounds %struct.Matrix,...\n %139 = load i32**, i32*** %138, align 8\n %140 = bitcast i32** %139 to i8*\n call void @free(i8* %140) #7\n %141 = load %struct.Matrix*, %struct.Matrix**...\n %142 = bitcast %struct.Matrix* %141 to i8*\n call void @free(i8* %142) #7\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %209\n"]
  424. 136 --> 209
  425. 143["Block 143:\n br label %144\n"]
  426. 143 --> 144
  427. 144["Block 144:\n %145 = load i32, i32* %11, align 4\n %146 = add nsw i32 %145, 1\n store i32 %146, i32* %11, align 4\n br label %77\n"]
  428. 144 --> 77
  429. 147["Block 147:\n %148 = load i64, i64* %10, align 8\n %149 = trunc i64 %148 to i32\n %150 = load %struct.Matrix*, %struct.Matrix**...\n %151 = getelementptr inbounds %struct.Matrix,...\n %152 = load i32**, i32*** %151, align 8\n %153 = load i32, i32* %8, align 4\n %154 = sext i32 %153 to i64\n %155 = getelementptr inbounds i32*, i32** %15...\n %156 = load i32*, i32** %155, align 8\n %157 = load i32, i32* %9, align 4\n %158 = sext i32 %157 to i64\n %159 = getelementptr inbounds i32, i32* %156,...\n store i32 %149, i32* %159, align 4\n %160 = load %struct.Matrix*, %struct.Matrix**...\n %161 = getelementptr inbounds %struct.Matrix,...\n %162 = load i32**, i32*** %161, align 8\n %163 = load i32, i32* %8, align 4\n %164 = sext i32 %163 to i64\n %165 = getelementptr inbounds i32*, i32** %16...\n %166 = load i32*, i32** %165, align 8\n %167 = load i32, i32* %9, align 4\n %168 = sext i32 %167 to i64\n %169 = getelementptr inbounds i32, i32* %166,...\n %170 = load i32, i32* %169, align 4\n %171 = call i32 @abs(i32 %170) #8\n %172 = sext i32 %171 to i64\n %173 = load i64, i64* %7, align 8\n %174 = icmp sgt i64 %172, %173\n br i1 %174, label %175, label %189\n"]
  430. 147 -->|true| 175
  431. 147 -->|false| 189
  432. 175["Block 175:\n %176 = load %struct.Matrix*, %struct.Matrix**...\n %177 = getelementptr inbounds %struct.Matrix,...\n %178 = load i32**, i32*** %177, align 8\n %179 = load i32, i32* %8, align 4\n %180 = sext i32 %179 to i64\n %181 = getelementptr inbounds i32*, i32** %17...\n %182 = load i32*, i32** %181, align 8\n %183 = load i32, i32* %9, align 4\n %184 = sext i32 %183 to i64\n %185 = getelementptr inbounds i32, i32* %182,...\n %186 = load i32, i32* %185, align 4\n %187 = call i32 @abs(i32 %186) #8\n %188 = sext i32 %187 to i64\n store i64 %188, i64* %7, align 8\n br label %189\n"]
  433. 175 --> 189
  434. 189["Block 189:\n br label %190\n"]
  435. 189 --> 190
  436. 190["Block 190:\n %191 = load i32, i32* %9, align 4\n %192 = add nsw i32 %191, 1\n store i32 %192, i32* %9, align 4\n br label %70\n"]
  437. 190 --> 70
  438. 193["Block 193:\n br label %194\n"]
  439. 193 --> 194
  440. 194["Block 194:\n %195 = load i32, i32* %8, align 4\n %196 = add nsw i32 %195, 1\n store i32 %196, i32* %8, align 4\n br label %63\n"]
  441. 194 --> 63
  442. 197["Block 197:\n %198 = load %struct.Matrix*, %struct.Matrix**...\n %199 = getelementptr inbounds %struct.Matrix,...\n %200 = load i32, i32* %199, align 8\n %201 = load %struct.Matrix*, %struct.Matrix**...\n %202 = getelementptr inbounds %struct.Matrix,...\n %203 = load i32, i32* %202, align 4\n %204 = icmp eq i32 %200, %203\n %205 = zext i1 %204 to i32\n %206 = load %struct.Matrix*, %struct.Matrix**...\n %207 = getelementptr inbounds %struct.Matrix,...\n store i32 %205, i32* %207, align 8\n %208 = load %struct.Matrix*, %struct.Matrix**...\n store %struct.Matrix* %208, %struct.Matrix** ...\n br label %209\n"]
  443. 197 --> 209
  444. 209["Block 209:\n %210 = load %struct.Matrix*, %struct.Matrix**...\n ret %struct.Matrix* %210\n"]:::critical
  445. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  446. ```
  447. ```mermaid: insertNode
  448. graph TD
  449. 2["Block 2:\n %3 = alloca %struct.Node*, align 8\n %4 = alloca %struct.Node*, align 8\n %5 = alloca i32, align 4\n %6 = alloca %struct.Node*, align 8\n %7 = alloca %struct.Node*, align 8\n %8 = alloca %struct.Node*, align 8\n %9 = alloca i32, align 4\n store %struct.Node* %0, %struct.Node** %4, al...\n store i32 %1, i32* %5, align 4\n %10 = call noalias i8* @malloc(i64 32) #7\n %11 = bitcast i8* %10 to %struct.Node*\n store %struct.Node* %11, %struct.Node** %6, a...\n %12 = load %struct.Node*, %struct.Node** %6, ...\n %13 = icmp ne %struct.Node* %12, null\n br i1 %13, label %16, label %14\n"]:::critical
  450. 2 -->|true| 16
  451. 2 -->|false| 14
  452. 14["Block 14:\n call void @setErrorMessage(i8* getelementptr ...\n %15 = load %struct.Node*, %struct.Node** %4, ...\n store %struct.Node* %15, %struct.Node** %3, a...\n br label %92\n"]
  453. 14 --> 92
  454. 16["Block 16:\n %17 = load i32, i32* %5, align 4\n %18 = load %struct.Node*, %struct.Node** %6, ...\n %19 = getelementptr inbounds %struct.Node, %s...\n store i32 %17, i32* %19, align 8\n %20 = load %struct.Node*, %struct.Node** %6, ...\n %21 = getelementptr inbounds %struct.Node, %s...\n store %struct.Node* null, %struct.Node** %21,...\n %22 = load %struct.Node*, %struct.Node** %6, ...\n %23 = getelementptr inbounds %struct.Node, %s...\n store %struct.Node* null, %struct.Node** %23,...\n %24 = load %struct.Node*, %struct.Node** %6, ...\n %25 = getelementptr inbounds %struct.Node, %s...\n store i32 0, i32* %25, align 8\n %26 = load %struct.Node*, %struct.Node** %4, ...\n %27 = icmp ne %struct.Node* %26, null\n br i1 %27, label %32, label %28\n"]
  455. 16 -->|true| 32
  456. 16 -->|false| 28
  457. 28["Block 28:\n %29 = load %struct.Node*, %struct.Node** %6, ...\n %30 = getelementptr inbounds %struct.Node, %s...\n store i32 0, i32* %30, align 4\n store i32 0, i32* @insertNode.maxDepth, align 4\n %31 = load %struct.Node*, %struct.Node** %6, ...\n store %struct.Node* %31, %struct.Node** %3, a...\n br label %92\n"]
  458. 28 --> 92
  459. 32["Block 32:\n %33 = load %struct.Node*, %struct.Node** %4, ...\n store %struct.Node* %33, %struct.Node** %7, a...\n store %struct.Node* null, %struct.Node** %8, ...\n store i32 0, i32* %9, align 4\n br label %34\n"]
  460. 32 --> 34
  461. 34["Block 34:\n %35 = load %struct.Node*, %struct.Node** %7, ...\n %36 = icmp ne %struct.Node* %35, null\n br i1 %36, label %37, label %43\n"]
  462. 34 -->|true| 37
  463. 34 -->|false| 43
  464. 37["Block 37:\n %38 = load %struct.Node*, %struct.Node** %7, ...\n %39 = getelementptr inbounds %struct.Node, %s...\n %40 = load i32, i32* %39, align 8\n %41 = load i32, i32* %5, align 4\n %42 = icmp slt i32 %40, %41\n br label %43\n"]
  465. 37 --> 43
  466. 43["Block 43:\n %44 = phi i1 [ false, %34 ], [ %42, %37 ]\n br i1 %44, label %45, label %59\n"]
  467. 43 -->|true| 45
  468. 43 -->|false| 59
  469. 45["Block 45:\n %46 = load %struct.Node*, %struct.Node** %7, ...\n store %struct.Node* %46, %struct.Node** %8, a...\n %47 = load %struct.Node*, %struct.Node** %7, ...\n %48 = getelementptr inbounds %struct.Node, %s...\n %49 = load %struct.Node*, %struct.Node** %48,...\n store %struct.Node* %49, %struct.Node** %7, a...\n %50 = load i32, i32* %9, align 4\n %51 = add nsw i32 %50, 1\n store i32 %51, i32* %9, align 4\n %52 = load i32, i32* %9, align 4\n %53 = icmp sgt i32 %52, 1000\n br i1 %53, label %54, label %58\n"]
  470. 45 -->|true| 54
  471. 45 -->|false| 58
  472. 54["Block 54:\n call void @setErrorMessage(i8* getelementptr ...\n %55 = load %struct.Node*, %struct.Node** %6, ...\n %56 = bitcast %struct.Node* %55 to i8*\n call void @free(i8* %56) #7\n %57 = load %struct.Node*, %struct.Node** %4, ...\n store %struct.Node* %57, %struct.Node** %3, a...\n br label %92\n"]
  473. 54 --> 92
  474. 58["Block 58:\n br label %34\n"]
  475. 58 --> 34
  476. 59["Block 59:\n %60 = load i32, i32* %9, align 4\n %61 = load i32, i32* @insertNode.maxDepth, al...\n %62 = icmp sgt i32 %60, %61\n br i1 %62, label %63, label %65\n"]
  477. 59 -->|true| 63
  478. 59 -->|false| 65
  479. 63["Block 63:\n %64 = load i32, i32* %9, align 4\n store i32 %64, i32* @insertNode.maxDepth, ali...\n br label %65\n"]
  480. 63 --> 65
  481. 65["Block 65:\n %66 = load i32, i32* %9, align 4\n %67 = load %struct.Node*, %struct.Node** %6, ...\n %68 = getelementptr inbounds %struct.Node, %s...\n store i32 %66, i32* %68, align 4\n %69 = load %struct.Node*, %struct.Node** %7, ...\n %70 = load %struct.Node*, %struct.Node** %6, ...\n %71 = getelementptr inbounds %struct.Node, %s...\n store %struct.Node* %69, %struct.Node** %71, ...\n %72 = load %struct.Node*, %struct.Node** %8, ...\n %73 = icmp ne %struct.Node* %72, null\n br i1 %73, label %74, label %81\n"]
  482. 65 -->|true| 74
  483. 65 -->|false| 81
  484. 74["Block 74:\n %75 = load %struct.Node*, %struct.Node** %6, ...\n %76 = load %struct.Node*, %struct.Node** %8, ...\n %77 = getelementptr inbounds %struct.Node, %s...\n store %struct.Node* %75, %struct.Node** %77, ...\n %78 = load %struct.Node*, %struct.Node** %8, ...\n %79 = load %struct.Node*, %struct.Node** %6, ...\n %80 = getelementptr inbounds %struct.Node, %s...\n store %struct.Node* %78, %struct.Node** %80, ...\n br label %83\n"]
  485. 74 --> 83
  486. 81["Block 81:\n %82 = load %struct.Node*, %struct.Node** %6, ...\n store %struct.Node* %82, %struct.Node** %3, a...\n br label %92\n"]
  487. 81 --> 92
  488. 83["Block 83:\n %84 = load %struct.Node*, %struct.Node** %7, ...\n %85 = icmp ne %struct.Node* %84, null\n br i1 %85, label %86, label %90\n"]
  489. 83 -->|true| 86
  490. 83 -->|false| 90
  491. 86["Block 86:\n %87 = load %struct.Node*, %struct.Node** %6, ...\n %88 = load %struct.Node*, %struct.Node** %7, ...\n %89 = getelementptr inbounds %struct.Node, %s...\n store %struct.Node* %87, %struct.Node** %89, ...\n br label %90\n"]
  492. 86 --> 90
  493. 90["Block 90:\n %91 = load %struct.Node*, %struct.Node** %4, ...\n store %struct.Node* %91, %struct.Node** %3, a...\n br label %92\n"]
  494. 90 --> 92
  495. 92["Block 92:\n %93 = load %struct.Node*, %struct.Node** %3, ...\n ret %struct.Node* %93\n"]:::critical
  496. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  497. ```
  498. ```mermaid: performSimpleCalculations
  499. graph TD
  500. 0["Block 0:\n %1 = alloca i32, align 4\n store i32 100, i32* %1, align 4\n %2 = load i32, i32* %1, align 4\n %3 = icmp sgt i32 %2, 50\n br i1 %3, label %4, label %9\n"]:::critical
  501. 0 -->|true| 4
  502. 0 -->|false| 9
  503. 4["Block 4:\n %5 = load i32, i32* %1, align 4\n %6 = mul nsw i32 %5, 2\n %7 = load i32, i32* @calculationResult, align 4\n %8 = add nsw i32 %7, %6\n store i32 %8, i32* @calculationResult, align 4\n br label %14\n"]
  504. 4 --> 14
  505. 9["Block 9:\n %10 = load i32, i32* %1, align 4\n %11 = sdiv i32 %10, 2\n %12 = load i32, i32* @calculationResult, align 4\n %13 = add nsw i32 %12, %11\n store i32 %13, i32* @calculationResult, align 4\n br label %14\n"]
  506. 9 --> 14
  507. 14["Block 14:\n %15 = load i32, i32* %1, align 4\n %16 = srem i32 %15, 3\n %17 = icmp eq i32 %16, 0\n br i1 %17, label %18, label %21\n"]:::critical
  508. 14 -->|true| 18
  509. 14 -->|false| 21
  510. 18["Block 18:\n %19 = load i32, i32* @calculationResult, align 4\n %20 = mul nsw i32 %19, 3\n store i32 %20, i32* @calculationResult, align 4\n br label %24\n"]
  511. 18 --> 24
  512. 21["Block 21:\n %22 = load i32, i32* @calculationResult, align 4\n %23 = add nsw i32 %22, 3\n store i32 %23, i32* @calculationResult, align 4\n br label %24\n"]
  513. 21 --> 24
  514. 24["Block 24:\n %25 = load i32, i32* @calculationResult, align 4\n %26 = icmp sge i32 %25, 150\n br i1 %26, label %27, label %33\n"]:::critical
  515. 24 -->|true| 27
  516. 24 -->|false| 33
  517. 27["Block 27:\n %28 = load i32, i32* @calculationResult, align 4\n %29 = icmp sle i32 %28, 300\n br i1 %29, label %30, label %33\n"]
  518. 27 -->|true| 30
  519. 27 -->|false| 33
  520. 30["Block 30:\n %31 = load i32, i32* @calculationResult, align 4\n %32 = sub nsw i32 %31, 50\n store i32 %32, i32* @calculationResult, align 4\n br label %36\n"]
  521. 30 --> 36
  522. 33["Block 33:\n %34 = load i32, i32* @calculationResult, align 4\n %35 = add nsw i32 %34, 50\n store i32 %35, i32* @calculationResult, align 4\n br label %36\n"]
  523. 33 --> 36
  524. 36["Block 36:\n %37 = load i32, i32* @calculationResult, align 4\n %38 = srem i32 %37, 2\n %39 = icmp eq i32 %38, 0\n br i1 %39, label %40, label %43\n"]:::critical
  525. 36 -->|true| 40
  526. 36 -->|false| 43
  527. 40["Block 40:\n %41 = load i32, i32* @calculationResult, align 4\n %42 = sdiv i32 %41, 2\n store i32 %42, i32* @calculationResult, align 4\n br label %46\n"]
  528. 40 --> 46
  529. 43["Block 43:\n %44 = load i32, i32* @calculationResult, align 4\n %45 = mul nsw i32 %44, 2\n store i32 %45, i32* @calculationResult, align 4\n br label %46\n"]
  530. 43 --> 46
  531. 46["Block 46:\n %47 = load i32, i32* @calculationResult, align 4\n %48 = srem i32 %47, 10\n %49 = icmp slt i32 %48, 5\n br i1 %49, label %50, label %53\n"]:::critical
  532. 46 -->|true| 50
  533. 46 -->|false| 53
  534. 50["Block 50:\n %51 = load i32, i32* @calculationResult, align 4\n %52 = add nsw i32 %51, 5\n store i32 %52, i32* @calculationResult, align 4\n br label %56\n"]
  535. 50 --> 56
  536. 53["Block 53:\n %54 = load i32, i32* @calculationResult, align 4\n %55 = sub nsw i32 %54, 5\n store i32 %55, i32* @calculationResult, align 4\n br label %56\n"]
  537. 53 --> 56
  538. 56["Block 56:\n %57 = load i32, i32* @calculationResult, align 4\n %58 = icmp sgt i32 %57, 1000\n br i1 %58, label %59, label %60\n"]:::critical
  539. 56 -->|true| 59
  540. 56 -->|false| 60
  541. 59["Block 59:\n store i32 1000, i32* @calculationResult, align 4\n br label %63\n"]
  542. 59 --> 63
  543. 60["Block 60:\n %61 = load i32, i32* @calculationResult, align 4\n %62 = add nsw i32 %61, 10\n store i32 %62, i32* @calculationResult, align 4\n br label %63\n"]
  544. 60 --> 63
  545. 63["Block 63:\n %64 = load i32, i32* @calculationResult, align 4\n %65 = call i32 (i8*, ...) @printf(i8* getelem...\n ret void\n"]:::critical
  546. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  547. ```
  548. ```mermaid: projectA_main
  549. graph TD
  550. 0["Block 0:\n %1 = alloca i32, align 4\n %2 = alloca %struct.DynamicArray*, align 8\n %3 = alloca i32, align 4\n %4 = alloca %struct.Matrix*, align 8\n %5 = alloca %struct.Matrix*, align 8\n %6 = alloca i32, align 4\n %7 = alloca i32, align 4\n %8 = alloca %struct.Matrix*, align 8\n %9 = alloca i32, align 4\n %10 = alloca %struct.Node*, align 8\n %11 = alloca i32, align 4\n %12 = alloca i32, align 4\n %13 = alloca %struct.Node*, align 8\n %14 = alloca %struct.Node*, align 8\n %15 = alloca i32, align 4\n %16 = alloca %struct.Node*, align 8\n %17 = alloca i32, align 4\n %18 = alloca i32, align 4\n %19 = alloca %struct.Node*, align 8\n %20 = call i64 @time(i64* null) #7\n %21 = trunc i64 %20 to i32\n call void @srand(i32 %21) #7\n %22 = call %struct.DynamicArray* @createDynam...\n store %struct.DynamicArray* %22, %struct.Dyna...\n %23 = load %struct.DynamicArray*, %struct.Dyn...\n %24 = icmp ne %struct.DynamicArray* %23, null\n br i1 %24, label %28, label %25\n"]:::critical
  551. 0 -->|true| 28
  552. 0 -->|false| 25
  553. 25["Block 25:\n %26 = call i8* @getErrorMessage()\n %27 = call i32 (i8*, ...) @printf(i8* getelem...\n store i32 -1, i32* %1, align 4\n br label %322\n"]
  554. 25 --> 322
  555. 28["Block 28:\n store i32 0, i32* %3, align 4\n br label %29\n"]
  556. 28 --> 29
  557. 29["Block 29:\n %30 = load i32, i32* %3, align 4\n %31 = icmp slt i32 %30, 15\n br i1 %31, label %32, label %45\n"]
  558. 29 -->|true| 32
  559. 29 -->|false| 45
  560. 32["Block 32:\n %33 = load %struct.DynamicArray*, %struct.Dyn...\n %34 = call i32 @rand() #7\n %35 = srem i32 %34, 100\n call void @pushBack(%struct.DynamicArray* %33...\n %36 = load i8*, i8** @globalErrorMessage, ali...\n %37 = icmp ne i8* %36, null\n br i1 %37, label %38, label %41\n"]
  561. 32 -->|true| 38
  562. 32 -->|false| 41
  563. 38["Block 38:\n %39 = call i8* @getErrorMessage()\n %40 = call i32 (i8*, ...) @printf(i8* getelem...\n br label %45\n"]
  564. 38 --> 45
  565. 41["Block 41:\n br label %42\n"]
  566. 41 --> 42
  567. 42["Block 42:\n %43 = load i32, i32* %3, align 4\n %44 = add nsw i32 %43, 1\n store i32 %44, i32* %3, align 4\n br label %29\n"]
  568. 42 --> 29
  569. 45["Block 45:\n %46 = call %struct.Matrix* @createMatrix(i32 ...\n store %struct.Matrix* %46, %struct.Matrix** %...\n %47 = call %struct.Matrix* @createMatrix(i32 ...\n store %struct.Matrix* %47, %struct.Matrix** %...\n %48 = load %struct.Matrix*, %struct.Matrix** ...\n %49 = icmp ne %struct.Matrix* %48, null\n br i1 %49, label %50, label %53\n"]
  570. 45 -->|true| 50
  571. 45 -->|false| 53
  572. 50["Block 50:\n %51 = load %struct.Matrix*, %struct.Matrix** ...\n %52 = icmp ne %struct.Matrix* %51, null\n br i1 %52, label %74, label %53\n"]
  573. 50 -->|true| 74
  574. 50 -->|false| 53
  575. 53["Block 53:\n %54 = call i8* @getErrorMessage()\n %55 = call i32 (i8*, ...) @printf(i8* getelem...\n %56 = load %struct.Matrix*, %struct.Matrix** ...\n %57 = icmp ne %struct.Matrix* %56, null\n br i1 %57, label %58, label %61\n"]
  576. 53 -->|true| 58
  577. 53 -->|false| 61
  578. 58["Block 58:\n %59 = load %struct.Matrix*, %struct.Matrix** ...\n %60 = bitcast %struct.Matrix* %59 to i8*\n call void @free(i8* %60) #7\n br label %61\n"]
  579. 58 --> 61
  580. 61["Block 61:\n %62 = load %struct.Matrix*, %struct.Matrix** ...\n %63 = icmp ne %struct.Matrix* %62, null\n br i1 %63, label %64, label %67\n"]
  581. 61 -->|true| 64
  582. 61 -->|false| 67
  583. 64["Block 64:\n %65 = load %struct.Matrix*, %struct.Matrix** ...\n %66 = bitcast %struct.Matrix* %65 to i8*\n call void @free(i8* %66) #7\n br label %67\n"]
  584. 64 --> 67
  585. 67["Block 67:\n %68 = load %struct.DynamicArray*, %struct.Dyn...\n %69 = getelementptr inbounds %struct.DynamicA...\n %70 = load i32*, i32** %69, align 8\n %71 = bitcast i32* %70 to i8*\n call void @free(i8* %71) #7\n %72 = load %struct.DynamicArray*, %struct.Dyn...\n %73 = bitcast %struct.DynamicArray* %72 to i8*\n call void @free(i8* %73) #7\n store i32 -1, i32* %1, align 4\n br label %322\n"]
  586. 67 --> 322
  587. 74["Block 74:\n store i32 0, i32* %6, align 4\n br label %75\n"]
  588. 74 --> 75
  589. 75["Block 75:\n %76 = load i32, i32* %6, align 4\n %77 = icmp slt i32 %76, 3\n br i1 %77, label %78, label %114\n"]
  590. 75 -->|true| 78
  591. 75 -->|false| 114
  592. 78["Block 78:\n store i32 0, i32* %7, align 4\n br label %79\n"]
  593. 78 --> 79
  594. 79["Block 79:\n %80 = load i32, i32* %7, align 4\n %81 = icmp slt i32 %80, 3\n br i1 %81, label %82, label %110\n"]
  595. 79 -->|true| 82
  596. 79 -->|false| 110
  597. 82["Block 82:\n %83 = call i32 @rand() #7\n %84 = srem i32 %83, 10\n %85 = load %struct.Matrix*, %struct.Matrix** ...\n %86 = getelementptr inbounds %struct.Matrix, ...\n %87 = load i32**, i32*** %86, align 8\n %88 = load i32, i32* %6, align 4\n %89 = sext i32 %88 to i64\n %90 = getelementptr inbounds i32*, i32** %87,...\n %91 = load i32*, i32** %90, align 8\n %92 = load i32, i32* %7, align 4\n %93 = sext i32 %92 to i64\n %94 = getelementptr inbounds i32, i32* %91, i...\n store i32 %84, i32* %94, align 4\n %95 = call i32 @rand() #7\n %96 = srem i32 %95, 10\n %97 = load %struct.Matrix*, %struct.Matrix** ...\n %98 = getelementptr inbounds %struct.Matrix, ...\n %99 = load i32**, i32*** %98, align 8\n %100 = load i32, i32* %6, align 4\n %101 = sext i32 %100 to i64\n %102 = getelementptr inbounds i32*, i32** %99...\n %103 = load i32*, i32** %102, align 8\n %104 = load i32, i32* %7, align 4\n %105 = sext i32 %104 to i64\n %106 = getelementptr inbounds i32, i32* %103,...\n store i32 %96, i32* %106, align 4\n br label %107\n"]
  598. 82 --> 107
  599. 107["Block 107:\n %108 = load i32, i32* %7, align 4\n %109 = add nsw i32 %108, 1\n store i32 %109, i32* %7, align 4\n br label %79\n"]
  600. 107 --> 79
  601. 110["Block 110:\n br label %111\n"]
  602. 110 --> 111
  603. 111["Block 111:\n %112 = load i32, i32* %6, align 4\n %113 = add nsw i32 %112, 1\n store i32 %113, i32* %6, align 4\n br label %75\n"]
  604. 111 --> 75
  605. 114["Block 114:\n %115 = load %struct.Matrix*, %struct.Matrix**...\n %116 = load %struct.Matrix*, %struct.Matrix**...\n %117 = call %struct.Matrix* @multiplyMatrices...\n store %struct.Matrix* %117, %struct.Matrix** ...\n %118 = load %struct.Matrix*, %struct.Matrix**...\n %119 = icmp ne %struct.Matrix* %118, null\n br i1 %119, label %168, label %120\n"]
  606. 114 -->|true| 168
  607. 114 -->|false| 120
  608. 120["Block 120:\n %121 = call i8* @getErrorMessage()\n %122 = call i32 (i8*, ...) @printf(i8* getele...\n store i32 0, i32* %9, align 4\n br label %123\n"]
  609. 120 --> 123
  610. 123["Block 123:\n %124 = load i32, i32* %9, align 4\n %125 = load %struct.Matrix*, %struct.Matrix**...\n %126 = getelementptr inbounds %struct.Matrix,...\n %127 = load i32, i32* %126, align 8\n %128 = icmp slt i32 %124, %127\n br i1 %128, label %129, label %149\n"]
  611. 123 -->|true| 129
  612. 123 -->|false| 149
  613. 129["Block 129:\n %130 = load %struct.Matrix*, %struct.Matrix**...\n %131 = getelementptr inbounds %struct.Matrix,...\n %132 = load i32**, i32*** %131, align 8\n %133 = load i32, i32* %9, align 4\n %134 = sext i32 %133 to i64\n %135 = getelementptr inbounds i32*, i32** %13...\n %136 = load i32*, i32** %135, align 8\n %137 = bitcast i32* %136 to i8*\n call void @free(i8* %137) #7\n %138 = load %struct.Matrix*, %struct.Matrix**...\n %139 = getelementptr inbounds %struct.Matrix,...\n %140 = load i32**, i32*** %139, align 8\n %141 = load i32, i32* %9, align 4\n %142 = sext i32 %141 to i64\n %143 = getelementptr inbounds i32*, i32** %14...\n %144 = load i32*, i32** %143, align 8\n %145 = bitcast i32* %144 to i8*\n call void @free(i8* %145) #7\n br label %146\n"]
  614. 129 --> 146
  615. 146["Block 146:\n %147 = load i32, i32* %9, align 4\n %148 = add nsw i32 %147, 1\n store i32 %148, i32* %9, align 4\n br label %123\n"]
  616. 146 --> 123
  617. 149["Block 149:\n %150 = load %struct.Matrix*, %struct.Matrix**...\n %151 = getelementptr inbounds %struct.Matrix,...\n %152 = load i32**, i32*** %151, align 8\n %153 = bitcast i32** %152 to i8*\n call void @free(i8* %153) #7\n %154 = load %struct.Matrix*, %struct.Matrix**...\n %155 = getelementptr inbounds %struct.Matrix,...\n %156 = load i32**, i32*** %155, align 8\n %157 = bitcast i32** %156 to i8*\n call void @free(i8* %157) #7\n %158 = load %struct.Matrix*, %struct.Matrix**...\n %159 = bitcast %struct.Matrix* %158 to i8*\n call void @free(i8* %159) #7\n %160 = load %struct.Matrix*, %struct.Matrix**...\n %161 = bitcast %struct.Matrix* %160 to i8*\n call void @free(i8* %161) #7\n %162 = load %struct.DynamicArray*, %struct.Dy...\n %163 = getelementptr inbounds %struct.Dynamic...\n %164 = load i32*, i32** %163, align 8\n %165 = bitcast i32* %164 to i8*\n call void @free(i8* %165) #7\n %166 = load %struct.DynamicArray*, %struct.Dy...\n %167 = bitcast %struct.DynamicArray* %166 to i8*\n call void @free(i8* %167) #7\n store i32 -1, i32* %1, align 4\n br label %322\n"]
  618. 149 --> 322
  619. 168["Block 168:\n store %struct.Node* null, %struct.Node** %10,...\n store i32 0, i32* %11, align 4\n br label %169\n"]
  620. 168 --> 169
  621. 169["Block 169:\n %170 = load i32, i32* %11, align 4\n %171 = icmp slt i32 %170, 5\n br i1 %171, label %172, label %186\n"]
  622. 169 -->|true| 172
  623. 169 -->|false| 186
  624. 172["Block 172:\n %173 = load %struct.Node*, %struct.Node** %10...\n %174 = call i32 @rand() #7\n %175 = srem i32 %174, 50\n %176 = call %struct.Node* @insertNode(%struct...\n store %struct.Node* %176, %struct.Node** %10,...\n %177 = load i8*, i8** @globalErrorMessage, al...\n %178 = icmp ne i8* %177, null\n br i1 %178, label %179, label %182\n"]
  625. 172 -->|true| 179
  626. 172 -->|false| 182
  627. 179["Block 179:\n %180 = call i8* @getErrorMessage()\n %181 = call i32 (i8*, ...) @printf(i8* getele...\n br label %186\n"]
  628. 179 --> 186
  629. 182["Block 182:\n br label %183\n"]
  630. 182 --> 183
  631. 183["Block 183:\n %184 = load i32, i32* %11, align 4\n %185 = add nsw i32 %184, 1\n store i32 %185, i32* %11, align 4\n br label %169\n"]
  632. 183 --> 169
  633. 186["Block 186:\n %187 = load %struct.DynamicArray*, %struct.Dy...\n %188 = getelementptr inbounds %struct.Dynamic...\n %189 = load i32*, i32** %188, align 8\n %190 = bitcast i32* %189 to i8*\n call void @free(i8* %190) #7\n %191 = load %struct.DynamicArray*, %struct.Dy...\n %192 = bitcast %struct.DynamicArray* %191 to i8*\n call void @free(i8* %192) #7\n store i32 0, i32* %12, align 4\n br label %193\n"]
  634. 186 --> 193
  635. 193["Block 193:\n %194 = load i32, i32* %12, align 4\n %195 = load %struct.Matrix*, %struct.Matrix**...\n %196 = getelementptr inbounds %struct.Matrix,...\n %197 = load i32, i32* %196, align 8\n %198 = icmp slt i32 %194, %197\n br i1 %198, label %199, label %227\n"]
  636. 193 -->|true| 199
  637. 193 -->|false| 227
  638. 199["Block 199:\n %200 = load %struct.Matrix*, %struct.Matrix**...\n %201 = getelementptr inbounds %struct.Matrix,...\n %202 = load i32**, i32*** %201, align 8\n %203 = load i32, i32* %12, align 4\n %204 = sext i32 %203 to i64\n %205 = getelementptr inbounds i32*, i32** %20...\n %206 = load i32*, i32** %205, align 8\n %207 = bitcast i32* %206 to i8*\n call void @free(i8* %207) #7\n %208 = load %struct.Matrix*, %struct.Matrix**...\n %209 = getelementptr inbounds %struct.Matrix,...\n %210 = load i32**, i32*** %209, align 8\n %211 = load i32, i32* %12, align 4\n %212 = sext i32 %211 to i64\n %213 = getelementptr inbounds i32*, i32** %21...\n %214 = load i32*, i32** %213, align 8\n %215 = bitcast i32* %214 to i8*\n call void @free(i8* %215) #7\n %216 = load %struct.Matrix*, %struct.Matrix**...\n %217 = getelementptr inbounds %struct.Matrix,...\n %218 = load i32**, i32*** %217, align 8\n %219 = load i32, i32* %12, align 4\n %220 = sext i32 %219 to i64\n %221 = getelementptr inbounds i32*, i32** %21...\n %222 = load i32*, i32** %221, align 8\n %223 = bitcast i32* %222 to i8*\n call void @free(i8* %223) #7\n br label %224\n"]
  639. 199 --> 224
  640. 224["Block 224:\n %225 = load i32, i32* %12, align 4\n %226 = add nsw i32 %225, 1\n store i32 %226, i32* %12, align 4\n br label %193\n"]
  641. 224 --> 193
  642. 227["Block 227:\n %228 = load %struct.Matrix*, %struct.Matrix**...\n %229 = getelementptr inbounds %struct.Matrix,...\n %230 = load i32**, i32*** %229, align 8\n %231 = bitcast i32** %230 to i8*\n call void @free(i8* %231) #7\n %232 = load %struct.Matrix*, %struct.Matrix**...\n %233 = getelementptr inbounds %struct.Matrix,...\n %234 = load i32**, i32*** %233, align 8\n %235 = bitcast i32** %234 to i8*\n call void @free(i8* %235) #7\n %236 = load %struct.Matrix*, %struct.Matrix**...\n %237 = getelementptr inbounds %struct.Matrix,...\n %238 = load i32**, i32*** %237, align 8\n %239 = bitcast i32** %238 to i8*\n call void @free(i8* %239) #7\n %240 = load %struct.Matrix*, %struct.Matrix**...\n %241 = bitcast %struct.Matrix* %240 to i8*\n call void @free(i8* %241) #7\n %242 = load %struct.Matrix*, %struct.Matrix**...\n %243 = bitcast %struct.Matrix* %242 to i8*\n call void @free(i8* %243) #7\n %244 = load %struct.Matrix*, %struct.Matrix**...\n %245 = bitcast %struct.Matrix* %244 to i8*\n call void @free(i8* %245) #7\n %246 = load %struct.Node*, %struct.Node** %10...\n %247 = icmp ne %struct.Node* %246, null\n br i1 %247, label %248, label %316\n"]
  643. 227 -->|true| 248
  644. 227 -->|false| 316
  645. 248["Block 248:\n %249 = load %struct.Node*, %struct.Node** %10...\n store %struct.Node* %249, %struct.Node** %13,...\n %250 = load %struct.Node*, %struct.Node** %10...\n store %struct.Node* %250, %struct.Node** %14,...\n store i32 0, i32* %15, align 4\n br label %251\n"]
  646. 248 --> 251
  647. 251["Block 251:\n %252 = load %struct.Node*, %struct.Node** %14...\n %253 = icmp ne %struct.Node* %252, null\n br i1 %253, label %254, label %259\n"]
  648. 251 -->|true| 254
  649. 251 -->|false| 259
  650. 254["Block 254:\n %255 = load %struct.Node*, %struct.Node** %14...\n %256 = getelementptr inbounds %struct.Node, %...\n %257 = load %struct.Node*, %struct.Node** %25...\n %258 = icmp ne %struct.Node* %257, null\n br label %259\n"]
  651. 254 --> 259
  652. 259["Block 259:\n %260 = phi i1 [ false, %251 ], [ %258, %254 ]\n br i1 %260, label %261, label %275\n"]
  653. 259 -->|true| 261
  654. 259 -->|false| 275
  655. 261["Block 261:\n %262 = load %struct.Node*, %struct.Node** %13...\n %263 = getelementptr inbounds %struct.Node, %...\n %264 = load %struct.Node*, %struct.Node** %26...\n store %struct.Node* %264, %struct.Node** %13,...\n %265 = load %struct.Node*, %struct.Node** %14...\n %266 = getelementptr inbounds %struct.Node, %...\n %267 = load %struct.Node*, %struct.Node** %26...\n %268 = getelementptr inbounds %struct.Node, %...\n %269 = load %struct.Node*, %struct.Node** %26...\n store %struct.Node* %269, %struct.Node** %14,...\n %270 = load %struct.Node*, %struct.Node** %13...\n %271 = load %struct.Node*, %struct.Node** %14...\n %272 = icmp eq %struct.Node* %270, %271\n br i1 %272, label %273, label %274\n"]
  656. 261 -->|true| 273
  657. 261 -->|false| 274
  658. 273["Block 273:\n store i32 1, i32* %15, align 4\n br label %275\n"]
  659. 273 --> 275
  660. 274["Block 274:\n br label %251\n"]
  661. 274 --> 251
  662. 275["Block 275:\n %276 = load i32, i32* %15, align 4\n %277 = icmp ne i32 %276, 0\n br i1 %277, label %278, label %304\n"]
  663. 275 -->|true| 278
  664. 275 -->|false| 304
  665. 278["Block 278:\n call void @setErrorMessage(i8* getelementptr ...\n %279 = load %struct.Node*, %struct.Node** %10...\n store %struct.Node* %279, %struct.Node** %16,...\n store i32 1000, i32* %17, align 4\n store i32 0, i32* %18, align 4\n br label %280\n"]
  666. 278 --> 280
  667. 280["Block 280:\n %281 = load %struct.Node*, %struct.Node** %16...\n %282 = icmp ne %struct.Node* %281, null\n br i1 %282, label %283, label %287\n"]
  668. 280 -->|true| 283
  669. 280 -->|false| 287
  670. 283["Block 283:\n %284 = load i32, i32* %18, align 4\n %285 = load i32, i32* %17, align 4\n %286 = icmp slt i32 %284, %285\n br label %287\n"]
  671. 283 --> 287
  672. 287["Block 287:\n %288 = phi i1 [ false, %280 ], [ %286, %283 ]\n br i1 %288, label %289, label %303\n"]
  673. 287 -->|true| 289
  674. 287 -->|false| 303
  675. 289["Block 289:\n %290 = load %struct.Node*, %struct.Node** %16...\n %291 = getelementptr inbounds %struct.Node, %...\n %292 = load i32, i32* %291, align 8\n %293 = icmp ne i32 %292, 0\n br i1 %293, label %294, label %295\n"]
  676. 289 -->|true| 294
  677. 289 -->|false| 295
  678. 294["Block 294:\n br label %303\n"]
  679. 294 --> 303
  680. 295["Block 295:\n %296 = load %struct.Node*, %struct.Node** %16...\n %297 = getelementptr inbounds %struct.Node, %...\n store i32 1, i32* %297, align 8\n %298 = load %struct.Node*, %struct.Node** %16...\n %299 = getelementptr inbounds %struct.Node, %...\n %300 = load %struct.Node*, %struct.Node** %29...\n store %struct.Node* %300, %struct.Node** %16,...\n %301 = load i32, i32* %18, align 4\n %302 = add nsw i32 %301, 1\n store i32 %302, i32* %18, align 4\n br label %280\n"]
  681. 295 --> 280
  682. 303["Block 303:\n br label %304\n"]
  683. 303 --> 304
  684. 304["Block 304:\n br label %305\n"]
  685. 304 --> 305
  686. 305["Block 305:\n %306 = load %struct.Node*, %struct.Node** %10...\n %307 = icmp ne %struct.Node* %306, null\n br i1 %307, label %308, label %315\n"]
  687. 305 -->|true| 308
  688. 305 -->|false| 315
  689. 308["Block 308:\n %309 = load %struct.Node*, %struct.Node** %10...\n store %struct.Node* %309, %struct.Node** %19,...\n %310 = load %struct.Node*, %struct.Node** %10...\n %311 = getelementptr inbounds %struct.Node, %...\n %312 = load %struct.Node*, %struct.Node** %31...\n store %struct.Node* %312, %struct.Node** %10,...\n %313 = load %struct.Node*, %struct.Node** %19...\n %314 = bitcast %struct.Node* %313 to i8*\n call void @free(i8* %314) #7\n br label %305\n"]
  690. 308 --> 305
  691. 315["Block 315:\n br label %316\n"]
  692. 315 --> 316
  693. 316["Block 316:\n %317 = load i8*, i8** @globalErrorMessage, al...\n %318 = icmp ne i8* %317, null\n br i1 %318, label %319, label %321\n"]
  694. 316 -->|true| 319
  695. 316 -->|false| 321
  696. 319["Block 319:\n %320 = load i8*, i8** @globalErrorMessage, al...\n call void @free(i8* %320) #7\n br label %321\n"]
  697. 319 --> 321
  698. 321["Block 321:\n call void @performSimpleCalculations()\n store i32 0, i32* %1, align 4\n br label %322\n"]
  699. 321 --> 322
  700. 322["Block 322:\n %323 = load i32, i32* %1, align 4\n ret i32 %323\n"]:::critical
  701. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  702. ```
  703. ```mermaid: calculateDistance
  704. graph TD
  705. 3["Block 3:\n %4 = alloca double, align 8\n %5 = alloca i32*, align 8\n %6 = alloca double, align 8\n %7 = alloca double, align 8\n %8 = alloca double, align 8\n store i32* %2, i32** %5, align 8\n %9 = load i32*, i32** %5, align 8\n store i32 0, i32* %9, align 4\n %10 = getelementptr inbounds %struct.Point, %...\n %11 = load double, double* %10, align 8\n %12 = fcmp ole double %11, 0.000000e+00\n br i1 %12, label %17, label %13\n"]:::critical
  706. 3 -->|true| 17
  707. 3 -->|false| 13
  708. 13["Block 13:\n %14 = getelementptr inbounds %struct.Point, %...\n %15 = load double, double* %14, align 8\n %16 = fcmp ole double %15, 0.000000e+00\n br i1 %16, label %17, label %19\n"]
  709. 13 -->|true| 17
  710. 13 -->|false| 19
  711. 17["Block 17:\n %18 = load i32*, i32** %5, align 8\n store i32 1, i32* %18, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %4, align 8\n br label %101\n"]
  712. 17 --> 101
  713. 19["Block 19:\n %20 = getelementptr inbounds %struct.Point, %...\n %21 = load i32, i32* %20, align 8\n %22 = call i32 @abs(i32 %21) #7\n %23 = icmp sgt i32 %22, 1000\n br i1 %23, label %39, label %24\n"]
  714. 19 -->|true| 39
  715. 19 -->|false| 24
  716. 24["Block 24:\n %25 = getelementptr inbounds %struct.Point, %...\n %26 = load i32, i32* %25, align 4\n %27 = call i32 @abs(i32 %26) #7\n %28 = icmp sgt i32 %27, 1000\n br i1 %28, label %39, label %29\n"]
  717. 24 -->|true| 39
  718. 24 -->|false| 29
  719. 29["Block 29:\n %30 = getelementptr inbounds %struct.Point, %...\n %31 = load i32, i32* %30, align 8\n %32 = call i32 @abs(i32 %31) #7\n %33 = icmp sgt i32 %32, 1000\n br i1 %33, label %39, label %34\n"]
  720. 29 -->|true| 39
  721. 29 -->|false| 34
  722. 34["Block 34:\n %35 = getelementptr inbounds %struct.Point, %...\n %36 = load i32, i32* %35, align 4\n %37 = call i32 @abs(i32 %36) #7\n %38 = icmp sgt i32 %37, 1000\n br i1 %38, label %39, label %41\n"]
  723. 34 -->|true| 39
  724. 34 -->|false| 41
  725. 39["Block 39:\n %40 = load i32*, i32** %5, align 8\n store i32 3, i32* %40, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %4, align 8\n br label %101\n"]
  726. 39 --> 101
  727. 41["Block 41:\n %42 = getelementptr inbounds %struct.Point, %...\n %43 = load i32, i32* %42, align 8\n %44 = getelementptr inbounds %struct.Point, %...\n %45 = load i32, i32* %44, align 8\n %46 = sub nsw i32 %43, %45\n %47 = sitofp i32 %46 to double\n %48 = getelementptr inbounds %struct.Point, %...\n %49 = load double, double* %48, align 8\n %50 = getelementptr inbounds %struct.Point, %...\n %51 = load double, double* %50, align 8\n %52 = fdiv double %49, %51\n %53 = call double @sqrt(double %52) #8\n %54 = fmul double %47, %53\n store double %54, double* %6, align 8\n %55 = getelementptr inbounds %struct.Point, %...\n %56 = load i32, i32* %55, align 4\n %57 = getelementptr inbounds %struct.Point, %...\n %58 = load i32, i32* %57, align 4\n %59 = sub nsw i32 %56, %58\n %60 = sitofp i32 %59 to double\n %61 = getelementptr inbounds %struct.Point, %...\n %62 = load double, double* %61, align 8\n %63 = getelementptr inbounds %struct.Point, %...\n %64 = load double, double* %63, align 8\n %65 = fdiv double %62, %64\n %66 = call double @sqrt(double %65) #8\n %67 = fmul double %60, %66\n store double %67, double* %7, align 8\n %68 = load double, double* %6, align 8\n %69 = call double @llvm.fabs.f64(double %68)\n %70 = fcmp ogt double %69, 1.000000e+03\n br i1 %70, label %75, label %71\n"]
  728. 41 -->|true| 75
  729. 41 -->|false| 71
  730. 71["Block 71:\n %72 = load double, double* %7, align 8\n %73 = call double @llvm.fabs.f64(double %72)\n %74 = fcmp ogt double %73, 1.000000e+03\n br i1 %74, label %75, label %77\n"]
  731. 71 -->|true| 75
  732. 71 -->|false| 77
  733. 75["Block 75:\n %76 = load i32*, i32** %5, align 8\n store i32 5, i32* %76, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %4, align 8\n br label %101\n"]
  734. 75 --> 101
  735. 77["Block 77:\n %78 = load double, double* %6, align 8\n %79 = load double, double* %6, align 8\n %80 = fmul double %78, %79\n %81 = load double, double* %7, align 8\n %82 = load double, double* %7, align 8\n %83 = fmul double %81, %82\n %84 = fadd double %80, %83\n %85 = call double @sqrt(double %84) #8\n store double %85, double* %8, align 8\n %86 = load double, double* %8, align 8\n %87 = fcmp uno double %86, %86\n br i1 %87, label %97, label %88\n"]
  736. 77 -->|true| 97
  737. 77 -->|false| 88
  738. 88["Block 88:\n %89 = load double, double* %8, align 8\n %90 = call double @llvm.fabs.f64(double %89) #9\n %91 = fcmp oeq double %90, 0x7FF0000000000000\n %92 = bitcast double %89 to i64\n %93 = icmp slt i64 %92, 0\n %94 = select i1 %93, i32 -1, i32 1\n %95 = select i1 %91, i32 %94, i32 0\n %96 = icmp ne i32 %95, 0\n br i1 %96, label %97, label %99\n"]
  739. 88 -->|true| 97
  740. 88 -->|false| 99
  741. 97["Block 97:\n %98 = load i32*, i32** %5, align 8\n store i32 8, i32* %98, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %4, align 8\n br label %101\n"]
  742. 97 --> 101
  743. 99["Block 99:\n %100 = load double, double* %8, align 8\n store double %100, double* %4, align 8\n br label %101\n"]
  744. 99 --> 101
  745. 101["Block 101:\n %102 = load double, double* %4, align 8\n ret double %102\n"]:::critical
  746. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  747. ```
  748. ```mermaid: calculateCircleArea
  749. graph TD
  750. 2["Block 2:\n %3 = alloca double, align 8\n %4 = alloca i32*, align 8\n %5 = alloca double, align 8\n store i32* %1, i32** %4, align 8\n %6 = load i32*, i32** %4, align 8\n store i32 0, i32* %6, align 4\n %7 = getelementptr inbounds %struct.Circle, %...\n %8 = load i32, i32* %7, align 8\n %9 = icmp ne i32 %8, 0\n br i1 %9, label %12, label %10\n"]:::critical
  751. 2 -->|true| 12
  752. 2 -->|false| 10
  753. 10["Block 10:\n %11 = load i32*, i32** %4, align 8\n store i32 1, i32* %11, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %3, align 8\n br label %85\n"]
  754. 10 --> 85
  755. 12["Block 12:\n %13 = getelementptr inbounds %struct.Circle, ...\n %14 = load double, double* %13, align 8\n %15 = fcmp ole double %14, 0.000000e+00\n br i1 %15, label %16, label %18\n"]
  756. 12 -->|true| 16
  757. 12 -->|false| 18
  758. 16["Block 16:\n %17 = load i32*, i32** %4, align 8\n store i32 1, i32* %17, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %3, align 8\n br label %85\n"]
  759. 16 --> 85
  760. 18["Block 18:\n %19 = getelementptr inbounds %struct.Circle, ...\n %20 = load double, double* %19, align 8\n %21 = fcmp ogt double %20, 1.000000e+03\n br i1 %21, label %22, label %24\n"]
  761. 18 -->|true| 22
  762. 18 -->|false| 24
  763. 22["Block 22:\n %23 = load i32*, i32** %4, align 8\n store i32 3, i32* %23, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %3, align 8\n br label %85\n"]
  764. 22 --> 85
  765. 24["Block 24:\n %25 = getelementptr inbounds %struct.Circle, ...\n %26 = getelementptr inbounds %struct.Point, %...\n %27 = load i32, i32* %26, align 8\n %28 = call i32 @abs(i32 %27) #7\n %29 = icmp sgt i32 %28, 1000\n br i1 %29, label %36, label %30\n"]
  766. 24 -->|true| 36
  767. 24 -->|false| 30
  768. 30["Block 30:\n %31 = getelementptr inbounds %struct.Circle, ...\n %32 = getelementptr inbounds %struct.Point, %...\n %33 = load i32, i32* %32, align 4\n %34 = call i32 @abs(i32 %33) #7\n %35 = icmp sgt i32 %34, 1000\n br i1 %35, label %36, label %38\n"]
  769. 30 -->|true| 36
  770. 30 -->|false| 38
  771. 36["Block 36:\n %37 = load i32*, i32** %4, align 8\n store i32 3, i32* %37, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %3, align 8\n br label %85\n"]
  772. 36 --> 85
  773. 38["Block 38:\n %39 = getelementptr inbounds %struct.Circle, ...\n %40 = load double, double* %39, align 8\n %41 = fmul double 3.141590e+00, %40\n %42 = getelementptr inbounds %struct.Circle, ...\n %43 = load double, double* %42, align 8\n %44 = fmul double %41, %43\n store double %44, double* %5, align 8\n %45 = load double, double* %5, align 8\n %46 = fcmp uno double %45, %45\n br i1 %46, label %56, label %47\n"]
  774. 38 -->|true| 56
  775. 38 -->|false| 47
  776. 47["Block 47:\n %48 = load double, double* %5, align 8\n %49 = call double @llvm.fabs.f64(double %48) #8\n %50 = fcmp oeq double %49, 0x7FF0000000000000\n %51 = bitcast double %48 to i64\n %52 = icmp slt i64 %51, 0\n %53 = select i1 %52, i32 -1, i32 1\n %54 = select i1 %50, i32 %53, i32 0\n %55 = icmp ne i32 %54, 0\n br i1 %55, label %56, label %58\n"]
  777. 47 -->|true| 56
  778. 47 -->|false| 58
  779. 56["Block 56:\n %57 = load i32*, i32** %4, align 8\n store i32 5, i32* %57, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %3, align 8\n br label %85\n"]
  780. 56 --> 85
  781. 58["Block 58:\n %59 = getelementptr inbounds %struct.Circle, ...\n %60 = getelementptr inbounds [256 x i8], [256...\n %61 = call i32 @strcmp(i8* %60, i8* getelemen...\n %62 = icmp eq i32 %61, 0\n br i1 %62, label %63, label %65\n"]
  782. 58 -->|true| 63
  783. 58 -->|false| 65
  784. 63["Block 63:\n %64 = load double, double* %5, align 8\n store double %64, double* %3, align 8\n br label %85\n"]
  785. 63 --> 85
  786. 65["Block 65:\n %66 = getelementptr inbounds %struct.Circle, ...\n %67 = getelementptr inbounds [256 x i8], [256...\n %68 = call i32 @strcmp(i8* %67, i8* getelemen...\n %69 = icmp eq i32 %68, 0\n br i1 %69, label %70, label %83\n"]
  787. 65 -->|true| 70
  788. 65 -->|false| 83
  789. 70["Block 70:\n %71 = getelementptr inbounds %struct.Circle, ...\n %72 = getelementptr inbounds %struct.Point, %...\n %73 = load double, double* %72, align 8\n %74 = fcmp ole double %73, 0.000000e+00\n br i1 %74, label %75, label %77\n"]
  790. 70 -->|true| 75
  791. 70 -->|false| 77
  792. 75["Block 75:\n %76 = load i32*, i32** %4, align 8\n store i32 1, i32* %76, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %3, align 8\n br label %85\n"]
  793. 75 --> 85
  794. 77["Block 77:\n %78 = load double, double* %5, align 8\n %79 = getelementptr inbounds %struct.Circle, ...\n %80 = getelementptr inbounds %struct.Point, %...\n %81 = load double, double* %80, align 8\n %82 = fmul double %78, %81\n store double %82, double* %3, align 8\n br label %85\n"]
  795. 77 --> 85
  796. 83["Block 83:\n %84 = load i32*, i32** %4, align 8\n store i32 1, i32* %84, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store double -1.000000e+00, double* %3, align 8\n br label %85\n"]
  797. 83 --> 85
  798. 85["Block 85:\n %86 = load double, double* %3, align 8\n ret double %86\n"]:::critical
  799. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  800. ```
  801. ```mermaid: validateMatrix
  802. graph TD
  803. 1["Block 1:\n %2 = alloca i32, align 4\n %3 = alloca %struct.Matrix*, align 8\n %4 = alloca i32, align 4\n store %struct.Matrix* %0, %struct.Matrix** %3...\n %5 = load %struct.Matrix*, %struct.Matrix** %...\n %6 = icmp ne %struct.Matrix* %5, null\n br i1 %6, label %8, label %7\n"]:::critical
  804. 1 -->|true| 8
  805. 1 -->|false| 7
  806. 7["Block 7:\n call void @setErrorMessage(i8* getelementptr ...\n store i32 7, i32* %2, align 4\n br label %72\n"]
  807. 7 --> 72
  808. 8["Block 8:\n %9 = load %struct.Matrix*, %struct.Matrix** %...\n %10 = getelementptr inbounds %struct.Matrix, ...\n %11 = load i32**, i32*** %10, align 8\n %12 = icmp ne i32** %11, null\n br i1 %12, label %14, label %13\n"]
  809. 8 -->|true| 14
  810. 8 -->|false| 13
  811. 13["Block 13:\n call void @setErrorMessage(i8* getelementptr ...\n store i32 7, i32* %2, align 4\n br label %72\n"]
  812. 13 --> 72
  813. 14["Block 14:\n %15 = load %struct.Matrix*, %struct.Matrix** ...\n %16 = getelementptr inbounds %struct.Matrix, ...\n %17 = load i32, i32* %16, align 8\n %18 = icmp slt i32 %17, 1\n br i1 %18, label %24, label %19\n"]
  814. 14 -->|true| 24
  815. 14 -->|false| 19
  816. 19["Block 19:\n %20 = load %struct.Matrix*, %struct.Matrix** ...\n %21 = getelementptr inbounds %struct.Matrix, ...\n %22 = load i32, i32* %21, align 4\n %23 = icmp slt i32 %22, 1\n br i1 %23, label %24, label %25\n"]
  817. 19 -->|true| 24
  818. 19 -->|false| 25
  819. 24["Block 24:\n call void @setErrorMessage(i8* getelementptr ...\n store i32 1, i32* %2, align 4\n br label %72\n"]
  820. 24 --> 72
  821. 25["Block 25:\n %26 = load %struct.Matrix*, %struct.Matrix** ...\n %27 = getelementptr inbounds %struct.Matrix, ...\n %28 = load i32, i32* %27, align 8\n %29 = icmp sgt i32 %28, 100\n br i1 %29, label %35, label %30\n"]
  822. 25 -->|true| 35
  823. 25 -->|false| 30
  824. 30["Block 30:\n %31 = load %struct.Matrix*, %struct.Matrix** ...\n %32 = getelementptr inbounds %struct.Matrix, ...\n %33 = load i32, i32* %32, align 4\n %34 = icmp sgt i32 %33, 100\n br i1 %34, label %35, label %36\n"]
  825. 30 -->|true| 35
  826. 30 -->|false| 36
  827. 35["Block 35:\n call void @setErrorMessage(i8* getelementptr ...\n store i32 3, i32* %2, align 4\n br label %72\n"]
  828. 35 --> 72
  829. 36["Block 36:\n store i32 0, i32* %4, align 4\n br label %37\n"]
  830. 36 --> 37
  831. 37["Block 37:\n %38 = load i32, i32* %4, align 4\n %39 = load %struct.Matrix*, %struct.Matrix** ...\n %40 = getelementptr inbounds %struct.Matrix, ...\n %41 = load i32, i32* %40, align 8\n %42 = icmp slt i32 %38, %41\n br i1 %42, label %43, label %57\n"]
  832. 37 -->|true| 43
  833. 37 -->|false| 57
  834. 43["Block 43:\n %44 = load %struct.Matrix*, %struct.Matrix** ...\n %45 = getelementptr inbounds %struct.Matrix, ...\n %46 = load i32**, i32*** %45, align 8\n %47 = load i32, i32* %4, align 4\n %48 = sext i32 %47 to i64\n %49 = getelementptr inbounds i32*, i32** %46,...\n %50 = load i32*, i32** %49, align 8\n %51 = icmp ne i32* %50, null\n br i1 %51, label %53, label %52\n"]
  835. 43 -->|true| 53
  836. 43 -->|false| 52
  837. 52["Block 52:\n call void @setErrorMessage(i8* getelementptr ...\n store i32 7, i32* %2, align 4\n br label %72\n"]
  838. 52 --> 72
  839. 53["Block 53:\n br label %54\n"]
  840. 53 --> 54
  841. 54["Block 54:\n %55 = load i32, i32* %4, align 4\n %56 = add nsw i32 %55, 1\n store i32 %56, i32* %4, align 4\n br label %37\n"]
  842. 54 --> 37
  843. 57["Block 57:\n %58 = load %struct.Matrix*, %struct.Matrix** ...\n %59 = getelementptr inbounds %struct.Matrix, ...\n %60 = load i32, i32* %59, align 8\n %61 = load %struct.Matrix*, %struct.Matrix** ...\n %62 = getelementptr inbounds %struct.Matrix, ...\n %63 = load i32, i32* %62, align 4\n %64 = icmp eq i32 %60, %63\n %65 = zext i1 %64 to i32\n %66 = load %struct.Matrix*, %struct.Matrix** ...\n %67 = getelementptr inbounds %struct.Matrix, ...\n %68 = load i32, i32* %67, align 8\n %69 = icmp ne i32 %65, %68\n br i1 %69, label %70, label %71\n"]
  844. 57 -->|true| 70
  845. 57 -->|false| 71
  846. 70["Block 70:\n call void @setErrorMessage(i8* getelementptr ...\n store i32 1, i32* %2, align 4\n br label %72\n"]
  847. 70 --> 72
  848. 71["Block 71:\n store i32 0, i32* %2, align 4\n br label %72\n"]
  849. 71 --> 72
  850. 72["Block 72:\n %73 = load i32, i32* %2, align 4\n ret i32 %73\n"]:::critical
  851. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  852. ```
  853. ```mermaid: removeDuplicates
  854. graph TD
  855. 1["Block 1:\n %2 = alloca %struct.DynamicArray*, align 8\n %3 = alloca i32, align 4\n %4 = alloca i32, align 4\n %5 = alloca i32, align 4\n store %struct.DynamicArray* %0, %struct.Dynam...\n %6 = load %struct.DynamicArray*, %struct.Dyna...\n %7 = icmp ne %struct.DynamicArray* %6, null\n br i1 %7, label %8, label %13\n"]:::critical
  856. 1 -->|true| 8
  857. 1 -->|false| 13
  858. 8["Block 8:\n %9 = load %struct.DynamicArray*, %struct.Dyna...\n %10 = getelementptr inbounds %struct.DynamicA...\n %11 = load i32*, i32** %10, align 8\n %12 = icmp ne i32* %11, null\n br i1 %12, label %14, label %13\n"]
  859. 8 -->|true| 14
  860. 8 -->|false| 13
  861. 13["Block 13:\n call void @setErrorMessage(i8* getelementptr ...\n br label %81\n"]
  862. 13 --> 81
  863. 14["Block 14:\n %15 = load %struct.DynamicArray*, %struct.Dyn...\n %16 = getelementptr inbounds %struct.DynamicA...\n %17 = load i32, i32* %16, align 8\n %18 = icmp sle i32 %17, 1\n br i1 %18, label %19, label %20\n"]
  864. 14 -->|true| 19
  865. 14 -->|false| 20
  866. 19["Block 19:\n br label %81\n"]
  867. 19 --> 81
  868. 20["Block 20:\n store i32 0, i32* %3, align 4\n %21 = load %struct.DynamicArray*, %struct.Dyn...\n %22 = getelementptr inbounds %struct.DynamicA...\n %23 = load i32*, i32** %22, align 8\n %24 = load %struct.DynamicArray*, %struct.Dyn...\n %25 = getelementptr inbounds %struct.DynamicA...\n %26 = load i32, i32* %25, align 8\n %27 = sub nsw i32 %26, 1\n call void @quickSort(i32* %23, i32 0, i32 %27...\n %28 = load i32, i32* %3, align 4\n %29 = icmp ne i32 %28, 0\n br i1 %29, label %30, label %31\n"]
  869. 20 -->|true| 30
  870. 20 -->|false| 31
  871. 30["Block 30:\n br label %81\n"]
  872. 30 --> 81
  873. 31["Block 31:\n store i32 1, i32* %4, align 4\n store i32 1, i32* %5, align 4\n br label %32\n"]
  874. 31 --> 32
  875. 32["Block 32:\n %33 = load i32, i32* %5, align 4\n %34 = load %struct.DynamicArray*, %struct.Dyn...\n %35 = getelementptr inbounds %struct.DynamicA...\n %36 = load i32, i32* %35, align 8\n %37 = icmp slt i32 %33, %36\n br i1 %37, label %38, label %75\n"]
  876. 32 -->|true| 38
  877. 32 -->|false| 75
  878. 38["Block 38:\n %39 = load %struct.DynamicArray*, %struct.Dyn...\n %40 = getelementptr inbounds %struct.DynamicA...\n %41 = load i32*, i32** %40, align 8\n %42 = load i32, i32* %5, align 4\n %43 = sext i32 %42 to i64\n %44 = getelementptr inbounds i32, i32* %41, i...\n %45 = load i32, i32* %44, align 4\n %46 = load %struct.DynamicArray*, %struct.Dyn...\n %47 = getelementptr inbounds %struct.DynamicA...\n %48 = load i32*, i32** %47, align 8\n %49 = load i32, i32* %5, align 4\n %50 = sub nsw i32 %49, 1\n %51 = sext i32 %50 to i64\n %52 = getelementptr inbounds i32, i32* %48, i...\n %53 = load i32, i32* %52, align 4\n %54 = icmp ne i32 %45, %53\n br i1 %54, label %55, label %71\n"]
  879. 38 -->|true| 55
  880. 38 -->|false| 71
  881. 55["Block 55:\n %56 = load %struct.DynamicArray*, %struct.Dyn...\n %57 = getelementptr inbounds %struct.DynamicA...\n %58 = load i32*, i32** %57, align 8\n %59 = load i32, i32* %5, align 4\n %60 = sext i32 %59 to i64\n %61 = getelementptr inbounds i32, i32* %58, i...\n %62 = load i32, i32* %61, align 4\n %63 = load %struct.DynamicArray*, %struct.Dyn...\n %64 = getelementptr inbounds %struct.DynamicA...\n %65 = load i32*, i32** %64, align 8\n %66 = load i32, i32* %4, align 4\n %67 = sext i32 %66 to i64\n %68 = getelementptr inbounds i32, i32* %65, i...\n store i32 %62, i32* %68, align 4\n %69 = load i32, i32* %4, align 4\n %70 = add nsw i32 %69, 1\n store i32 %70, i32* %4, align 4\n br label %71\n"]
  882. 55 --> 71
  883. 71["Block 71:\n br label %72\n"]
  884. 71 --> 72
  885. 72["Block 72:\n %73 = load i32, i32* %5, align 4\n %74 = add nsw i32 %73, 1\n store i32 %74, i32* %5, align 4\n br label %32\n"]
  886. 72 --> 32
  887. 75["Block 75:\n %76 = load i32, i32* %4, align 4\n %77 = load %struct.DynamicArray*, %struct.Dyn...\n %78 = getelementptr inbounds %struct.DynamicA...\n store i32 %76, i32* %78, align 8\n %79 = load %struct.DynamicArray*, %struct.Dyn...\n %80 = getelementptr inbounds %struct.DynamicA...\n store i32 1, i32* %80, align 8\n br label %81\n"]
  888. 75 --> 81
  889. 81["Block 81:\n ret void\n"]:::critical
  890. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  891. ```
  892. ```mermaid: findCentroid
  893. graph TD
  894. 3["Block 3:\n %4 = alloca %struct.Point*, align 8\n %5 = alloca %struct.Point*, align 8\n %6 = alloca i32, align 4\n %7 = alloca i32*, align 8\n %8 = alloca %struct.Point*, align 8\n %9 = alloca double, align 8\n %10 = alloca double, align 8\n %11 = alloca double, align 8\n %12 = alloca i32, align 4\n store %struct.Point* %0, %struct.Point** %5, ...\n store i32 %1, i32* %6, align 4\n store i32* %2, i32** %7, align 8\n %13 = load i32*, i32** %7, align 8\n store i32 0, i32* %13, align 4\n %14 = load %struct.Point*, %struct.Point** %5...\n %15 = icmp ne %struct.Point* %14, null\n br i1 %15, label %16, label %19\n"]:::critical
  895. 3 -->|true| 16
  896. 3 -->|false| 19
  897. 16["Block 16:\n %17 = load i32, i32* %6, align 4\n %18 = icmp sle i32 %17, 0\n br i1 %18, label %19, label %21\n"]
  898. 16 -->|true| 19
  899. 16 -->|false| 21
  900. 19["Block 19:\n %20 = load i32*, i32** %7, align 8\n store i32 1, i32* %20, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Point* null, %struct.Point** %4...\n br label %165\n"]
  901. 19 --> 165
  902. 21["Block 21:\n %22 = load i32, i32* %6, align 4\n %23 = icmp sgt i32 %22, 1000\n br i1 %23, label %24, label %26\n"]
  903. 21 -->|true| 24
  904. 21 -->|false| 26
  905. 24["Block 24:\n %25 = load i32*, i32** %7, align 8\n store i32 3, i32* %25, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Point* null, %struct.Point** %4...\n br label %165\n"]
  906. 24 --> 165
  907. 26["Block 26:\n %27 = call noalias i8* @malloc(i64 272) #7\n %28 = bitcast i8* %27 to %struct.Point*\n store %struct.Point* %28, %struct.Point** %8,...\n %29 = load %struct.Point*, %struct.Point** %8...\n %30 = icmp ne %struct.Point* %29, null\n br i1 %30, label %33, label %31\n"]
  908. 26 -->|true| 33
  909. 26 -->|false| 31
  910. 31["Block 31:\n %32 = load i32*, i32** %7, align 8\n store i32 2, i32* %32, align 4\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.Point* null, %struct.Point** %4...\n br label %165\n"]
  911. 31 --> 165
  912. 33["Block 33:\n store double 0.000000e+00, double* %9, align 8\n store double 0.000000e+00, double* %10, align 8\n store double 0.000000e+00, double* %11, align 8\n store i32 0, i32* %12, align 4\n br label %34\n"]
  913. 33 --> 34
  914. 34["Block 34:\n %35 = load i32, i32* %12, align 4\n %36 = load i32, i32* %6, align 4\n %37 = icmp slt i32 %35, %36\n br i1 %37, label %38, label %134\n"]
  915. 34 -->|true| 38
  916. 34 -->|false| 134
  917. 38["Block 38:\n %39 = load %struct.Point*, %struct.Point** %5...\n %40 = load i32, i32* %12, align 4\n %41 = sext i32 %40 to i64\n %42 = getelementptr inbounds %struct.Point, %...\n %43 = getelementptr inbounds %struct.Point, %...\n %44 = load double, double* %43, align 8\n %45 = fcmp ole double %44, 0.000000e+00\n br i1 %45, label %46, label %50\n"]
  918. 38 -->|true| 46
  919. 38 -->|false| 50
  920. 46["Block 46:\n %47 = load i32*, i32** %7, align 8\n store i32 1, i32* %47, align 4\n call void @setErrorMessage(i8* getelementptr ...\n %48 = load %struct.Point*, %struct.Point** %8...\n %49 = bitcast %struct.Point* %48 to i8*\n call void @free(i8* %49) #7\n store %struct.Point* null, %struct.Point** %4...\n br label %165\n"]
  921. 46 --> 165
  922. 50["Block 50:\n %51 = load %struct.Point*, %struct.Point** %5...\n %52 = load i32, i32* %12, align 4\n %53 = sext i32 %52 to i64\n %54 = getelementptr inbounds %struct.Point, %...\n %55 = getelementptr inbounds %struct.Point, %...\n %56 = load double, double* %55, align 8\n %57 = load double, double* %9, align 8\n %58 = fadd double %57, %56\n store double %58, double* %9, align 8\n %59 = load %struct.Point*, %struct.Point** %5...\n %60 = load i32, i32* %12, align 4\n %61 = sext i32 %60 to i64\n %62 = getelementptr inbounds %struct.Point, %...\n %63 = getelementptr inbounds %struct.Point, %...\n %64 = load i32, i32* %63, align 8\n %65 = sitofp i32 %64 to double\n %66 = load %struct.Point*, %struct.Point** %5...\n %67 = load i32, i32* %12, align 4\n %68 = sext i32 %67 to i64\n %69 = getelementptr inbounds %struct.Point, %...\n %70 = getelementptr inbounds %struct.Point, %...\n %71 = load double, double* %70, align 8\n %72 = fmul double %65, %71\n %73 = load double, double* %10, align 8\n %74 = fadd double %73, %72\n store double %74, double* %10, align 8\n %75 = load %struct.Point*, %struct.Point** %5...\n %76 = load i32, i32* %12, align 4\n %77 = sext i32 %76 to i64\n %78 = getelementptr inbounds %struct.Point, %...\n %79 = getelementptr inbounds %struct.Point, %...\n %80 = load i32, i32* %79, align 4\n %81 = sitofp i32 %80 to double\n %82 = load %struct.Point*, %struct.Point** %5...\n %83 = load i32, i32* %12, align 4\n %84 = sext i32 %83 to i64\n %85 = getelementptr inbounds %struct.Point, %...\n %86 = getelementptr inbounds %struct.Point, %...\n %87 = load double, double* %86, align 8\n %88 = fmul double %81, %87\n %89 = load double, double* %11, align 8\n %90 = fadd double %89, %88\n store double %90, double* %11, align 8\n %91 = load double, double* %9, align 8\n %92 = fcmp uno double %91, %91\n br i1 %92, label %126, label %93\n"]
  923. 50 -->|true| 126
  924. 50 -->|false| 93
  925. 93["Block 93:\n %94 = load double, double* %10, align 8\n %95 = fcmp uno double %94, %94\n br i1 %95, label %126, label %96\n"]
  926. 93 -->|true| 126
  927. 93 -->|false| 96
  928. 96["Block 96:\n %97 = load double, double* %11, align 8\n %98 = fcmp uno double %97, %97\n br i1 %98, label %126, label %99\n"]
  929. 96 -->|true| 126
  930. 96 -->|false| 99
  931. 99["Block 99:\n %100 = load double, double* %9, align 8\n %101 = call double @llvm.fabs.f64(double %100...\n %102 = fcmp oeq double %101, 0x7FF0000000000000\n %103 = bitcast double %100 to i64\n %104 = icmp slt i64 %103, 0\n %105 = select i1 %104, i32 -1, i32 1\n %106 = select i1 %102, i32 %105, i32 0\n %107 = icmp ne i32 %106, 0\n br i1 %107, label %126, label %108\n"]
  932. 99 -->|true| 126
  933. 99 -->|false| 108
  934. 108["Block 108:\n %109 = load double, double* %10, align 8\n %110 = call double @llvm.fabs.f64(double %109...\n %111 = fcmp oeq double %110, 0x7FF0000000000000\n %112 = bitcast double %109 to i64\n %113 = icmp slt i64 %112, 0\n %114 = select i1 %113, i32 -1, i32 1\n %115 = select i1 %111, i32 %114, i32 0\n %116 = icmp ne i32 %115, 0\n br i1 %116, label %126, label %117\n"]
  935. 108 -->|true| 126
  936. 108 -->|false| 117
  937. 117["Block 117:\n %118 = load double, double* %11, align 8\n %119 = call double @llvm.fabs.f64(double %118...\n %120 = fcmp oeq double %119, 0x7FF0000000000000\n %121 = bitcast double %118 to i64\n %122 = icmp slt i64 %121, 0\n %123 = select i1 %122, i32 -1, i32 1\n %124 = select i1 %120, i32 %123, i32 0\n %125 = icmp ne i32 %124, 0\n br i1 %125, label %126, label %130\n"]
  938. 117 -->|true| 126
  939. 117 -->|false| 130
  940. 126["Block 126:\n %127 = load i32*, i32** %7, align 8\n store i32 5, i32* %127, align 4\n call void @setErrorMessage(i8* getelementptr ...\n %128 = load %struct.Point*, %struct.Point** %...\n %129 = bitcast %struct.Point* %128 to i8*\n call void @free(i8* %129) #7\n store %struct.Point* null, %struct.Point** %4...\n br label %165\n"]
  941. 126 --> 165
  942. 130["Block 130:\n br label %131\n"]
  943. 130 --> 131
  944. 131["Block 131:\n %132 = load i32, i32* %12, align 4\n %133 = add nsw i32 %132, 1\n store i32 %133, i32* %12, align 4\n br label %34\n"]
  945. 131 --> 34
  946. 134["Block 134:\n %135 = load double, double* %9, align 8\n %136 = fcmp oeq double %135, 0.000000e+00\n br i1 %136, label %137, label %141\n"]
  947. 134 -->|true| 137
  948. 134 -->|false| 141
  949. 137["Block 137:\n %138 = load i32*, i32** %7, align 8\n store i32 1, i32* %138, align 4\n call void @setErrorMessage(i8* getelementptr ...\n %139 = load %struct.Point*, %struct.Point** %...\n %140 = bitcast %struct.Point* %139 to i8*\n call void @free(i8* %140) #7\n store %struct.Point* null, %struct.Point** %4...\n br label %165\n"]
  950. 137 --> 165
  951. 141["Block 141:\n %142 = load double, double* %10, align 8\n %143 = load double, double* %9, align 8\n %144 = fdiv double %142, %143\n %145 = fptosi double %144 to i32\n %146 = load %struct.Point*, %struct.Point** %...\n %147 = getelementptr inbounds %struct.Point, ...\n store i32 %145, i32* %147, align 8\n %148 = load double, double* %11, align 8\n %149 = load double, double* %9, align 8\n %150 = fdiv double %148, %149\n %151 = fptosi double %150 to i32\n %152 = load %struct.Point*, %struct.Point** %...\n %153 = getelementptr inbounds %struct.Point, ...\n store i32 %151, i32* %153, align 4\n %154 = load double, double* %9, align 8\n %155 = load i32, i32* %6, align 4\n %156 = sitofp i32 %155 to double\n %157 = fdiv double %154, %156\n %158 = load %struct.Point*, %struct.Point** %...\n %159 = getelementptr inbounds %struct.Point, ...\n store double %157, double* %159, align 8\n %160 = load %struct.Point*, %struct.Point** %...\n %161 = getelementptr inbounds %struct.Point, ...\n %162 = getelementptr inbounds [256 x i8], [25...\n %163 = call i8* @strcpy(i8* %162, i8* getelem...\n %164 = load %struct.Point*, %struct.Point** %...\n store %struct.Point* %164, %struct.Point** %4...\n br label %165\n"]
  952. 141 --> 165
  953. 165["Block 165:\n %166 = load %struct.Point*, %struct.Point** %...\n ret %struct.Point* %166\n"]:::critical
  954. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  955. ```
  956. ```mermaid: reverseString
  957. graph TD
  958. 1["Block 1:\n %2 = alloca i8*, align 8\n %3 = alloca i32, align 4\n %4 = alloca i32, align 4\n %5 = alloca i8, align 1\n store i8* %0, i8** %2, align 8\n %6 = load i8*, i8** %2, align 8\n %7 = call i64 @strlen(i8* %6) #7\n %8 = trunc i64 %7 to i32\n store i32 %8, i32* %3, align 4\n store i32 0, i32* %4, align 4\n br label %9\n"]:::critical
  959. 1 --> 9
  960. 9["Block 9:\n %10 = load i32, i32* %4, align 4\n %11 = load i32, i32* %3, align 4\n %12 = sdiv i32 %11, 2\n %13 = icmp slt i32 %10, %12\n br i1 %13, label %14, label %43\n"]:::critical
  961. 9 -->|true| 14
  962. 9 -->|false| 43
  963. 14["Block 14:\n %15 = load i8*, i8** %2, align 8\n %16 = load i32, i32* %4, align 4\n %17 = sext i32 %16 to i64\n %18 = getelementptr inbounds i8, i8* %15, i64...\n %19 = load i8, i8* %18, align 1\n store i8 %19, i8* %5, align 1\n %20 = load i8*, i8** %2, align 8\n %21 = load i32, i32* %3, align 4\n %22 = sub nsw i32 %21, 1\n %23 = load i32, i32* %4, align 4\n %24 = sub nsw i32 %22, %23\n %25 = sext i32 %24 to i64\n %26 = getelementptr inbounds i8, i8* %20, i64...\n %27 = load i8, i8* %26, align 1\n %28 = load i8*, i8** %2, align 8\n %29 = load i32, i32* %4, align 4\n %30 = sext i32 %29 to i64\n %31 = getelementptr inbounds i8, i8* %28, i64...\n store i8 %27, i8* %31, align 1\n %32 = load i8, i8* %5, align 1\n %33 = load i8*, i8** %2, align 8\n %34 = load i32, i32* %3, align 4\n %35 = sub nsw i32 %34, 1\n %36 = load i32, i32* %4, align 4\n %37 = sub nsw i32 %35, %36\n %38 = sext i32 %37 to i64\n %39 = getelementptr inbounds i8, i8* %33, i64...\n store i8 %32, i8* %39, align 1\n br label %40\n"]
  964. 14 --> 40
  965. 40["Block 40:\n %41 = load i32, i32* %4, align 4\n %42 = add nsw i32 %41, 1\n store i32 %42, i32* %4, align 4\n br label %9\n"]
  966. 40 --> 9
  967. 43["Block 43:\n ret void\n"]:::critical
  968. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  969. ```
  970. ```mermaid: longestIncreasingSubsequence
  971. graph TD
  972. 2["Block 2:\n %3 = alloca i32*, align 8\n %4 = alloca i32, align 4\n %5 = alloca [100 x i32], align 16\n %6 = alloca i32, align 4\n %7 = alloca i32, align 4\n %8 = alloca i32, align 4\n %9 = alloca i32, align 4\n %10 = alloca i32, align 4\n store i32* %0, i32** %3, align 8\n store i32 %1, i32* %4, align 4\n store i32 0, i32* %6, align 4\n br label %11\n"]:::critical
  973. 2 --> 11
  974. 11["Block 11:\n %12 = load i32, i32* %6, align 4\n %13 = load i32, i32* %4, align 4\n %14 = icmp slt i32 %12, %13\n br i1 %14, label %15, label %22\n"]:::critical
  975. 11 -->|true| 15
  976. 11 -->|false| 22
  977. 15["Block 15:\n %16 = load i32, i32* %6, align 4\n %17 = sext i32 %16 to i64\n %18 = getelementptr inbounds [100 x i32], [10...\n store i32 1, i32* %18, align 4\n br label %19\n"]
  978. 15 --> 19
  979. 19["Block 19:\n %20 = load i32, i32* %6, align 4\n %21 = add nsw i32 %20, 1\n store i32 %21, i32* %6, align 4\n br label %11\n"]
  980. 19 --> 11
  981. 22["Block 22:\n store i32 1, i32* %7, align 4\n br label %23\n"]:::critical
  982. 22 --> 23
  983. 23["Block 23:\n %24 = load i32, i32* %7, align 4\n %25 = load i32, i32* %4, align 4\n %26 = icmp slt i32 %24, %25\n br i1 %26, label %27, label %72\n"]:::critical
  984. 23 -->|true| 27
  985. 23 -->|false| 72
  986. 27["Block 27:\n store i32 0, i32* %8, align 4\n br label %28\n"]
  987. 27 --> 28
  988. 28["Block 28:\n %29 = load i32, i32* %8, align 4\n %30 = load i32, i32* %7, align 4\n %31 = icmp slt i32 %29, %30\n br i1 %31, label %32, label %68\n"]
  989. 28 -->|true| 32
  990. 28 -->|false| 68
  991. 32["Block 32:\n %33 = load i32*, i32** %3, align 8\n %34 = load i32, i32* %7, align 4\n %35 = sext i32 %34 to i64\n %36 = getelementptr inbounds i32, i32* %33, i...\n %37 = load i32, i32* %36, align 4\n %38 = load i32*, i32** %3, align 8\n %39 = load i32, i32* %8, align 4\n %40 = sext i32 %39 to i64\n %41 = getelementptr inbounds i32, i32* %38, i...\n %42 = load i32, i32* %41, align 4\n %43 = icmp sgt i32 %37, %42\n br i1 %43, label %44, label %64\n"]
  992. 32 -->|true| 44
  993. 32 -->|false| 64
  994. 44["Block 44:\n %45 = load i32, i32* %7, align 4\n %46 = sext i32 %45 to i64\n %47 = getelementptr inbounds [100 x i32], [10...\n %48 = load i32, i32* %47, align 4\n %49 = load i32, i32* %8, align 4\n %50 = sext i32 %49 to i64\n %51 = getelementptr inbounds [100 x i32], [10...\n %52 = load i32, i32* %51, align 4\n %53 = add nsw i32 %52, 1\n %54 = icmp slt i32 %48, %53\n br i1 %54, label %55, label %64\n"]
  995. 44 -->|true| 55
  996. 44 -->|false| 64
  997. 55["Block 55:\n %56 = load i32, i32* %8, align 4\n %57 = sext i32 %56 to i64\n %58 = getelementptr inbounds [100 x i32], [10...\n %59 = load i32, i32* %58, align 4\n %60 = add nsw i32 %59, 1\n %61 = load i32, i32* %7, align 4\n %62 = sext i32 %61 to i64\n %63 = getelementptr inbounds [100 x i32], [10...\n store i32 %60, i32* %63, align 4\n br label %64\n"]
  998. 55 --> 64
  999. 64["Block 64:\n br label %65\n"]
  1000. 64 --> 65
  1001. 65["Block 65:\n %66 = load i32, i32* %8, align 4\n %67 = add nsw i32 %66, 1\n store i32 %67, i32* %8, align 4\n br label %28\n"]
  1002. 65 --> 28
  1003. 68["Block 68:\n br label %69\n"]
  1004. 68 --> 69
  1005. 69["Block 69:\n %70 = load i32, i32* %7, align 4\n %71 = add nsw i32 %70, 1\n store i32 %71, i32* %7, align 4\n br label %23\n"]
  1006. 69 --> 23
  1007. 72["Block 72:\n store i32 0, i32* %9, align 4\n store i32 0, i32* %10, align 4\n br label %73\n"]:::critical
  1008. 72 --> 73
  1009. 73["Block 73:\n %74 = load i32, i32* %10, align 4\n %75 = load i32, i32* %4, align 4\n %76 = icmp slt i32 %74, %75\n br i1 %76, label %77, label %93\n"]:::critical
  1010. 73 -->|true| 77
  1011. 73 -->|false| 93
  1012. 77["Block 77:\n %78 = load i32, i32* %9, align 4\n %79 = load i32, i32* %10, align 4\n %80 = sext i32 %79 to i64\n %81 = getelementptr inbounds [100 x i32], [10...\n %82 = load i32, i32* %81, align 4\n %83 = icmp slt i32 %78, %82\n br i1 %83, label %84, label %89\n"]
  1013. 77 -->|true| 84
  1014. 77 -->|false| 89
  1015. 84["Block 84:\n %85 = load i32, i32* %10, align 4\n %86 = sext i32 %85 to i64\n %87 = getelementptr inbounds [100 x i32], [10...\n %88 = load i32, i32* %87, align 4\n store i32 %88, i32* %9, align 4\n br label %89\n"]
  1016. 84 --> 89
  1017. 89["Block 89:\n br label %90\n"]
  1018. 89 --> 90
  1019. 90["Block 90:\n %91 = load i32, i32* %10, align 4\n %92 = add nsw i32 %91, 1\n store i32 %92, i32* %10, align 4\n br label %73\n"]
  1020. 90 --> 73
  1021. 93["Block 93:\n %94 = load i32, i32* %9, align 4\n ret i32 %94\n"]:::critical
  1022. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1023. ```
  1024. ```mermaid: testPoints
  1025. graph TD
  1026. 1["Block 1:\n %2 = alloca i32, align 4\n %3 = alloca i32, align 4\n %4 = alloca i32, align 4\n %5 = alloca i32, align 4\n store i32 %0, i32* %3, align 4\n store i32 0, i32* %4, align 4\n store i32 1, i32* %5, align 4\n br label %6\n"]:::critical
  1027. 1 --> 6
  1028. 6["Block 6:\n %7 = load i32, i32* %5, align 4\n %8 = icmp slt i32 %7, 5\n br i1 %8, label %9, label %19\n"]:::critical
  1029. 6 -->|true| 9
  1030. 6 -->|false| 19
  1031. 9["Block 9:\n %10 = load i32, i32* %4, align 4\n %11 = add nsw i32 %10, 1\n store i32 %11, i32* %4, align 4\n %12 = load i32, i32* %3, align 4\n %13 = icmp sgt i32 %12, 2\n br i1 %13, label %14, label %15\n"]
  1032. 9 -->|true| 14
  1033. 9 -->|false| 15
  1034. 14["Block 14:\n store i32 23, i32* %2, align 4\n br label %21\n"]
  1035. 14 --> 21
  1036. 15["Block 15:\n br label %16\n"]
  1037. 15 --> 16
  1038. 16["Block 16:\n %17 = load i32, i32* %5, align 4\n %18 = add nsw i32 %17, 1\n store i32 %18, i32* %5, align 4\n br label %6\n"]
  1039. 16 --> 6
  1040. 19["Block 19:\n %20 = load i32, i32* %4, align 4\n store i32 %20, i32* %2, align 4\n br label %21\n"]
  1041. 19 --> 21
  1042. 21["Block 21:\n %22 = load i32, i32* %2, align 4\n ret i32 %22\n"]:::critical
  1043. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1044. ```
  1045. ```mermaid: countSetBits
  1046. graph TD
  1047. 1["Block 1:\n %2 = alloca i32, align 4\n %3 = alloca i32, align 4\n store i32 %0, i32* %2, align 4\n store i32 0, i32* %3, align 4\n br label %4\n"]:::critical
  1048. 1 --> 4
  1049. 4["Block 4:\n %5 = load i32, i32* %2, align 4\n %6 = icmp ne i32 %5, 0\n br i1 %6, label %7, label %14\n"]:::critical
  1050. 4 -->|true| 7
  1051. 4 -->|false| 14
  1052. 7["Block 7:\n %8 = load i32, i32* %2, align 4\n %9 = and i32 %8, 1\n %10 = load i32, i32* %3, align 4\n %11 = add nsw i32 %10, %9\n store i32 %11, i32* %3, align 4\n %12 = load i32, i32* %2, align 4\n %13 = ashr i32 %12, 1\n store i32 %13, i32* %2, align 4\n br label %4\n"]
  1053. 7 --> 4
  1054. 14["Block 14:\n %15 = load i32, i32* %3, align 4\n ret i32 %15\n"]:::critical
  1055. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1056. ```
  1057. ```mermaid: memoizedFib
  1058. graph TD
  1059. 1["Block 1:\n %2 = alloca i32, align 4\n %3 = alloca i32, align 4\n store i32 %0, i32* %3, align 4\n %4 = load i32, i32* %3, align 4\n %5 = sext i32 %4 to i64\n %6 = getelementptr inbounds [100 x i32], [100...\n %7 = load i32, i32* %6, align 4\n %8 = icmp ne i32 %7, -1\n br i1 %8, label %9, label %14\n"]:::critical
  1060. 1 -->|true| 9
  1061. 1 -->|false| 14
  1062. 9["Block 9:\n %10 = load i32, i32* %3, align 4\n %11 = sext i32 %10 to i64\n %12 = getelementptr inbounds [100 x i32], [10...\n %13 = load i32, i32* %12, align 4\n store i32 %13, i32* %2, align 4\n br label %34\n"]
  1063. 9 --> 34
  1064. 14["Block 14:\n %15 = load i32, i32* %3, align 4\n %16 = icmp sle i32 %15, 1\n br i1 %16, label %17, label %19\n"]
  1065. 14 -->|true| 17
  1066. 14 -->|false| 19
  1067. 17["Block 17:\n %18 = load i32, i32* %3, align 4\n store i32 %18, i32* %2, align 4\n br label %34\n"]
  1068. 17 --> 34
  1069. 19["Block 19:\n %20 = load i32, i32* %3, align 4\n %21 = sub nsw i32 %20, 1\n %22 = call i32 @memoizedFib(i32 %21)\n %23 = load i32, i32* %3, align 4\n %24 = sub nsw i32 %23, 2\n %25 = call i32 @memoizedFib(i32 %24)\n %26 = add nsw i32 %22, %25\n %27 = load i32, i32* %3, align 4\n %28 = sext i32 %27 to i64\n %29 = getelementptr inbounds [100 x i32], [10...\n store i32 %26, i32* %29, align 4\n %30 = load i32, i32* %3, align 4\n %31 = sext i32 %30 to i64\n %32 = getelementptr inbounds [100 x i32], [10...\n %33 = load i32, i32* %32, align 4\n store i32 %33, i32* %2, align 4\n br label %34\n"]
  1070. 19 --> 34
  1071. 34["Block 34:\n %35 = load i32, i32* %2, align 4\n ret i32 %35\n"]:::critical
  1072. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1073. ```
  1074. ```mermaid: processMatrix
  1075. graph TD
  1076. 2["Block 2:\n %3 = alloca [100 x i32]*, align 8\n %4 = alloca i32, align 4\n %5 = alloca i32, align 4\n %6 = alloca i32, align 4\n %7 = alloca i32, align 4\n store [100 x i32]* %0, [100 x i32]** %3, align 8\n store i32 %1, i32* %4, align 4\n store i32 0, i32* %5, align 4\n store i32 0, i32* %6, align 4\n br label %8\n"]:::critical
  1077. 2 --> 8
  1078. 8["Block 8:\n %9 = load i32, i32* %6, align 4\n %10 = load i32, i32* %4, align 4\n %11 = icmp slt i32 %9, %10\n br i1 %11, label %12, label %80\n"]:::critical
  1079. 8 -->|true| 12
  1080. 8 -->|false| 80
  1081. 12["Block 12:\n store i32 0, i32* %7, align 4\n br label %13\n"]
  1082. 12 --> 13
  1083. 13["Block 13:\n %14 = load i32, i32* %7, align 4\n %15 = load i32, i32* %4, align 4\n %16 = icmp slt i32 %14, %15\n br i1 %16, label %17, label %76\n"]
  1084. 13 -->|true| 17
  1085. 13 -->|false| 76
  1086. 17["Block 17:\n %18 = load i32, i32* %6, align 4\n %19 = load i32, i32* %7, align 4\n %20 = icmp eq i32 %18, %19\n br i1 %20, label %21, label %55\n"]
  1087. 17 -->|true| 21
  1088. 17 -->|false| 55
  1089. 21["Block 21:\n %22 = load [100 x i32]*, [100 x i32]** %3, al...\n %23 = load i32, i32* %6, align 4\n %24 = sext i32 %23 to i64\n %25 = getelementptr inbounds [100 x i32], [10...\n %26 = load i32, i32* %7, align 4\n %27 = sext i32 %26 to i64\n %28 = getelementptr inbounds [100 x i32], [10...\n %29 = load i32, i32* %28, align 4\n %30 = srem i32 %29, 2\n %31 = icmp eq i32 %30, 0\n br i1 %31, label %32, label %43\n"]
  1090. 21 -->|true| 32
  1091. 21 -->|false| 43
  1092. 32["Block 32:\n %33 = load [100 x i32]*, [100 x i32]** %3, al...\n %34 = load i32, i32* %6, align 4\n %35 = sext i32 %34 to i64\n %36 = getelementptr inbounds [100 x i32], [10...\n %37 = load i32, i32* %7, align 4\n %38 = sext i32 %37 to i64\n %39 = getelementptr inbounds [100 x i32], [10...\n %40 = load i32, i32* %39, align 4\n %41 = load i32, i32* %5, align 4\n %42 = add nsw i32 %41, %40\n store i32 %42, i32* %5, align 4\n br label %54\n"]
  1093. 32 --> 54
  1094. 43["Block 43:\n %44 = load [100 x i32]*, [100 x i32]** %3, al...\n %45 = load i32, i32* %6, align 4\n %46 = sext i32 %45 to i64\n %47 = getelementptr inbounds [100 x i32], [10...\n %48 = load i32, i32* %7, align 4\n %49 = sext i32 %48 to i64\n %50 = getelementptr inbounds [100 x i32], [10...\n %51 = load i32, i32* %50, align 4\n %52 = load i32, i32* %5, align 4\n %53 = sub nsw i32 %52, %51\n store i32 %53, i32* %5, align 4\n br label %54\n"]
  1095. 43 --> 54
  1096. 54["Block 54:\n br label %72\n"]
  1097. 54 --> 72
  1098. 55["Block 55:\n %56 = load i32, i32* %6, align 4\n %57 = load i32, i32* %7, align 4\n %58 = icmp slt i32 %56, %57\n br i1 %58, label %59, label %71\n"]
  1099. 55 -->|true| 59
  1100. 55 -->|false| 71
  1101. 59["Block 59:\n %60 = load [100 x i32]*, [100 x i32]** %3, al...\n %61 = load i32, i32* %6, align 4\n %62 = sext i32 %61 to i64\n %63 = getelementptr inbounds [100 x i32], [10...\n %64 = load i32, i32* %7, align 4\n %65 = sext i32 %64 to i64\n %66 = getelementptr inbounds [100 x i32], [10...\n %67 = load i32, i32* %66, align 4\n %68 = call i32 @countSetBits(i32 %67)\n %69 = load i32, i32* %5, align 4\n %70 = add nsw i32 %69, %68\n store i32 %70, i32* %5, align 4\n br label %71\n"]
  1102. 59 --> 71
  1103. 71["Block 71:\n br label %72\n"]
  1104. 71 --> 72
  1105. 72["Block 72:\n br label %73\n"]
  1106. 72 --> 73
  1107. 73["Block 73:\n %74 = load i32, i32* %7, align 4\n %75 = add nsw i32 %74, 1\n store i32 %75, i32* %7, align 4\n br label %13\n"]
  1108. 73 --> 13
  1109. 76["Block 76:\n br label %77\n"]
  1110. 76 --> 77
  1111. 77["Block 77:\n %78 = load i32, i32* %6, align 4\n %79 = add nsw i32 %78, 1\n store i32 %79, i32* %6, align 4\n br label %8\n"]
  1112. 77 --> 8
  1113. 80["Block 80:\n %81 = load i32, i32* %5, align 4\n ret i32 %81\n"]:::critical
  1114. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1115. ```
  1116. ```mermaid: projectB_main
  1117. graph TD
  1118. 0["Block 0:\n %1 = alloca [14 x i8], align 1\n %2 = alloca [8 x i32], align 16\n %3 = alloca i32, align 4\n %4 = alloca i32, align 4\n %5 = alloca [100 x [100 x i32]], align 16\n %6 = alloca i32, align 4\n %7 = alloca i32, align 4\n %8 = alloca i32, align 4\n %9 = call i32 @testPoints(i32 5)\n call void @llvm.memset.p0i8.i64(i8* align 16 ...\n %10 = bitcast [14 x i8]* %1 to i8*\n call void @llvm.memcpy.p0i8.p0i8.i64(i8* alig...\n %11 = getelementptr inbounds [14 x i8], [14 x...\n call void @reverseString(i8* %11)\n %12 = bitcast [8 x i32]* %2 to i8*\n call void @llvm.memcpy.p0i8.p0i8.i64(i8* alig...\n store i32 8, i32* %3, align 4\n %13 = getelementptr inbounds [8 x i32], [8 x ...\n %14 = load i32, i32* %3, align 4\n %15 = call i32 @longestIncreasingSubsequence(...\n store i32 %15, i32* %4, align 4\n %16 = bitcast [100 x [100 x i32]]* %5 to i8*\n call void @llvm.memcpy.p0i8.p0i8.i64(i8* alig...\n %17 = getelementptr inbounds [100 x [100 x i3...\n %18 = call i32 @processMatrix([100 x i32]* %1...\n store i32 %18, i32* %6, align 4\n store i32 0, i32* %7, align 4\n br label %19\n"]:::critical
  1119. 0 --> 19
  1120. 19["Block 19:\n %20 = load i32, i32* %7, align 4\n %21 = call i32 @memoizedFib(i32 %20)\n %22 = load i32, i32* %7, align 4\n %23 = add nsw i32 %22, 1\n store i32 %23, i32* %7, align 4\n br label %24\n"]:::critical
  1121. 19 --> 24
  1122. 24["Block 24:\n %25 = load i32, i32* %7, align 4\n %26 = icmp slt i32 %25, 10\n br i1 %26, label %19, label %27\n"]:::critical
  1123. 24 -->|true| 19
  1124. 24 -->|false| 27
  1125. 27["Block 27:\n %28 = load i32, i32* %4, align 4\n %29 = icmp sgt i32 %28, 5\n br i1 %29, label %30, label %40\n"]:::critical
  1126. 27 -->|true| 30
  1127. 27 -->|false| 40
  1128. 30["Block 30:\n %31 = load i32, i32* %6, align 4\n %32 = icmp sgt i32 %31, 0\n br i1 %32, label %33, label %36\n"]
  1129. 30 -->|true| 33
  1130. 30 -->|false| 36
  1131. 33["Block 33:\n %34 = load i32, i32* %4, align 4\n %35 = call i32 @memoizedFib(i32 %34)\n store i32 %35, i32* %8, align 4\n br label %39\n"]
  1132. 33 --> 39
  1133. 36["Block 36:\n %37 = load i32, i32* %6, align 4\n %38 = call i32 @countSetBits(i32 %37)\n store i32 %38, i32* %8, align 4\n br label %39\n"]
  1134. 36 --> 39
  1135. 39["Block 39:\n br label %47\n"]
  1136. 39 --> 47
  1137. 40["Block 40:\n %41 = getelementptr inbounds [14 x i8], [14 x...\n %42 = call i64 @strlen(i8* %41) #7\n %43 = load i32, i32* %6, align 4\n %44 = sext i32 %43 to i64\n %45 = add i64 %42, %44\n %46 = trunc i64 %45 to i32\n store i32 %46, i32* %8, align 4\n br label %47\n"]
  1138. 40 --> 47
  1139. 47["Block 47:\n %48 = load i32, i32* %8, align 4\n ret i32 %48\n"]:::critical
  1140. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1141. ```
  1142. [INFO][runOnModule] Creating slices for target functions
  1143. [INFO][runOnModule] targetFuncName: countSetBits
  1144. [INFO][createFunctionSlices] Created 2 slices for target function countSetBits
  1145. [DEBUG][createFunctionSlices] Slice 0 of function countSetBits contains blocks: %1
  1146. [DEBUG][createFunctionSlices] Slice 1 of function countSetBits contains blocks: %4, %7, %14
  1147. [INFO][runOnModule] targetFuncName: longestIncreasingSubsequence
  1148. [INFO][createFunctionSlices] Created 4 slices for target function longestIncreasingSubsequence
  1149. [DEBUG][createFunctionSlices] Slice 0 of function longestIncreasingSubsequence contains blocks: %2
  1150. [DEBUG][createFunctionSlices] Slice 1 of function longestIncreasingSubsequence contains blocks: %11, %15, %22, %19
  1151. [DEBUG][createFunctionSlices] Slice 2 of function longestIncreasingSubsequence contains blocks: %23, %27, %72, %28, %32, %68, %44, %64, %69, %55, %65
  1152. [DEBUG][createFunctionSlices] Slice 3 of function longestIncreasingSubsequence contains blocks: %73, %77, %93, %84, %89, %90
  1153. [INFO][runOnModule] targetFuncName: memoizedFib
  1154. [INFO][createFunctionSlices] Created 1 slices for target function memoizedFib
  1155. [DEBUG][createFunctionSlices] Slice 0 of function memoizedFib contains blocks: %1, %9, %14, %34, %17, %19
  1156. [INFO][runOnModule] targetFuncName: processMatrix
  1157. [INFO][createFunctionSlices] Created 2 slices for target function processMatrix
  1158. [DEBUG][createFunctionSlices] Slice 0 of function processMatrix contains blocks: %2
  1159. [DEBUG][createFunctionSlices] Slice 1 of function processMatrix contains blocks: %8, %12, %80, %13, %17, %76, %21, %55, %77, %32, %43, %59, %71, %54, %72, %73
  1160. [INFO][runOnModule] targetFuncName: projectB_main
  1161. [INFO][createFunctionSlices] Created 3 slices for target function projectB_main
  1162. [DEBUG][createFunctionSlices] Slice 0 of function projectB_main contains blocks: %0
  1163. [DEBUG][createFunctionSlices] Slice 1 of function projectB_main contains blocks: %19, %24
  1164. [DEBUG][createFunctionSlices] Slice 2 of function projectB_main contains blocks: %27, %30, %40, %33, %36, %47, %39
  1165. [INFO][runOnModule] targetFuncName: reverseString
  1166. [INFO][createFunctionSlices] Created 2 slices for target function reverseString
  1167. [DEBUG][createFunctionSlices] Slice 0 of function reverseString contains blocks: %1
  1168. [DEBUG][createFunctionSlices] Slice 1 of function reverseString contains blocks: %9, %14, %43, %40
  1169. [INFO][runOnModule] targetFuncName: testPoints
  1170. [INFO][createFunctionSlices] Created 2 slices for target function testPoints
  1171. [DEBUG][createFunctionSlices] Slice 0 of function testPoints contains blocks: %1
  1172. [DEBUG][createFunctionSlices] Slice 1 of function testPoints contains blocks: %6, %9, %19, %14, %15, %21, %16
  1173. [INFO][runOnModule] Creating fusion points for bunker functions
  1174. [INFO][runOnModule] bunkerFuncName: calculateCircleArea
  1175. [INFO][countFusionPoints] Counted 2 fusion points for bunker function calculateCircleArea
  1176. [INFO][runOnModule] bunkerFuncName: calculateDistance
  1177. [INFO][countFusionPoints] Counted 2 fusion points for bunker function calculateDistance
  1178. [INFO][runOnModule] bunkerFuncName: createDynamicArray
  1179. [INFO][countFusionPoints] Counted 2 fusion points for bunker function createDynamicArray
  1180. [INFO][runOnModule] bunkerFuncName: createMatrix
  1181. [INFO][countFusionPoints] Counted 2 fusion points for bunker function createMatrix
  1182. [INFO][runOnModule] bunkerFuncName: factorial
  1183. [INFO][countFusionPoints] Counted 2 fusion points for bunker function factorial
  1184. [INFO][runOnModule] bunkerFuncName: findCentroid
  1185. [INFO][countFusionPoints] Counted 2 fusion points for bunker function findCentroid
  1186. [INFO][runOnModule] bunkerFuncName: getErrorMessage
  1187. [INFO][countFusionPoints] Counted 2 fusion points for bunker function getErrorMessage
  1188. [INFO][runOnModule] bunkerFuncName: insertNode
  1189. [INFO][countFusionPoints] Counted 2 fusion points for bunker function insertNode
  1190. [INFO][runOnModule] bunkerFuncName: multiplyMatrices
  1191. [INFO][countFusionPoints] Counted 2 fusion points for bunker function multiplyMatrices
  1192. [INFO][runOnModule] bunkerFuncName: performSimpleCalculations
  1193. [INFO][countFusionPoints] Counted 7 fusion points for bunker function performSimpleCalculations
  1194. [INFO][runOnModule] bunkerFuncName: projectA_main
  1195. [INFO][countFusionPoints] Counted 2 fusion points for bunker function projectA_main
  1196. [INFO][runOnModule] bunkerFuncName: pushBack
  1197. [INFO][countFusionPoints] Counted 2 fusion points for bunker function pushBack
  1198. [INFO][runOnModule] bunkerFuncName: quickSort
  1199. [INFO][countFusionPoints] Counted 2 fusion points for bunker function quickSort
  1200. [INFO][runOnModule] bunkerFuncName: removeDuplicates
  1201. [INFO][countFusionPoints] Counted 2 fusion points for bunker function removeDuplicates
  1202. [INFO][runOnModule] bunkerFuncName: setErrorMessage
  1203. [INFO][countFusionPoints] Counted 3 fusion points for bunker function setErrorMessage
  1204. [INFO][runOnModule] bunkerFuncName: validateMatrix
  1205. [INFO][countFusionPoints] Counted 2 fusion points for bunker function validateMatrix
  1206. [INFO][matchFunctionsForFusion] Starting function matching process
  1207. [INFO][matchFunctionsForFusion] Matched target longestIncreasingSubsequence (4 slices) with bunker projectA_main (7 fusion points)
  1208. [INFO][matchFunctionsForFusion] Matched target projectB_main (3 slices) with bunker setErrorMessage (3 fusion points)
  1209. [INFO][matchFunctionsForFusion] Matched target countSetBits (2 slices) with bunker removeDuplicates (2 fusion points)
  1210. [INFO][matchFunctionsForFusion] Matched target processMatrix (2 slices) with bunker createMatrix (2 fusion points)
  1211. [INFO][matchFunctionsForFusion] Matched target reverseString (2 slices) with bunker factorial (2 fusion points)
  1212. [INFO][matchFunctionsForFusion] Matched target testPoints (2 slices) with bunker matchFunctionsFo (2 fusion points)
  1213. [INFO][matchFunctionsForFusion] Matched target memoizedFib (1 slices) with bunker ÐB¼����¶� (2 fusion points)
  1214. [INFO][generateFusionMatchGraph] Generating fusion match visualization
  1215. ```mermaid
  1216. graph LR
  1217. %% Fusion Match Graph
  1218. %% Left side: Target Project, Right side: Bunker Project
  1219. subgraph Target["Target Project"]
  1220. direction TB
  1221. countSetBits["countSetBits\nSliceNum: 2"]:::target
  1222. longestIncreasingSubsequence["longestIncreasingSubsequence\nSliceNum: 4"]:::target
  1223. memoizedFib["memoizedFib\nSliceNum: 1"]:::target
  1224. processMatrix["processMatrix\nSliceNum: 2"]:::target
  1225. projectB_main["projectB_main\nSliceNum: 3"]:::target
  1226. reverseString["reverseString\nSliceNum: 2"]:::target
  1227. testPoints["testPoints\nSliceNum: 2"]:::target
  1228. end
  1229. subgraph Bunker["Bunker Project"]
  1230. direction TB
  1231. calculateCircleArea["calculateCircleArea\nCritical Points: 2"]:::bunker
  1232. calculateDistance["calculateDistance\nCritical Points: 2"]:::bunker
  1233. createDynamicArray["createDynamicArray\nCritical Points: 2"]:::bunker
  1234. createMatrix["createMatrix\nCritical Points: 2"]:::bunker
  1235. factorial["factorial\nCritical Points: 2"]:::bunker
  1236. findCentroid["findCentroid\nCritical Points: 2"]:::bunker
  1237. getErrorMessage["getErrorMessage\nCritical Points: 2"]:::bunker
  1238. insertNode["insertNode\nCritical Points: 2"]:::bunker
  1239. multiplyMatrices["multiplyMatrices\nCritical Points: 2"]:::bunker
  1240. performSimpleCalculations["performSimpleCalculations\nCritical Points: 7"]:::bunker
  1241. projectA_main["projectA_main\nCritical Points: 2"]:::bunker
  1242. pushBack["pushBack\nCritical Points: 2"]:::bunker
  1243. quickSort["quickSort\nCritical Points: 2"]:::bunker
  1244. removeDuplicates["removeDuplicates\nCritical Points: 2"]:::bunker
  1245. setErrorMessage["setErrorMessage\nCritical Points: 3"]:::bunker
  1246. validateMatrix["validateMatrix\nCritical Points: 2"]:::bunker
  1247. end
  1248. %% Fusion Matches
  1249. countSetBits ==>|fusion| quickSort
  1250. longestIncreasingSubsequence ==>|fusion| performSimpleCalculations
  1251. memoizedFib ==>|fusion| projectA_main
  1252. processMatrix ==>|fusion| createDynamicArray
  1253. projectB_main ==>|fusion| setErrorMessage
  1254. reverseString ==>|fusion| createMatrix
  1255. testPoints ==>|fusion| removeDuplicates
  1256. %% Styles
  1257. classDef target fill:#f96,stroke:#333,stroke-width:2px
  1258. classDef bunker fill:#9cf,stroke:#333,stroke-width:2px
  1259. style Target fill:#fff,stroke:#f96,stroke-width:2px
  1260. style Bunker fill:#fff,stroke:#9cf,stroke-width:2px
  1261. ```
  1262. [INFO][generateFusionMatchGraph] Generated visualization with 7 target functions and 16 bunker functions
  1263. [INFO][generateFusionMatchGraph] Total fusion matches: 7
  1264. [INFO][performCodeFusion] Starting code fusion
  1265. [INFO][performCodeFusion] Processing function pair: target=countSetBits, bunker=quickSort
  1266. [INFO][performCodeFusion] adding: %7
  1267. [INFO][performCodeFusion] before push Block ID: %7
  1268. [INFO][performCodeFusion] adding: %255
  1269. [INFO][performCodeFusion] adding: %258
  1270. [INFO][performCodeFusion] adding: %265
  1271. [INFO][performCodeFusion] before push Block ID: %255
  1272. [INFO][performCodeFusion] before push Block ID: %258
  1273. [INFO][performCodeFusion] before push Block ID: %265
  1274. [INFO][performCodeFusion] Listing all instructions after block cloning in function: fused_quickSort
  1275. ```mermaid: fused_quickSort
  1276. graph TD
  1277. entry["Block entry:\n br label %target_cond_0\n"]
  1278. entry --> target_cond_0
  1279. target_cond_0["Block target_cond_0:\n %6 = icmp eq i1 %0, true\n br i1 %6, label %7, label %target_skip_0\n"]
  1280. target_cond_0 -->|true| 7
  1281. target_cond_0 -->|false| target_skip_0
  1282. target_skip_0["Block target_skip_0:\n br label %target_phi_0\n"]
  1283. target_skip_0 --> target_phi_0
  1284. target_phi_0["Block target_phi_0:\n br label %bunker_cond_0\n"]
  1285. target_phi_0 --> bunker_cond_0
  1286. 7["Block 7:\n %8 = alloca i32, align 4\n %9 = alloca i32, align 4\n store i32 %5, i32* %8, align 4\n store i32 0, i32* %9, align 4\n br label %target_phi_0\n"]
  1287. 7 --> target_phi_0
  1288. bunker_cond_0["Block bunker_cond_0:\n %10 = icmp eq i1 %0, false\n br i1 %10, label %11, label %bunker_skip_0\n"]
  1289. bunker_cond_0 -->|true| 11
  1290. bunker_cond_0 -->|false| bunker_skip_0
  1291. bunker_skip_0["Block bunker_skip_0:\n br label %bunker_phi_0\n"]
  1292. bunker_skip_0 --> bunker_phi_0
  1293. bunker_phi_0["Block bunker_phi_0:\n br label %target_cond_1\n"]
  1294. bunker_phi_0 --> target_cond_1
  1295. 11["Block 11:\n %12 = alloca i32*, align 8\n %13 = alloca i32, align 4\n %14 = alloca i32, align 4\n %15 = alloca i32*, align 8\n %16 = alloca i32, align 4\n %17 = alloca i32, align 4\n %18 = alloca i32, align 4\n %19 = alloca i32, align 4\n %20 = alloca i32, align 4\n %21 = alloca i32, align 4\n store i32* %1, i32** %12, align 8\n store i32 %2, i32* %13, align 4\n store i32 %3, i32* %14, align 4\n store i32* %4, i32** %15, align 8\n %22 = load i32, i32* @recursionDepth, align 4\n %23 = add nsw i32 %22, 1\n store i32 %23, i32* @recursionDepth, align 4\n %24 = icmp sgt i32 %23, 1000\n br i1 %17, label %25, label %29\n"]
  1296. 11 -->|true| 25
  1297. 11 -->|false| 29
  1298. 25["Block 25:\n call void @setErrorMessage(i8* getelementptr ...\n %26 = load i32*, i32** %15, align 8\n store i32 1, i32* %26, align 4\n %27 = load i32, i32* @recursionDepth, align 4\n %28 = add nsw i32 %27, -1\n store i32 %28, i32* @recursionDepth, align 4\n br label %268\n"]
  1299. 25 --> 268
  1300. 29["Block 29:\n %30 = load i32*, i32** %12, align 8\n %31 = icmp ne i32* %30, null\n br i1 %24, label %36, label %32\n"]
  1301. 29 -->|true| 36
  1302. 29 -->|false| 32
  1303. 32["Block 32:\n call void @setErrorMessage(i8* getelementptr ...\n %33 = load i32*, i32** %15, align 8\n store i32 1, i32* %33, align 4\n %34 = load i32, i32* @recursionDepth, align 4\n %35 = add nsw i32 %34, -1\n store i32 %35, i32* @recursionDepth, align 4\n br label %268\n"]
  1304. 32 --> 268
  1305. 36["Block 36:\n %37 = load i32, i32* %13, align 4\n %38 = icmp slt i32 %37, 0\n br i1 %31, label %48, label %39\n"]
  1306. 36 -->|true| 48
  1307. 36 -->|false| 39
  1308. 39["Block 39:\n %40 = load i32, i32* %14, align 4\n %41 = icmp slt i32 %40, 0\n br i1 %34, label %48, label %42\n"]
  1309. 39 -->|true| 48
  1310. 39 -->|false| 42
  1311. 42["Block 42:\n %43 = load i32, i32* %13, align 4\n %44 = icmp sge i32 %43, 1000\n br i1 %37, label %48, label %45\n"]
  1312. 42 -->|true| 48
  1313. 42 -->|false| 45
  1314. 45["Block 45:\n %46 = load i32, i32* %14, align 4\n %47 = icmp sge i32 %46, 1000\n br i1 %40, label %48, label %52\n"]
  1315. 45 -->|true| 48
  1316. 45 -->|false| 52
  1317. 48["Block 48:\n call void @setErrorMessage(i8* getelementptr ...\n %49 = load i32*, i32** %15, align 8\n store i32 1, i32* %49, align 4\n %50 = load i32, i32* @recursionDepth, align 4\n %51 = add nsw i32 %50, -1\n store i32 %51, i32* @recursionDepth, align 4\n br label %268\n"]
  1318. 48 --> 268
  1319. 52["Block 52:\n %53 = load i32, i32* %13, align 4\n %54 = load i32, i32* %14, align 4\n %55 = icmp slt i32 %53, %54\n br i1 %48, label %56, label %251\n"]
  1320. 52 -->|true| 56
  1321. 52 -->|false| 251
  1322. 56["Block 56:\n %57 = load i32, i32* %13, align 4\n %58 = load i32, i32* %14, align 4\n %59 = load i32, i32* %13, align 4\n %60 = sub nsw i32 %58, %59\n %61 = sdiv i32 %60, 2\n %62 = add nsw i32 %57, %61\n store i32 %62, i32* %16, align 4\n %63 = load i32*, i32** %12, align 8\n %64 = load i32, i32* %13, align 4\n %65 = sext i32 %64 to i64\n %66 = getelementptr inbounds i32, i32* %63, i...\n %67 = load i32, i32* %66, align 4\n %68 = load i32*, i32** %12, align 8\n %69 = load i32, i32* %16, align 4\n %70 = sext i32 %69 to i64\n %71 = getelementptr inbounds i32, i32* %68, i...\n %72 = load i32, i32* %71, align 4\n %73 = icmp sle i32 %67, %72\n br i1 %66, label %74, label %106\n"]
  1323. 56 -->|true| 74
  1324. 56 -->|false| 106
  1325. 74["Block 74:\n %75 = load i32*, i32** %12, align 8\n %76 = load i32, i32* %16, align 4\n %77 = sext i32 %76 to i64\n %78 = getelementptr inbounds i32, i32* %75, i...\n %79 = load i32, i32* %78, align 4\n %80 = load i32*, i32** %12, align 8\n %81 = load i32, i32* %14, align 4\n %82 = sext i32 %81 to i64\n %83 = getelementptr inbounds i32, i32* %80, i...\n %84 = load i32, i32* %83, align 4\n %85 = icmp sle i32 %79, %84\n br i1 %78, label %86, label %88\n"]
  1326. 74 -->|true| 86
  1327. 74 -->|false| 88
  1328. 86["Block 86:\n %87 = load i32, i32* %16, align 4\n store i32 %87, i32* %17, align 4\n br label %105\n"]
  1329. 86 --> 105
  1330. 88["Block 88:\n %89 = load i32*, i32** %12, align 8\n %90 = load i32, i32* %13, align 4\n %91 = sext i32 %90 to i64\n %92 = getelementptr inbounds i32, i32* %89, i...\n %93 = load i32, i32* %92, align 4\n %94 = load i32*, i32** %12, align 8\n %95 = load i32, i32* %14, align 4\n %96 = sext i32 %95 to i64\n %97 = getelementptr inbounds i32, i32* %94, i...\n %98 = load i32, i32* %97, align 4\n %99 = icmp sle i32 %93, %98\n br i1 %92, label %100, label %102\n"]
  1331. 88 -->|true| 100
  1332. 88 -->|false| 102
  1333. 100["Block 100:\n %101 = load i32, i32* %14, align 4\n store i32 %101, i32* %17, align 4\n br label %104\n"]
  1334. 100 --> 104
  1335. 102["Block 102:\n %103 = load i32, i32* %13, align 4\n store i32 %103, i32* %17, align 4\n br label %104\n"]
  1336. 102 --> 104
  1337. 104["Block 104:\n br label %105\n"]
  1338. 104 --> 105
  1339. 105["Block 105:\n br label %138\n"]
  1340. 105 --> 138
  1341. 106["Block 106:\n %107 = load i32*, i32** %12, align 8\n %108 = load i32, i32* %13, align 4\n %109 = sext i32 %108 to i64\n %110 = getelementptr inbounds i32, i32* %107,...\n %111 = load i32, i32* %110, align 4\n %112 = load i32*, i32** %12, align 8\n %113 = load i32, i32* %14, align 4\n %114 = sext i32 %113 to i64\n %115 = getelementptr inbounds i32, i32* %112,...\n %116 = load i32, i32* %115, align 4\n %117 = icmp sle i32 %111, %116\n br i1 %110, label %118, label %120\n"]
  1342. 106 -->|true| 118
  1343. 106 -->|false| 120
  1344. 118["Block 118:\n %119 = load i32, i32* %13, align 4\n store i32 %119, i32* %17, align 4\n br label %137\n"]
  1345. 118 --> 137
  1346. 120["Block 120:\n %121 = load i32*, i32** %12, align 8\n %122 = load i32, i32* %16, align 4\n %123 = sext i32 %122 to i64\n %124 = getelementptr inbounds i32, i32* %121,...\n %125 = load i32, i32* %124, align 4\n %126 = load i32*, i32** %12, align 8\n %127 = load i32, i32* %14, align 4\n %128 = sext i32 %127 to i64\n %129 = getelementptr inbounds i32, i32* %126,...\n %130 = load i32, i32* %129, align 4\n %131 = icmp sle i32 %125, %130\n br i1 %124, label %132, label %134\n"]
  1347. 120 -->|true| 132
  1348. 120 -->|false| 134
  1349. 132["Block 132:\n %133 = load i32, i32* %14, align 4\n store i32 %133, i32* %17, align 4\n br label %136\n"]
  1350. 132 --> 136
  1351. 134["Block 134:\n %135 = load i32, i32* %16, align 4\n store i32 %135, i32* %17, align 4\n br label %136\n"]
  1352. 134 --> 136
  1353. 136["Block 136:\n br label %137\n"]
  1354. 136 --> 137
  1355. 137["Block 137:\n br label %138\n"]
  1356. 137 --> 138
  1357. 138["Block 138:\n %139 = load i32*, i32** %12, align 8\n %140 = load i32, i32* %14, align 4\n %141 = sext i32 %140 to i64\n %142 = getelementptr inbounds i32, i32* %139,...\n %143 = load i32, i32* %142, align 4\n store i32 %143, i32* %18, align 4\n %144 = load i32*, i32** %12, align 8\n %145 = load i32, i32* %17, align 4\n %146 = sext i32 %145 to i64\n %147 = getelementptr inbounds i32, i32* %144,...\n %148 = load i32, i32* %147, align 4\n %149 = load i32*, i32** %12, align 8\n %150 = load i32, i32* %14, align 4\n %151 = sext i32 %150 to i64\n %152 = getelementptr inbounds i32, i32* %149,...\n store i32 %148, i32* %152, align 4\n %153 = load i32, i32* %18, align 4\n %154 = load i32*, i32** %12, align 8\n %155 = load i32, i32* %17, align 4\n %156 = sext i32 %155 to i64\n %157 = getelementptr inbounds i32, i32* %154,...\n store i32 %153, i32* %157, align 4\n %158 = load i32*, i32** %12, align 8\n %159 = load i32, i32* %14, align 4\n %160 = sext i32 %159 to i64\n %161 = getelementptr inbounds i32, i32* %158,...\n %162 = load i32, i32* %161, align 4\n store i32 %162, i32* %19, align 4\n %163 = load i32, i32* %13, align 4\n %164 = sub nsw i32 %163, 1\n store i32 %164, i32* %20, align 4\n %165 = load i32, i32* %13, align 4\n store i32 %165, i32* %21, align 4\n br label %166\n"]
  1358. 138 --> 166
  1359. 166["Block 166:\n %167 = load i32, i32* %21, align 4\n %168 = load i32, i32* %14, align 4\n %169 = icmp slt i32 %167, %168\n br i1 %162, label %170, label %206\n"]
  1360. 166 -->|true| 170
  1361. 166 -->|false| 206
  1362. 170["Block 170:\n %171 = load i32*, i32** %12, align 8\n %172 = load i32, i32* %21, align 4\n %173 = sext i32 %172 to i64\n %174 = getelementptr inbounds i32, i32* %171,...\n %175 = load i32, i32* %174, align 4\n %176 = load i32, i32* %19, align 4\n %177 = icmp sle i32 %175, %176\n br i1 %170, label %178, label %202\n"]
  1363. 170 -->|true| 178
  1364. 170 -->|false| 202
  1365. 178["Block 178:\n %179 = load i32, i32* %20, align 4\n %180 = add nsw i32 %179, 1\n store i32 %180, i32* %20, align 4\n %181 = load i32*, i32** %12, align 8\n %182 = load i32, i32* %20, align 4\n %183 = sext i32 %182 to i64\n %184 = getelementptr inbounds i32, i32* %181,...\n %185 = load i32, i32* %184, align 4\n store i32 %185, i32* %18, align 4\n %186 = load i32*, i32** %12, align 8\n %187 = load i32, i32* %21, align 4\n %188 = sext i32 %187 to i64\n %189 = getelementptr inbounds i32, i32* %186,...\n %190 = load i32, i32* %189, align 4\n %191 = load i32*, i32** %12, align 8\n %192 = load i32, i32* %20, align 4\n %193 = sext i32 %192 to i64\n %194 = getelementptr inbounds i32, i32* %191,...\n store i32 %190, i32* %194, align 4\n %195 = load i32, i32* %18, align 4\n %196 = load i32*, i32** %12, align 8\n %197 = load i32, i32* %21, align 4\n %198 = sext i32 %197 to i64\n %199 = getelementptr inbounds i32, i32* %196,...\n store i32 %195, i32* %199, align 4\n %200 = load i32, i32* @globalCounter, align 4\n %201 = add nsw i32 %200, 1\n store i32 %201, i32* @globalCounter, align 4\n br label %202\n"]
  1366. 178 --> 202
  1367. 202["Block 202:\n br label %203\n"]
  1368. 202 --> 203
  1369. 203["Block 203:\n %204 = load i32, i32* %21, align 4\n %205 = add nsw i32 %204, 1\n store i32 %205, i32* %21, align 4\n br label %166\n"]
  1370. 203 --> 166
  1371. 206["Block 206:\n %207 = load i32*, i32** %12, align 8\n %208 = load i32, i32* %20, align 4\n %209 = add nsw i32 %208, 1\n %210 = sext i32 %209 to i64\n %211 = getelementptr inbounds i32, i32* %207,...\n %212 = load i32, i32* %211, align 4\n store i32 %212, i32* %18, align 4\n %213 = load i32*, i32** %12, align 8\n %214 = load i32, i32* %14, align 4\n %215 = sext i32 %214 to i64\n %216 = getelementptr inbounds i32, i32* %213,...\n %217 = load i32, i32* %216, align 4\n %218 = load i32*, i32** %12, align 8\n %219 = load i32, i32* %20, align 4\n %220 = add nsw i32 %219, 1\n %221 = sext i32 %220 to i64\n %222 = getelementptr inbounds i32, i32* %218,...\n store i32 %217, i32* %222, align 4\n %223 = load i32, i32* %18, align 4\n %224 = load i32*, i32** %12, align 8\n %225 = load i32, i32* %14, align 4\n %226 = sext i32 %225 to i64\n %227 = getelementptr inbounds i32, i32* %224,...\n store i32 %223, i32* %227, align 4\n %228 = load i32*, i32** %12, align 8\n %229 = load i32, i32* %13, align 4\n %230 = load i32, i32* %20, align 4\n %231 = load i32*, i32** %15, align 8\n call void @quickSort(i32* %228, i32 %229, i32...\n %232 = load i32*, i32** %15, align 8\n %233 = load i32, i32* %232, align 4\n %234 = icmp ne i32 %233, 0\n br i1 %227, label %235, label %238\n"]
  1372. 206 -->|true| 235
  1373. 206 -->|false| 238
  1374. 235["Block 235:\n %236 = load i32, i32* @recursionDepth, align 4\n %237 = add nsw i32 %236, -1\n store i32 %237, i32* @recursionDepth, align 4\n br label %268\n"]
  1375. 235 --> 268
  1376. 238["Block 238:\n %239 = load i32*, i32** %12, align 8\n %240 = load i32, i32* %20, align 4\n %241 = add nsw i32 %240, 2\n %242 = load i32, i32* %14, align 4\n %243 = load i32*, i32** %15, align 8\n call void @quickSort(i32* %239, i32 %241, i32...\n %244 = load i32*, i32** %15, align 8\n %245 = load i32, i32* %244, align 4\n %246 = icmp ne i32 %245, 0\n br i1 %239, label %247, label %250\n"]
  1377. 238 -->|true| 247
  1378. 238 -->|false| 250
  1379. 247["Block 247:\n %248 = load i32, i32* @recursionDepth, align 4\n %249 = add nsw i32 %248, -1\n store i32 %249, i32* @recursionDepth, align 4\n br label %268\n"]
  1380. 247 --> 268
  1381. 250["Block 250:\n br label %251\n"]
  1382. 250 --> 251
  1383. 251["Block 251:\n %252 = load i32, i32* @recursionDepth, align 4\n %253 = add nsw i32 %252, -1\n store i32 %253, i32* @recursionDepth, align 4\n br label %bunker_phi_0\n"]
  1384. 251 --> bunker_phi_0
  1385. target_cond_1["Block target_cond_1:\n %254 = icmp eq i1 %0, true\n br i1 %254, label %255, label %target_skip_1\n"]
  1386. target_cond_1 -->|true| 255
  1387. target_cond_1 -->|false| target_skip_1
  1388. target_skip_1["Block target_skip_1:\n br label %target_phi_1\n"]
  1389. target_skip_1 --> target_phi_1
  1390. target_phi_1["Block target_phi_1:\n br label %bunker_cond_1\n"]
  1391. target_phi_1 --> bunker_cond_1
  1392. 255["Block 255:\n %256 = load i32, i32* %8, align 4\n %257 = icmp ne i32 %256, 0\n br i1 %6, label %258, label %265\n"]
  1393. 255 -->|true| 258
  1394. 255 -->|false| 265
  1395. 258["Block 258:\n %259 = load i32, i32* %8, align 4\n %260 = and i32 %259, 1\n %261 = load i32, i32* %9, align 4\n %262 = add nsw i32 %261, %260\n store i32 %262, i32* %9, align 4\n %263 = load i32, i32* %8, align 4\n %264 = ashr i32 %263, 1\n store i32 %264, i32* %8, align 4\n br label %255\n"]
  1396. 258 --> 255
  1397. 265["Block 265:\n %266 = load i32, i32* %9, align 4\n ret i32 %266\n br label %target_phi_1\n"]
  1398. 265 --> target_phi_1
  1399. bunker_cond_1["Block bunker_cond_1:\n %267 = icmp eq i1 %0, false\n br i1 %267, label %268, label %bunker_skip_1\n"]
  1400. bunker_cond_1 -->|true| 268
  1401. bunker_cond_1 -->|false| bunker_skip_1
  1402. bunker_skip_1["Block bunker_skip_1:\n br label %bunker_phi_1\n"]
  1403. bunker_skip_1 --> bunker_phi_1
  1404. bunker_phi_1["Block bunker_phi_1:\n"]
  1405. 268["Block 268:\n ret void\n br label %bunker_phi_1\n"]
  1406. 268 --> bunker_phi_1
  1407. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1408. ```
  1409. [DEBUG][performCodeFusion] Processing return values for fused function: fused_quickSort
  1410. [DEBUG][performCodeFusion] Fused function return type: i32
  1411. [DEBUG][performCodeFusion] Non-struct return type detected: i32
  1412. [DEBUG][performCodeFusion] Updated bunker return in block %247 with value type i32
  1413. [DEBUG][performCodeFusion] Updated target return in block %14 with value type i32
  1414. [DEBUG][updateCallSite] Original call instruction:
  1415. call void @quickSort(i32* %239, i32 %241, i32 %242, i32* %243)
  1416. [DEBUG][updateCallSite] Adding bunker control parameter
  1417. [DEBUG][updateCallSite] Adding original call parameters:
  1418. [DEBUG][updateCallSite] Argument 0: type=i32*
  1419. [DEBUG][updateCallSite] Argument 1: type=i32
  1420. [DEBUG][updateCallSite] Argument 2: type=i32
  1421. [DEBUG][updateCallSite] Argument 3: type=i32*
  1422. [DEBUG][updateCallSite] Adding default target parameters:
  1423. [DEBUG][updateCallSite] Parameter type: i32
  1424. [DEBUG][updateCallSite] New call instruction:
  1425. %244 = call i32 @fused_quickSort(i1 false, i32* %239, i32 %241, i32 %242, i32* %243, i32 0)
  1426. [DEBUG][updateCallSite] Void return type, no value processing needed
  1427. [INFO][updateCallSite] Successfully updated call site from call void @quickSort(i32* %239, i32 %241, i32 %242, i32* %243) to %244 = call i32 @fused_quickSort(i1 false, i32* %239, i32 %241, i32 %242, i32* %243, i32 0)
  1428. [DEBUG][updateCallSite] Original call instruction:
  1429. call void @quickSort(i32* %228, i32 %229, i32 %230, i32* %231)
  1430. [DEBUG][updateCallSite] Adding bunker control parameter
  1431. [DEBUG][updateCallSite] Adding original call parameters:
  1432. [DEBUG][updateCallSite] Argument 0: type=i32*
  1433. [DEBUG][updateCallSite] Argument 1: type=i32
  1434. [DEBUG][updateCallSite] Argument 2: type=i32
  1435. [DEBUG][updateCallSite] Argument 3: type=i32*
  1436. [DEBUG][updateCallSite] Adding default target parameters:
  1437. [DEBUG][updateCallSite] Parameter type: i32
  1438. [DEBUG][updateCallSite] New call instruction:
  1439. %232 = call i32 @fused_quickSort(i1 false, i32* %228, i32 %229, i32 %230, i32* %231, i32 0)
  1440. [DEBUG][updateCallSite] Void return type, no value processing needed
  1441. [INFO][updateCallSite] Successfully updated call site from call void @quickSort(i32* %228, i32 %229, i32 %230, i32* %231) to %232 = call i32 @fused_quickSort(i1 false, i32* %228, i32 %229, i32 %230, i32* %231, i32 0)
  1442. [DEBUG][updateCallSite] Original call instruction:
  1443. call void @quickSort(i32* %23, i32 0, i32 %27, i32* %3)
  1444. [DEBUG][updateCallSite] Adding bunker control parameter
  1445. [DEBUG][updateCallSite] Adding original call parameters:
  1446. [DEBUG][updateCallSite] Argument 0: type=i32*
  1447. [DEBUG][updateCallSite] Argument 1: type=i32
  1448. [DEBUG][updateCallSite] Argument 2: type=i32
  1449. [DEBUG][updateCallSite] Argument 3: type=i32*
  1450. [DEBUG][updateCallSite] Adding default target parameters:
  1451. [DEBUG][updateCallSite] Parameter type: i32
  1452. [DEBUG][updateCallSite] New call instruction:
  1453. %28 = call i32 @fused_quickSort(i1 false, i32* %23, i32 0, i32 %27, i32* %3, i32 0)
  1454. [DEBUG][updateCallSite] Void return type, no value processing needed
  1455. [INFO][updateCallSite] Successfully updated call site from call void @quickSort(i32* %23, i32 0, i32 %27, i32* %3) to %28 = call i32 @fused_quickSort(i1 false, i32* %23, i32 0, i32 %27, i32* %3, i32 0)
  1456. [DEBUG][updateCallSite] Original call instruction:
  1457. call void @quickSort(i32* %232, i32 %234, i32 %235, i32* %236)
  1458. [DEBUG][updateCallSite] Adding bunker control parameter
  1459. [DEBUG][updateCallSite] Adding original call parameters:
  1460. [DEBUG][updateCallSite] Argument 0: type=i32*
  1461. [DEBUG][updateCallSite] Argument 1: type=i32
  1462. [DEBUG][updateCallSite] Argument 2: type=i32
  1463. [DEBUG][updateCallSite] Argument 3: type=i32*
  1464. [DEBUG][updateCallSite] Adding default target parameters:
  1465. [DEBUG][updateCallSite] Parameter type: i32
  1466. [DEBUG][updateCallSite] New call instruction:
  1467. %237 = call i32 @fused_quickSort(i1 false, i32* %232, i32 %234, i32 %235, i32* %236, i32 0)
  1468. [DEBUG][updateCallSite] Void return type, no value processing needed
  1469. [INFO][updateCallSite] Successfully updated call site from call void @quickSort(i32* %232, i32 %234, i32 %235, i32* %236) to %237 = call i32 @fused_quickSort(i1 false, i32* %232, i32 %234, i32 %235, i32* %236, i32 0)
  1470. [DEBUG][updateCallSite] Original call instruction:
  1471. call void @quickSort(i32* %221, i32 %222, i32 %223, i32* %224)
  1472. [DEBUG][updateCallSite] Adding bunker control parameter
  1473. [DEBUG][updateCallSite] Adding original call parameters:
  1474. [DEBUG][updateCallSite] Argument 0: type=i32*
  1475. [DEBUG][updateCallSite] Argument 1: type=i32
  1476. [DEBUG][updateCallSite] Argument 2: type=i32
  1477. [DEBUG][updateCallSite] Argument 3: type=i32*
  1478. [DEBUG][updateCallSite] Adding default target parameters:
  1479. [DEBUG][updateCallSite] Parameter type: i32
  1480. [DEBUG][updateCallSite] New call instruction:
  1481. %225 = call i32 @fused_quickSort(i1 false, i32* %221, i32 %222, i32 %223, i32* %224, i32 0)
  1482. [DEBUG][updateCallSite] Void return type, no value processing needed
  1483. [INFO][updateCallSite] Successfully updated call site from call void @quickSort(i32* %221, i32 %222, i32 %223, i32* %224) to %225 = call i32 @fused_quickSort(i1 false, i32* %221, i32 %222, i32 %223, i32* %224, i32 0)
  1484. [DEBUG][updateCallSite] Original call instruction:
  1485. %38 = call i32 @countSetBits(i32 %37)
  1486. [DEBUG][updateCallSite] Adding target control parameter
  1487. [DEBUG][updateCallSite] Adding default bunker parameters:
  1488. [DEBUG][updateCallSite] Parameter type: i32*
  1489. [DEBUG][updateCallSite] Parameter type: i32
  1490. [DEBUG][updateCallSite] Parameter type: i32
  1491. [DEBUG][updateCallSite] Parameter type: i32*
  1492. [DEBUG][updateCallSite] Adding original call parameters:
  1493. [DEBUG][updateCallSite] Argument 0: type=i32
  1494. [DEBUG][updateCallSite] New call instruction:
  1495. %38 = call i32 @fused_quickSort(i1 true, i32* null, i32 0, i32 0, i32* null, i32 %37)
  1496. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  1497. [DEBUG][updateCallSite] Using direct return value
  1498. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  1499. [INFO][updateCallSite] Successfully updated call site from %38 = call i32 @countSetBits(i32 %37) to %38 = call i32 @fused_quickSort(i1 true, i32* null, i32 0, i32 0, i32* null, i32 %37)
  1500. [DEBUG][updateCallSite] Original call instruction:
  1501. %68 = call i32 @countSetBits(i32 %67)
  1502. [DEBUG][updateCallSite] Adding target control parameter
  1503. [DEBUG][updateCallSite] Adding default bunker parameters:
  1504. [DEBUG][updateCallSite] Parameter type: i32*
  1505. [DEBUG][updateCallSite] Parameter type: i32
  1506. [DEBUG][updateCallSite] Parameter type: i32
  1507. [DEBUG][updateCallSite] Parameter type: i32*
  1508. [DEBUG][updateCallSite] Adding original call parameters:
  1509. [DEBUG][updateCallSite] Argument 0: type=i32
  1510. [DEBUG][updateCallSite] New call instruction:
  1511. %68 = call i32 @fused_quickSort(i1 true, i32* null, i32 0, i32 0, i32* null, i32 %67)
  1512. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  1513. [DEBUG][updateCallSite] Using direct return value
  1514. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  1515. [INFO][updateCallSite] Successfully updated call site from %68 = call i32 @countSetBits(i32 %67) to %68 = call i32 @fused_quickSort(i1 true, i32* null, i32 0, i32 0, i32* null, i32 %67)
  1516. [INFO][performCodeFusion] Completed function fusion: fused_quickSort
  1517. [INFO][performCodeFusion] Processing function pair: target=longestIncreasingSubsequence, bunker=performSimpleCalculations
  1518. [INFO][performCodeFusion] adding: %4
  1519. [INFO][performCodeFusion] before push Block ID: %4
  1520. [INFO][performCodeFusion] adding: %29
  1521. [INFO][performCodeFusion] adding: %33
  1522. [INFO][performCodeFusion] adding: %37
  1523. [INFO][performCodeFusion] adding: %38
  1524. [INFO][performCodeFusion] before push Block ID: %29
  1525. [INFO][performCodeFusion] before push Block ID: %33
  1526. [INFO][performCodeFusion] before push Block ID: %37
  1527. [INFO][performCodeFusion] before push Block ID: %38
  1528. [INFO][performCodeFusion] adding: %53
  1529. [INFO][performCodeFusion] adding: %57
  1530. [INFO][performCodeFusion] adding: %58
  1531. [INFO][performCodeFusion] adding: %59
  1532. [INFO][performCodeFusion] adding: %63
  1533. [INFO][performCodeFusion] adding: %75
  1534. [INFO][performCodeFusion] adding: %76
  1535. [INFO][performCodeFusion] adding: %87
  1536. [INFO][performCodeFusion] adding: %88
  1537. [INFO][performCodeFusion] adding: %91
  1538. [INFO][performCodeFusion] adding: %100
  1539. [INFO][performCodeFusion] before push Block ID: %53
  1540. [INFO][performCodeFusion] before push Block ID: %57
  1541. [INFO][performCodeFusion] before push Block ID: %58
  1542. [INFO][performCodeFusion] before push Block ID: %59
  1543. [INFO][performCodeFusion] before push Block ID: %63
  1544. [INFO][performCodeFusion] before push Block ID: %75
  1545. [INFO][performCodeFusion] before push Block ID: %76
  1546. [INFO][performCodeFusion] before push Block ID: %87
  1547. [INFO][performCodeFusion] before push Block ID: %88
  1548. [INFO][performCodeFusion] before push Block ID: %91
  1549. [INFO][performCodeFusion] before push Block ID: %100
  1550. [INFO][performCodeFusion] adding: %117
  1551. [INFO][performCodeFusion] adding: %121
  1552. [INFO][performCodeFusion] adding: %128
  1553. [INFO][performCodeFusion] adding: %130
  1554. [INFO][performCodeFusion] adding: %135
  1555. [INFO][performCodeFusion] adding: %136
  1556. [INFO][performCodeFusion] before push Block ID: %117
  1557. [INFO][performCodeFusion] before push Block ID: %121
  1558. [INFO][performCodeFusion] before push Block ID: %128
  1559. [INFO][performCodeFusion] before push Block ID: %130
  1560. [INFO][performCodeFusion] before push Block ID: %135
  1561. [INFO][performCodeFusion] before push Block ID: %136
  1562. [INFO][performCodeFusion] Listing all instructions after block cloning in function: fused_performSimpleCalculations
  1563. ```mermaid: fused_performSimpleCalculations
  1564. graph TD
  1565. entry["Block entry:\n br label %target_cond_0\n"]
  1566. entry --> target_cond_0
  1567. target_cond_0["Block target_cond_0:\n %3 = icmp eq i1 %0, true\n br i1 %3, label %4, label %target_skip_0\n"]
  1568. target_cond_0 -->|true| 4
  1569. target_cond_0 -->|false| target_skip_0
  1570. target_skip_0["Block target_skip_0:\n br label %target_phi_0\n"]
  1571. target_skip_0 --> target_phi_0
  1572. target_phi_0["Block target_phi_0:\n br label %bunker_cond_0\n"]
  1573. target_phi_0 --> bunker_cond_0
  1574. 4["Block 4:\n %5 = alloca i32*, align 8\n %6 = alloca i32, align 4\n %7 = alloca [100 x i32], align 16\n %8 = alloca i32, align 4\n %9 = alloca i32, align 4\n %10 = alloca i32, align 4\n %11 = alloca i32, align 4\n %12 = alloca i32, align 4\n store i32* %1, i32** %5, align 8\n store i32 %2, i32* %6, align 4\n store i32 0, i32* %8, align 4\n br label %target_phi_0\n"]
  1575. 4 --> target_phi_0
  1576. bunker_cond_0["Block bunker_cond_0:\n %13 = icmp eq i1 %0, false\n br i1 %13, label %14, label %bunker_skip_0\n"]
  1577. bunker_cond_0 -->|true| 14
  1578. bunker_cond_0 -->|false| bunker_skip_0
  1579. bunker_skip_0["Block bunker_skip_0:\n br label %bunker_phi_0\n"]
  1580. bunker_skip_0 --> bunker_phi_0
  1581. bunker_phi_0["Block bunker_phi_0:\n br label %target_cond_1\n"]
  1582. bunker_phi_0 --> target_cond_1
  1583. 14["Block 14:\n %15 = alloca i32, align 4\n store i32 100, i32* %15, align 4\n %16 = load i32, i32* %15, align 4\n %17 = icmp sgt i32 %16, 50\n br i1 %3, label %18, label %23\n"]
  1584. 14 -->|true| 18
  1585. 14 -->|false| 23
  1586. 18["Block 18:\n %19 = load i32, i32* %15, align 4\n %20 = mul nsw i32 %19, 2\n %21 = load i32, i32* @calculationResult, align 4\n %22 = add nsw i32 %21, %20\n store i32 %22, i32* @calculationResult, align 4\n br label %42\n"]
  1587. 18 --> 42
  1588. 23["Block 23:\n %24 = load i32, i32* %15, align 4\n %25 = sdiv i32 %24, 2\n %26 = load i32, i32* @calculationResult, align 4\n %27 = add nsw i32 %26, %25\n store i32 %27, i32* @calculationResult, align 4\n br label %bunker_phi_0\n"]
  1589. 23 --> bunker_phi_0
  1590. target_cond_1["Block target_cond_1:\n %28 = icmp eq i1 %0, true\n br i1 %28, label %29, label %target_skip_1\n"]
  1591. target_cond_1 -->|true| 29
  1592. target_cond_1 -->|false| target_skip_1
  1593. target_skip_1["Block target_skip_1:\n br label %target_phi_1\n"]
  1594. target_skip_1 --> target_phi_1
  1595. target_phi_1["Block target_phi_1:\n br label %bunker_cond_1\n"]
  1596. target_phi_1 --> bunker_cond_1
  1597. 29["Block 29:\n %30 = load i32, i32* %8, align 4\n %31 = load i32, i32* %6, align 4\n %32 = icmp slt i32 %30, %31\n br i1 %14, label %33, label %37\n"]
  1598. 29 -->|true| 33
  1599. 29 -->|false| 37
  1600. 33["Block 33:\n %34 = load i32, i32* %8, align 4\n %35 = sext i32 %34 to i64\n %36 = getelementptr inbounds [100 x i32], [10...\n store i32 1, i32* %36, align 4\n br label %38\n"]
  1601. 33 --> 38
  1602. 37["Block 37:\n store i32 1, i32* %9, align 4\n br label %53\n"]
  1603. 37 --> 53
  1604. 38["Block 38:\n %39 = load i32, i32* %8, align 4\n %40 = add nsw i32 %39, 1\n store i32 %40, i32* %8, align 4\n br label %target_phi_1\n"]
  1605. 38 --> target_phi_1
  1606. bunker_cond_1["Block bunker_cond_1:\n %41 = icmp eq i1 %0, false\n br i1 %41, label %42, label %bunker_skip_1\n"]
  1607. bunker_cond_1 -->|true| 42
  1608. bunker_cond_1 -->|false| bunker_skip_1
  1609. bunker_skip_1["Block bunker_skip_1:\n br label %bunker_phi_1\n"]
  1610. bunker_skip_1 --> bunker_phi_1
  1611. bunker_phi_1["Block bunker_phi_1:\n br label %target_cond_2\n"]
  1612. bunker_phi_1 --> target_cond_2
  1613. 42["Block 42:\n %43 = load i32, i32* %15, align 4\n %44 = srem i32 %43, 3\n %45 = icmp eq i32 %44, 0\n br i1 %17, label %46, label %49\n"]
  1614. 42 -->|true| 46
  1615. 42 -->|false| 49
  1616. 46["Block 46:\n %47 = load i32, i32* @calculationResult, align 4\n %48 = mul nsw i32 %47, 3\n store i32 %48, i32* @calculationResult, align 4\n br label %104\n"]
  1617. 46 --> 104
  1618. 49["Block 49:\n %50 = load i32, i32* @calculationResult, align 4\n %51 = add nsw i32 %50, 3\n store i32 %51, i32* @calculationResult, align 4\n br label %bunker_phi_1\n"]
  1619. 49 --> bunker_phi_1
  1620. target_cond_2["Block target_cond_2:\n %52 = icmp eq i1 %0, true\n br i1 %52, label %53, label %target_skip_2\n"]
  1621. target_cond_2 -->|true| 53
  1622. target_cond_2 -->|false| target_skip_2
  1623. target_skip_2["Block target_skip_2:\n br label %target_phi_2\n"]
  1624. target_skip_2 --> target_phi_2
  1625. target_phi_2["Block target_phi_2:\n br label %bunker_cond_2\n"]
  1626. target_phi_2 --> bunker_cond_2
  1627. 53["Block 53:\n %54 = load i32, i32* %9, align 4\n %55 = load i32, i32* %6, align 4\n %56 = icmp slt i32 %54, %55\n br i1 %26, label %57, label %58\n"]
  1628. 53 -->|true| 57
  1629. 53 -->|false| 58
  1630. 57["Block 57:\n store i32 0, i32* %10, align 4\n br label %59\n"]
  1631. 57 --> 59
  1632. 58["Block 58:\n store i32 0, i32* %11, align 4\n store i32 0, i32* %12, align 4\n br label %117\n"]
  1633. 58 --> 117
  1634. 59["Block 59:\n %60 = load i32, i32* %10, align 4\n %61 = load i32, i32* %9, align 4\n %62 = icmp slt i32 %60, %61\n br i1 %31, label %63, label %75\n"]
  1635. 59 -->|true| 63
  1636. 59 -->|false| 75
  1637. 63["Block 63:\n %64 = load i32*, i32** %5, align 8\n %65 = load i32, i32* %9, align 4\n %66 = sext i32 %65 to i64\n %67 = getelementptr inbounds i32, i32* %64, i...\n %68 = load i32, i32* %67, align 4\n %69 = load i32*, i32** %5, align 8\n %70 = load i32, i32* %10, align 4\n %71 = sext i32 %70 to i64\n %72 = getelementptr inbounds i32, i32* %69, i...\n %73 = load i32, i32* %72, align 4\n %74 = icmp sgt i32 %68, %73\n br i1 %43, label %76, label %87\n"]
  1638. 63 -->|true| 76
  1639. 63 -->|false| 87
  1640. 75["Block 75:\n br label %88\n"]
  1641. 75 --> 88
  1642. 76["Block 76:\n %77 = load i32, i32* %9, align 4\n %78 = sext i32 %77 to i64\n %79 = getelementptr inbounds [100 x i32], [10...\n %80 = load i32, i32* %79, align 4\n %81 = load i32, i32* %10, align 4\n %82 = sext i32 %81 to i64\n %83 = getelementptr inbounds [100 x i32], [10...\n %84 = load i32, i32* %83, align 4\n %85 = add nsw i32 %84, 1\n %86 = icmp slt i32 %80, %85\n br i1 %54, label %91, label %87\n"]
  1643. 76 -->|true| 91
  1644. 76 -->|false| 87
  1645. 87["Block 87:\n br label %100\n"]
  1646. 87 --> 100
  1647. 88["Block 88:\n %89 = load i32, i32* %9, align 4\n %90 = add nsw i32 %89, 1\n store i32 %90, i32* %9, align 4\n br label %53\n"]
  1648. 88 --> 53
  1649. 91["Block 91:\n %92 = load i32, i32* %10, align 4\n %93 = sext i32 %92 to i64\n %94 = getelementptr inbounds [100 x i32], [10...\n %95 = load i32, i32* %94, align 4\n %96 = add nsw i32 %95, 1\n %97 = load i32, i32* %9, align 4\n %98 = sext i32 %97 to i64\n %99 = getelementptr inbounds [100 x i32], [10...\n store i32 %96, i32* %99, align 4\n br label %87\n"]
  1650. 91 --> 87
  1651. 100["Block 100:\n %101 = load i32, i32* %10, align 4\n %102 = add nsw i32 %101, 1\n store i32 %102, i32* %10, align 4\n br label %target_phi_2\n"]
  1652. 100 --> target_phi_2
  1653. bunker_cond_2["Block bunker_cond_2:\n %103 = icmp eq i1 %0, false\n br i1 %103, label %104, label %bunker_skip_2\n"]
  1654. bunker_cond_2 -->|true| 104
  1655. bunker_cond_2 -->|false| bunker_skip_2
  1656. bunker_skip_2["Block bunker_skip_2:\n br label %bunker_phi_2\n"]
  1657. bunker_skip_2 --> bunker_phi_2
  1658. bunker_phi_2["Block bunker_phi_2:\n br label %target_cond_3\n"]
  1659. bunker_phi_2 --> target_cond_3
  1660. 104["Block 104:\n %105 = load i32, i32* @calculationResult, ali...\n %106 = icmp sge i32 %105, 150\n br i1 %26, label %107, label %113\n"]
  1661. 104 -->|true| 107
  1662. 104 -->|false| 113
  1663. 107["Block 107:\n %108 = load i32, i32* @calculationResult, ali...\n %109 = icmp sle i32 %108, 300\n br i1 %29, label %110, label %113\n"]
  1664. 107 -->|true| 110
  1665. 107 -->|false| 113
  1666. 110["Block 110:\n %111 = load i32, i32* @calculationResult, ali...\n %112 = sub nsw i32 %111, 50\n store i32 %112, i32* @calculationResult, align 4\n br label %140\n"]
  1667. 110 --> 140
  1668. 113["Block 113:\n %114 = load i32, i32* @calculationResult, ali...\n %115 = add nsw i32 %114, 50\n store i32 %115, i32* @calculationResult, align 4\n br label %bunker_phi_2\n"]
  1669. 113 --> bunker_phi_2
  1670. target_cond_3["Block target_cond_3:\n %116 = icmp eq i1 %0, true\n br i1 %116, label %117, label %target_skip_3\n"]
  1671. target_cond_3 -->|true| 117
  1672. target_cond_3 -->|false| target_skip_3
  1673. target_skip_3["Block target_skip_3:\n br label %target_phi_3\n"]
  1674. target_skip_3 --> target_phi_3
  1675. target_phi_3["Block target_phi_3:\n br label %bunker_cond_3\n"]
  1676. target_phi_3 --> bunker_cond_3
  1677. 117["Block 117:\n %118 = load i32, i32* %12, align 4\n %119 = load i32, i32* %6, align 4\n %120 = icmp slt i32 %118, %119\n br i1 %76, label %121, label %128\n"]
  1678. 117 -->|true| 121
  1679. 117 -->|false| 128
  1680. 121["Block 121:\n %122 = load i32, i32* %11, align 4\n %123 = load i32, i32* %12, align 4\n %124 = sext i32 %123 to i64\n %125 = getelementptr inbounds [100 x i32], [1...\n %126 = load i32, i32* %125, align 4\n %127 = icmp slt i32 %122, %126\n br i1 %83, label %130, label %135\n"]
  1681. 121 -->|true| 130
  1682. 121 -->|false| 135
  1683. 128["Block 128:\n %129 = load i32, i32* %11, align 4\n ret i32 %94\n"]
  1684. 130["Block 130:\n %131 = load i32, i32* %12, align 4\n %132 = sext i32 %131 to i64\n %133 = getelementptr inbounds [100 x i32], [1...\n %134 = load i32, i32* %133, align 4\n store i32 %134, i32* %11, align 4\n br label %135\n"]
  1685. 130 --> 135
  1686. 135["Block 135:\n br label %136\n"]
  1687. 135 --> 136
  1688. 136["Block 136:\n %137 = load i32, i32* %12, align 4\n %138 = add nsw i32 %137, 1\n store i32 %138, i32* %12, align 4\n br label %target_phi_3\n"]
  1689. 136 --> target_phi_3
  1690. bunker_cond_3["Block bunker_cond_3:\n %139 = icmp eq i1 %0, false\n br i1 %139, label %140, label %bunker_skip_3\n"]
  1691. bunker_cond_3 -->|true| 140
  1692. bunker_cond_3 -->|false| bunker_skip_3
  1693. bunker_skip_3["Block bunker_skip_3:\n br label %bunker_phi_3\n"]
  1694. bunker_skip_3 --> bunker_phi_3
  1695. bunker_phi_3["Block bunker_phi_3:\n"]
  1696. 140["Block 140:\n %141 = load i32, i32* @calculationResult, ali...\n %142 = srem i32 %141, 2\n %143 = icmp eq i32 %142, 0\n br i1 %39, label %144, label %147\n"]
  1697. 140 -->|true| 144
  1698. 140 -->|false| 147
  1699. 144["Block 144:\n %145 = load i32, i32* @calculationResult, ali...\n %146 = sdiv i32 %145, 2\n store i32 %146, i32* @calculationResult, align 4\n br label %150\n"]
  1700. 144 --> 150
  1701. 147["Block 147:\n %148 = load i32, i32* @calculationResult, ali...\n %149 = mul nsw i32 %148, 2\n store i32 %149, i32* @calculationResult, align 4\n br label %150\n"]
  1702. 147 --> 150
  1703. 150["Block 150:\n %151 = load i32, i32* @calculationResult, ali...\n %152 = srem i32 %151, 10\n %153 = icmp slt i32 %152, 5\n br i1 %49, label %154, label %157\n"]
  1704. 150 -->|true| 154
  1705. 150 -->|false| 157
  1706. 154["Block 154:\n %155 = load i32, i32* @calculationResult, ali...\n %156 = add nsw i32 %155, 5\n store i32 %156, i32* @calculationResult, align 4\n br label %160\n"]
  1707. 154 --> 160
  1708. 157["Block 157:\n %158 = load i32, i32* @calculationResult, ali...\n %159 = sub nsw i32 %158, 5\n store i32 %159, i32* @calculationResult, align 4\n br label %160\n"]
  1709. 157 --> 160
  1710. 160["Block 160:\n %161 = load i32, i32* @calculationResult, ali...\n %162 = icmp sgt i32 %161, 1000\n br i1 %58, label %163, label %164\n"]
  1711. 160 -->|true| 163
  1712. 160 -->|false| 164
  1713. 163["Block 163:\n store i32 1000, i32* @calculationResult, align 4\n br label %167\n"]
  1714. 163 --> 167
  1715. 164["Block 164:\n %165 = load i32, i32* @calculationResult, ali...\n %166 = add nsw i32 %165, 10\n store i32 %166, i32* @calculationResult, align 4\n br label %167\n"]
  1716. 164 --> 167
  1717. 167["Block 167:\n %168 = load i32, i32* @calculationResult, ali...\n %169 = call i32 (i8*, ...) @printf(i8* getele...\n ret void\n br label %bunker_phi_3\n"]
  1718. 167 --> bunker_phi_3
  1719. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1720. ```
  1721. [DEBUG][performCodeFusion] Processing return values for fused function: fused_performSimpleCalculations
  1722. [DEBUG][performCodeFusion] Fused function return type: i32
  1723. [DEBUG][performCodeFusion] Non-struct return type detected: i32
  1724. [DEBUG][performCodeFusion] Updated bunker return in block %63 with value type i32
  1725. [DEBUG][performCodeFusion] Updated target return in block %93 with value type i32
  1726. [DEBUG][updateCallSite] Original call instruction:
  1727. call void @performSimpleCalculations()
  1728. [DEBUG][updateCallSite] Adding bunker control parameter
  1729. [DEBUG][updateCallSite] Adding original call parameters:
  1730. [DEBUG][updateCallSite] Adding default target parameters:
  1731. [DEBUG][updateCallSite] Parameter type: i32*
  1732. [DEBUG][updateCallSite] Parameter type: i32
  1733. [DEBUG][updateCallSite] New call instruction:
  1734. %322 = call i32 @fused_performSimpleCalculations(i1 false, i32* null, i32 0)
  1735. [DEBUG][updateCallSite] Void return type, no value processing needed
  1736. [INFO][updateCallSite] Successfully updated call site from call void @performSimpleCalculations() to %322 = call i32 @fused_performSimpleCalculations(i1 false, i32* null, i32 0)
  1737. [DEBUG][updateCallSite] Original call instruction:
  1738. %15 = call i32 @longestIncreasingSubsequence(i32* %13, i32 %14)
  1739. [DEBUG][updateCallSite] Adding target control parameter
  1740. [DEBUG][updateCallSite] Adding default bunker parameters:
  1741. [DEBUG][updateCallSite] Adding original call parameters:
  1742. [DEBUG][updateCallSite] Argument 0: type=i32*
  1743. [DEBUG][updateCallSite] Argument 1: type=i32
  1744. [DEBUG][updateCallSite] New call instruction:
  1745. %15 = call i32 @fused_performSimpleCalculations(i1 true, i32* %13, i32 %14)
  1746. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  1747. [DEBUG][updateCallSite] Using direct return value
  1748. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  1749. [INFO][updateCallSite] Successfully updated call site from %15 = call i32 @longestIncreasingSubsequence(i32* %13, i32 %14) to %15 = call i32 @fused_performSimpleCalculations(i1 true, i32* %13, i32 %14)
  1750. [INFO][performCodeFusion] Completed function fusion: fused_performSimpleCalculations
  1751. [INFO][performCodeFusion] Processing function pair: target=memoizedFib, bunker=projectA_main
  1752. [INFO][performCodeFusion] adding: %3
  1753. [INFO][performCodeFusion] adding: %11
  1754. [INFO][performCodeFusion] adding: %16
  1755. [INFO][performCodeFusion] adding: %19
  1756. [INFO][performCodeFusion] adding: %21
  1757. [INFO][performCodeFusion] adding: %23
  1758. [INFO][performCodeFusion] before push Block ID: %3
  1759. [INFO][performCodeFusion] before push Block ID: %11
  1760. [INFO][performCodeFusion] before push Block ID: %16
  1761. [INFO][performCodeFusion] before push Block ID: %19
  1762. [INFO][performCodeFusion] before push Block ID: %21
  1763. [INFO][performCodeFusion] before push Block ID: %23
  1764. [INFO][performCodeFusion] Listing all instructions after block cloning in function: fused_projectA_main
  1765. ```mermaid: fused_projectA_main
  1766. graph TD
  1767. entry["Block entry:\n br label %target_cond_0\n"]
  1768. entry --> target_cond_0
  1769. target_cond_0["Block target_cond_0:\n %2 = icmp eq i1 %0, true\n br i1 %2, label %3, label %target_skip_0\n"]
  1770. target_cond_0 -->|true| 3
  1771. target_cond_0 -->|false| target_skip_0
  1772. target_skip_0["Block target_skip_0:\n br label %target_phi_0\n"]
  1773. target_skip_0 --> target_phi_0
  1774. target_phi_0["Block target_phi_0:\n br label %bunker_cond_0\n"]
  1775. target_phi_0 --> bunker_cond_0
  1776. 3["Block 3:\n %4 = alloca i32, align 4\n %5 = alloca i32, align 4\n store i32 %1, i32* %5, align 4\n %6 = load i32, i32* %5, align 4\n %7 = sext i32 %6 to i64\n %8 = getelementptr inbounds [100 x i32], [100...\n %9 = load i32, i32* %8, align 4\n %10 = icmp ne i32 %9, -1\n br i1 %8, label %11, label %16\n"]
  1777. 3 -->|true| 11
  1778. 3 -->|false| 16
  1779. 11["Block 11:\n %12 = load i32, i32* %5, align 4\n %13 = sext i32 %12 to i64\n %14 = getelementptr inbounds [100 x i32], [10...\n %15 = load i32, i32* %14, align 4\n store i32 %15, i32* %4, align 4\n br label %19\n"]
  1780. 11 --> 19
  1781. 16["Block 16:\n %17 = load i32, i32* %5, align 4\n %18 = icmp sle i32 %17, 1\n br i1 %16, label %21, label %23\n"]
  1782. 16 -->|true| 21
  1783. 16 -->|false| 23
  1784. 19["Block 19:\n %20 = load i32, i32* %4, align 4\n ret i32 %35\n"]
  1785. 21["Block 21:\n %22 = load i32, i32* %5, align 4\n store i32 %22, i32* %4, align 4\n br label %19\n"]
  1786. 21 --> 19
  1787. 23["Block 23:\n %24 = load i32, i32* %5, align 4\n %25 = sub nsw i32 %24, 1\n %26 = call i32 @memoizedFib(i32 %25)\n %27 = load i32, i32* %5, align 4\n %28 = sub nsw i32 %27, 2\n %29 = call i32 @memoizedFib(i32 %28)\n %30 = add nsw i32 %26, %29\n %31 = load i32, i32* %5, align 4\n %32 = sext i32 %31 to i64\n %33 = getelementptr inbounds [100 x i32], [10...\n store i32 %30, i32* %33, align 4\n %34 = load i32, i32* %5, align 4\n %35 = sext i32 %34 to i64\n %36 = getelementptr inbounds [100 x i32], [10...\n %37 = load i32, i32* %36, align 4\n store i32 %37, i32* %4, align 4\n br label %target_phi_0\n"]
  1788. 23 --> target_phi_0
  1789. bunker_cond_0["Block bunker_cond_0:\n %38 = icmp eq i1 %0, false\n br i1 %38, label %39, label %bunker_skip_0\n"]
  1790. bunker_cond_0 -->|true| 39
  1791. bunker_cond_0 -->|false| bunker_skip_0
  1792. bunker_skip_0["Block bunker_skip_0:\n br label %bunker_phi_0\n"]
  1793. bunker_skip_0 --> bunker_phi_0
  1794. bunker_phi_0["Block bunker_phi_0:\n"]
  1795. 39["Block 39:\n %40 = alloca i32, align 4\n %41 = alloca %struct.DynamicArray*, align 8\n %42 = alloca i32, align 4\n %43 = alloca %struct.Matrix*, align 8\n %44 = alloca %struct.Matrix*, align 8\n %45 = alloca i32, align 4\n %46 = alloca i32, align 4\n %47 = alloca %struct.Matrix*, align 8\n %48 = alloca i32, align 4\n %49 = alloca %struct.Node*, align 8\n %50 = alloca i32, align 4\n %51 = alloca i32, align 4\n %52 = alloca %struct.Node*, align 8\n %53 = alloca %struct.Node*, align 8\n %54 = alloca i32, align 4\n %55 = alloca %struct.Node*, align 8\n %56 = alloca i32, align 4\n %57 = alloca i32, align 4\n %58 = alloca %struct.Node*, align 8\n %59 = call i64 @time(i64* null) #7\n %60 = trunc i64 %59 to i32\n call void @srand(i32 %60) #7\n %61 = call %struct.DynamicArray* @createDynam...\n store %struct.DynamicArray* %61, %struct.Dyna...\n %62 = load %struct.DynamicArray*, %struct.Dyn...\n %63 = icmp ne %struct.DynamicArray* %62, null\n br i1 %24, label %67, label %64\n"]
  1796. 39 -->|true| 67
  1797. 39 -->|false| 64
  1798. 64["Block 64:\n %65 = call i8* @getErrorMessage()\n %66 = call i32 (i8*, ...) @printf(i8* getelem...\n store i32 -1, i32* %40, align 4\n br label %362\n"]
  1799. 64 --> 362
  1800. 67["Block 67:\n store i32 0, i32* %42, align 4\n br label %68\n"]
  1801. 67 --> 68
  1802. 68["Block 68:\n %69 = load i32, i32* %42, align 4\n %70 = icmp slt i32 %69, 15\n br i1 %31, label %71, label %84\n"]
  1803. 68 -->|true| 71
  1804. 68 -->|false| 84
  1805. 71["Block 71:\n %72 = load %struct.DynamicArray*, %struct.Dyn...\n %73 = call i32 @rand() #7\n %74 = srem i32 %73, 100\n call void @pushBack(%struct.DynamicArray* %72...\n %75 = load i8*, i8** @globalErrorMessage, ali...\n %76 = icmp ne i8* %75, null\n br i1 %37, label %77, label %80\n"]
  1806. 71 -->|true| 77
  1807. 71 -->|false| 80
  1808. 77["Block 77:\n %78 = call i8* @getErrorMessage()\n %79 = call i32 (i8*, ...) @printf(i8* getelem...\n br label %84\n"]
  1809. 77 --> 84
  1810. 80["Block 80:\n br label %81\n"]
  1811. 80 --> 81
  1812. 81["Block 81:\n %82 = load i32, i32* %42, align 4\n %83 = add nsw i32 %82, 1\n store i32 %83, i32* %42, align 4\n br label %68\n"]
  1813. 81 --> 68
  1814. 84["Block 84:\n %85 = call %struct.Matrix* @createMatrix(i32 ...\n store %struct.Matrix* %85, %struct.Matrix** %...\n %86 = call %struct.Matrix* @createMatrix(i32 ...\n store %struct.Matrix* %86, %struct.Matrix** %...\n %87 = load %struct.Matrix*, %struct.Matrix** ...\n %88 = icmp ne %struct.Matrix* %87, null\n br i1 %49, label %89, label %92\n"]
  1815. 84 -->|true| 89
  1816. 84 -->|false| 92
  1817. 89["Block 89:\n %90 = load %struct.Matrix*, %struct.Matrix** ...\n %91 = icmp ne %struct.Matrix* %90, null\n br i1 %52, label %113, label %92\n"]
  1818. 89 -->|true| 113
  1819. 89 -->|false| 92
  1820. 92["Block 92:\n %93 = call i8* @getErrorMessage()\n %94 = call i32 (i8*, ...) @printf(i8* getelem...\n %95 = load %struct.Matrix*, %struct.Matrix** ...\n %96 = icmp ne %struct.Matrix* %95, null\n br i1 %57, label %97, label %100\n"]
  1821. 92 -->|true| 97
  1822. 92 -->|false| 100
  1823. 97["Block 97:\n %98 = load %struct.Matrix*, %struct.Matrix** ...\n %99 = bitcast %struct.Matrix* %98 to i8*\n call void @free(i8* %99) #7\n br label %100\n"]
  1824. 97 --> 100
  1825. 100["Block 100:\n %101 = load %struct.Matrix*, %struct.Matrix**...\n %102 = icmp ne %struct.Matrix* %101, null\n br i1 %63, label %103, label %106\n"]
  1826. 100 -->|true| 103
  1827. 100 -->|false| 106
  1828. 103["Block 103:\n %104 = load %struct.Matrix*, %struct.Matrix**...\n %105 = bitcast %struct.Matrix* %104 to i8*\n call void @free(i8* %105) #7\n br label %106\n"]
  1829. 103 --> 106
  1830. 106["Block 106:\n %107 = load %struct.DynamicArray*, %struct.Dy...\n %108 = getelementptr inbounds %struct.Dynamic...\n %109 = load i32*, i32** %108, align 8\n %110 = bitcast i32* %109 to i8*\n call void @free(i8* %110) #7\n %111 = load %struct.DynamicArray*, %struct.Dy...\n %112 = bitcast %struct.DynamicArray* %111 to i8*\n call void @free(i8* %112) #7\n store i32 -1, i32* %40, align 4\n br label %362\n"]
  1831. 106 --> 362
  1832. 113["Block 113:\n store i32 0, i32* %45, align 4\n br label %114\n"]
  1833. 113 --> 114
  1834. 114["Block 114:\n %115 = load i32, i32* %45, align 4\n %116 = icmp slt i32 %115, 3\n br i1 %77, label %117, label %153\n"]
  1835. 114 -->|true| 117
  1836. 114 -->|false| 153
  1837. 117["Block 117:\n store i32 0, i32* %46, align 4\n br label %118\n"]
  1838. 117 --> 118
  1839. 118["Block 118:\n %119 = load i32, i32* %46, align 4\n %120 = icmp slt i32 %119, 3\n br i1 %81, label %121, label %149\n"]
  1840. 118 -->|true| 121
  1841. 118 -->|false| 149
  1842. 121["Block 121:\n %122 = call i32 @rand() #7\n %123 = srem i32 %122, 10\n %124 = load %struct.Matrix*, %struct.Matrix**...\n %125 = getelementptr inbounds %struct.Matrix,...\n %126 = load i32**, i32*** %125, align 8\n %127 = load i32, i32* %45, align 4\n %128 = sext i32 %127 to i64\n %129 = getelementptr inbounds i32*, i32** %12...\n %130 = load i32*, i32** %129, align 8\n %131 = load i32, i32* %46, align 4\n %132 = sext i32 %131 to i64\n %133 = getelementptr inbounds i32, i32* %130,...\n store i32 %123, i32* %133, align 4\n %134 = call i32 @rand() #7\n %135 = srem i32 %134, 10\n %136 = load %struct.Matrix*, %struct.Matrix**...\n %137 = getelementptr inbounds %struct.Matrix,...\n %138 = load i32**, i32*** %137, align 8\n %139 = load i32, i32* %45, align 4\n %140 = sext i32 %139 to i64\n %141 = getelementptr inbounds i32*, i32** %13...\n %142 = load i32*, i32** %141, align 8\n %143 = load i32, i32* %46, align 4\n %144 = sext i32 %143 to i64\n %145 = getelementptr inbounds i32, i32* %142,...\n store i32 %135, i32* %145, align 4\n br label %146\n"]
  1843. 121 --> 146
  1844. 146["Block 146:\n %147 = load i32, i32* %46, align 4\n %148 = add nsw i32 %147, 1\n store i32 %148, i32* %46, align 4\n br label %118\n"]
  1845. 146 --> 118
  1846. 149["Block 149:\n br label %150\n"]
  1847. 149 --> 150
  1848. 150["Block 150:\n %151 = load i32, i32* %45, align 4\n %152 = add nsw i32 %151, 1\n store i32 %152, i32* %45, align 4\n br label %114\n"]
  1849. 150 --> 114
  1850. 153["Block 153:\n %154 = load %struct.Matrix*, %struct.Matrix**...\n %155 = load %struct.Matrix*, %struct.Matrix**...\n %156 = call %struct.Matrix* @multiplyMatrices...\n store %struct.Matrix* %156, %struct.Matrix** ...\n %157 = load %struct.Matrix*, %struct.Matrix**...\n %158 = icmp ne %struct.Matrix* %157, null\n br i1 %119, label %207, label %159\n"]
  1851. 153 -->|true| 207
  1852. 153 -->|false| 159
  1853. 159["Block 159:\n %160 = call i8* @getErrorMessage()\n %161 = call i32 (i8*, ...) @printf(i8* getele...\n store i32 0, i32* %48, align 4\n br label %162\n"]
  1854. 159 --> 162
  1855. 162["Block 162:\n %163 = load i32, i32* %48, align 4\n %164 = load %struct.Matrix*, %struct.Matrix**...\n %165 = getelementptr inbounds %struct.Matrix,...\n %166 = load i32, i32* %165, align 8\n %167 = icmp slt i32 %163, %166\n br i1 %128, label %168, label %188\n"]
  1856. 162 -->|true| 168
  1857. 162 -->|false| 188
  1858. 168["Block 168:\n %169 = load %struct.Matrix*, %struct.Matrix**...\n %170 = getelementptr inbounds %struct.Matrix,...\n %171 = load i32**, i32*** %170, align 8\n %172 = load i32, i32* %48, align 4\n %173 = sext i32 %172 to i64\n %174 = getelementptr inbounds i32*, i32** %17...\n %175 = load i32*, i32** %174, align 8\n %176 = bitcast i32* %175 to i8*\n call void @free(i8* %176) #7\n %177 = load %struct.Matrix*, %struct.Matrix**...\n %178 = getelementptr inbounds %struct.Matrix,...\n %179 = load i32**, i32*** %178, align 8\n %180 = load i32, i32* %48, align 4\n %181 = sext i32 %180 to i64\n %182 = getelementptr inbounds i32*, i32** %17...\n %183 = load i32*, i32** %182, align 8\n %184 = bitcast i32* %183 to i8*\n call void @free(i8* %184) #7\n br label %185\n"]
  1859. 168 --> 185
  1860. 185["Block 185:\n %186 = load i32, i32* %48, align 4\n %187 = add nsw i32 %186, 1\n store i32 %187, i32* %48, align 4\n br label %162\n"]
  1861. 185 --> 162
  1862. 188["Block 188:\n %189 = load %struct.Matrix*, %struct.Matrix**...\n %190 = getelementptr inbounds %struct.Matrix,...\n %191 = load i32**, i32*** %190, align 8\n %192 = bitcast i32** %191 to i8*\n call void @free(i8* %192) #7\n %193 = load %struct.Matrix*, %struct.Matrix**...\n %194 = getelementptr inbounds %struct.Matrix,...\n %195 = load i32**, i32*** %194, align 8\n %196 = bitcast i32** %195 to i8*\n call void @free(i8* %196) #7\n %197 = load %struct.Matrix*, %struct.Matrix**...\n %198 = bitcast %struct.Matrix* %197 to i8*\n call void @free(i8* %198) #7\n %199 = load %struct.Matrix*, %struct.Matrix**...\n %200 = bitcast %struct.Matrix* %199 to i8*\n call void @free(i8* %200) #7\n %201 = load %struct.DynamicArray*, %struct.Dy...\n %202 = getelementptr inbounds %struct.Dynamic...\n %203 = load i32*, i32** %202, align 8\n %204 = bitcast i32* %203 to i8*\n call void @free(i8* %204) #7\n %205 = load %struct.DynamicArray*, %struct.Dy...\n %206 = bitcast %struct.DynamicArray* %205 to i8*\n call void @free(i8* %206) #7\n store i32 -1, i32* %40, align 4\n br label %362\n"]
  1863. 188 --> 362
  1864. 207["Block 207:\n store %struct.Node* null, %struct.Node** %49,...\n store i32 0, i32* %50, align 4\n br label %208\n"]
  1865. 207 --> 208
  1866. 208["Block 208:\n %209 = load i32, i32* %50, align 4\n %210 = icmp slt i32 %209, 5\n br i1 %171, label %211, label %225\n"]
  1867. 208 -->|true| 211
  1868. 208 -->|false| 225
  1869. 211["Block 211:\n %212 = load %struct.Node*, %struct.Node** %49...\n %213 = call i32 @rand() #7\n %214 = srem i32 %213, 50\n %215 = call %struct.Node* @insertNode(%struct...\n store %struct.Node* %215, %struct.Node** %49,...\n %216 = load i8*, i8** @globalErrorMessage, al...\n %217 = icmp ne i8* %216, null\n br i1 %178, label %218, label %221\n"]
  1870. 211 -->|true| 218
  1871. 211 -->|false| 221
  1872. 218["Block 218:\n %219 = call i8* @getErrorMessage()\n %220 = call i32 (i8*, ...) @printf(i8* getele...\n br label %225\n"]
  1873. 218 --> 225
  1874. 221["Block 221:\n br label %222\n"]
  1875. 221 --> 222
  1876. 222["Block 222:\n %223 = load i32, i32* %50, align 4\n %224 = add nsw i32 %223, 1\n store i32 %224, i32* %50, align 4\n br label %208\n"]
  1877. 222 --> 208
  1878. 225["Block 225:\n %226 = load %struct.DynamicArray*, %struct.Dy...\n %227 = getelementptr inbounds %struct.Dynamic...\n %228 = load i32*, i32** %227, align 8\n %229 = bitcast i32* %228 to i8*\n call void @free(i8* %229) #7\n %230 = load %struct.DynamicArray*, %struct.Dy...\n %231 = bitcast %struct.DynamicArray* %230 to i8*\n call void @free(i8* %231) #7\n store i32 0, i32* %51, align 4\n br label %232\n"]
  1879. 225 --> 232
  1880. 232["Block 232:\n %233 = load i32, i32* %51, align 4\n %234 = load %struct.Matrix*, %struct.Matrix**...\n %235 = getelementptr inbounds %struct.Matrix,...\n %236 = load i32, i32* %235, align 8\n %237 = icmp slt i32 %233, %236\n br i1 %198, label %238, label %266\n"]
  1881. 232 -->|true| 238
  1882. 232 -->|false| 266
  1883. 238["Block 238:\n %239 = load %struct.Matrix*, %struct.Matrix**...\n %240 = getelementptr inbounds %struct.Matrix,...\n %241 = load i32**, i32*** %240, align 8\n %242 = load i32, i32* %51, align 4\n %243 = sext i32 %242 to i64\n %244 = getelementptr inbounds i32*, i32** %24...\n %245 = load i32*, i32** %244, align 8\n %246 = bitcast i32* %245 to i8*\n call void @free(i8* %246) #7\n %247 = load %struct.Matrix*, %struct.Matrix**...\n %248 = getelementptr inbounds %struct.Matrix,...\n %249 = load i32**, i32*** %248, align 8\n %250 = load i32, i32* %51, align 4\n %251 = sext i32 %250 to i64\n %252 = getelementptr inbounds i32*, i32** %24...\n %253 = load i32*, i32** %252, align 8\n %254 = bitcast i32* %253 to i8*\n call void @free(i8* %254) #7\n %255 = load %struct.Matrix*, %struct.Matrix**...\n %256 = getelementptr inbounds %struct.Matrix,...\n %257 = load i32**, i32*** %256, align 8\n %258 = load i32, i32* %51, align 4\n %259 = sext i32 %258 to i64\n %260 = getelementptr inbounds i32*, i32** %25...\n %261 = load i32*, i32** %260, align 8\n %262 = bitcast i32* %261 to i8*\n call void @free(i8* %262) #7\n br label %263\n"]
  1884. 238 --> 263
  1885. 263["Block 263:\n %264 = load i32, i32* %51, align 4\n %265 = add nsw i32 %264, 1\n store i32 %265, i32* %51, align 4\n br label %232\n"]
  1886. 263 --> 232
  1887. 266["Block 266:\n %267 = load %struct.Matrix*, %struct.Matrix**...\n %268 = getelementptr inbounds %struct.Matrix,...\n %269 = load i32**, i32*** %268, align 8\n %270 = bitcast i32** %269 to i8*\n call void @free(i8* %270) #7\n %271 = load %struct.Matrix*, %struct.Matrix**...\n %272 = getelementptr inbounds %struct.Matrix,...\n %273 = load i32**, i32*** %272, align 8\n %274 = bitcast i32** %273 to i8*\n call void @free(i8* %274) #7\n %275 = load %struct.Matrix*, %struct.Matrix**...\n %276 = getelementptr inbounds %struct.Matrix,...\n %277 = load i32**, i32*** %276, align 8\n %278 = bitcast i32** %277 to i8*\n call void @free(i8* %278) #7\n %279 = load %struct.Matrix*, %struct.Matrix**...\n %280 = bitcast %struct.Matrix* %279 to i8*\n call void @free(i8* %280) #7\n %281 = load %struct.Matrix*, %struct.Matrix**...\n %282 = bitcast %struct.Matrix* %281 to i8*\n call void @free(i8* %282) #7\n %283 = load %struct.Matrix*, %struct.Matrix**...\n %284 = bitcast %struct.Matrix* %283 to i8*\n call void @free(i8* %284) #7\n %285 = load %struct.Node*, %struct.Node** %49...\n %286 = icmp ne %struct.Node* %285, null\n br i1 %247, label %287, label %355\n"]
  1888. 266 -->|true| 287
  1889. 266 -->|false| 355
  1890. 287["Block 287:\n %288 = load %struct.Node*, %struct.Node** %49...\n store %struct.Node* %288, %struct.Node** %52,...\n %289 = load %struct.Node*, %struct.Node** %49...\n store %struct.Node* %289, %struct.Node** %53,...\n store i32 0, i32* %54, align 4\n br label %290\n"]
  1891. 287 --> 290
  1892. 290["Block 290:\n %291 = load %struct.Node*, %struct.Node** %53...\n %292 = icmp ne %struct.Node* %291, null\n br i1 %253, label %293, label %298\n"]
  1893. 290 -->|true| 293
  1894. 290 -->|false| 298
  1895. 293["Block 293:\n %294 = load %struct.Node*, %struct.Node** %53...\n %295 = getelementptr inbounds %struct.Node, %...\n %296 = load %struct.Node*, %struct.Node** %29...\n %297 = icmp ne %struct.Node* %296, null\n br label %298\n"]
  1896. 293 --> 298
  1897. 298["Block 298:\n %299 = phi i1 [ false, %251 ], [ %297, %254 ]\n br i1 %260, label %300, label %314\n"]
  1898. 298 -->|true| 300
  1899. 298 -->|false| 314
  1900. 300["Block 300:\n %301 = load %struct.Node*, %struct.Node** %52...\n %302 = getelementptr inbounds %struct.Node, %...\n %303 = load %struct.Node*, %struct.Node** %30...\n store %struct.Node* %303, %struct.Node** %52,...\n %304 = load %struct.Node*, %struct.Node** %53...\n %305 = getelementptr inbounds %struct.Node, %...\n %306 = load %struct.Node*, %struct.Node** %30...\n %307 = getelementptr inbounds %struct.Node, %...\n %308 = load %struct.Node*, %struct.Node** %30...\n store %struct.Node* %308, %struct.Node** %53,...\n %309 = load %struct.Node*, %struct.Node** %52...\n %310 = load %struct.Node*, %struct.Node** %53...\n %311 = icmp eq %struct.Node* %309, %310\n br i1 %272, label %312, label %313\n"]
  1901. 300 -->|true| 312
  1902. 300 -->|false| 313
  1903. 312["Block 312:\n store i32 1, i32* %54, align 4\n br label %314\n"]
  1904. 312 --> 314
  1905. 313["Block 313:\n br label %290\n"]
  1906. 313 --> 290
  1907. 314["Block 314:\n %315 = load i32, i32* %54, align 4\n %316 = icmp ne i32 %315, 0\n br i1 %277, label %317, label %343\n"]
  1908. 314 -->|true| 317
  1909. 314 -->|false| 343
  1910. 317["Block 317:\n call void @setErrorMessage(i8* getelementptr ...\n %318 = load %struct.Node*, %struct.Node** %49...\n store %struct.Node* %318, %struct.Node** %55,...\n store i32 1000, i32* %56, align 4\n store i32 0, i32* %57, align 4\n br label %319\n"]
  1911. 317 --> 319
  1912. 319["Block 319:\n %320 = load %struct.Node*, %struct.Node** %55...\n %321 = icmp ne %struct.Node* %320, null\n br i1 %282, label %322, label %326\n"]
  1913. 319 -->|true| 322
  1914. 319 -->|false| 326
  1915. 322["Block 322:\n %323 = load i32, i32* %57, align 4\n %324 = load i32, i32* %56, align 4\n %325 = icmp slt i32 %323, %324\n br label %326\n"]
  1916. 322 --> 326
  1917. 326["Block 326:\n %327 = phi i1 [ false, %280 ], [ %325, %283 ]\n br i1 %288, label %328, label %342\n"]
  1918. 326 -->|true| 328
  1919. 326 -->|false| 342
  1920. 328["Block 328:\n %329 = load %struct.Node*, %struct.Node** %55...\n %330 = getelementptr inbounds %struct.Node, %...\n %331 = load i32, i32* %330, align 8\n %332 = icmp ne i32 %331, 0\n br i1 %293, label %333, label %334\n"]
  1921. 328 -->|true| 333
  1922. 328 -->|false| 334
  1923. 333["Block 333:\n br label %342\n"]
  1924. 333 --> 342
  1925. 334["Block 334:\n %335 = load %struct.Node*, %struct.Node** %55...\n %336 = getelementptr inbounds %struct.Node, %...\n store i32 1, i32* %336, align 8\n %337 = load %struct.Node*, %struct.Node** %55...\n %338 = getelementptr inbounds %struct.Node, %...\n %339 = load %struct.Node*, %struct.Node** %33...\n store %struct.Node* %339, %struct.Node** %55,...\n %340 = load i32, i32* %57, align 4\n %341 = add nsw i32 %340, 1\n store i32 %341, i32* %57, align 4\n br label %319\n"]
  1926. 334 --> 319
  1927. 342["Block 342:\n br label %343\n"]
  1928. 342 --> 343
  1929. 343["Block 343:\n br label %344\n"]
  1930. 343 --> 344
  1931. 344["Block 344:\n %345 = load %struct.Node*, %struct.Node** %49...\n %346 = icmp ne %struct.Node* %345, null\n br i1 %307, label %347, label %354\n"]
  1932. 344 -->|true| 347
  1933. 344 -->|false| 354
  1934. 347["Block 347:\n %348 = load %struct.Node*, %struct.Node** %49...\n store %struct.Node* %348, %struct.Node** %58,...\n %349 = load %struct.Node*, %struct.Node** %49...\n %350 = getelementptr inbounds %struct.Node, %...\n %351 = load %struct.Node*, %struct.Node** %35...\n store %struct.Node* %351, %struct.Node** %49,...\n %352 = load %struct.Node*, %struct.Node** %58...\n %353 = bitcast %struct.Node* %352 to i8*\n call void @free(i8* %353) #7\n br label %344\n"]
  1935. 347 --> 344
  1936. 354["Block 354:\n br label %355\n"]
  1937. 354 --> 355
  1938. 355["Block 355:\n %356 = load i8*, i8** @globalErrorMessage, al...\n %357 = icmp ne i8* %356, null\n br i1 %318, label %358, label %360\n"]
  1939. 355 -->|true| 358
  1940. 355 -->|false| 360
  1941. 358["Block 358:\n %359 = load i8*, i8** @globalErrorMessage, al...\n call void @free(i8* %359) #7\n br label %360\n"]
  1942. 358 --> 360
  1943. 360["Block 360:\n %361 = call i32 @fused_performSimpleCalculati...\n store i32 0, i32* %40, align 4\n br label %362\n"]
  1944. 360 --> 362
  1945. 362["Block 362:\n %363 = load i32, i32* %40, align 4\n ret i32 %363\n br label %bunker_phi_0\n"]
  1946. 362 --> bunker_phi_0
  1947. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  1948. ```
  1949. [DEBUG][performCodeFusion] Processing return values for fused function: fused_projectA_main
  1950. [DEBUG][performCodeFusion] Fused function return type: fused_return_projectA_main_memoizedFib
  1951. [DEBUG][performCodeFusion] Processing struct return type with 2 elements
  1952. [DEBUG][performCodeFusion] Setting default target return value
  1953. [DEBUG][performCodeFusion] Created struct return for bunker block: %323 with types: target=i32, bunker=i32
  1954. [DEBUG][performCodeFusion] Created struct return for target block: %34 with types: target=i32, bunker=i32
  1955. [DEBUG][updateCallSite] Original call instruction:
  1956. %29 = call i32 @memoizedFib(i32 %28)
  1957. [DEBUG][updateCallSite] Adding target control parameter
  1958. [DEBUG][updateCallSite] Adding default bunker parameters:
  1959. [DEBUG][updateCallSite] Adding original call parameters:
  1960. [DEBUG][updateCallSite] Argument 0: type=i32
  1961. [DEBUG][updateCallSite] New call instruction:
  1962. %29 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %28)
  1963. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  1964. [DEBUG][updateCallSite] Extracting value from struct return type
  1965. [DEBUG][updateCallSite] Extracted value type: i32
  1966. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  1967. [INFO][updateCallSite] Successfully updated call site from %29 = call i32 @memoizedFib(i32 %28) to %29 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %28)
  1968. [DEBUG][updateCallSite] Original call instruction:
  1969. %26 = call i32 @memoizedFib(i32 %25)
  1970. [DEBUG][updateCallSite] Adding target control parameter
  1971. [DEBUG][updateCallSite] Adding default bunker parameters:
  1972. [DEBUG][updateCallSite] Adding original call parameters:
  1973. [DEBUG][updateCallSite] Argument 0: type=i32
  1974. [DEBUG][updateCallSite] New call instruction:
  1975. %26 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %25)
  1976. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  1977. [DEBUG][updateCallSite] Extracting value from struct return type
  1978. [DEBUG][updateCallSite] Extracted value type: i32
  1979. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  1980. [INFO][updateCallSite] Successfully updated call site from %26 = call i32 @memoizedFib(i32 %25) to %26 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %25)
  1981. [DEBUG][updateCallSite] Original call instruction:
  1982. %35 = call i32 @memoizedFib(i32 %34)
  1983. [DEBUG][updateCallSite] Adding target control parameter
  1984. [DEBUG][updateCallSite] Adding default bunker parameters:
  1985. [DEBUG][updateCallSite] Adding original call parameters:
  1986. [DEBUG][updateCallSite] Argument 0: type=i32
  1987. [DEBUG][updateCallSite] New call instruction:
  1988. %35 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %34)
  1989. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  1990. [DEBUG][updateCallSite] Extracting value from struct return type
  1991. [DEBUG][updateCallSite] Extracted value type: i32
  1992. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  1993. [INFO][updateCallSite] Successfully updated call site from %35 = call i32 @memoizedFib(i32 %34) to %35 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %34)
  1994. [DEBUG][updateCallSite] Original call instruction:
  1995. %21 = call i32 @memoizedFib(i32 %20)
  1996. [DEBUG][updateCallSite] Adding target control parameter
  1997. [DEBUG][updateCallSite] Adding default bunker parameters:
  1998. [DEBUG][updateCallSite] Adding original call parameters:
  1999. [DEBUG][updateCallSite] Argument 0: type=i32
  2000. [DEBUG][updateCallSite] New call instruction:
  2001. %21 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %20)
  2002. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  2003. [DEBUG][updateCallSite] Extracting value from struct return type
  2004. [DEBUG][updateCallSite] Extracted value type: i32
  2005. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2006. [INFO][updateCallSite] Successfully updated call site from %21 = call i32 @memoizedFib(i32 %20) to %21 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %20)
  2007. [DEBUG][updateCallSite] Original call instruction:
  2008. %25 = call i32 @memoizedFib(i32 %24)
  2009. [DEBUG][updateCallSite] Adding target control parameter
  2010. [DEBUG][updateCallSite] Adding default bunker parameters:
  2011. [DEBUG][updateCallSite] Adding original call parameters:
  2012. [DEBUG][updateCallSite] Argument 0: type=i32
  2013. [DEBUG][updateCallSite] New call instruction:
  2014. %25 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %24)
  2015. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  2016. [DEBUG][updateCallSite] Extracting value from struct return type
  2017. [DEBUG][updateCallSite] Extracted value type: i32
  2018. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2019. [INFO][updateCallSite] Successfully updated call site from %25 = call i32 @memoizedFib(i32 %24) to %25 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %24)
  2020. [DEBUG][updateCallSite] Original call instruction:
  2021. %22 = call i32 @memoizedFib(i32 %21)
  2022. [DEBUG][updateCallSite] Adding target control parameter
  2023. [DEBUG][updateCallSite] Adding default bunker parameters:
  2024. [DEBUG][updateCallSite] Adding original call parameters:
  2025. [DEBUG][updateCallSite] Argument 0: type=i32
  2026. [DEBUG][updateCallSite] New call instruction:
  2027. %22 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %21)
  2028. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  2029. [DEBUG][updateCallSite] Extracting value from struct return type
  2030. [DEBUG][updateCallSite] Extracted value type: i32
  2031. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2032. [INFO][updateCallSite] Successfully updated call site from %22 = call i32 @memoizedFib(i32 %21) to %22 = call %fused_return_projectA_main_memoizedFib @fused_projectA_main(i1 true, i32 %21)
  2033. [INFO][performCodeFusion] Completed function fusion: fused_projectA_main
  2034. [INFO][performCodeFusion] Processing function pair: target=processMatrix, bunker=createDynamicArray
  2035. [INFO][performCodeFusion] adding: %5
  2036. [INFO][performCodeFusion] before push Block ID: %5
  2037. [INFO][performCodeFusion] adding: %56
  2038. [INFO][performCodeFusion] adding: %60
  2039. [INFO][performCodeFusion] adding: %61
  2040. [INFO][performCodeFusion] adding: %63
  2041. [INFO][performCodeFusion] adding: %67
  2042. [INFO][performCodeFusion] adding: %71
  2043. [INFO][performCodeFusion] adding: %72
  2044. [INFO][performCodeFusion] adding: %83
  2045. [INFO][performCodeFusion] adding: %87
  2046. [INFO][performCodeFusion] adding: %90
  2047. [INFO][performCodeFusion] adding: %101
  2048. [INFO][performCodeFusion] adding: %112
  2049. [INFO][performCodeFusion] adding: %124
  2050. [INFO][performCodeFusion] adding: %125
  2051. [INFO][performCodeFusion] adding: %126
  2052. [INFO][performCodeFusion] adding: %127
  2053. [INFO][performCodeFusion] before push Block ID: %56
  2054. [INFO][performCodeFusion] before push Block ID: %60
  2055. [INFO][performCodeFusion] before push Block ID: %61
  2056. [INFO][performCodeFusion] before push Block ID: %63
  2057. [INFO][performCodeFusion] before push Block ID: %67
  2058. [INFO][performCodeFusion] before push Block ID: %71
  2059. [INFO][performCodeFusion] before push Block ID: %72
  2060. [INFO][performCodeFusion] before push Block ID: %83
  2061. [INFO][performCodeFusion] before push Block ID: %87
  2062. [INFO][performCodeFusion] before push Block ID: %90
  2063. [INFO][performCodeFusion] before push Block ID: %101
  2064. [INFO][performCodeFusion] before push Block ID: %112
  2065. [INFO][performCodeFusion] before push Block ID: %124
  2066. [INFO][performCodeFusion] before push Block ID: %125
  2067. [INFO][performCodeFusion] before push Block ID: %126
  2068. [INFO][performCodeFusion] before push Block ID: %127
  2069. [INFO][performCodeFusion] Listing all instructions after block cloning in function: fused_createDynamicArray
  2070. ```mermaid: fused_createDynamicArray
  2071. graph TD
  2072. entry["Block entry:\n br label %target_cond_0\n"]
  2073. entry --> target_cond_0
  2074. target_cond_0["Block target_cond_0:\n %4 = icmp eq i1 %0, true\n br i1 %4, label %5, label %target_skip_0\n"]
  2075. target_cond_0 -->|true| 5
  2076. target_cond_0 -->|false| target_skip_0
  2077. target_skip_0["Block target_skip_0:\n br label %target_phi_0\n"]
  2078. target_skip_0 --> target_phi_0
  2079. target_phi_0["Block target_phi_0:\n br label %bunker_cond_0\n"]
  2080. target_phi_0 --> bunker_cond_0
  2081. 5["Block 5:\n %6 = alloca [100 x i32]*, align 8\n %7 = alloca i32, align 4\n %8 = alloca i32, align 4\n %9 = alloca i32, align 4\n %10 = alloca i32, align 4\n store [100 x i32]* %2, [100 x i32]** %6, align 8\n store i32 %3, i32* %7, align 4\n store i32 0, i32* %8, align 4\n store i32 0, i32* %9, align 4\n br label %target_phi_0\n"]
  2082. 5 --> target_phi_0
  2083. bunker_cond_0["Block bunker_cond_0:\n %11 = icmp eq i1 %0, false\n br i1 %11, label %12, label %bunker_skip_0\n"]
  2084. bunker_cond_0 -->|true| 12
  2085. bunker_cond_0 -->|false| bunker_skip_0
  2086. bunker_skip_0["Block bunker_skip_0:\n br label %bunker_phi_0\n"]
  2087. bunker_skip_0 --> bunker_phi_0
  2088. bunker_phi_0["Block bunker_phi_0:\n br label %target_cond_1\n"]
  2089. bunker_phi_0 --> target_cond_1
  2090. 12["Block 12:\n %13 = alloca %struct.DynamicArray*, align 8\n %14 = alloca i32, align 4\n %15 = alloca %struct.DynamicArray*, align 8\n store i32 %1, i32* %14, align 4\n %16 = load i32, i32* %14, align 4\n %17 = icmp sle i32 %16, 0\n br i1 %6, label %18, label %19\n"]
  2091. 12 -->|true| 18
  2092. 12 -->|false| 19
  2093. 18["Block 18:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %131\n"]
  2094. 18 --> 131
  2095. 19["Block 19:\n %20 = load i32, i32* %14, align 4\n %21 = icmp sgt i32 %20, 1000\n br i1 %10, label %22, label %23\n"]
  2096. 19 -->|true| 22
  2097. 19 -->|false| 23
  2098. 22["Block 22:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %131\n"]
  2099. 22 --> 131
  2100. 23["Block 23:\n %24 = call noalias i8* @malloc(i64 24) #7\n %25 = bitcast i8* %24 to %struct.DynamicArray*\n store %struct.DynamicArray* %25, %struct.Dyna...\n %26 = load %struct.DynamicArray*, %struct.Dyn...\n %27 = icmp ne %struct.DynamicArray* %26, null\n br i1 %16, label %29, label %28\n"]
  2101. 23 -->|true| 29
  2102. 23 -->|false| 28
  2103. 28["Block 28:\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %131\n"]
  2104. 28 --> 131
  2105. 29["Block 29:\n %30 = load i32, i32* %14, align 4\n %31 = sext i32 %30 to i64\n %32 = mul i64 4, %31\n %33 = call noalias i8* @malloc(i64 %32) #7\n %34 = bitcast i8* %33 to i32*\n %35 = load %struct.DynamicArray*, %struct.Dyn...\n %36 = getelementptr inbounds %struct.DynamicA...\n store i32* %34, i32** %36, align 8\n %37 = load %struct.DynamicArray*, %struct.Dyn...\n %38 = getelementptr inbounds %struct.DynamicA...\n %39 = load i32*, i32** %38, align 8\n %40 = icmp ne i32* %39, null\n br i1 %29, label %44, label %41\n"]
  2106. 29 -->|true| 44
  2107. 29 -->|false| 41
  2108. 41["Block 41:\n %42 = load %struct.DynamicArray*, %struct.Dyn...\n %43 = bitcast %struct.DynamicArray* %42 to i8*\n call void @free(i8* %43) #7\n call void @setErrorMessage(i8* getelementptr ...\n store %struct.DynamicArray* null, %struct.Dyn...\n br label %131\n"]
  2109. 41 --> 131
  2110. 44["Block 44:\n %45 = load %struct.DynamicArray*, %struct.Dyn...\n %46 = getelementptr inbounds %struct.DynamicA...\n store i32 0, i32* %46, align 8\n %47 = load i32, i32* %14, align 4\n %48 = load %struct.DynamicArray*, %struct.Dyn...\n %49 = getelementptr inbounds %struct.DynamicA...\n store i32 %47, i32* %49, align 4\n %50 = load %struct.DynamicArray*, %struct.Dyn...\n %51 = getelementptr inbounds %struct.DynamicA...\n store i32 1, i32* %51, align 8\n %52 = load %struct.DynamicArray*, %struct.Dyn...\n %53 = getelementptr inbounds %struct.DynamicA...\n store i32 0, i32* %53, align 4\n %54 = load %struct.DynamicArray*, %struct.Dyn...\n store %struct.DynamicArray* %54, %struct.Dyna...\n br label %bunker_phi_0\n"]
  2111. 44 --> bunker_phi_0
  2112. target_cond_1["Block target_cond_1:\n %55 = icmp eq i1 %0, true\n br i1 %55, label %56, label %target_skip_1\n"]
  2113. target_cond_1 -->|true| 56
  2114. target_cond_1 -->|false| target_skip_1
  2115. target_skip_1["Block target_skip_1:\n br label %target_phi_1\n"]
  2116. target_skip_1 --> target_phi_1
  2117. target_phi_1["Block target_phi_1:\n br label %bunker_cond_1\n"]
  2118. target_phi_1 --> bunker_cond_1
  2119. 56["Block 56:\n %57 = load i32, i32* %9, align 4\n %58 = load i32, i32* %7, align 4\n %59 = icmp slt i32 %57, %58\n br i1 %11, label %60, label %61\n"]
  2120. 56 -->|true| 60
  2121. 56 -->|false| 61
  2122. 60["Block 60:\n store i32 0, i32* %10, align 4\n br label %63\n"]
  2123. 60 --> 63
  2124. 61["Block 61:\n %62 = load i32, i32* %8, align 4\n ret i32 %81\n"]
  2125. 63["Block 63:\n %64 = load i32, i32* %10, align 4\n %65 = load i32, i32* %7, align 4\n %66 = icmp slt i32 %64, %65\n br i1 %16, label %67, label %71\n"]
  2126. 63 -->|true| 67
  2127. 63 -->|false| 71
  2128. 67["Block 67:\n %68 = load i32, i32* %9, align 4\n %69 = load i32, i32* %10, align 4\n %70 = icmp eq i32 %68, %69\n br i1 %20, label %72, label %83\n"]
  2129. 67 -->|true| 72
  2130. 67 -->|false| 83
  2131. 71["Block 71:\n br label %87\n"]
  2132. 71 --> 87
  2133. 72["Block 72:\n %73 = load [100 x i32]*, [100 x i32]** %6, al...\n %74 = load i32, i32* %9, align 4\n %75 = sext i32 %74 to i64\n %76 = getelementptr inbounds [100 x i32], [10...\n %77 = load i32, i32* %10, align 4\n %78 = sext i32 %77 to i64\n %79 = getelementptr inbounds [100 x i32], [10...\n %80 = load i32, i32* %79, align 4\n %81 = srem i32 %80, 2\n %82 = icmp eq i32 %81, 0\n br i1 %31, label %90, label %101\n"]
  2134. 72 -->|true| 90
  2135. 72 -->|false| 101
  2136. 83["Block 83:\n %84 = load i32, i32* %9, align 4\n %85 = load i32, i32* %10, align 4\n %86 = icmp slt i32 %84, %85\n br i1 %58, label %112, label %124\n"]
  2137. 83 -->|true| 112
  2138. 83 -->|false| 124
  2139. 87["Block 87:\n %88 = load i32, i32* %9, align 4\n %89 = add nsw i32 %88, 1\n store i32 %89, i32* %9, align 4\n br label %56\n"]
  2140. 87 --> 56
  2141. 90["Block 90:\n %91 = load [100 x i32]*, [100 x i32]** %6, al...\n %92 = load i32, i32* %9, align 4\n %93 = sext i32 %92 to i64\n %94 = getelementptr inbounds [100 x i32], [10...\n %95 = load i32, i32* %10, align 4\n %96 = sext i32 %95 to i64\n %97 = getelementptr inbounds [100 x i32], [10...\n %98 = load i32, i32* %97, align 4\n %99 = load i32, i32* %8, align 4\n %100 = add nsw i32 %99, %98\n store i32 %100, i32* %8, align 4\n br label %125\n"]
  2142. 90 --> 125
  2143. 101["Block 101:\n %102 = load [100 x i32]*, [100 x i32]** %6, a...\n %103 = load i32, i32* %9, align 4\n %104 = sext i32 %103 to i64\n %105 = getelementptr inbounds [100 x i32], [1...\n %106 = load i32, i32* %10, align 4\n %107 = sext i32 %106 to i64\n %108 = getelementptr inbounds [100 x i32], [1...\n %109 = load i32, i32* %108, align 4\n %110 = load i32, i32* %8, align 4\n %111 = sub nsw i32 %110, %109\n store i32 %111, i32* %8, align 4\n br label %125\n"]
  2144. 101 --> 125
  2145. 112["Block 112:\n %113 = load [100 x i32]*, [100 x i32]** %6, a...\n %114 = load i32, i32* %9, align 4\n %115 = sext i32 %114 to i64\n %116 = getelementptr inbounds [100 x i32], [1...\n %117 = load i32, i32* %10, align 4\n %118 = sext i32 %117 to i64\n %119 = getelementptr inbounds [100 x i32], [1...\n %120 = load i32, i32* %119, align 4\n %121 = call i32 @fused_quickSort(i1 true, i32...\n %122 = load i32, i32* %8, align 4\n %123 = add nsw i32 %122, %121\n store i32 %123, i32* %8, align 4\n br label %124\n"]
  2146. 112 --> 124
  2147. 124["Block 124:\n br label %126\n"]
  2148. 124 --> 126
  2149. 125["Block 125:\n br label %126\n"]
  2150. 125 --> 126
  2151. 126["Block 126:\n br label %127\n"]
  2152. 126 --> 127
  2153. 127["Block 127:\n %128 = load i32, i32* %10, align 4\n %129 = add nsw i32 %128, 1\n store i32 %129, i32* %10, align 4\n br label %target_phi_1\n"]
  2154. 127 --> target_phi_1
  2155. bunker_cond_1["Block bunker_cond_1:\n %130 = icmp eq i1 %0, false\n br i1 %130, label %131, label %bunker_skip_1\n"]
  2156. bunker_cond_1 -->|true| 131
  2157. bunker_cond_1 -->|false| bunker_skip_1
  2158. bunker_skip_1["Block bunker_skip_1:\n br label %bunker_phi_1\n"]
  2159. bunker_skip_1 --> bunker_phi_1
  2160. bunker_phi_1["Block bunker_phi_1:\n"]
  2161. 131["Block 131:\n %132 = load %struct.DynamicArray*, %struct.Dy...\n ret %struct.DynamicArray* %132\n br label %bunker_phi_1\n"]
  2162. 131 --> bunker_phi_1
  2163. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  2164. ```
  2165. [DEBUG][performCodeFusion] Processing return values for fused function: fused_createDynamicArray
  2166. [DEBUG][performCodeFusion] Fused function return type: fused_return_createDynamicArray_processMatrix
  2167. [DEBUG][performCodeFusion] Processing struct return type with 2 elements
  2168. [DEBUG][performCodeFusion] Setting default target return value
  2169. [DEBUG][performCodeFusion] Created struct return for bunker block: %44 with types: target=i32, bunker=struct.DynamicArray*
  2170. [DEBUG][performCodeFusion] Created struct return for target block: %80 with types: target=i32, bunker=struct.DynamicArray*
  2171. [DEBUG][updateCallSite] Original call instruction:
  2172. %61 = call %struct.DynamicArray* @createDynamicArray(i32 10)
  2173. [DEBUG][updateCallSite] Adding bunker control parameter
  2174. [DEBUG][updateCallSite] Adding original call parameters:
  2175. [DEBUG][updateCallSite] Argument 0: type=i32
  2176. [DEBUG][updateCallSite] Adding default target parameters:
  2177. [DEBUG][updateCallSite] Parameter type: array of i32*
  2178. [DEBUG][updateCallSite] Parameter type: i32
  2179. [DEBUG][updateCallSite] New call instruction:
  2180. %61 = call %fused_return_createDynamicArray_processMatrix @fused_createDynamicArray(i1 false, i32 10, [100 x i32]* null, i32 0)
  2181. [DEBUG][updateCallSite] Processing non-void return value of type: struct.DynamicArray*
  2182. [DEBUG][updateCallSite] Extracting value from struct return type
  2183. [DEBUG][updateCallSite] Extracted value type: struct.DynamicArray*
  2184. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2185. [INFO][updateCallSite] Successfully updated call site from %61 = call %struct.DynamicArray* @createDynamicArray(i32 10) to %61 = call %fused_return_createDynamicArray_processMatrix @fused_createDynamicArray(i1 false, i32 10, [100 x i32]* null, i32 0)
  2186. [DEBUG][updateCallSite] Original call instruction:
  2187. %18 = call i32 @processMatrix([100 x i32]* %17, i32 3)
  2188. [DEBUG][updateCallSite] Adding target control parameter
  2189. [DEBUG][updateCallSite] Adding default bunker parameters:
  2190. [DEBUG][updateCallSite] Parameter type: i32
  2191. [DEBUG][updateCallSite] Adding original call parameters:
  2192. [DEBUG][updateCallSite] Argument 0: type=array of i32*
  2193. [DEBUG][updateCallSite] Argument 1: type=i32
  2194. [DEBUG][updateCallSite] New call instruction:
  2195. %18 = call %fused_return_createDynamicArray_processMatrix @fused_createDynamicArray(i1 true, i32 0, [100 x i32]* %17, i32 3)
  2196. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  2197. [DEBUG][updateCallSite] Extracting value from struct return type
  2198. [DEBUG][updateCallSite] Extracted value type: i32
  2199. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2200. [INFO][updateCallSite] Successfully updated call site from %18 = call i32 @processMatrix([100 x i32]* %17, i32 3) to %18 = call %fused_return_createDynamicArray_processMatrix @fused_createDynamicArray(i1 true, i32 0, [100 x i32]* %17, i32 3)
  2201. [INFO][performCodeFusion] Completed function fusion: fused_createDynamicArray
  2202. [INFO][performCodeFusion] Processing function pair: target=projectB_main, bunker=setErrorMessage
  2203. [INFO][performCodeFusion] adding: %3
  2204. [INFO][performCodeFusion] before push Block ID: %3
  2205. [INFO][performCodeFusion] adding: %30
  2206. [INFO][performCodeFusion] adding: %35
  2207. [INFO][performCodeFusion] before push Block ID: %30
  2208. [INFO][performCodeFusion] before push Block ID: %35
  2209. [INFO][performCodeFusion] adding: %53
  2210. [INFO][performCodeFusion] adding: %56
  2211. [INFO][performCodeFusion] adding: %59
  2212. [INFO][performCodeFusion] adding: %66
  2213. [INFO][performCodeFusion] adding: %69
  2214. [INFO][performCodeFusion] adding: %72
  2215. [INFO][performCodeFusion] adding: %74
  2216. [INFO][performCodeFusion] before push Block ID: %53
  2217. [INFO][performCodeFusion] before push Block ID: %56
  2218. [INFO][performCodeFusion] before push Block ID: %59
  2219. [INFO][performCodeFusion] before push Block ID: %66
  2220. [INFO][performCodeFusion] before push Block ID: %69
  2221. [INFO][performCodeFusion] before push Block ID: %72
  2222. [INFO][performCodeFusion] before push Block ID: %74
  2223. [INFO][performCodeFusion] Listing all instructions after block cloning in function: fused_setErrorMessage
  2224. ```mermaid: fused_setErrorMessage
  2225. graph TD
  2226. entry["Block entry:\n br label %target_cond_0\n"]
  2227. entry --> target_cond_0
  2228. target_cond_0["Block target_cond_0:\n %2 = icmp eq i1 %0, true\n br i1 %2, label %3, label %target_skip_0\n"]
  2229. target_cond_0 -->|true| 3
  2230. target_cond_0 -->|false| target_skip_0
  2231. target_skip_0["Block target_skip_0:\n br label %target_phi_0\n"]
  2232. target_skip_0 --> target_phi_0
  2233. target_phi_0["Block target_phi_0:\n br label %bunker_cond_0\n"]
  2234. target_phi_0 --> bunker_cond_0
  2235. 3["Block 3:\n %4 = alloca [14 x i8], align 1\n %5 = alloca [8 x i32], align 16\n %6 = alloca i32, align 4\n %7 = alloca i32, align 4\n %8 = alloca [100 x [100 x i32]], align 16\n %9 = alloca i32, align 4\n %10 = alloca i32, align 4\n %11 = alloca i32, align 4\n %12 = call i32 @testPoints(i32 5)\n call void @llvm.memset.p0i8.i64(i8* align 16 ...\n %13 = bitcast [14 x i8]* %4 to i8*\n call void @llvm.memcpy.p0i8.p0i8.i64(i8* alig...\n %14 = getelementptr inbounds [14 x i8], [14 x...\n call void @reverseString(i8* %14)\n %15 = bitcast [8 x i32]* %5 to i8*\n call void @llvm.memcpy.p0i8.p0i8.i64(i8* alig...\n store i32 8, i32* %6, align 4\n %16 = getelementptr inbounds [8 x i32], [8 x ...\n %17 = load i32, i32* %6, align 4\n %18 = call i32 @fused_performSimpleCalculatio...\n store i32 %18, i32* %7, align 4\n %19 = bitcast [100 x [100 x i32]]* %8 to i8*\n call void @llvm.memcpy.p0i8.p0i8.i64(i8* alig...\n %20 = getelementptr inbounds [100 x [100 x i3...\n %21 = call %fused_return_createDynamicArray_p...\n %extracted_target_return2target_ = extractval...\n store i32 %extracted_target_return2target_, i...\n store i32 0, i32* %10, align 4\n br label %target_phi_0\n"]
  2236. 3 --> target_phi_0
  2237. bunker_cond_0["Block bunker_cond_0:\n %22 = icmp eq i1 %0, false\n br i1 %22, label %23, label %bunker_skip_0\n"]
  2238. bunker_cond_0 -->|true| 23
  2239. bunker_cond_0 -->|false| bunker_skip_0
  2240. bunker_skip_0["Block bunker_skip_0:\n br label %bunker_phi_0\n"]
  2241. bunker_skip_0 --> bunker_phi_0
  2242. bunker_phi_0["Block bunker_phi_0:\n br label %target_cond_1\n"]
  2243. bunker_phi_0 --> target_cond_1
  2244. 23["Block 23:\n %24 = alloca i8*, align 8\n store i8* %1, i8** %24, align 8\n %25 = load i8*, i8** @globalErrorMessage, ali...\n %26 = icmp ne i8* %25, null\n br i1 %4, label %27, label %39\n"]
  2245. 23 -->|true| 27
  2246. 23 -->|false| 39
  2247. 27["Block 27:\n %28 = load i8*, i8** @globalErrorMessage, ali...\n call void @free(i8* %28) #7\n br label %bunker_phi_0\n"]
  2248. 27 --> bunker_phi_0
  2249. target_cond_1["Block target_cond_1:\n %29 = icmp eq i1 %0, true\n br i1 %29, label %30, label %target_skip_1\n"]
  2250. target_cond_1 -->|true| 30
  2251. target_cond_1 -->|false| target_skip_1
  2252. target_skip_1["Block target_skip_1:\n br label %target_phi_1\n"]
  2253. target_skip_1 --> target_phi_1
  2254. target_phi_1["Block target_phi_1:\n br label %bunker_cond_1\n"]
  2255. target_phi_1 --> bunker_cond_1
  2256. 30["Block 30:\n %31 = load i32, i32* %10, align 4\n %32 = call %fused_return_projectA_main_memoiz...\n %extracted_target_return1target_ = extractval...\n %33 = load i32, i32* %10, align 4\n %34 = add nsw i32 %33, 1\n store i32 %34, i32* %10, align 4\n br label %35\n"]
  2257. 30 --> 35
  2258. 35["Block 35:\n %36 = load i32, i32* %10, align 4\n %37 = icmp slt i32 %36, 10\n br label %target_phi_1\n"]
  2259. 35 --> target_phi_1
  2260. bunker_cond_1["Block bunker_cond_1:\n %38 = icmp eq i1 %0, false\n br i1 %38, label %39, label %bunker_skip_1\n"]
  2261. bunker_cond_1 -->|true| 39
  2262. bunker_cond_1 -->|false| bunker_skip_1
  2263. bunker_skip_1["Block bunker_skip_1:\n br label %bunker_phi_1\n"]
  2264. bunker_skip_1 --> bunker_phi_1
  2265. bunker_phi_1["Block bunker_phi_1:\n br label %target_cond_2\n"]
  2266. bunker_phi_1 --> target_cond_2
  2267. 39["Block 39:\n %40 = load i8*, i8** %24, align 8\n %41 = icmp ne i8* %40, null\n br i1 %9, label %42, label %51\n"]
  2268. 39 -->|true| 42
  2269. 39 -->|false| 51
  2270. 42["Block 42:\n %43 = load i8*, i8** %24, align 8\n %44 = call noalias i8* @strdup(i8* %43) #7\n store i8* %44, i8** @globalErrorMessage, align 8\n %45 = load i8*, i8** @globalErrorMessage, ali...\n %46 = icmp eq i8* %45, null\n br i1 %14, label %47, label %50\n"]
  2271. 42 -->|true| 47
  2272. 42 -->|false| 50
  2273. 47["Block 47:\n %48 = load %struct._IO_FILE*, %struct._IO_FIL...\n %49 = call i32 (%struct._IO_FILE*, i8*, ...) ...\n br label %50\n"]
  2274. 47 --> 50
  2275. 50["Block 50:\n br label %76\n"]
  2276. 50 --> 76
  2277. 51["Block 51:\n store i8* null, i8** @globalErrorMessage, ali...\n br label %bunker_phi_1\n"]
  2278. 51 --> bunker_phi_1
  2279. target_cond_2["Block target_cond_2:\n %52 = icmp eq i1 %0, true\n br i1 %52, label %53, label %target_skip_2\n"]
  2280. target_cond_2 -->|true| 53
  2281. target_cond_2 -->|false| target_skip_2
  2282. target_skip_2["Block target_skip_2:\n br label %target_phi_2\n"]
  2283. target_skip_2 --> target_phi_2
  2284. target_phi_2["Block target_phi_2:\n br label %bunker_cond_2\n"]
  2285. target_phi_2 --> bunker_cond_2
  2286. 53["Block 53:\n %54 = load i32, i32* %7, align 4\n %55 = icmp sgt i32 %54, 5\n br i1 %29, label %56, label %59\n"]
  2287. 53 -->|true| 56
  2288. 53 -->|false| 59
  2289. 56["Block 56:\n %57 = load i32, i32* %9, align 4\n %58 = icmp sgt i32 %57, 0\n br i1 %32, label %66, label %69\n"]
  2290. 56 -->|true| 66
  2291. 56 -->|false| 69
  2292. 59["Block 59:\n %60 = getelementptr inbounds [14 x i8], [14 x...\n %61 = call i64 @strlen(i8* %60) #8\n %62 = load i32, i32* %9, align 4\n %63 = sext i32 %62 to i64\n %64 = add i64 %61, %63\n %65 = trunc i64 %64 to i32\n store i32 %65, i32* %11, align 4\n br label %72\n"]
  2293. 59 --> 72
  2294. 66["Block 66:\n %67 = load i32, i32* %7, align 4\n %68 = call %fused_return_projectA_main_memoiz...\n %extracted_target_returntarget_ = extractvalu...\n store i32 %extracted_target_returntarget_, i3...\n br label %74\n"]
  2295. 66 --> 74
  2296. 69["Block 69:\n %70 = load i32, i32* %9, align 4\n %71 = call i32 @fused_quickSort(i1 true, i32*...\n store i32 %71, i32* %11, align 4\n br label %74\n"]
  2297. 69 --> 74
  2298. 72["Block 72:\n %73 = load i32, i32* %11, align 4\n ret i32 %48\n"]
  2299. 74["Block 74:\n br label %target_phi_2\n"]
  2300. 74 --> target_phi_2
  2301. bunker_cond_2["Block bunker_cond_2:\n %75 = icmp eq i1 %0, false\n br i1 %75, label %76, label %bunker_skip_2\n"]
  2302. bunker_cond_2 -->|true| 76
  2303. bunker_cond_2 -->|false| bunker_skip_2
  2304. bunker_skip_2["Block bunker_skip_2:\n br label %bunker_phi_2\n"]
  2305. bunker_skip_2 --> bunker_phi_2
  2306. bunker_phi_2["Block bunker_phi_2:\n"]
  2307. 76["Block 76:\n ret void\n br label %bunker_phi_2\n"]
  2308. 76 --> bunker_phi_2
  2309. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  2310. ```
  2311. [DEBUG][performCodeFusion] Processing return values for fused function: fused_setErrorMessage
  2312. [DEBUG][performCodeFusion] Fused function return type: i32
  2313. [DEBUG][performCodeFusion] Non-struct return type detected: i32
  2314. [DEBUG][performCodeFusion] Updated bunker return in block %20 with value type i32
  2315. [DEBUG][performCodeFusion] Updated target return in block %47 with value type i32
  2316. [DEBUG][updateCallSite] Original call instruction:
  2317. call void @setErrorMessage(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
  2318. [DEBUG][updateCallSite] Adding bunker control parameter
  2319. [DEBUG][updateCallSite] Adding original call parameters:
  2320. [DEBUG][updateCallSite] Argument 0: type=i8*
  2321. [DEBUG][updateCallSite] Adding default target parameters:
  2322. [DEBUG][updateCallSite] New call instruction:
  2323. %44 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
  2324. [DEBUG][updateCallSite] Void return type, no value processing needed
  2325. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0)) to %44 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.9, i64 0, i64 0))
  2326. [DEBUG][updateCallSite] Original call instruction:
  2327. call void @setErrorMessage(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
  2328. [DEBUG][updateCallSite] Adding bunker control parameter
  2329. [DEBUG][updateCallSite] Adding original call parameters:
  2330. [DEBUG][updateCallSite] Argument 0: type=i8*
  2331. [DEBUG][updateCallSite] Adding default target parameters:
  2332. [DEBUG][updateCallSite] New call instruction:
  2333. %29 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
  2334. [DEBUG][updateCallSite] Void return type, no value processing needed
  2335. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0)) to %29 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
  2336. [DEBUG][updateCallSite] Original call instruction:
  2337. call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0))
  2338. [DEBUG][updateCallSite] Adding bunker control parameter
  2339. [DEBUG][updateCallSite] Adding original call parameters:
  2340. [DEBUG][updateCallSite] Argument 0: type=i8*
  2341. [DEBUG][updateCallSite] Adding default target parameters:
  2342. [DEBUG][updateCallSite] New call instruction:
  2343. %23 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0))
  2344. [DEBUG][updateCallSite] Void return type, no value processing needed
  2345. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0)) to %23 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0))
  2346. [DEBUG][updateCallSite] Original call instruction:
  2347. call void @setErrorMessage(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
  2348. [DEBUG][updateCallSite] Adding bunker control parameter
  2349. [DEBUG][updateCallSite] Adding original call parameters:
  2350. [DEBUG][updateCallSite] Argument 0: type=i8*
  2351. [DEBUG][updateCallSite] Adding default target parameters:
  2352. [DEBUG][updateCallSite] New call instruction:
  2353. %19 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
  2354. [DEBUG][updateCallSite] Void return type, no value processing needed
  2355. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0)) to %19 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
  2356. [DEBUG][updateCallSite] Original call instruction:
  2357. call void @setErrorMessage(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.31, i64 0, i64 0))
  2358. [DEBUG][updateCallSite] Adding bunker control parameter
  2359. [DEBUG][updateCallSite] Adding original call parameters:
  2360. [DEBUG][updateCallSite] Argument 0: type=i8*
  2361. [DEBUG][updateCallSite] Adding default target parameters:
  2362. [DEBUG][updateCallSite] New call instruction:
  2363. %318 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.31, i64 0, i64 0))
  2364. [DEBUG][updateCallSite] Void return type, no value processing needed
  2365. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.31, i64 0, i64 0)) to %318 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.31, i64 0, i64 0))
  2366. [DEBUG][updateCallSite] Original call instruction:
  2367. call void @setErrorMessage(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0))
  2368. [DEBUG][updateCallSite] Adding bunker control parameter
  2369. [DEBUG][updateCallSite] Adding original call parameters:
  2370. [DEBUG][updateCallSite] Argument 0: type=i8*
  2371. [DEBUG][updateCallSite] Adding default target parameters:
  2372. [DEBUG][updateCallSite] New call instruction:
  2373. %49 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0))
  2374. [DEBUG][updateCallSite] Void return type, no value processing needed
  2375. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0)) to %49 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.15, i64 0, i64 0))
  2376. [DEBUG][updateCallSite] Original call instruction:
  2377. call void @setErrorMessage(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.14, i64 0, i64 0))
  2378. [DEBUG][updateCallSite] Adding bunker control parameter
  2379. [DEBUG][updateCallSite] Adding original call parameters:
  2380. [DEBUG][updateCallSite] Argument 0: type=i8*
  2381. [DEBUG][updateCallSite] Adding default target parameters:
  2382. [DEBUG][updateCallSite] New call instruction:
  2383. %33 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.14, i64 0, i64 0))
  2384. [DEBUG][updateCallSite] Void return type, no value processing needed
  2385. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.14, i64 0, i64 0)) to %33 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.14, i64 0, i64 0))
  2386. [DEBUG][updateCallSite] Original call instruction:
  2387. call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0))
  2388. [DEBUG][updateCallSite] Adding bunker control parameter
  2389. [DEBUG][updateCallSite] Adding original call parameters:
  2390. [DEBUG][updateCallSite] Argument 0: type=i8*
  2391. [DEBUG][updateCallSite] Adding default target parameters:
  2392. [DEBUG][updateCallSite] New call instruction:
  2393. %26 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0))
  2394. [DEBUG][updateCallSite] Void return type, no value processing needed
  2395. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0)) to %26 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0))
  2396. [DEBUG][updateCallSite] Original call instruction:
  2397. call void @setErrorMessage(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.55, i64 0, i64 0))
  2398. [DEBUG][updateCallSite] Adding bunker control parameter
  2399. [DEBUG][updateCallSite] Adding original call parameters:
  2400. [DEBUG][updateCallSite] Argument 0: type=i8*
  2401. [DEBUG][updateCallSite] Adding default target parameters:
  2402. [DEBUG][updateCallSite] New call instruction:
  2403. %139 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.55, i64 0, i64 0))
  2404. [DEBUG][updateCallSite] Void return type, no value processing needed
  2405. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.55, i64 0, i64 0)) to %139 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.55, i64 0, i64 0))
  2406. [DEBUG][updateCallSite] Original call instruction:
  2407. call void @setErrorMessage(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.54, i64 0, i64 0))
  2408. [DEBUG][updateCallSite] Adding bunker control parameter
  2409. [DEBUG][updateCallSite] Adding original call parameters:
  2410. [DEBUG][updateCallSite] Argument 0: type=i8*
  2411. [DEBUG][updateCallSite] Adding default target parameters:
  2412. [DEBUG][updateCallSite] New call instruction:
  2413. %128 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.54, i64 0, i64 0))
  2414. [DEBUG][updateCallSite] Void return type, no value processing needed
  2415. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.54, i64 0, i64 0)) to %128 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.54, i64 0, i64 0))
  2416. [DEBUG][updateCallSite] Original call instruction:
  2417. call void @setErrorMessage(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.53, i64 0, i64 0))
  2418. [DEBUG][updateCallSite] Adding bunker control parameter
  2419. [DEBUG][updateCallSite] Adding original call parameters:
  2420. [DEBUG][updateCallSite] Argument 0: type=i8*
  2421. [DEBUG][updateCallSite] Adding default target parameters:
  2422. [DEBUG][updateCallSite] New call instruction:
  2423. %48 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.53, i64 0, i64 0))
  2424. [DEBUG][updateCallSite] Void return type, no value processing needed
  2425. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.53, i64 0, i64 0)) to %48 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.53, i64 0, i64 0))
  2426. [DEBUG][updateCallSite] Original call instruction:
  2427. call void @setErrorMessage(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.52, i64 0, i64 0))
  2428. [DEBUG][updateCallSite] Adding bunker control parameter
  2429. [DEBUG][updateCallSite] Adding original call parameters:
  2430. [DEBUG][updateCallSite] Argument 0: type=i8*
  2431. [DEBUG][updateCallSite] Adding default target parameters:
  2432. [DEBUG][updateCallSite] New call instruction:
  2433. %33 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.52, i64 0, i64 0))
  2434. [DEBUG][updateCallSite] Void return type, no value processing needed
  2435. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.52, i64 0, i64 0)) to %33 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.52, i64 0, i64 0))
  2436. [DEBUG][updateCallSite] Original call instruction:
  2437. call void @setErrorMessage(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i64 0, i64 0))
  2438. [DEBUG][updateCallSite] Adding bunker control parameter
  2439. [DEBUG][updateCallSite] Adding original call parameters:
  2440. [DEBUG][updateCallSite] Argument 0: type=i8*
  2441. [DEBUG][updateCallSite] Adding default target parameters:
  2442. [DEBUG][updateCallSite] New call instruction:
  2443. %26 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i64 0, i64 0))
  2444. [DEBUG][updateCallSite] Void return type, no value processing needed
  2445. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i64 0, i64 0)) to %26 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.51, i64 0, i64 0))
  2446. [DEBUG][updateCallSite] Original call instruction:
  2447. call void @setErrorMessage(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0))
  2448. [DEBUG][updateCallSite] Adding bunker control parameter
  2449. [DEBUG][updateCallSite] Adding original call parameters:
  2450. [DEBUG][updateCallSite] Argument 0: type=i8*
  2451. [DEBUG][updateCallSite] Adding default target parameters:
  2452. [DEBUG][updateCallSite] New call instruction:
  2453. %21 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0))
  2454. [DEBUG][updateCallSite] Void return type, no value processing needed
  2455. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0)) to %21 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.50, i64 0, i64 0))
  2456. [DEBUG][updateCallSite] Original call instruction:
  2457. call void @setErrorMessage(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.49, i64 0, i64 0))
  2458. [DEBUG][updateCallSite] Adding bunker control parameter
  2459. [DEBUG][updateCallSite] Adding original call parameters:
  2460. [DEBUG][updateCallSite] Argument 0: type=i8*
  2461. [DEBUG][updateCallSite] Adding default target parameters:
  2462. [DEBUG][updateCallSite] New call instruction:
  2463. %14 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.49, i64 0, i64 0))
  2464. [DEBUG][updateCallSite] Void return type, no value processing needed
  2465. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.49, i64 0, i64 0)) to %14 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.49, i64 0, i64 0))
  2466. [DEBUG][updateCallSite] Original call instruction:
  2467. call void @setErrorMessage(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.48, i64 0, i64 0))
  2468. [DEBUG][updateCallSite] Adding bunker control parameter
  2469. [DEBUG][updateCallSite] Adding original call parameters:
  2470. [DEBUG][updateCallSite] Argument 0: type=i8*
  2471. [DEBUG][updateCallSite] Adding default target parameters:
  2472. [DEBUG][updateCallSite] New call instruction:
  2473. %71 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.48, i64 0, i64 0))
  2474. [DEBUG][updateCallSite] Void return type, no value processing needed
  2475. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.48, i64 0, i64 0)) to %71 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.48, i64 0, i64 0))
  2476. [DEBUG][updateCallSite] Original call instruction:
  2477. call void @setErrorMessage(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.47, i64 0, i64 0))
  2478. [DEBUG][updateCallSite] Adding bunker control parameter
  2479. [DEBUG][updateCallSite] Adding original call parameters:
  2480. [DEBUG][updateCallSite] Argument 0: type=i8*
  2481. [DEBUG][updateCallSite] Adding default target parameters:
  2482. [DEBUG][updateCallSite] New call instruction:
  2483. %53 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.47, i64 0, i64 0))
  2484. [DEBUG][updateCallSite] Void return type, no value processing needed
  2485. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.47, i64 0, i64 0)) to %53 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.47, i64 0, i64 0))
  2486. [DEBUG][updateCallSite] Original call instruction:
  2487. call void @setErrorMessage(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.46, i64 0, i64 0))
  2488. [DEBUG][updateCallSite] Adding bunker control parameter
  2489. [DEBUG][updateCallSite] Adding original call parameters:
  2490. [DEBUG][updateCallSite] Argument 0: type=i8*
  2491. [DEBUG][updateCallSite] Adding default target parameters:
  2492. [DEBUG][updateCallSite] New call instruction:
  2493. %36 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.46, i64 0, i64 0))
  2494. [DEBUG][updateCallSite] Void return type, no value processing needed
  2495. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.46, i64 0, i64 0)) to %36 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.46, i64 0, i64 0))
  2496. [DEBUG][updateCallSite] Original call instruction:
  2497. call void @setErrorMessage(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
  2498. [DEBUG][updateCallSite] Adding bunker control parameter
  2499. [DEBUG][updateCallSite] Adding original call parameters:
  2500. [DEBUG][updateCallSite] Argument 0: type=i8*
  2501. [DEBUG][updateCallSite] Adding default target parameters:
  2502. [DEBUG][updateCallSite] New call instruction:
  2503. %25 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
  2504. [DEBUG][updateCallSite] Void return type, no value processing needed
  2505. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0)) to %25 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
  2506. [DEBUG][updateCallSite] Original call instruction:
  2507. call void @setErrorMessage(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0))
  2508. [DEBUG][updateCallSite] Adding bunker control parameter
  2509. [DEBUG][updateCallSite] Adding original call parameters:
  2510. [DEBUG][updateCallSite] Argument 0: type=i8*
  2511. [DEBUG][updateCallSite] Adding default target parameters:
  2512. [DEBUG][updateCallSite] New call instruction:
  2513. %14 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0))
  2514. [DEBUG][updateCallSite] Void return type, no value processing needed
  2515. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0)) to %14 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.45, i64 0, i64 0))
  2516. [DEBUG][updateCallSite] Original call instruction:
  2517. call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
  2518. [DEBUG][updateCallSite] Adding bunker control parameter
  2519. [DEBUG][updateCallSite] Adding original call parameters:
  2520. [DEBUG][updateCallSite] Argument 0: type=i8*
  2521. [DEBUG][updateCallSite] Adding default target parameters:
  2522. [DEBUG][updateCallSite] New call instruction:
  2523. %8 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
  2524. [DEBUG][updateCallSite] Void return type, no value processing needed
  2525. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0)) to %8 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
  2526. [DEBUG][updateCallSite] Original call instruction:
  2527. call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.44, i64 0, i64 0))
  2528. [DEBUG][updateCallSite] Adding bunker control parameter
  2529. [DEBUG][updateCallSite] Adding original call parameters:
  2530. [DEBUG][updateCallSite] Argument 0: type=i8*
  2531. [DEBUG][updateCallSite] Adding default target parameters:
  2532. [DEBUG][updateCallSite] New call instruction:
  2533. %85 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.44, i64 0, i64 0))
  2534. [DEBUG][updateCallSite] Void return type, no value processing needed
  2535. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.44, i64 0, i64 0)) to %85 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.44, i64 0, i64 0))
  2536. [DEBUG][updateCallSite] Original call instruction:
  2537. call void @setErrorMessage(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.43, i64 0, i64 0))
  2538. [DEBUG][updateCallSite] Adding bunker control parameter
  2539. [DEBUG][updateCallSite] Adding original call parameters:
  2540. [DEBUG][updateCallSite] Argument 0: type=i8*
  2541. [DEBUG][updateCallSite] Adding default target parameters:
  2542. [DEBUG][updateCallSite] New call instruction:
  2543. %77 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.43, i64 0, i64 0))
  2544. [DEBUG][updateCallSite] Void return type, no value processing needed
  2545. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.43, i64 0, i64 0)) to %77 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.43, i64 0, i64 0))
  2546. [DEBUG][updateCallSite] Original call instruction:
  2547. call void @setErrorMessage(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i64 0, i64 0))
  2548. [DEBUG][updateCallSite] Adding bunker control parameter
  2549. [DEBUG][updateCallSite] Adding original call parameters:
  2550. [DEBUG][updateCallSite] Argument 0: type=i8*
  2551. [DEBUG][updateCallSite] Adding default target parameters:
  2552. [DEBUG][updateCallSite] New call instruction:
  2553. %58 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i64 0, i64 0))
  2554. [DEBUG][updateCallSite] Void return type, no value processing needed
  2555. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i64 0, i64 0)) to %58 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.40, i64 0, i64 0))
  2556. [DEBUG][updateCallSite] Original call instruction:
  2557. call void @setErrorMessage(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.39, i64 0, i64 0))
  2558. [DEBUG][updateCallSite] Adding bunker control parameter
  2559. [DEBUG][updateCallSite] Adding original call parameters:
  2560. [DEBUG][updateCallSite] Argument 0: type=i8*
  2561. [DEBUG][updateCallSite] Adding default target parameters:
  2562. [DEBUG][updateCallSite] New call instruction:
  2563. %38 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.39, i64 0, i64 0))
  2564. [DEBUG][updateCallSite] Void return type, no value processing needed
  2565. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.39, i64 0, i64 0)) to %38 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.39, i64 0, i64 0))
  2566. [DEBUG][updateCallSite] Original call instruction:
  2567. call void @setErrorMessage(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.38, i64 0, i64 0))
  2568. [DEBUG][updateCallSite] Adding bunker control parameter
  2569. [DEBUG][updateCallSite] Adding original call parameters:
  2570. [DEBUG][updateCallSite] Argument 0: type=i8*
  2571. [DEBUG][updateCallSite] Adding default target parameters:
  2572. [DEBUG][updateCallSite] New call instruction:
  2573. %24 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.38, i64 0, i64 0))
  2574. [DEBUG][updateCallSite] Void return type, no value processing needed
  2575. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.38, i64 0, i64 0)) to %24 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.38, i64 0, i64 0))
  2576. [DEBUG][updateCallSite] Original call instruction:
  2577. call void @setErrorMessage(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.37, i64 0, i64 0))
  2578. [DEBUG][updateCallSite] Adding bunker control parameter
  2579. [DEBUG][updateCallSite] Adding original call parameters:
  2580. [DEBUG][updateCallSite] Argument 0: type=i8*
  2581. [DEBUG][updateCallSite] Adding default target parameters:
  2582. [DEBUG][updateCallSite] New call instruction:
  2583. %18 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.37, i64 0, i64 0))
  2584. [DEBUG][updateCallSite] Void return type, no value processing needed
  2585. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.37, i64 0, i64 0)) to %18 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.37, i64 0, i64 0))
  2586. [DEBUG][updateCallSite] Original call instruction:
  2587. call void @setErrorMessage(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.36, i64 0, i64 0))
  2588. [DEBUG][updateCallSite] Adding bunker control parameter
  2589. [DEBUG][updateCallSite] Adding original call parameters:
  2590. [DEBUG][updateCallSite] Argument 0: type=i8*
  2591. [DEBUG][updateCallSite] Adding default target parameters:
  2592. [DEBUG][updateCallSite] New call instruction:
  2593. %12 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.36, i64 0, i64 0))
  2594. [DEBUG][updateCallSite] Void return type, no value processing needed
  2595. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.36, i64 0, i64 0)) to %12 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.36, i64 0, i64 0))
  2596. [DEBUG][updateCallSite] Original call instruction:
  2597. call void @setErrorMessage(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.35, i64 0, i64 0))
  2598. [DEBUG][updateCallSite] Adding bunker control parameter
  2599. [DEBUG][updateCallSite] Adding original call parameters:
  2600. [DEBUG][updateCallSite] Argument 0: type=i8*
  2601. [DEBUG][updateCallSite] Adding default target parameters:
  2602. [DEBUG][updateCallSite] New call instruction:
  2603. %99 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.35, i64 0, i64 0))
  2604. [DEBUG][updateCallSite] Void return type, no value processing needed
  2605. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.35, i64 0, i64 0)) to %99 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.35, i64 0, i64 0))
  2606. [DEBUG][updateCallSite] Original call instruction:
  2607. call void @setErrorMessage(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.34, i64 0, i64 0))
  2608. [DEBUG][updateCallSite] Adding bunker control parameter
  2609. [DEBUG][updateCallSite] Adding original call parameters:
  2610. [DEBUG][updateCallSite] Argument 0: type=i8*
  2611. [DEBUG][updateCallSite] Adding default target parameters:
  2612. [DEBUG][updateCallSite] New call instruction:
  2613. %77 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.34, i64 0, i64 0))
  2614. [DEBUG][updateCallSite] Void return type, no value processing needed
  2615. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.34, i64 0, i64 0)) to %77 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.34, i64 0, i64 0))
  2616. [DEBUG][updateCallSite] Original call instruction:
  2617. call void @setErrorMessage(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.33, i64 0, i64 0))
  2618. [DEBUG][updateCallSite] Adding bunker control parameter
  2619. [DEBUG][updateCallSite] Adding original call parameters:
  2620. [DEBUG][updateCallSite] Argument 0: type=i8*
  2621. [DEBUG][updateCallSite] Adding default target parameters:
  2622. [DEBUG][updateCallSite] New call instruction:
  2623. %41 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.33, i64 0, i64 0))
  2624. [DEBUG][updateCallSite] Void return type, no value processing needed
  2625. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.33, i64 0, i64 0)) to %41 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.33, i64 0, i64 0))
  2626. [DEBUG][updateCallSite] Original call instruction:
  2627. call void @setErrorMessage(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.32, i64 0, i64 0))
  2628. [DEBUG][updateCallSite] Adding bunker control parameter
  2629. [DEBUG][updateCallSite] Adding original call parameters:
  2630. [DEBUG][updateCallSite] Argument 0: type=i8*
  2631. [DEBUG][updateCallSite] Adding default target parameters:
  2632. [DEBUG][updateCallSite] New call instruction:
  2633. %19 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.32, i64 0, i64 0))
  2634. [DEBUG][updateCallSite] Void return type, no value processing needed
  2635. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.32, i64 0, i64 0)) to %19 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.32, i64 0, i64 0))
  2636. [DEBUG][updateCallSite] Original call instruction:
  2637. call void @setErrorMessage(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0))
  2638. [DEBUG][updateCallSite] Adding bunker control parameter
  2639. [DEBUG][updateCallSite] Adding original call parameters:
  2640. [DEBUG][updateCallSite] Argument 0: type=i8*
  2641. [DEBUG][updateCallSite] Adding default target parameters:
  2642. [DEBUG][updateCallSite] New call instruction:
  2643. %55 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0))
  2644. [DEBUG][updateCallSite] Void return type, no value processing needed
  2645. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0)) to %55 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.26, i64 0, i64 0))
  2646. [DEBUG][updateCallSite] Original call instruction:
  2647. call void @setErrorMessage(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.25, i64 0, i64 0))
  2648. [DEBUG][updateCallSite] Adding bunker control parameter
  2649. [DEBUG][updateCallSite] Adding original call parameters:
  2650. [DEBUG][updateCallSite] Argument 0: type=i8*
  2651. [DEBUG][updateCallSite] Adding default target parameters:
  2652. [DEBUG][updateCallSite] New call instruction:
  2653. %15 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.25, i64 0, i64 0))
  2654. [DEBUG][updateCallSite] Void return type, no value processing needed
  2655. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.25, i64 0, i64 0)) to %15 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.25, i64 0, i64 0))
  2656. [DEBUG][updateCallSite] Original call instruction:
  2657. call void @setErrorMessage(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.24, i64 0, i64 0))
  2658. [DEBUG][updateCallSite] Adding bunker control parameter
  2659. [DEBUG][updateCallSite] Adding original call parameters:
  2660. [DEBUG][updateCallSite] Argument 0: type=i8*
  2661. [DEBUG][updateCallSite] Adding default target parameters:
  2662. [DEBUG][updateCallSite] New call instruction:
  2663. %118 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.24, i64 0, i64 0))
  2664. [DEBUG][updateCallSite] Void return type, no value processing needed
  2665. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.24, i64 0, i64 0)) to %118 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.24, i64 0, i64 0))
  2666. [DEBUG][updateCallSite] Original call instruction:
  2667. call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
  2668. [DEBUG][updateCallSite] Adding bunker control parameter
  2669. [DEBUG][updateCallSite] Adding original call parameters:
  2670. [DEBUG][updateCallSite] Argument 0: type=i8*
  2671. [DEBUG][updateCallSite] Adding default target parameters:
  2672. [DEBUG][updateCallSite] New call instruction:
  2673. %51 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
  2674. [DEBUG][updateCallSite] Void return type, no value processing needed
  2675. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0)) to %51 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
  2676. [DEBUG][updateCallSite] Original call instruction:
  2677. call void @setErrorMessage(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.23, i64 0, i64 0))
  2678. [DEBUG][updateCallSite] Adding bunker control parameter
  2679. [DEBUG][updateCallSite] Adding original call parameters:
  2680. [DEBUG][updateCallSite] Argument 0: type=i8*
  2681. [DEBUG][updateCallSite] Adding default target parameters:
  2682. [DEBUG][updateCallSite] New call instruction:
  2683. %40 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.23, i64 0, i64 0))
  2684. [DEBUG][updateCallSite] Void return type, no value processing needed
  2685. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.23, i64 0, i64 0)) to %40 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.23, i64 0, i64 0))
  2686. [DEBUG][updateCallSite] Original call instruction:
  2687. call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0))
  2688. [DEBUG][updateCallSite] Adding bunker control parameter
  2689. [DEBUG][updateCallSite] Adding original call parameters:
  2690. [DEBUG][updateCallSite] Argument 0: type=i8*
  2691. [DEBUG][updateCallSite] Adding default target parameters:
  2692. [DEBUG][updateCallSite] New call instruction:
  2693. %31 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0))
  2694. [DEBUG][updateCallSite] Void return type, no value processing needed
  2695. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0)) to %31 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.22, i64 0, i64 0))
  2696. [DEBUG][updateCallSite] Original call instruction:
  2697. call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
  2698. [DEBUG][updateCallSite] Adding bunker control parameter
  2699. [DEBUG][updateCallSite] Adding original call parameters:
  2700. [DEBUG][updateCallSite] Argument 0: type=i8*
  2701. [DEBUG][updateCallSite] Adding default target parameters:
  2702. [DEBUG][updateCallSite] New call instruction:
  2703. %20 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
  2704. [DEBUG][updateCallSite] Void return type, no value processing needed
  2705. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0)) to %20 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.21, i64 0, i64 0))
  2706. [DEBUG][updateCallSite] Original call instruction:
  2707. call void @setErrorMessage(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.20, i64 0, i64 0))
  2708. [DEBUG][updateCallSite] Adding bunker control parameter
  2709. [DEBUG][updateCallSite] Adding original call parameters:
  2710. [DEBUG][updateCallSite] Argument 0: type=i8*
  2711. [DEBUG][updateCallSite] Adding default target parameters:
  2712. [DEBUG][updateCallSite] New call instruction:
  2713. %105 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.20, i64 0, i64 0))
  2714. [DEBUG][updateCallSite] Void return type, no value processing needed
  2715. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.20, i64 0, i64 0)) to %105 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.20, i64 0, i64 0))
  2716. [DEBUG][updateCallSite] Original call instruction:
  2717. call void @setErrorMessage(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0))
  2718. [DEBUG][updateCallSite] Adding bunker control parameter
  2719. [DEBUG][updateCallSite] Adding original call parameters:
  2720. [DEBUG][updateCallSite] Argument 0: type=i8*
  2721. [DEBUG][updateCallSite] Adding default target parameters:
  2722. [DEBUG][updateCallSite] New call instruction:
  2723. %57 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0))
  2724. [DEBUG][updateCallSite] Void return type, no value processing needed
  2725. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0)) to %57 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0))
  2726. [DEBUG][updateCallSite] Original call instruction:
  2727. call void @setErrorMessage(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.18, i64 0, i64 0))
  2728. [DEBUG][updateCallSite] Adding bunker control parameter
  2729. [DEBUG][updateCallSite] Adding original call parameters:
  2730. [DEBUG][updateCallSite] Argument 0: type=i8*
  2731. [DEBUG][updateCallSite] Adding default target parameters:
  2732. [DEBUG][updateCallSite] New call instruction:
  2733. %28 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.18, i64 0, i64 0))
  2734. [DEBUG][updateCallSite] Void return type, no value processing needed
  2735. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.18, i64 0, i64 0)) to %28 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.18, i64 0, i64 0))
  2736. [DEBUG][updateCallSite] Original call instruction:
  2737. call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
  2738. [DEBUG][updateCallSite] Adding bunker control parameter
  2739. [DEBUG][updateCallSite] Adding original call parameters:
  2740. [DEBUG][updateCallSite] Argument 0: type=i8*
  2741. [DEBUG][updateCallSite] Adding default target parameters:
  2742. [DEBUG][updateCallSite] New call instruction:
  2743. %22 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
  2744. [DEBUG][updateCallSite] Void return type, no value processing needed
  2745. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0)) to %22 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.17, i64 0, i64 0))
  2746. [DEBUG][updateCallSite] Original call instruction:
  2747. call void @setErrorMessage(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
  2748. [DEBUG][updateCallSite] Adding bunker control parameter
  2749. [DEBUG][updateCallSite] Adding original call parameters:
  2750. [DEBUG][updateCallSite] Argument 0: type=i8*
  2751. [DEBUG][updateCallSite] Adding default target parameters:
  2752. [DEBUG][updateCallSite] New call instruction:
  2753. %15 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
  2754. [DEBUG][updateCallSite] Void return type, no value processing needed
  2755. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0)) to %15 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
  2756. [DEBUG][updateCallSite] Original call instruction:
  2757. call void @setErrorMessage(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0))
  2758. [DEBUG][updateCallSite] Adding bunker control parameter
  2759. [DEBUG][updateCallSite] Adding original call parameters:
  2760. [DEBUG][updateCallSite] Argument 0: type=i8*
  2761. [DEBUG][updateCallSite] Adding default target parameters:
  2762. [DEBUG][updateCallSite] New call instruction:
  2763. %45 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0))
  2764. [DEBUG][updateCallSite] Void return type, no value processing needed
  2765. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0)) to %45 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0))
  2766. [DEBUG][updateCallSite] Original call instruction:
  2767. call void @setErrorMessage(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
  2768. [DEBUG][updateCallSite] Adding bunker control parameter
  2769. [DEBUG][updateCallSite] Adding original call parameters:
  2770. [DEBUG][updateCallSite] Argument 0: type=i8*
  2771. [DEBUG][updateCallSite] Adding default target parameters:
  2772. [DEBUG][updateCallSite] New call instruction:
  2773. %16 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
  2774. [DEBUG][updateCallSite] Void return type, no value processing needed
  2775. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0)) to %16 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
  2776. [DEBUG][updateCallSite] Original call instruction:
  2777. call void @setErrorMessage(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
  2778. [DEBUG][updateCallSite] Adding bunker control parameter
  2779. [DEBUG][updateCallSite] Adding original call parameters:
  2780. [DEBUG][updateCallSite] Argument 0: type=i8*
  2781. [DEBUG][updateCallSite] Adding default target parameters:
  2782. [DEBUG][updateCallSite] New call instruction:
  2783. %10 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
  2784. [DEBUG][updateCallSite] Void return type, no value processing needed
  2785. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0)) to %10 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0))
  2786. [DEBUG][updateCallSite] Original call instruction:
  2787. call void @setErrorMessage(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
  2788. [DEBUG][updateCallSite] Adding bunker control parameter
  2789. [DEBUG][updateCallSite] Adding original call parameters:
  2790. [DEBUG][updateCallSite] Argument 0: type=i8*
  2791. [DEBUG][updateCallSite] Adding default target parameters:
  2792. [DEBUG][updateCallSite] New call instruction:
  2793. %43 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
  2794. [DEBUG][updateCallSite] Void return type, no value processing needed
  2795. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0)) to %43 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
  2796. [DEBUG][updateCallSite] Original call instruction:
  2797. call void @setErrorMessage(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
  2798. [DEBUG][updateCallSite] Adding bunker control parameter
  2799. [DEBUG][updateCallSite] Adding original call parameters:
  2800. [DEBUG][updateCallSite] Argument 0: type=i8*
  2801. [DEBUG][updateCallSite] Adding default target parameters:
  2802. [DEBUG][updateCallSite] New call instruction:
  2803. %22 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
  2804. [DEBUG][updateCallSite] Void return type, no value processing needed
  2805. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0)) to %22 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
  2806. [DEBUG][updateCallSite] Original call instruction:
  2807. call void @setErrorMessage(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
  2808. [DEBUG][updateCallSite] Adding bunker control parameter
  2809. [DEBUG][updateCallSite] Adding original call parameters:
  2810. [DEBUG][updateCallSite] Argument 0: type=i8*
  2811. [DEBUG][updateCallSite] Adding default target parameters:
  2812. [DEBUG][updateCallSite] New call instruction:
  2813. %16 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
  2814. [DEBUG][updateCallSite] Void return type, no value processing needed
  2815. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0)) to %16 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0))
  2816. [DEBUG][updateCallSite] Original call instruction:
  2817. call void @setErrorMessage(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
  2818. [DEBUG][updateCallSite] Adding bunker control parameter
  2819. [DEBUG][updateCallSite] Adding original call parameters:
  2820. [DEBUG][updateCallSite] Argument 0: type=i8*
  2821. [DEBUG][updateCallSite] Adding default target parameters:
  2822. [DEBUG][updateCallSite] New call instruction:
  2823. %10 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
  2824. [DEBUG][updateCallSite] Void return type, no value processing needed
  2825. [INFO][updateCallSite] Successfully updated call site from call void @setErrorMessage(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0)) to %10 = call i32 @fused_setErrorMessage(i1 false, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
  2826. [INFO][performCodeFusion] Completed function fusion: fused_setErrorMessage
  2827. [INFO][performCodeFusion] Processing function pair: target=reverseString, bunker=createMatrix
  2828. [INFO][performCodeFusion] adding: %5
  2829. [INFO][performCodeFusion] before push Block ID: %5
  2830. [INFO][performCodeFusion] adding: %129
  2831. [INFO][performCodeFusion] adding: %134
  2832. [INFO][performCodeFusion] adding: %160
  2833. [INFO][performCodeFusion] adding: %161
  2834. [INFO][performCodeFusion] before push Block ID: %129
  2835. [INFO][performCodeFusion] before push Block ID: %134
  2836. [INFO][performCodeFusion] before push Block ID: %160
  2837. [INFO][performCodeFusion] before push Block ID: %161
  2838. [INFO][performCodeFusion] Listing all instructions after block cloning in function: fused_createMatrix
  2839. ```mermaid: fused_createMatrix
  2840. graph TD
  2841. entry["Block entry:\n br label %target_cond_0\n"]
  2842. entry --> target_cond_0
  2843. target_cond_0["Block target_cond_0:\n %4 = icmp eq i1 %0, true\n br i1 %4, label %5, label %target_skip_0\n"]
  2844. target_cond_0 -->|true| 5
  2845. target_cond_0 -->|false| target_skip_0
  2846. target_skip_0["Block target_skip_0:\n br label %target_phi_0\n"]
  2847. target_skip_0 --> target_phi_0
  2848. target_phi_0["Block target_phi_0:\n br label %bunker_cond_0\n"]
  2849. target_phi_0 --> bunker_cond_0
  2850. 5["Block 5:\n %6 = alloca i8*, align 8\n %7 = alloca i32, align 4\n %8 = alloca i32, align 4\n %9 = alloca i8, align 1\n store i8* %3, i8** %6, align 8\n %10 = load i8*, i8** %6, align 8\n %11 = call i64 @strlen(i8* %10) #7\n %12 = trunc i64 %11 to i32\n store i32 %12, i32* %7, align 4\n store i32 0, i32* %8, align 4\n br label %target_phi_0\n"]
  2851. 5 --> target_phi_0
  2852. bunker_cond_0["Block bunker_cond_0:\n %13 = icmp eq i1 %0, false\n br i1 %13, label %14, label %bunker_skip_0\n"]
  2853. bunker_cond_0 -->|true| 14
  2854. bunker_cond_0 -->|false| bunker_skip_0
  2855. bunker_skip_0["Block bunker_skip_0:\n br label %bunker_phi_0\n"]
  2856. bunker_skip_0 --> bunker_phi_0
  2857. bunker_phi_0["Block bunker_phi_0:\n br label %target_cond_1\n"]
  2858. bunker_phi_0 --> target_cond_1
  2859. 14["Block 14:\n %15 = alloca %struct.Matrix*, align 8\n %16 = alloca i32, align 4\n %17 = alloca i32, align 4\n %18 = alloca %struct.Matrix*, align 8\n %19 = alloca i32, align 4\n %20 = alloca i32, align 4\n store i32 %1, i32* %16, align 4\n store i32 %2, i32* %17, align 4\n %21 = load i32, i32* %16, align 4\n %22 = icmp slt i32 %21, 1\n br i1 %10, label %26, label %23\n"]
  2860. 14 -->|true| 26
  2861. 14 -->|false| 23
  2862. 23["Block 23:\n %24 = load i32, i32* %17, align 4\n %25 = icmp slt i32 %24, 1\n br i1 %13, label %26, label %28\n"]
  2863. 23 -->|true| 26
  2864. 23 -->|false| 28
  2865. 26["Block 26:\n %27 = call i32 @fused_setErrorMessage(i1 fals...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %165\n"]
  2866. 26 --> 165
  2867. 28["Block 28:\n %29 = load i32, i32* %16, align 4\n %30 = icmp sgt i32 %29, 100\n br i1 %18, label %34, label %31\n"]
  2868. 28 -->|true| 34
  2869. 28 -->|false| 31
  2870. 31["Block 31:\n %32 = load i32, i32* %17, align 4\n %33 = icmp sgt i32 %32, 100\n br i1 %21, label %34, label %36\n"]
  2871. 31 -->|true| 34
  2872. 31 -->|false| 36
  2873. 34["Block 34:\n %35 = call i32 @fused_setErrorMessage(i1 fals...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %165\n"]
  2874. 34 --> 165
  2875. 36["Block 36:\n %37 = call noalias i8* @malloc(i64 32) #8\n %38 = bitcast i8* %37 to %struct.Matrix*\n store %struct.Matrix* %38, %struct.Matrix** %...\n %39 = load %struct.Matrix*, %struct.Matrix** ...\n %40 = icmp ne %struct.Matrix* %39, null\n br i1 %28, label %43, label %41\n"]
  2876. 36 -->|true| 43
  2877. 36 -->|false| 41
  2878. 41["Block 41:\n %42 = call i32 @fused_setErrorMessage(i1 fals...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %165\n"]
  2879. 41 --> 165
  2880. 43["Block 43:\n %44 = load i32, i32* %16, align 4\n %45 = load %struct.Matrix*, %struct.Matrix** ...\n %46 = getelementptr inbounds %struct.Matrix, ...\n store i32 %44, i32* %46, align 8\n %47 = load i32, i32* %17, align 4\n %48 = load %struct.Matrix*, %struct.Matrix** ...\n %49 = getelementptr inbounds %struct.Matrix, ...\n store i32 %47, i32* %49, align 4\n %50 = load i32, i32* %16, align 4\n %51 = load i32, i32* %17, align 4\n %52 = icmp eq i32 %50, %51\n %53 = zext i1 %52 to i32\n %54 = load %struct.Matrix*, %struct.Matrix** ...\n %55 = getelementptr inbounds %struct.Matrix, ...\n store i32 %53, i32* %55, align 8\n %56 = load %struct.Matrix*, %struct.Matrix** ...\n %57 = getelementptr inbounds %struct.Matrix, ...\n store double 0.000000e+00, double* %57, align 8\n %58 = load i32, i32* %16, align 4\n %59 = sext i32 %58 to i64\n %60 = mul i64 %59, 8\n %61 = call noalias i8* @malloc(i64 %60) #8\n %62 = bitcast i8* %61 to i32**\n %63 = load %struct.Matrix*, %struct.Matrix** ...\n %64 = getelementptr inbounds %struct.Matrix, ...\n store i32** %62, i32*** %64, align 8\n %65 = load %struct.Matrix*, %struct.Matrix** ...\n %66 = getelementptr inbounds %struct.Matrix, ...\n %67 = load i32**, i32*** %66, align 8\n %68 = icmp ne i32** %67, null\n br i1 %56, label %73, label %69\n"]
  2881. 43 -->|true| 73
  2882. 43 -->|false| 69
  2883. 69["Block 69:\n %70 = load %struct.Matrix*, %struct.Matrix** ...\n %71 = bitcast %struct.Matrix* %70 to i8*\n call void @free(i8* %71) #8\n %72 = call i32 @fused_setErrorMessage(i1 fals...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %165\n"]
  2884. 69 --> 165
  2885. 73["Block 73:\n store i32 0, i32* %19, align 4\n br label %74\n"]
  2886. 73 --> 74
  2887. 74["Block 74:\n %75 = load i32, i32* %19, align 4\n %76 = load i32, i32* %16, align 4\n %77 = icmp slt i32 %75, %76\n br i1 %65, label %78, label %126\n"]
  2888. 74 -->|true| 78
  2889. 74 -->|false| 126
  2890. 78["Block 78:\n %79 = load i32, i32* %17, align 4\n %80 = sext i32 %79 to i64\n %81 = call noalias i8* @calloc(i64 %80, i64 4...\n %82 = bitcast i8* %81 to i32*\n %83 = load %struct.Matrix*, %struct.Matrix** ...\n %84 = getelementptr inbounds %struct.Matrix, ...\n %85 = load i32**, i32*** %84, align 8\n %86 = load i32, i32* %19, align 4\n %87 = sext i32 %86 to i64\n %88 = getelementptr inbounds i32*, i32** %85,...\n store i32* %82, i32** %88, align 8\n %89 = load %struct.Matrix*, %struct.Matrix** ...\n %90 = getelementptr inbounds %struct.Matrix, ...\n %91 = load i32**, i32*** %90, align 8\n %92 = load i32, i32* %19, align 4\n %93 = sext i32 %92 to i64\n %94 = getelementptr inbounds i32*, i32** %91,...\n %95 = load i32*, i32** %94, align 8\n %96 = icmp ne i32* %95, null\n br i1 %84, label %122, label %97\n"]
  2891. 78 -->|true| 122
  2892. 78 -->|false| 97
  2893. 97["Block 97:\n store i32 0, i32* %20, align 4\n br label %98\n"]
  2894. 97 --> 98
  2895. 98["Block 98:\n %99 = load i32, i32* %20, align 4\n %100 = load i32, i32* %19, align 4\n %101 = icmp slt i32 %99, %100\n br i1 %89, label %102, label %114\n"]
  2896. 98 -->|true| 102
  2897. 98 -->|false| 114
  2898. 102["Block 102:\n %103 = load %struct.Matrix*, %struct.Matrix**...\n %104 = getelementptr inbounds %struct.Matrix,...\n %105 = load i32**, i32*** %104, align 8\n %106 = load i32, i32* %20, align 4\n %107 = sext i32 %106 to i64\n %108 = getelementptr inbounds i32*, i32** %10...\n %109 = load i32*, i32** %108, align 8\n %110 = bitcast i32* %109 to i8*\n call void @free(i8* %110) #8\n br label %111\n"]
  2899. 102 --> 111
  2900. 111["Block 111:\n %112 = load i32, i32* %20, align 4\n %113 = add nsw i32 %112, 1\n store i32 %113, i32* %20, align 4\n br label %98\n"]
  2901. 111 --> 98
  2902. 114["Block 114:\n %115 = load %struct.Matrix*, %struct.Matrix**...\n %116 = getelementptr inbounds %struct.Matrix,...\n %117 = load i32**, i32*** %116, align 8\n %118 = bitcast i32** %117 to i8*\n call void @free(i8* %118) #8\n %119 = load %struct.Matrix*, %struct.Matrix**...\n %120 = bitcast %struct.Matrix* %119 to i8*\n call void @free(i8* %120) #8\n %121 = call i32 @fused_setErrorMessage(i1 fal...\n store %struct.Matrix* null, %struct.Matrix** ...\n br label %165\n"]
  2903. 114 --> 165
  2904. 122["Block 122:\n br label %123\n"]
  2905. 122 --> 123
  2906. 123["Block 123:\n %124 = load i32, i32* %19, align 4\n %125 = add nsw i32 %124, 1\n store i32 %125, i32* %19, align 4\n br label %74\n"]
  2907. 123 --> 74
  2908. 126["Block 126:\n %127 = load %struct.Matrix*, %struct.Matrix**...\n store %struct.Matrix* %127, %struct.Matrix** ...\n br label %bunker_phi_0\n"]
  2909. 126 --> bunker_phi_0
  2910. target_cond_1["Block target_cond_1:\n %128 = icmp eq i1 %0, true\n br i1 %128, label %129, label %target_skip_1\n"]
  2911. target_cond_1 -->|true| 129
  2912. target_cond_1 -->|false| target_skip_1
  2913. target_skip_1["Block target_skip_1:\n br label %target_phi_1\n"]
  2914. target_skip_1 --> target_phi_1
  2915. target_phi_1["Block target_phi_1:\n br label %bunker_cond_1\n"]
  2916. target_phi_1 --> bunker_cond_1
  2917. 129["Block 129:\n %130 = load i32, i32* %8, align 4\n %131 = load i32, i32* %7, align 4\n %132 = sdiv i32 %131, 2\n %133 = icmp slt i32 %130, %132\n br i1 %13, label %134, label %160\n"]
  2918. 129 -->|true| 134
  2919. 129 -->|false| 160
  2920. 134["Block 134:\n %135 = load i8*, i8** %6, align 8\n %136 = load i32, i32* %8, align 4\n %137 = sext i32 %136 to i64\n %138 = getelementptr inbounds i8, i8* %135, i...\n %139 = load i8, i8* %138, align 1\n store i8 %139, i8* %9, align 1\n %140 = load i8*, i8** %6, align 8\n %141 = load i32, i32* %7, align 4\n %142 = sub nsw i32 %141, 1\n %143 = load i32, i32* %8, align 4\n %144 = sub nsw i32 %142, %143\n %145 = sext i32 %144 to i64\n %146 = getelementptr inbounds i8, i8* %140, i...\n %147 = load i8, i8* %146, align 1\n %148 = load i8*, i8** %6, align 8\n %149 = load i32, i32* %8, align 4\n %150 = sext i32 %149 to i64\n %151 = getelementptr inbounds i8, i8* %148, i...\n store i8 %147, i8* %151, align 1\n %152 = load i8, i8* %9, align 1\n %153 = load i8*, i8** %6, align 8\n %154 = load i32, i32* %7, align 4\n %155 = sub nsw i32 %154, 1\n %156 = load i32, i32* %8, align 4\n %157 = sub nsw i32 %155, %156\n %158 = sext i32 %157 to i64\n %159 = getelementptr inbounds i8, i8* %153, i...\n store i8 %152, i8* %159, align 1\n br label %161\n"]
  2921. 134 --> 161
  2922. 160["Block 160:\n ret void\n"]
  2923. 161["Block 161:\n %162 = load i32, i32* %8, align 4\n %163 = add nsw i32 %162, 1\n store i32 %163, i32* %8, align 4\n br label %target_phi_1\n"]
  2924. 161 --> target_phi_1
  2925. bunker_cond_1["Block bunker_cond_1:\n %164 = icmp eq i1 %0, false\n br i1 %164, label %165, label %bunker_skip_1\n"]
  2926. bunker_cond_1 -->|true| 165
  2927. bunker_cond_1 -->|false| bunker_skip_1
  2928. bunker_skip_1["Block bunker_skip_1:\n br label %bunker_phi_1\n"]
  2929. bunker_skip_1 --> bunker_phi_1
  2930. bunker_phi_1["Block bunker_phi_1:\n"]
  2931. 165["Block 165:\n %166 = load %struct.Matrix*, %struct.Matrix**...\n ret %struct.Matrix* %166\n br label %bunker_phi_1\n"]
  2932. 165 --> bunker_phi_1
  2933. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  2934. ```
  2935. [DEBUG][performCodeFusion] Processing return values for fused function: fused_createMatrix
  2936. [DEBUG][performCodeFusion] Fused function return type: struct.Matrix*
  2937. [DEBUG][performCodeFusion] Non-struct return type detected: struct.Matrix*
  2938. [DEBUG][performCodeFusion] Updated bunker return in block %116 with value type struct.Matrix*
  2939. [DEBUG][performCodeFusion] Updated target return in block %43 with value type struct.Matrix*
  2940. [DEBUG][updateCallSite] Original call instruction:
  2941. %86 = call %struct.Matrix* @createMatrix(i32 3, i32 3)
  2942. [DEBUG][updateCallSite] Adding bunker control parameter
  2943. [DEBUG][updateCallSite] Adding original call parameters:
  2944. [DEBUG][updateCallSite] Argument 0: type=i32
  2945. [DEBUG][updateCallSite] Argument 1: type=i32
  2946. [DEBUG][updateCallSite] Adding default target parameters:
  2947. [DEBUG][updateCallSite] Parameter type: i8*
  2948. [DEBUG][updateCallSite] New call instruction:
  2949. %86 = call %struct.Matrix* @fused_createMatrix(i1 false, i32 3, i32 3, i8* null)
  2950. [DEBUG][updateCallSite] Processing non-void return value of type: struct.Matrix*
  2951. [DEBUG][updateCallSite] Using direct return value
  2952. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2953. [INFO][updateCallSite] Successfully updated call site from %86 = call %struct.Matrix* @createMatrix(i32 3, i32 3) to %86 = call %struct.Matrix* @fused_createMatrix(i1 false, i32 3, i32 3, i8* null)
  2954. [DEBUG][updateCallSite] Original call instruction:
  2955. %85 = call %struct.Matrix* @createMatrix(i32 3, i32 3)
  2956. [DEBUG][updateCallSite] Adding bunker control parameter
  2957. [DEBUG][updateCallSite] Adding original call parameters:
  2958. [DEBUG][updateCallSite] Argument 0: type=i32
  2959. [DEBUG][updateCallSite] Argument 1: type=i32
  2960. [DEBUG][updateCallSite] Adding default target parameters:
  2961. [DEBUG][updateCallSite] Parameter type: i8*
  2962. [DEBUG][updateCallSite] New call instruction:
  2963. %85 = call %struct.Matrix* @fused_createMatrix(i1 false, i32 3, i32 3, i8* null)
  2964. [DEBUG][updateCallSite] Processing non-void return value of type: struct.Matrix*
  2965. [DEBUG][updateCallSite] Using direct return value
  2966. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2967. [INFO][updateCallSite] Successfully updated call site from %85 = call %struct.Matrix* @createMatrix(i32 3, i32 3) to %85 = call %struct.Matrix* @fused_createMatrix(i1 false, i32 3, i32 3, i8* null)
  2968. [DEBUG][updateCallSite] Original call instruction:
  2969. %62 = call %struct.Matrix* @createMatrix(i32 %58, i32 %61)
  2970. [DEBUG][updateCallSite] Adding bunker control parameter
  2971. [DEBUG][updateCallSite] Adding original call parameters:
  2972. [DEBUG][updateCallSite] Argument 0: type=i32
  2973. [DEBUG][updateCallSite] Argument 1: type=i32
  2974. [DEBUG][updateCallSite] Adding default target parameters:
  2975. [DEBUG][updateCallSite] Parameter type: i8*
  2976. [DEBUG][updateCallSite] New call instruction:
  2977. %62 = call %struct.Matrix* @fused_createMatrix(i1 false, i32 %58, i32 %61, i8* null)
  2978. [DEBUG][updateCallSite] Processing non-void return value of type: struct.Matrix*
  2979. [DEBUG][updateCallSite] Using direct return value
  2980. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  2981. [INFO][updateCallSite] Successfully updated call site from %62 = call %struct.Matrix* @createMatrix(i32 %58, i32 %61) to %62 = call %struct.Matrix* @fused_createMatrix(i1 false, i32 %58, i32 %61, i8* null)
  2982. [DEBUG][updateCallSite] Original call instruction:
  2983. call void @reverseString(i8* %14)
  2984. [DEBUG][updateCallSite] Adding target control parameter
  2985. [DEBUG][updateCallSite] Adding default bunker parameters:
  2986. [DEBUG][updateCallSite] Parameter type: i32
  2987. [DEBUG][updateCallSite] Parameter type: i32
  2988. [DEBUG][updateCallSite] Adding original call parameters:
  2989. [DEBUG][updateCallSite] Argument 0: type=i8*
  2990. [DEBUG][updateCallSite] New call instruction:
  2991. %15 = call %struct.Matrix* @fused_createMatrix(i1 true, i32 0, i32 0, i8* %14)
  2992. [DEBUG][updateCallSite] Void return type, no value processing needed
  2993. [INFO][updateCallSite] Successfully updated call site from call void @reverseString(i8* %14) to %15 = call %struct.Matrix* @fused_createMatrix(i1 true, i32 0, i32 0, i8* %14)
  2994. [INFO][performCodeFusion] Completed function fusion: fused_createMatrix
  2995. [INFO][performCodeFusion] Processing function pair: target=testPoints, bunker=removeDuplicates
  2996. [INFO][performCodeFusion] adding: %4
  2997. [INFO][performCodeFusion] before push Block ID: %4
  2998. [INFO][performCodeFusion] adding: %93
  2999. [INFO][performCodeFusion] adding: %96
  3000. [INFO][performCodeFusion] adding: %101
  3001. [INFO][performCodeFusion] adding: %103
  3002. [INFO][performCodeFusion] adding: %104
  3003. [INFO][performCodeFusion] adding: %105
  3004. [INFO][performCodeFusion] adding: %107
  3005. [INFO][performCodeFusion] before push Block ID: %93
  3006. [INFO][performCodeFusion] before push Block ID: %96
  3007. [INFO][performCodeFusion] before push Block ID: %101
  3008. [INFO][performCodeFusion] before push Block ID: %103
  3009. [INFO][performCodeFusion] before push Block ID: %104
  3010. [INFO][performCodeFusion] before push Block ID: %105
  3011. [INFO][performCodeFusion] before push Block ID: %107
  3012. [INFO][performCodeFusion] Listing all instructions after block cloning in function: fused_removeDuplicates
  3013. ```mermaid: fused_removeDuplicates
  3014. graph TD
  3015. entry["Block entry:\n br label %target_cond_0\n"]
  3016. entry --> target_cond_0
  3017. target_cond_0["Block target_cond_0:\n %3 = icmp eq i1 %0, true\n br i1 %3, label %4, label %target_skip_0\n"]
  3018. target_cond_0 -->|true| 4
  3019. target_cond_0 -->|false| target_skip_0
  3020. target_skip_0["Block target_skip_0:\n br label %target_phi_0\n"]
  3021. target_skip_0 --> target_phi_0
  3022. target_phi_0["Block target_phi_0:\n br label %bunker_cond_0\n"]
  3023. target_phi_0 --> bunker_cond_0
  3024. 4["Block 4:\n %5 = alloca i32, align 4\n %6 = alloca i32, align 4\n %7 = alloca i32, align 4\n %8 = alloca i32, align 4\n store i32 %2, i32* %6, align 4\n store i32 0, i32* %7, align 4\n store i32 1, i32* %8, align 4\n br label %target_phi_0\n"]
  3025. 4 --> target_phi_0
  3026. bunker_cond_0["Block bunker_cond_0:\n %9 = icmp eq i1 %0, false\n br i1 %9, label %10, label %bunker_skip_0\n"]
  3027. bunker_cond_0 -->|true| 10
  3028. bunker_cond_0 -->|false| bunker_skip_0
  3029. bunker_skip_0["Block bunker_skip_0:\n br label %bunker_phi_0\n"]
  3030. bunker_skip_0 --> bunker_phi_0
  3031. bunker_phi_0["Block bunker_phi_0:\n br label %target_cond_1\n"]
  3032. bunker_phi_0 --> target_cond_1
  3033. 10["Block 10:\n %11 = alloca %struct.DynamicArray*, align 8\n %12 = alloca i32, align 4\n %13 = alloca i32, align 4\n %14 = alloca i32, align 4\n store %struct.DynamicArray* %1, %struct.Dynam...\n %15 = load %struct.DynamicArray*, %struct.Dyn...\n %16 = icmp ne %struct.DynamicArray* %15, null\n br i1 %7, label %17, label %22\n"]
  3034. 10 -->|true| 17
  3035. 10 -->|false| 22
  3036. 17["Block 17:\n %18 = load %struct.DynamicArray*, %struct.Dyn...\n %19 = getelementptr inbounds %struct.DynamicA...\n %20 = load i32*, i32** %19, align 8\n %21 = icmp ne i32* %20, null\n br i1 %12, label %24, label %22\n"]
  3037. 17 -->|true| 24
  3038. 17 -->|false| 22
  3039. 22["Block 22:\n %23 = call i32 @fused_setErrorMessage(i1 fals...\n br label %111\n"]
  3040. 22 --> 111
  3041. 24["Block 24:\n %25 = load %struct.DynamicArray*, %struct.Dyn...\n %26 = getelementptr inbounds %struct.DynamicA...\n %27 = load i32, i32* %26, align 8\n %28 = icmp sle i32 %27, 1\n br i1 %19, label %29, label %30\n"]
  3042. 24 -->|true| 29
  3043. 24 -->|false| 30
  3044. 29["Block 29:\n br label %111\n"]
  3045. 29 --> 111
  3046. 30["Block 30:\n store i32 0, i32* %12, align 4\n %31 = load %struct.DynamicArray*, %struct.Dyn...\n %32 = getelementptr inbounds %struct.DynamicA...\n %33 = load i32*, i32** %32, align 8\n %34 = load %struct.DynamicArray*, %struct.Dyn...\n %35 = getelementptr inbounds %struct.DynamicA...\n %36 = load i32, i32* %35, align 8\n %37 = sub nsw i32 %36, 1\n %38 = call i32 @fused_quickSort(i1 false, i32...\n %39 = load i32, i32* %12, align 4\n %40 = icmp ne i32 %39, 0\n br i1 %31, label %41, label %42\n"]
  3047. 30 -->|true| 41
  3048. 30 -->|false| 42
  3049. 41["Block 41:\n br label %111\n"]
  3050. 41 --> 111
  3051. 42["Block 42:\n store i32 1, i32* %13, align 4\n store i32 1, i32* %14, align 4\n br label %43\n"]
  3052. 42 --> 43
  3053. 43["Block 43:\n %44 = load i32, i32* %14, align 4\n %45 = load %struct.DynamicArray*, %struct.Dyn...\n %46 = getelementptr inbounds %struct.DynamicA...\n %47 = load i32, i32* %46, align 8\n %48 = icmp slt i32 %44, %47\n br i1 %39, label %49, label %86\n"]
  3054. 43 -->|true| 49
  3055. 43 -->|false| 86
  3056. 49["Block 49:\n %50 = load %struct.DynamicArray*, %struct.Dyn...\n %51 = getelementptr inbounds %struct.DynamicA...\n %52 = load i32*, i32** %51, align 8\n %53 = load i32, i32* %14, align 4\n %54 = sext i32 %53 to i64\n %55 = getelementptr inbounds i32, i32* %52, i...\n %56 = load i32, i32* %55, align 4\n %57 = load %struct.DynamicArray*, %struct.Dyn...\n %58 = getelementptr inbounds %struct.DynamicA...\n %59 = load i32*, i32** %58, align 8\n %60 = load i32, i32* %14, align 4\n %61 = sub nsw i32 %60, 1\n %62 = sext i32 %61 to i64\n %63 = getelementptr inbounds i32, i32* %59, i...\n %64 = load i32, i32* %63, align 4\n %65 = icmp ne i32 %56, %64\n br i1 %56, label %66, label %82\n"]
  3057. 49 -->|true| 66
  3058. 49 -->|false| 82
  3059. 66["Block 66:\n %67 = load %struct.DynamicArray*, %struct.Dyn...\n %68 = getelementptr inbounds %struct.DynamicA...\n %69 = load i32*, i32** %68, align 8\n %70 = load i32, i32* %14, align 4\n %71 = sext i32 %70 to i64\n %72 = getelementptr inbounds i32, i32* %69, i...\n %73 = load i32, i32* %72, align 4\n %74 = load %struct.DynamicArray*, %struct.Dyn...\n %75 = getelementptr inbounds %struct.DynamicA...\n %76 = load i32*, i32** %75, align 8\n %77 = load i32, i32* %13, align 4\n %78 = sext i32 %77 to i64\n %79 = getelementptr inbounds i32, i32* %76, i...\n store i32 %73, i32* %79, align 4\n %80 = load i32, i32* %13, align 4\n %81 = add nsw i32 %80, 1\n store i32 %81, i32* %13, align 4\n br label %82\n"]
  3060. 66 --> 82
  3061. 82["Block 82:\n br label %83\n"]
  3062. 82 --> 83
  3063. 83["Block 83:\n %84 = load i32, i32* %14, align 4\n %85 = add nsw i32 %84, 1\n store i32 %85, i32* %14, align 4\n br label %43\n"]
  3064. 83 --> 43
  3065. 86["Block 86:\n %87 = load i32, i32* %13, align 4\n %88 = load %struct.DynamicArray*, %struct.Dyn...\n %89 = getelementptr inbounds %struct.DynamicA...\n store i32 %87, i32* %89, align 8\n %90 = load %struct.DynamicArray*, %struct.Dyn...\n %91 = getelementptr inbounds %struct.DynamicA...\n store i32 1, i32* %91, align 8\n br label %bunker_phi_0\n"]
  3066. 86 --> bunker_phi_0
  3067. target_cond_1["Block target_cond_1:\n %92 = icmp eq i1 %0, true\n br i1 %92, label %93, label %target_skip_1\n"]
  3068. target_cond_1 -->|true| 93
  3069. target_cond_1 -->|false| target_skip_1
  3070. target_skip_1["Block target_skip_1:\n br label %target_phi_1\n"]
  3071. target_skip_1 --> target_phi_1
  3072. target_phi_1["Block target_phi_1:\n br label %bunker_cond_1\n"]
  3073. target_phi_1 --> bunker_cond_1
  3074. 93["Block 93:\n %94 = load i32, i32* %8, align 4\n %95 = icmp slt i32 %94, 5\n br i1 %8, label %96, label %101\n"]
  3075. 93 -->|true| 96
  3076. 93 -->|false| 101
  3077. 96["Block 96:\n %97 = load i32, i32* %7, align 4\n %98 = add nsw i32 %97, 1\n store i32 %98, i32* %7, align 4\n %99 = load i32, i32* %6, align 4\n %100 = icmp sgt i32 %99, 2\n br i1 %13, label %103, label %104\n"]
  3078. 96 -->|true| 103
  3079. 96 -->|false| 104
  3080. 101["Block 101:\n %102 = load i32, i32* %7, align 4\n store i32 %102, i32* %5, align 4\n br label %105\n"]
  3081. 101 --> 105
  3082. 103["Block 103:\n store i32 23, i32* %5, align 4\n br label %105\n"]
  3083. 103 --> 105
  3084. 104["Block 104:\n br label %107\n"]
  3085. 104 --> 107
  3086. 105["Block 105:\n %106 = load i32, i32* %5, align 4\n ret i32 %22\n"]
  3087. 107["Block 107:\n %108 = load i32, i32* %8, align 4\n %109 = add nsw i32 %108, 1\n store i32 %109, i32* %8, align 4\n br label %target_phi_1\n"]
  3088. 107 --> target_phi_1
  3089. bunker_cond_1["Block bunker_cond_1:\n %110 = icmp eq i1 %0, false\n br i1 %110, label %111, label %bunker_skip_1\n"]
  3090. bunker_cond_1 -->|true| 111
  3091. bunker_cond_1 -->|false| bunker_skip_1
  3092. bunker_skip_1["Block bunker_skip_1:\n br label %bunker_phi_1\n"]
  3093. bunker_skip_1 --> bunker_phi_1
  3094. bunker_phi_1["Block bunker_phi_1:\n"]
  3095. 111["Block 111:\n ret void\n br label %bunker_phi_1\n"]
  3096. 111 --> bunker_phi_1
  3097. classDef critical fill:#f96,stroke:#333,stroke-width:4px
  3098. ```
  3099. [DEBUG][performCodeFusion] Processing return values for fused function: fused_removeDuplicates
  3100. [DEBUG][performCodeFusion] Fused function return type: i32
  3101. [DEBUG][performCodeFusion] Non-struct return type detected: i32
  3102. [DEBUG][performCodeFusion] Updated bunker return in block %83 with value type i32
  3103. [DEBUG][performCodeFusion] Updated target return in block %21 with value type i32
  3104. [DEBUG][updateCallSite] Original call instruction:
  3105. %12 = call i32 @testPoints(i32 5)
  3106. [DEBUG][updateCallSite] Adding target control parameter
  3107. [DEBUG][updateCallSite] Adding default bunker parameters:
  3108. [DEBUG][updateCallSite] Parameter type: struct.DynamicArray*
  3109. [DEBUG][updateCallSite] Adding original call parameters:
  3110. [DEBUG][updateCallSite] Argument 0: type=i32
  3111. [DEBUG][updateCallSite] New call instruction:
  3112. %12 = call i32 @fused_removeDuplicates(i1 true, %struct.DynamicArray* null, i32 5)
  3113. [DEBUG][updateCallSite] Processing non-void return value of type: i32
  3114. [DEBUG][updateCallSite] Using direct return value
  3115. [DEBUG][updateCallSite] Successfully replaced all uses of original call
  3116. [INFO][updateCallSite] Successfully updated call site from %12 = call i32 @testPoints(i32 5) to %12 = call i32 @fused_removeDuplicates(i1 true, %struct.DynamicArray* null, i32 5)
  3117. [INFO][performCodeFusion] Completed function fusion: fused_removeDuplicates
  3118. [INFO][performCodeFusion] Code fusion completed, processed 7 function pairs
  3119. Basic Block in function 'fused_quickSort' does not have terminator!
  3120. label %bunker_phi_1
  3121. in function fused_quickSort
  3122. LLVM ERROR: Broken function found, compilation aborted!