@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[32x i8]}><{[4x i8]zeroinitializer,i32 -2147483616,[32x i8]c"PartialDynamic.RuntimeTypeError\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[32x i8]}>,<{[4x i8],i32,[32x i8]}>*@a,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL172=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@b,i32 0,i32 0,i32 0),i32 8)}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:28.42(808)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:29.33(846)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[5x i8]}><{[4x i8]zeroinitializer,i32 -2147483643,[5x i8]c"Fail\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@e,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:52.29(1654)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:50.53(1575)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic11glbFieldTysE_208 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11glbFieldTysE_418 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic11lubFieldTysE_217 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11lubFieldTysE_421 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic9glbTyListE_219 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic9glbTyListE_424 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"\0A\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:110.12(3897)\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[23x i8]}><{[4x i8]zeroinitializer,i32 -2147483625,[23x i8]c"ARRAY_PRINT to inferTy\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,[4x i8]zeroinitializer,i32 0}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 4,[4x i8]zeroinitializer,i32 0}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 5,[4x i8]zeroinitializer,i32 0}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 6,[4x i8]zeroinitializer,i32 0}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 14,[4x i8]zeroinitializer,i32 0}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 13,[4x i8]zeroinitializer,i32 0}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:122.29(4405)\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"IENVMAP to inferTy\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 18,[4x i8]zeroinitializer,i32 0}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 17,[4x i8]zeroinitializer,i32 0}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 19,[4x i8]zeroinitializer,i32 0}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 20,[4x i8]zeroinitializer,i32 0}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 21,[4x i8]zeroinitializer,i32 0}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 22,[4x i8]zeroinitializer,i32 0}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic7inferTyE_292 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7inferTyE_426 to void(...)*),i32 -2147483647}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 2,[4x i8]zeroinitializer,i32 0}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 27,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@Y,i32 0,i32 0,i32 0),i32 8),i32 2}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 29,[4x i8]zeroinitializer,i32 0}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 28,[4x i8]zeroinitializer,i32 0}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 31,[4x i8]zeroinitializer,i32 0}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:139.38(5182)\00"}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,[26x i8]}><{[4x i8]zeroinitializer,i32 -2147483622,[26x i8]c"RECORDLABELMAP to inferTy\00"}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic7inferTyE_303 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7inferTyE_427 to void(...)*),i32 -2147483647}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:141.31(5299)\00"}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"REF_PRINT to inferTy\00"}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:142.29(5359)\00"}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"SENVMAP to inferTy\00"}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 35,[4x i8]zeroinitializer,i32 0}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 37,[4x i8]zeroinitializer,i32 0}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 39,[4x i8]zeroinitializer,i32 0}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:148.28(5581)\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"ELLIPSIS to inferTy\00"}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:150.34(5701)\00"}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,[24x i8]}><{[4x i8]zeroinitializer,i32 -2147483624,[24x i8]c"VECTOR_PRINT to inferTy\00"}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 41,[4x i8]zeroinitializer,i32 0}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 40,[4x i8]zeroinitializer,i32 0}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 42,[4x i8]zeroinitializer,i32 0}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 43,[4x i8]zeroinitializer,i32 0}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:106.4(3723)\00"}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:167.42(6376)\00"}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL172,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@ab,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ad=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:170.42(6561)\00"}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL172,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@ad,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@af=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:163.42(6213)\00"}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,[27x i8]}><{[4x i8]zeroinitializer,i32 -2147483621,[27x i8]c"projectTerm impossible (1)\00"}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic11projectTermE_343 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11projectTermE_429 to void(...)*),i32 -2147483647}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:172.35(6645)\00"}>,align 8
@aj=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL172,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@ai,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ak=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:175.21(6750)\00"}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL172,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@ak,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@am=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:183.27(7098)\00"}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL172,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@am,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32,i32,i32,i8*)*@_SMLFN14PartialDynamic17coerceTermGenericE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*,i8*)*@_SMLLN14PartialDynamic17coerceTermGenericE_431 to void(...)*),i32 -2147483647}>,align 8
@ap=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32)*@_SMLFN14PartialDynamic16checkTermGenericE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN14PartialDynamic16checkTermGenericE_433 to void(...)*),i32 -2147483647}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:224.27(8536)\00"}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,[29x i8]}><{[4x i8]zeroinitializer,i32 -2147483619,[29x i8]c"viewTermGeneric matchTy fail\00"}>,align 8
@as=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32,i32,i32,i8*)*@_SMLFN14PartialDynamic15viewTermGenericE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*,i8*)*@_SMLLN14PartialDynamic15viewTermGenericE_435 to void(...)*),i32 -2147483647}>,align 8
@at=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:239.22(9060)\00"}>,align 8
@au=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"dynamicExistInstance\00"}>,align 8
@av=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/extensions/reflection/main/PartialDynamic.sml:252.35(9581)\00"}>,align 8
@aw=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL172,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@av,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ax=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic7genNullE_380 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7genNullE_439 to void(...)*),i32 -2147483647}>,align 8
@ay=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 21,[4x i8]zeroinitializer,i8*null,i32 2}>,align 8
@az=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN14PartialDynamic7genVoidE_387 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7genVoidE_441 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic16RuntimeTypeErrorE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL172,i64 0,i32 2)to i8*)
@aA=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14PartialDynamic5glbTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic5glbTyE_443 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic5glbTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aA,i64 0,i32 2)to i8*)
@aB=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14PartialDynamic5lubTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic5lubTyE_444 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic5lubTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aB,i64 0,i32 2)to i8*)
@aC=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN14PartialDynamic7matchTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7matchTyE_445 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic7matchTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aC,i64 0,i32 2)to i8*)
@aD=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14PartialDynamic7inferTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7inferTyE_446 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic7inferTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aD,i64 0,i32 2)to i8*)
@aE=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32,i8*)*@_SMLFN14PartialDynamic11viewDynamicE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLLN14PartialDynamic11viewDynamicE_447 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic11viewDynamicE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aE,i64 0,i32 2)to i8*)
@_SMLZN14PartialDynamic17coerceTermGenericE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ao,i64 0,i32 2)to i8*)
@_SMLZN14PartialDynamic16checkTermGenericE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ap,i64 0,i32 2)to i8*)
@aF=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32,i8*)*@_SMLFN14PartialDynamic4nullE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLLN14PartialDynamic4nullE_448 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic4nullE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aF,i64 0,i32 2)to i8*)
@aG=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32,i8*)*@_SMLFN14PartialDynamic4voidE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*,i8*)*@_SMLLN14PartialDynamic4voidE_449 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic4voidE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aG,i64 0,i32 2)to i8*)
@_SMLZN14PartialDynamic15viewTermGenericE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@as,i64 0,i32 2)to i8*)
@aH=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14PartialDynamic20dynamicExistInstanceE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic20dynamicExistInstanceE_450 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic20dynamicExistInstanceE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aH,i64 0,i32 2)to i8*)
@aI=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32,i32,i32)*@_SMLFN14PartialDynamic15dynamicTypeCaseE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*)*@_SMLLN14PartialDynamic15dynamicTypeCaseE_451 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic15dynamicTypeCaseE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aI,i64 0,i32 2)to i8*)
@aJ=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14PartialDynamic7genNullE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7genNullE_452 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic7genNullE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aJ,i64 0,i32 2)to i8*)
@aK=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14PartialDynamic7genVoidE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7genVoidE_453 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14PartialDynamic7genVoidE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aK,i64 0,i32 2)to i8*)
@_SML_ftabcee9aa624d0040d3_PartialDynamic=external global i8
@aL=private unnamed_addr global i8 0
declare void@llvm.gcroot(i8**,i8*)#0
declare i8*@sml_alloc(i32 inreg)local_unnamed_addr#0
declare void@sml_check(i32 inreg)local_unnamed_addr
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map4appiE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map9mergeWithE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11ReifiedTerm13toReifiedTermE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11ReifiedTerm19reifiedTermToStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11ReifiedTerm9toDynamicE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15ReifiedTermToML21reifiedTermToMLWithTyE(i32 inreg,i32 inreg,i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN15ReifiedTermToML7isBoxedE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN15ReifiedTermToML8constTagE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN15ReifiedTermToML9tagToWordE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN6TextIO5printE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN9ReifiedTy11reifiedTyEqE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9ReifiedTy12reifiedTyEq_GE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9ReifiedTy16TyRepToReifiedTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9ReifiedTy26typIdConSetListToConSetEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9ReifiedTy27MergeConSetEnvWithTyRepListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9ReifiedTy5TyRepE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN9ReifiedTy6sizeOfE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3446b7b079949ccf_text_io()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main60e750412e2bb4fe_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main04a904d40099ecf0_IEnv()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maincb4f3f5d4a34fae3_ReifiedTy_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1c9923f41166e488_ReifiedTerm_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main21bbd237e50b9d15_ReifiedTermToML()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load3446b7b079949ccf_text_io(i8*)local_unnamed_addr
declare void@_SML_load60e750412e2bb4fe_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_load04a904d40099ecf0_IEnv(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_loadcb4f3f5d4a34fae3_ReifiedTy_ppg(i8*)local_unnamed_addr
declare void@_SML_load1c9923f41166e488_ReifiedTerm_ppg(i8*)local_unnamed_addr
declare void@_SML_load21bbd237e50b9d15_ReifiedTermToML(i8*)local_unnamed_addr
define private void@_SML_tabbcee9aa624d0040d3_PartialDynamic()#3{
unreachable
}
define void@_SML_loadcee9aa624d0040d3_PartialDynamic(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@aL,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@aL,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load3446b7b079949ccf_text_io(i8*%a)#0
tail call void@_SML_load60e750412e2bb4fe_RecordLabel(i8*%a)#0
tail call void@_SML_load04a904d40099ecf0_IEnv(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_loadcb4f3f5d4a34fae3_ReifiedTy_ppg(i8*%a)#0
tail call void@_SML_load1c9923f41166e488_ReifiedTerm_ppg(i8*%a)#0
tail call void@_SML_load21bbd237e50b9d15_ReifiedTermToML(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbcee9aa624d0040d3_PartialDynamic,i8*@_SML_ftabcee9aa624d0040d3_PartialDynamic,i8*null)#0
ret void
}
define void@_SML_maincee9aa624d0040d3_PartialDynamic()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@aL,align 1
%b=and i8%a,2
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 3,i8*@aL,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main3446b7b079949ccf_text_io()#2
tail call void@_SML_main60e750412e2bb4fe_RecordLabel()#2
tail call void@_SML_main04a904d40099ecf0_IEnv()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_maincb4f3f5d4a34fae3_ReifiedTy_ppg()#2
tail call void@_SML_main1c9923f41166e488_ReifiedTerm_ppg()#2
tail call void@_SML_main21bbd237e50b9d15_ReifiedTermToML()#2
br label%d
}
define internal fastcc void@_SMLLN14PartialDynamic7matchTyE_184(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%b,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call fastcc i8*@_SMLFN11RecordLabel3Map4findE(i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%g,align 8
%z=bitcast i8**%e to i8***
%A=load i8**,i8***%z,align 8
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%C,i64 8
%J=bitcast i8*%I to i8**
store i8*%H,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%C,i64 16
%L=bitcast i8*%K to i32*
store i32 3,i32*%L,align 4
%M=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%N=call fastcc i8*%w(i8*inreg%M,i8*inreg%C)
%O=icmp eq i8*%N,null
br i1%O,label%P,label%ak
P:
store i8*null,i8**%d,align 8
%Q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%c,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
store i8*%U,i8**%d,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@d,i64 0,i32 2,i64 0),i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call i8*@sml_alloc(i32 inreg 60)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177336,i32*%af,align 4
%ag=getelementptr inbounds i8,i8*%ad,i64 56
%ah=bitcast i8*%ag to i32*
store i32 1,i32*%ah,align 4
%ai=load i8*,i8**%d,align 8
%aj=bitcast i8*%ad to i8**
store i8*%ai,i8**%aj,align 8
call void@sml_raise(i8*inreg%ad)#1
unreachable
ak:
%al=bitcast i8*%N to i8**
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%c,align 8
%an=call i8*@sml_alloc(i32 inreg 20)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177296,i32*%ap,align 4
%aq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%at=getelementptr inbounds i8,i8*%an,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%an,i64 16
%aw=bitcast i8*%av to i32*
store i32 3,i32*%aw,align 4
%ax=call fastcc i32@_SMLLN14PartialDynamic7matchTyE_173(i8*inreg%an)
%ay=icmp eq i32%ax,0
br i1%ay,label%aA,label%az
az:
ret void
aA:
%aB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 8
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%c,align 8
%aF=call i8*@sml_alloc(i32 inreg 20)#0
%aG=getelementptr inbounds i8,i8*%aF,i64 -4
%aH=bitcast i8*%aG to i32*
store i32 1342177296,i32*%aH,align 4
store i8*%aF,i8**%d,align 8
%aI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aJ=bitcast i8*%aF to i8**
store i8*%aI,i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aF,i64 8
%aL=bitcast i8*%aK to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@c,i64 0,i32 2,i64 0),i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%aF,i64 16
%aN=bitcast i8*%aM to i32*
store i32 3,i32*%aN,align 4
%aO=call i8*@sml_alloc(i32 inreg 60)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177336,i32*%aQ,align 4
%aR=getelementptr inbounds i8,i8*%aO,i64 56
%aS=bitcast i8*%aR to i32*
store i32 1,i32*%aS,align 4
%aT=load i8*,i8**%d,align 8
%aU=bitcast i8*%aO to i8**
store i8*%aT,i8**%aU,align 8
call void@sml_raise(i8*inreg%aO)#1
unreachable
}
define internal fastcc i32@_SMLLN14PartialDynamic7matchTyE_173(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
i:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%b,align 8
br label%g
g:
%h=phi i8*[%a,%i],[%bm,%bl]
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%b,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%o,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%b,align 8
%u=bitcast i8*%q to i32*
%v=load i32,i32*%u,align 4
%w=bitcast i8*%t to i32*
switch i32%v,label%x[
i32 10,label%br
i32 23,label%a1
i32 32,label%D
]
x:
%y=load i32,i32*%w,align 4
switch i32%y,label%bL[
i32 4,label%bX
i32 10,label%z
i32 39,label%aN
]
z:
%A=getelementptr inbounds i8,i8*%t,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%b,align 8
br label%bZ
D:
%E=getelementptr inbounds i8,i8*%q,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%d,align 8
%H=load i32,i32*%w,align 4
switch i32%H,label%I[
i32 4,label%bX
i32 10,label%aX
i32 32,label%J
i32 39,label%aN
]
I:
store i8*null,i8**%d,align 8
br label%bL
J:
store i8*null,i8**%c,align 8
%K=getelementptr inbounds i8,i8*%t,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%b,align 8
%N=call i8*@sml_alloc(i32 inreg 8)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 268435464,i32*%P,align 4
store i8*%N,i8**%c,align 8
%Q=bitcast i8*%N to i64*
store i64 0,i64*%Q,align 1
%R=bitcast i8*%N to i8**
call void@sml_write(i8*inreg%N,i8**inreg%R,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@f,i64 0,i32 2)to i8*))#0
%S=invoke fastcc i8*@_SMLFN11RecordLabel3Map4appiE(i32 inreg 1,i32 inreg 8)
to label%T unwind label%aE
T:
%U=getelementptr inbounds i8,i8*%S,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%S to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%e,align 8
%Z=call i8*@sml_alloc(i32 inreg 20)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
store i8*%Z,i8**%f,align 8
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%Z,i64 16
%ai=bitcast i8*%ah to i32*
store i32 3,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 28)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177304,i32*%al,align 4
%am=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN14PartialDynamic7matchTyE_184 to void(...)*),void(...)**%ap,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 16
%ar=bitcast i8*%aq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic7matchTyE_415 to void(...)*),void(...)**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 24
%at=bitcast i8*%as to i32*
store i32 -2147483647,i32*%at,align 4
%au=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%av=invoke fastcc i8*%W(i8*inreg%au,i8*inreg%aj)
to label%aw unwind label%aE
aw:
%ax=getelementptr inbounds i8,i8*%av,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%av to i8**
%aB=load i8*,i8**%aA,align 8
%aC=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aD=invoke fastcc i8*%az(i8*inreg%aB,i8*inreg%aC)
to label%aN unwind label%aE
aE:
%aF=landingpad{i8*,i8*}
catch i8*null
%aG=extractvalue{i8*,i8*}%aF,1
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
store i8*null,i8**%d,align 8
store i8*%aI,i8**%b,align 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aM=icmp eq i8*%aK,%aL
br i1%aM,label%aN,label%aP
aN:
%aO=phi i32[0,%aE],[1,%aw],[1,%br],[1,%a1],[1,%D],[1,%x]
ret i32%aO
aP:
%aQ=call i8*@sml_alloc(i32 inreg 60)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177336,i32*%aS,align 4
%aT=getelementptr inbounds i8,i8*%aQ,i64 56
%aU=bitcast i8*%aT to i32*
store i32 1,i32*%aU,align 4
%aV=load i8*,i8**%b,align 8
%aW=bitcast i8*%aQ to i8**
store i8*%aV,i8**%aW,align 8
call void@sml_raise(i8*inreg%aQ)#1
unreachable
aX:
store i8*null,i8**%d,align 8
%aY=getelementptr inbounds i8,i8*%t,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
store i8*%a0,i8**%b,align 8
br label%bZ
a1:
%a2=getelementptr inbounds i8,i8*%q,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
store i8*%a4,i8**%d,align 8
%a5=load i32,i32*%w,align 4
switch i32%a5,label%a6[
i32 4,label%bX
i32 10,label%bn
i32 23,label%a7
i32 39,label%aN
]
a6:
store i8*null,i8**%d,align 8
br label%bL
a7:
store i8*null,i8**%c,align 8
%a8=getelementptr inbounds i8,i8*%t,i64 8
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%b,align 8
%bb=call i8*@sml_alloc(i32 inreg 20)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177296,i32*%bd,align 4
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=bitcast i8*%bb to i8**
store i8*%be,i8**%bf,align 8
%bg=load i8*,i8**%b,align 8
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i8**
store i8*%bg,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%bb,i64 16
%bk=bitcast i8*%bj to i32*
store i32 3,i32*%bk,align 4
store i8*%bb,i8**%b,align 8
br label%bl
bl:
%bm=phi i8*[%bb,%a7],[%bB,%bx],[%b0,%bZ]
br label%g
bn:
store i8*null,i8**%d,align 8
%bo=getelementptr inbounds i8,i8*%t,i64 8
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%b,align 8
br label%bZ
br:
%bs=getelementptr inbounds i8,i8*%q,i64 8
%bt=bitcast i8*%bs to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%d,align 8
%bv=load i32,i32*%w,align 4
switch i32%bv,label%bw[
i32 4,label%bX
i32 10,label%bx
i32 39,label%aN
]
bw:
store i8*null,i8**%d,align 8
br label%bL
bx:
store i8*null,i8**%c,align 8
%by=getelementptr inbounds i8,i8*%t,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%b,align 8
%bB=call i8*@sml_alloc(i32 inreg 20)#0
%bC=getelementptr inbounds i8,i8*%bB,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bF=bitcast i8*%bB to i8**
store i8*%bE,i8**%bF,align 8
%bG=load i8*,i8**%b,align 8
%bH=getelementptr inbounds i8,i8*%bB,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bB,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 3,i32*%bK,align 4
store i8*%bB,i8**%b,align 8
br label%bl
bL:
%bM=call i8*@sml_alloc(i32 inreg 20)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32 1342177296,i32*%bO,align 4
%bP=load i8*,i8**%c,align 8
%bQ=bitcast i8*%bM to i8**
store i8*%bP,i8**%bQ,align 8
%bR=load i8*,i8**%b,align 8
%bS=getelementptr inbounds i8,i8*%bM,i64 8
%bT=bitcast i8*%bS to i8**
store i8*%bR,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bM,i64 16
%bV=bitcast i8*%bU to i32*
store i32 3,i32*%bV,align 4
%bW=tail call fastcc i32@_SMLFN9ReifiedTy11reifiedTyEqE(i8*inreg%bM)
ret i32%bW
bX:
%bY=tail call fastcc i32@_SMLFN15ReifiedTermToML7isBoxedE(i8*inreg%q)
ret i32%bY
bZ:
%b0=call i8*@sml_alloc(i32 inreg 20)#0
%b1=getelementptr inbounds i8,i8*%b0,i64 -4
%b2=bitcast i8*%b1 to i32*
store i32 1342177296,i32*%b2,align 4
%b3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b4=bitcast i8*%b0 to i8**
store i8*%b3,i8**%b4,align 8
%b5=load i8*,i8**%b,align 8
%b6=getelementptr inbounds i8,i8*%b0,i64 8
%b7=bitcast i8*%b6 to i8**
store i8*%b5,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b0,i64 16
%b9=bitcast i8*%b8 to i32*
store i32 3,i32*%b9,align 4
store i8*%b0,i8**%b,align 8
br label%bl
}
define internal fastcc i8*@_SMLLN14PartialDynamic9subsumeTyE_196(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
%o=icmp eq i8*%n,null
br i1%o,label%p,label%v
p:
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=icmp eq i8*%s,null
br i1%t,label%u,label%al
u:
ret i8*null
v:
%w=bitcast i8*%n to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%c,align 8
%y=getelementptr inbounds i8,i8*%k,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=icmp eq i8*%A,null
br i1%B,label%al,label%C
C:
%D=bitcast i8*%A to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%d,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
%P=call fastcc i32@_SMLLN14PartialDynamic9subsumeTyE_185(i8*inreg%F)
%Q=icmp eq i32%P,0
br i1%Q,label%R,label%u
R:
%S=bitcast i8**%e to i8***
%T=load i8**,i8***%S,align 8
store i8*null,i8**%e,align 8
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%c,align 8
%V=call i8*@sml_alloc(i32 inreg 20)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177296,i32*%X,align 4
store i8*%V,i8**%d,align 8
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%V,i64 8
%ab=bitcast i8*%aa to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@h,i64 0,i32 2,i64 0),i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%V,i64 16
%ad=bitcast i8*%ac to i32*
store i32 3,i32*%ad,align 4
%ae=call i8*@sml_alloc(i32 inreg 60)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177336,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ae,i64 56
%ai=bitcast i8*%ah to i32*
store i32 1,i32*%ai,align 4
%aj=load i8*,i8**%d,align 8
%ak=bitcast i8*%ae to i8**
store i8*%aj,i8**%ak,align 8
call void@sml_raise(i8*inreg%ae)#1
unreachable
al:
%am=bitcast i8**%e to i8***
%an=load i8**,i8***%am,align 8
store i8*null,i8**%e,align 8
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%c,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%d,align 8
%as=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@g,i64 0,i32 2,i64 0),i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
%ay=call i8*@sml_alloc(i32 inreg 60)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177336,i32*%aA,align 4
%aB=getelementptr inbounds i8,i8*%ay,i64 56
%aC=bitcast i8*%aB to i32*
store i32 1,i32*%aC,align 4
%aD=load i8*,i8**%d,align 8
%aE=bitcast i8*%ay to i8**
store i8*%aD,i8**%aE,align 8
call void@sml_raise(i8*inreg%ay)#1
unreachable
}
define internal fastcc i32@_SMLLN14PartialDynamic9subsumeTyE_185(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
i:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%b,align 8
br label%g
g:
%h=phi i8*[%a,%i],[%bw,%bv]
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%b,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=getelementptr inbounds i8,i8*%o,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%b,align 8
%u=bitcast i8*%q to i32*
%v=load i32,i32*%u,align 4
%w=bitcast i8*%t to i32*
switch i32%v,label%x[
i32 10,label%cW
i32 15,label%bB
i32 23,label%bb
i32 32,label%F
]
x:
%y=bitcast i8*%t to i32*
%z=load i32,i32*%y,align 4
%A=icmp eq i32%z,10
br i1%A,label%B,label%dh
B:
%C=getelementptr inbounds i8,i8*%t,i64 8
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
store i8*%E,i8**%b,align 8
br label%dt
F:
%G=bitcast i8*%t to i32*
%H=getelementptr inbounds i8,i8*%q,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=load i32,i32*%G,align 4
switch i32%K,label%L[
i32 10,label%a7
i32 32,label%M
]
L:
store i8*null,i8**%d,align 8
br label%dh
M:
store i8*null,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%t,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%b,align 8
%Q=call i8*@sml_alloc(i32 inreg 8)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 268435464,i32*%S,align 4
store i8*%Q,i8**%c,align 8
%T=bitcast i8*%Q to i64*
store i64 0,i64*%T,align 1
%U=bitcast i8*%Q to i8**
call void@sml_write(i8*inreg%Q,i8**inreg%U,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@f,i64 0,i32 2)to i8*))#0
%V=invoke fastcc i8*@_SMLFN11RecordLabel3Map9mergeWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 4)
to label%W unwind label%aO
W:
%X=getelementptr inbounds i8,i8*%V,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%V to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%e,align 8
%ac=call i8*@sml_alloc(i32 inreg 12)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177288,i32*%ae,align 4
store i8*%ac,i8**%f,align 8
%af=load i8*,i8**%c,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to i32*
store i32 1,i32*%ai,align 4
%aj=call i8*@sml_alloc(i32 inreg 28)#0
%ak=getelementptr inbounds i8,i8*%aj,i64 -4
%al=bitcast i8*%ak to i32*
store i32 1342177304,i32*%al,align 4
%am=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%an=bitcast i8*%aj to i8**
store i8*%am,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%aj,i64 8
%ap=bitcast i8*%ao to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic9subsumeTyE_196 to void(...)*),void(...)**%ap,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 16
%ar=bitcast i8*%aq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic9subsumeTyE_196 to void(...)*),void(...)**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 24
%at=bitcast i8*%as to i32*
store i32 -2147483647,i32*%at,align 4
%au=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%av=invoke fastcc i8*%Z(i8*inreg%au,i8*inreg%aj)
to label%aw unwind label%aO
aw:
%ax=getelementptr inbounds i8,i8*%av,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%av to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%e,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
%aF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aI=getelementptr inbounds i8,i8*%aC,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*%aH,i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aC,i64 16
%aL=bitcast i8*%aK to i32*
store i32 3,i32*%aL,align 4
%aM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aN=invoke fastcc i8*%az(i8*inreg%aM,i8*inreg%aC)
to label%aX unwind label%aO
aO:
%aP=landingpad{i8*,i8*}
catch i8*null
%aQ=extractvalue{i8*,i8*}%aP,1
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
store i8*null,i8**%d,align 8
store i8*%aS,i8**%b,align 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
%aV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aW=icmp eq i8*%aU,%aV
br i1%aW,label%aX,label%aZ
aX:
%aY=phi i32[0,%aO],[1,%aw],[0,%ci]
ret i32%aY
aZ:
%a0=call i8*@sml_alloc(i32 inreg 60)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177336,i32*%a2,align 4
%a3=getelementptr inbounds i8,i8*%a0,i64 56
%a4=bitcast i8*%a3 to i32*
store i32 1,i32*%a4,align 4
%a5=load i8*,i8**%b,align 8
%a6=bitcast i8*%a0 to i8**
store i8*%a5,i8**%a6,align 8
call void@sml_raise(i8*inreg%a0)#1
unreachable
a7:
store i8*null,i8**%d,align 8
%a8=getelementptr inbounds i8,i8*%t,i64 8
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%b,align 8
br label%dt
bb:
%bc=getelementptr inbounds i8,i8*%q,i64 8
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%d,align 8
%bf=load i32,i32*%w,align 4
switch i32%bf,label%bg[
i32 10,label%bx
i32 23,label%bh
]
bg:
store i8*null,i8**%d,align 8
br label%dh
bh:
store i8*null,i8**%c,align 8
%bi=getelementptr inbounds i8,i8*%t,i64 8
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%b,align 8
%bl=call i8*@sml_alloc(i32 inreg 20)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177296,i32*%bn,align 4
%bo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%b,align 8
%br=getelementptr inbounds i8,i8*%bl,i64 8
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bl,i64 16
%bu=bitcast i8*%bt to i32*
store i32 3,i32*%bu,align 4
store i8*%bl,i8**%b,align 8
br label%bv
bv:
%bw=phi i8*[%bl,%bh],[%cz,%cy],[%c7,%c3]
br label%g
bx:
store i8*null,i8**%d,align 8
%by=getelementptr inbounds i8,i8*%t,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%b,align 8
br label%dt
bB:
%bC=getelementptr inbounds i8,i8*%q,i64 8
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
%bF=bitcast i8*%bE to i8**
%bG=load i8*,i8**%bF,align 8
%bH=icmp eq i8*%bG,null
br i1%bH,label%bI,label%bQ
bI:
%bJ=bitcast i8*%t to i32*
%bK=load i32,i32*%bJ,align 4
%bL=icmp eq i32%bK,10
br i1%bL,label%bM,label%dh
bM:
%bN=getelementptr inbounds i8,i8*%t,i64 8
%bO=bitcast i8*%bN to i8**
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%b,align 8
br label%dt
bQ:
%bR=bitcast i8*%bG to i8**
%bS=load i8*,i8**%bR,align 8
store i8*%bS,i8**%d,align 8
%bT=getelementptr inbounds i8,i8*%bG,i64 8
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
%bW=icmp eq i8*%bV,null
br i1%bW,label%bX,label%cO
bX:
%bY=getelementptr inbounds i8,i8*%bE,i64 8
%bZ=bitcast i8*%bY to i8**
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%e,align 8
%b1=load i32,i32*%w,align 4
switch i32%b1,label%b2[
i32 10,label%cK
i32 15,label%b3
]
b2:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
br label%dh
b3:
%b4=getelementptr inbounds i8,i8*%t,i64 8
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
%b7=bitcast i8*%b6 to i8**
%b8=load i8*,i8**%b7,align 8
%b9=icmp eq i8*%b8,null
br i1%b9,label%ca,label%cb
ca:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
br label%dh
cb:
%cc=bitcast i8*%b8 to i8**
%cd=load i8*,i8**%cc,align 8
store i8*%cd,i8**%f,align 8
%ce=getelementptr inbounds i8,i8*%b8,i64 8
%cf=bitcast i8*%ce to i8**
%cg=load i8*,i8**%cf,align 8
%ch=icmp eq i8*%cg,null
br i1%ch,label%ci,label%cJ
ci:
store i8*null,i8**%c,align 8
%cj=getelementptr inbounds i8,i8*%b6,i64 8
%ck=bitcast i8*%cj to i8**
%cl=load i8*,i8**%ck,align 8
store i8*%cl,i8**%b,align 8
%cm=call i8*@sml_alloc(i32 inreg 20)#0
%cn=getelementptr inbounds i8,i8*%cm,i64 -4
%co=bitcast i8*%cn to i32*
store i32 1342177296,i32*%co,align 4
%cp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cq=bitcast i8*%cm to i8**
store i8*%cp,i8**%cq,align 8
%cr=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cs=getelementptr inbounds i8,i8*%cm,i64 8
%ct=bitcast i8*%cs to i8**
store i8*%cr,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cm,i64 16
%cv=bitcast i8*%cu to i32*
store i32 3,i32*%cv,align 4
%cw=call fastcc i32@_SMLLN14PartialDynamic9subsumeTyE_185(i8*inreg%cm)
%cx=icmp eq i32%cw,0
br i1%cx,label%aX,label%cy
cy:
%cz=call i8*@sml_alloc(i32 inreg 20)#0
%cA=getelementptr inbounds i8,i8*%cz,i64 -4
%cB=bitcast i8*%cA to i32*
store i32 1342177296,i32*%cB,align 4
%cC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cD=bitcast i8*%cz to i8**
store i8*%cC,i8**%cD,align 8
%cE=load i8*,i8**%b,align 8
%cF=getelementptr inbounds i8,i8*%cz,i64 8
%cG=bitcast i8*%cF to i8**
store i8*%cE,i8**%cG,align 8
%cH=getelementptr inbounds i8,i8*%cz,i64 16
%cI=bitcast i8*%cH to i32*
store i32 3,i32*%cI,align 4
store i8*%cz,i8**%b,align 8
br label%bv
cJ:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
br label%dh
cK:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%cL=getelementptr inbounds i8,i8*%t,i64 8
%cM=bitcast i8*%cL to i8**
%cN=load i8*,i8**%cM,align 8
store i8*%cN,i8**%b,align 8
br label%dt
cO:
%cP=bitcast i8*%t to i32*
store i8*null,i8**%d,align 8
%cQ=load i32,i32*%cP,align 4
%cR=icmp eq i32%cQ,10
br i1%cR,label%cS,label%dh
cS:
%cT=getelementptr inbounds i8,i8*%t,i64 8
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
store i8*%cV,i8**%b,align 8
br label%dt
cW:
%cX=getelementptr inbounds i8,i8*%q,i64 8
%cY=bitcast i8*%cX to i8**
%cZ=load i8*,i8**%cY,align 8
store i8*%cZ,i8**%d,align 8
%c0=load i32,i32*%w,align 4
%c1=icmp eq i32%c0,10
br i1%c1,label%c3,label%c2
c2:
store i8*null,i8**%d,align 8
br label%dh
c3:
store i8*null,i8**%c,align 8
%c4=getelementptr inbounds i8,i8*%t,i64 8
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%b,align 8
%c7=call i8*@sml_alloc(i32 inreg 20)#0
%c8=getelementptr inbounds i8,i8*%c7,i64 -4
%c9=bitcast i8*%c8 to i32*
store i32 1342177296,i32*%c9,align 4
%da=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%db=bitcast i8*%c7 to i8**
store i8*%da,i8**%db,align 8
%dc=load i8*,i8**%b,align 8
%dd=getelementptr inbounds i8,i8*%c7,i64 8
%de=bitcast i8*%dd to i8**
store i8*%dc,i8**%de,align 8
%df=getelementptr inbounds i8,i8*%c7,i64 16
%dg=bitcast i8*%df to i32*
store i32 3,i32*%dg,align 4
store i8*%c7,i8**%b,align 8
br label%bv
dh:
%di=call i8*@sml_alloc(i32 inreg 20)#0
%dj=getelementptr inbounds i8,i8*%di,i64 -4
%dk=bitcast i8*%dj to i32*
store i32 1342177296,i32*%dk,align 4
%dl=load i8*,i8**%c,align 8
%dm=bitcast i8*%di to i8**
store i8*%dl,i8**%dm,align 8
%dn=load i8*,i8**%b,align 8
%do=getelementptr inbounds i8,i8*%di,i64 8
%dp=bitcast i8*%do to i8**
store i8*%dn,i8**%dp,align 8
%dq=getelementptr inbounds i8,i8*%di,i64 16
%dr=bitcast i8*%dq to i32*
store i32 3,i32*%dr,align 4
%ds=tail call fastcc i32@_SMLFN9ReifiedTy11reifiedTyEqE(i8*inreg%di)
ret i32%ds
dt:
%du=call i8*@sml_alloc(i32 inreg 20)#0
%dv=getelementptr inbounds i8,i8*%du,i64 -4
%dw=bitcast i8*%dv to i32*
store i32 1342177296,i32*%dw,align 4
%dx=load i8*,i8**%c,align 8
%dy=bitcast i8*%du to i8**
store i8*%dx,i8**%dy,align 8
%dz=load i8*,i8**%b,align 8
%dA=getelementptr inbounds i8,i8*%du,i64 8
%dB=bitcast i8*%dA to i8**
store i8*%dz,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%du,i64 16
%dD=bitcast i8*%dC to i32*
store i32 3,i32*%dD,align 4
%dE=tail call fastcc i32@_SMLLN14PartialDynamic7matchTyE_173(i8*inreg%du)
ret i32%dE
}
define internal fastcc i8*@_SMLLN14PartialDynamic11glbFieldTysE_208(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=icmp eq i8*%l,null
br i1%m,label%u,label%n
n:
%o=bitcast i8*%l to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%i,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=icmp eq i8*%s,null
br i1%t,label%u,label%v
u:
ret i8*null
v:
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%c,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=call fastcc i8*@_SMLLN14PartialDynamic5glbTyE_197(i8*inreg%y)
store i8*%I,i8**%b,align 8
%J=call i8*@sml_alloc(i32 inreg 12)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177288,i32*%L,align 4
%M=load i8*,i8**%b,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i32*
store i32 1,i32*%P,align 4
ret i8*%J
}
define internal fastcc i8*@_SMLLN14PartialDynamic5glbTyE_197(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
m:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%e,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%f,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
%v=load i8*,i8**%e,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=load i8*,i8**%f,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%s,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call fastcc i32@_SMLFN9ReifiedTy11reifiedTyEqE(i8*inreg%s)
%D=icmp eq i32%C,0
%E=load i8*,i8**%e,align 8
br i1%D,label%H,label%F
F:
%G=phi i8*[%E,%k],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@D,i64 0,i32 2)to i8*),%bD],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@D,i64 0,i32 2)to i8*),%a5],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@D,i64 0,i32 2)to i8*),%L],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@D,i64 0,i32 2)to i8*),%H]
ret i8*%G
H:
%I=bitcast i8*%E to i32*
%J=load i32,i32*%I,align 4
switch i32%J,label%K[
i32 2,label%F
i32 23,label%bD
i32 25,label%a5
i32 32,label%L
]
K:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@D,i64 0,i32 2)to i8*)
L:
%M=getelementptr inbounds i8,i8*%E,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%e,align 8
%P=load i8*,i8**%f,align 8
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=icmp eq i32%R,32
br i1%S,label%T,label%F
T:
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%f,align 8
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
%aa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%X,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
%ah=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ah)
%ai=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ai)
%aj=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aj)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%X,i8**%b,align 8
%ak=load atomic i32,i32*@sml_check_flag unordered,align 4
%al=icmp eq i32%ak,0
br i1%al,label%at,label%am
am:
call void@sml_check(i32 inreg%ak)
%an=load i8*,i8**%b,align 8
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
%aq=getelementptr inbounds i8,i8*%an,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
br label%at
at:
%au=phi i8*[%as,%am],[%ac,%T]
%av=phi i8*[%ap,%am],[%aa,%T]
store i8*%av,i8**%b,align 8
store i8*%au,i8**%c,align 8
%aw=call fastcc i8*@_SMLFN11RecordLabel3Map9mergeWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ax=getelementptr inbounds i8,i8*%aw,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
%aC=call fastcc i8*%az(i8*inreg%aB,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%aD=getelementptr inbounds i8,i8*%aC,i64 16
%aE=bitcast i8*%aD to i8*(i8*,i8*)**
%aF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aE,align 8
%aG=bitcast i8*%aC to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%d,align 8
%aI=call i8*@sml_alloc(i32 inreg 20)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177296,i32*%aK,align 4
%aL=load i8*,i8**%b,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%c,align 8
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aI,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 3,i32*%aR,align 4
%aS=load i8*,i8**%d,align 8
%aT=call fastcc i8*%aF(i8*inreg%aS,i8*inreg%aI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ah)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ai)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aj)
store i8*%aT,i8**%e,align 8
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=bitcast i8*%aU to i32*
%aW=getelementptr inbounds i8,i8*%aU,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 1342177296,i32*%aX,align 4
%aY=getelementptr inbounds i8,i8*%aU,i64 4
%aZ=bitcast i8*%aY to i32*
store i32 0,i32*%aZ,align 1
store i32 32,i32*%aV,align 4
%a0=load i8*,i8**%e,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aU,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 2,i32*%a4,align 4
ret i8*%aU
a5:
%a6=getelementptr inbounds i8,i8*%E,i64 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%e,align 8
%a9=load i8*,i8**%f,align 8
%ba=bitcast i8*%a9 to i32*
%bb=load i32,i32*%ba,align 4
%bc=icmp eq i32%bb,25
br i1%bc,label%bd,label%F
bd:
%be=getelementptr inbounds i8,i8*%a9,i64 8
%bf=bitcast i8*%be to i8**
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%f,align 8
%bh=call i8*@sml_alloc(i32 inreg 20)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177296,i32*%bj,align 4
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bn=getelementptr inbounds i8,i8*%bh,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bh,i64 16
%bq=bitcast i8*%bp to i32*
store i32 3,i32*%bq,align 4
%br=call fastcc i8*@_SMLLN14PartialDynamic5glbTyE_197(i8*inreg%bh)
store i8*%br,i8**%e,align 8
%bs=call i8*@sml_alloc(i32 inreg 20)#0
%bt=bitcast i8*%bs to i32*
%bu=getelementptr inbounds i8,i8*%bs,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177296,i32*%bv,align 4
%bw=getelementptr inbounds i8,i8*%bs,i64 4
%bx=bitcast i8*%bw to i32*
store i32 0,i32*%bx,align 1
store i32 25,i32*%bt,align 4
%by=load i8*,i8**%e,align 8
%bz=getelementptr inbounds i8,i8*%bs,i64 8
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bs,i64 16
%bC=bitcast i8*%bB to i32*
store i32 2,i32*%bC,align 4
ret i8*%bs
bD:
%bE=getelementptr inbounds i8,i8*%E,i64 8
%bF=bitcast i8*%bE to i8**
%bG=load i8*,i8**%bF,align 8
store i8*%bG,i8**%e,align 8
%bH=load i8*,i8**%f,align 8
%bI=bitcast i8*%bH to i32*
%bJ=load i32,i32*%bI,align 4
%bK=icmp eq i32%bJ,23
br i1%bK,label%bL,label%F
bL:
%bM=getelementptr inbounds i8,i8*%bH,i64 8
%bN=bitcast i8*%bM to i8**
%bO=load i8*,i8**%bN,align 8
store i8*%bO,i8**%f,align 8
%bP=call i8*@sml_alloc(i32 inreg 20)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177296,i32*%bR,align 4
%bS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bT=bitcast i8*%bP to i8**
store i8*%bS,i8**%bT,align 8
%bU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bV=getelementptr inbounds i8,i8*%bP,i64 8
%bW=bitcast i8*%bV to i8**
store i8*%bU,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bP,i64 16
%bY=bitcast i8*%bX to i32*
store i32 3,i32*%bY,align 4
%bZ=call fastcc i8*@_SMLLN14PartialDynamic5glbTyE_197(i8*inreg%bP)
store i8*%bZ,i8**%e,align 8
%b0=call i8*@sml_alloc(i32 inreg 20)#0
%b1=bitcast i8*%b0 to i32*
%b2=getelementptr inbounds i8,i8*%b0,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177296,i32*%b3,align 4
%b4=getelementptr inbounds i8,i8*%b0,i64 4
%b5=bitcast i8*%b4 to i32*
store i32 0,i32*%b5,align 1
store i32 23,i32*%b1,align 4
%b6=load i8*,i8**%e,align 8
%b7=getelementptr inbounds i8,i8*%b0,i64 8
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b0,i64 16
%ca=bitcast i8*%b9 to i32*
store i32 2,i32*%ca,align 4
ret i8*%b0
}
define internal fastcc i8*@_SMLLN14PartialDynamic11lubFieldTysE_217(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=icmp eq i8*%l,null
br i1%m,label%n,label%r
n:
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
ret i8*%q
r:
%s=bitcast i8*%l to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%b,align 8
%u=getelementptr inbounds i8,i8*%i,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
%x=icmp eq i8*%w,null
br i1%x,label%y,label%A
y:
%z=load i8*,i8**%k,align 8
ret i8*%z
A:
%B=bitcast i8*%w to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%c,align 8
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=getelementptr inbounds i8,i8*%D,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%D,i64 16
%M=bitcast i8*%L to i32*
store i32 3,i32*%M,align 4
%N=call fastcc i8*@_SMLLN14PartialDynamic5lubTyE_210(i8*inreg%D)
store i8*%N,i8**%b,align 8
%O=call i8*@sml_alloc(i32 inreg 12)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177288,i32*%Q,align 4
%R=load i8*,i8**%b,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to i32*
store i32 1,i32*%U,align 4
ret i8*%O
}
define internal fastcc i8*@_SMLLN14PartialDynamic5lubTyE_210(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%e,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%e,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%e,align 8
%q=getelementptr inbounds i8,i8*%m,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%f,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=load i8*,i8**%e,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=load i8*,i8**%f,align 8
%z=getelementptr inbounds i8,i8*%t,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i32*
store i32 3,i32*%C,align 4
%D=call fastcc i32@_SMLFN9ReifiedTy11reifiedTyEqE(i8*inreg%t)
%E=icmp eq i32%D,0
%F=load i8*,i8**%e,align 8
br i1%E,label%I,label%G
G:
%H=phi i8*[%F,%l],[%ce,%cd],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%bG],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%a9],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%Q],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%L],[%F,%ci]
ret i8*%H
I:
%J=bitcast i8*%F to i32*
%K=load i32,i32*%J,align 4
switch i32%K,label%L[
i32 2,label%cd
i32 23,label%bG
i32 25,label%a9
i32 32,label%Q
]
L:
%M=bitcast i8**%f to i32**
%N=load i32*,i32**%M,align 8
%O=load i32,i32*%N,align 4
%P=icmp eq i32%O,2
br i1%P,label%ci,label%G
Q:
%R=getelementptr inbounds i8,i8*%F,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%g,align 8
%U=load i8*,i8**%f,align 8
%V=bitcast i8*%U to i32*
%W=load i32,i32*%V,align 4
switch i32%W,label%G[
i32 2,label%ci
i32 32,label%X
]
X:
store i8*null,i8**%f,align 8
%Y=getelementptr inbounds i8,i8*%U,i64 8
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%e,align 8
%ab=call i8*@sml_alloc(i32 inreg 20)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177296,i32*%ad,align 4
%ae=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ab,i64 16
%ak=bitcast i8*%aj to i32*
store i32 3,i32*%ak,align 4
%al=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%al)
%am=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%am)
%an=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%an)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%ab,i8**%b,align 8
%ao=load atomic i32,i32*@sml_check_flag unordered,align 4
%ap=icmp eq i32%ao,0
br i1%ap,label%ax,label%aq
aq:
call void@sml_check(i32 inreg%ao)
%ar=load i8*,i8**%b,align 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=getelementptr inbounds i8,i8*%ar,i64 8
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
br label%ax
ax:
%ay=phi i8*[%aw,%aq],[%ag,%X]
%az=phi i8*[%at,%aq],[%ae,%X]
store i8*%az,i8**%b,align 8
store i8*%ay,i8**%c,align 8
%aA=call fastcc i8*@_SMLFN11RecordLabel3Map9mergeWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aB=getelementptr inbounds i8,i8*%aA,i64 16
%aC=bitcast i8*%aB to i8*(i8*,i8*)**
%aD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aC,align 8
%aE=bitcast i8*%aA to i8**
%aF=load i8*,i8**%aE,align 8
%aG=call fastcc i8*%aD(i8*inreg%aF,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*))
%aH=getelementptr inbounds i8,i8*%aG,i64 16
%aI=bitcast i8*%aH to i8*(i8*,i8*)**
%aJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aI,align 8
%aK=bitcast i8*%aG to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%d,align 8
%aM=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
%aP=load i8*,i8**%b,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=load i8*,i8**%c,align 8
%aS=getelementptr inbounds i8,i8*%aM,i64 8
%aT=bitcast i8*%aS to i8**
store i8*%aR,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aM,i64 16
%aV=bitcast i8*%aU to i32*
store i32 3,i32*%aV,align 4
%aW=load i8*,i8**%d,align 8
%aX=call fastcc i8*%aJ(i8*inreg%aW,i8*inreg%aM)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%al)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%am)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%an)
store i8*%aX,i8**%e,align 8
%aY=call i8*@sml_alloc(i32 inreg 20)#0
%aZ=bitcast i8*%aY to i32*
%a0=getelementptr inbounds i8,i8*%aY,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=getelementptr inbounds i8,i8*%aY,i64 4
%a3=bitcast i8*%a2 to i32*
store i32 0,i32*%a3,align 1
store i32 32,i32*%aZ,align 4
%a4=load i8*,i8**%e,align 8
%a5=getelementptr inbounds i8,i8*%aY,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aY,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 2,i32*%a8,align 4
ret i8*%aY
a9:
%ba=getelementptr inbounds i8,i8*%F,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%g,align 8
%bd=load i8*,i8**%f,align 8
%be=bitcast i8*%bd to i32*
%bf=load i32,i32*%be,align 4
switch i32%bf,label%G[
i32 2,label%ci
i32 25,label%bg
]
bg:
store i8*null,i8**%f,align 8
%bh=getelementptr inbounds i8,i8*%bd,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%e,align 8
%bk=call i8*@sml_alloc(i32 inreg 20)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177296,i32*%bm,align 4
%bn=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bq=getelementptr inbounds i8,i8*%bk,i64 8
%br=bitcast i8*%bq to i8**
store i8*%bp,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bk,i64 16
%bt=bitcast i8*%bs to i32*
store i32 3,i32*%bt,align 4
%bu=call fastcc i8*@_SMLLN14PartialDynamic5lubTyE_210(i8*inreg%bk)
store i8*%bu,i8**%e,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=bitcast i8*%bv to i32*
%bx=getelementptr inbounds i8,i8*%bv,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177296,i32*%by,align 4
%bz=getelementptr inbounds i8,i8*%bv,i64 4
%bA=bitcast i8*%bz to i32*
store i32 0,i32*%bA,align 1
store i32 25,i32*%bw,align 4
%bB=load i8*,i8**%e,align 8
%bC=getelementptr inbounds i8,i8*%bv,i64 8
%bD=bitcast i8*%bC to i8**
store i8*%bB,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bv,i64 16
%bF=bitcast i8*%bE to i32*
store i32 2,i32*%bF,align 4
ret i8*%bv
bG:
%bH=getelementptr inbounds i8,i8*%F,i64 8
%bI=bitcast i8*%bH to i8**
%bJ=load i8*,i8**%bI,align 8
store i8*%bJ,i8**%g,align 8
%bK=load i8*,i8**%f,align 8
%bL=bitcast i8*%bK to i32*
%bM=load i32,i32*%bL,align 4
switch i32%bM,label%G[
i32 2,label%ci
i32 23,label%bN
]
bN:
store i8*null,i8**%f,align 8
%bO=getelementptr inbounds i8,i8*%bK,i64 8
%bP=bitcast i8*%bO to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%e,align 8
%bR=call i8*@sml_alloc(i32 inreg 20)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177296,i32*%bT,align 4
%bU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bX=getelementptr inbounds i8,i8*%bR,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bR,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 3,i32*%b0,align 4
%b1=call fastcc i8*@_SMLLN14PartialDynamic5lubTyE_210(i8*inreg%bR)
store i8*%b1,i8**%e,align 8
%b2=call i8*@sml_alloc(i32 inreg 20)#0
%b3=bitcast i8*%b2 to i32*
%b4=getelementptr inbounds i8,i8*%b2,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
%b6=getelementptr inbounds i8,i8*%b2,i64 4
%b7=bitcast i8*%b6 to i32*
store i32 0,i32*%b7,align 1
store i32 23,i32*%b3,align 4
%b8=load i8*,i8**%e,align 8
%b9=getelementptr inbounds i8,i8*%b2,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b2,i64 16
%cc=bitcast i8*%cb to i32*
store i32 2,i32*%cc,align 4
ret i8*%b2
cd:
%ce=load i8*,i8**%f,align 8
%cf=bitcast i8*%ce to i32*
%cg=load i32,i32*%cf,align 4
%ch=icmp eq i32%cg,2
br i1%ch,label%ci,label%G
ci:
br label%G
}
define internal fastcc i8*@_SMLLN14PartialDynamic9glbTyListE_219(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%b,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=load i8*,i8**%c,align 8
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%p,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=tail call fastcc i8*@_SMLLN14PartialDynamic5glbTyE_197(i8*inreg%p)
ret i8*%z
}
define internal fastcc i8*@_SMLLN14PartialDynamic7inferTyE_292(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14PartialDynamic7inferTyE_303(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 0,label%fE
i32 1,label%e9
i32 2,label%e8
i32 4,label%e7
i32 3,label%aO
i32 5,label%aO
i32 6,label%e6
i32 7,label%e5
i32 8,label%eY
i32 9,label%eI
i32 11,label%eH
i32 12,label%eG
i32 13,label%ez
i32 14,label%ef
i32 16,label%ee
i32 15,label%ed
i32 17,label%ec
i32 18,label%eb
i32 19,label%ea
i32 20,label%d9
i32 21,label%c4
i32 22,label%c3
i32 23,label%cZ
i32 24,label%aO
i32 25,label%cH
i32 26,label%cG
i32 28,label%cF
i32 27,label%cE
i32 30,label%cD
i32 31,label%cj
i32 29,label%bQ
i32 32,label%bA
i32 33,label%bg
i32 34,label%aW
i32 35,label%aV
i32 40,label%aO
i32 41,label%aR
i32 36,label%aQ
i32 37,label%aO
i32 10,label%au
i32 38,label%ae
i32 39,label%K
i32 43,label%J
i32 42,label%I
i32 44,label%H
i32 45,label%F
]
n:
call void@sml_matchcomp_bug()
%o=load i8*,i8**@_SMLZ5Match,align 8
store i8*%o,i8**%c,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
store i8*%p,i8**%d,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@aa,i64 0,i32 2,i64 0),i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 60)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177336,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%y,i64 56
%C=bitcast i8*%B to i32*
store i32 1,i32*%C,align 4
%D=load i8*,i8**%d,align 8
%E=bitcast i8*%y to i8**
store i8*%D,i8**%E,align 8
call void@sml_raise(i8*inreg%y)#1
unreachable
F:
%G=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@Z,i64 0,i32 2)to i8*),%i],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@Y,i64 0,i32 2)to i8*),%H],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@X,i64 0,i32 2)to i8*),%I],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@W,i64 0,i32 2)to i8*),%J],[%aP,%aO],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@P,i64 0,i32 2)to i8*),%aV],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@H,i64 0,i32 2)to i8*),%cD],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@G,i64 0,i32 2)to i8*),%cE],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@F,i64 0,i32 2)to i8*),%cF],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@E,i64 0,i32 2)to i8*),%cG],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@B,i64 0,i32 2)to i8*),%d9],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@z,i64 0,i32 2)to i8*),%eb],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@y,i64 0,i32 2)to i8*),%ec],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@x,i64 0,i32 2)to i8*),%ed],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@w,i64 0,i32 2)to i8*),%ee],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@s,i64 0,i32 2)to i8*),%eH],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@r,i64 0,i32 2)to i8*),%e5],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@q,i64 0,i32 2)to i8*),%e6],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@p,i64 0,i32 2)to i8*),%e7],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@o,i64 0,i32 2)to i8*),%e8]
ret i8*%G
H:
br label%F
I:
br label%F
J:
br label%F
K:
%L=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%L,i8**%c,align 8
%M=call i8*@sml_alloc(i32 inreg 28)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177304,i32*%O,align 4
store i8*%M,i8**%d,align 8
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@U,i64 0,i32 2,i64 0),i8**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 16
%U=bitcast i8*%T to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[24x i8]}>,<{[4x i8],i32,[24x i8]}>*@V,i64 0,i32 2,i64 0),i8**%U,align 8
%V=getelementptr inbounds i8,i8*%M,i64 24
%W=bitcast i8*%V to i32*
store i32 7,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 60)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177336,i32*%Z,align 4
%aa=getelementptr inbounds i8,i8*%X,i64 56
%ab=bitcast i8*%aa to i32*
store i32 1,i32*%ab,align 4
%ac=load i8*,i8**%d,align 8
%ad=bitcast i8*%X to i8**
store i8*%ac,i8**%ad,align 8
call void@sml_raise(i8*inreg%X)#1
unreachable
ae:
%af=getelementptr inbounds i8,i8*%j,i64 8
%ag=bitcast i8*%af to i8***
%ah=load i8**,i8***%ag,align 8
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%c,align 8
%aj=call i8*@sml_alloc(i32 inreg 20)#0
%ak=bitcast i8*%aj to i32*
%al=getelementptr inbounds i8,i8*%aj,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177296,i32*%am,align 4
%an=getelementptr inbounds i8,i8*%aj,i64 4
%ao=bitcast i8*%an to i32*
store i32 0,i32*%ao,align 1
store i32 38,i32*%ak,align 4
%ap=load i8*,i8**%c,align 8
%aq=getelementptr inbounds i8,i8*%aj,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%aj,i64 16
%at=bitcast i8*%as to i32*
store i32 2,i32*%at,align 4
ret i8*%aj
au:
%av=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%av,i8**%c,align 8
%aw=call i8*@sml_alloc(i32 inreg 28)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177304,i32*%ay,align 4
store i8*%aw,i8**%d,align 8
%az=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%aw,i64 8
%aC=bitcast i8*%aB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@S,i64 0,i32 2,i64 0),i8**%aC,align 8
%aD=getelementptr inbounds i8,i8*%aw,i64 16
%aE=bitcast i8*%aD to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@T,i64 0,i32 2,i64 0),i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aw,i64 24
%aG=bitcast i8*%aF to i32*
store i32 7,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 60)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177336,i32*%aJ,align 4
%aK=getelementptr inbounds i8,i8*%aH,i64 56
%aL=bitcast i8*%aK to i32*
store i32 1,i32*%aL,align 4
%aM=load i8*,i8**%d,align 8
%aN=bitcast i8*%aH to i8**
store i8*%aM,i8**%aN,align 8
call void@sml_raise(i8*inreg%aH)#1
unreachable
aO:
%aP=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%i],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@Q,i64 0,i32 2)to i8*),%aQ],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@D,i64 0,i32 2)to i8*),%c3],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@A,i64 0,i32 2)to i8*),%ea],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@t,i64 0,i32 2)to i8*),%eG],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%i],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%i],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%i],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%i]
br label%F
aQ:
br label%aO
aR:
%aS=getelementptr inbounds i8,i8*%j,i64 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
ret i8*%aU
aV:
br label%F
aW:
%aX=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aX,i8**%c,align 8
%aY=call i8*@sml_alloc(i32 inreg 28)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177304,i32*%a0,align 4
store i8*%aY,i8**%d,align 8
%a1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a2=bitcast i8*%aY to i8**
store i8*%a1,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aY,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@N,i64 0,i32 2,i64 0),i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aY,i64 16
%a6=bitcast i8*%a5 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@O,i64 0,i32 2,i64 0),i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aY,i64 24
%a8=bitcast i8*%a7 to i32*
store i32 7,i32*%a8,align 4
%a9=call i8*@sml_alloc(i32 inreg 60)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177336,i32*%bb,align 4
%bc=getelementptr inbounds i8,i8*%a9,i64 56
%bd=bitcast i8*%bc to i32*
store i32 1,i32*%bd,align 4
%be=load i8*,i8**%d,align 8
%bf=bitcast i8*%a9 to i8**
store i8*%be,i8**%bf,align 8
call void@sml_raise(i8*inreg%a9)#1
unreachable
bg:
%bh=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bh,i8**%c,align 8
%bi=call i8*@sml_alloc(i32 inreg 28)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177304,i32*%bk,align 4
store i8*%bi,i8**%d,align 8
%bl=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=getelementptr inbounds i8,i8*%bi,i64 8
%bo=bitcast i8*%bn to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@L,i64 0,i32 2,i64 0),i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bi,i64 16
%bq=bitcast i8*%bp to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@M,i64 0,i32 2,i64 0),i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bi,i64 24
%bs=bitcast i8*%br to i32*
store i32 7,i32*%bs,align 4
%bt=call i8*@sml_alloc(i32 inreg 60)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177336,i32*%bv,align 4
%bw=getelementptr inbounds i8,i8*%bt,i64 56
%bx=bitcast i8*%bw to i32*
store i32 1,i32*%bx,align 4
%by=load i8*,i8**%d,align 8
%bz=bitcast i8*%bt to i8**
store i8*%by,i8**%bz,align 8
call void@sml_raise(i8*inreg%bt)#1
unreachable
bA:
%bB=getelementptr inbounds i8,i8*%j,i64 8
%bC=bitcast i8*%bB to i8***
%bD=load i8**,i8***%bC,align 8
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%c,align 8
%bF=call i8*@sml_alloc(i32 inreg 20)#0
%bG=bitcast i8*%bF to i32*
%bH=getelementptr inbounds i8,i8*%bF,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177296,i32*%bI,align 4
%bJ=getelementptr inbounds i8,i8*%bF,i64 4
%bK=bitcast i8*%bJ to i32*
store i32 0,i32*%bK,align 1
store i32 33,i32*%bG,align 4
%bL=load i8*,i8**%c,align 8
%bM=getelementptr inbounds i8,i8*%bF,i64 8
%bN=bitcast i8*%bM to i8**
store i8*%bL,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bF,i64 16
%bP=bitcast i8*%bO to i32*
store i32 2,i32*%bP,align 4
ret i8*%bF
bQ:
%bR=getelementptr inbounds i8,i8*%j,i64 8
%bS=bitcast i8*%bR to i8**
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%c,align 8
%bU=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bV=getelementptr inbounds i8,i8*%bU,i64 16
%bW=bitcast i8*%bV to i8*(i8*,i8*)**
%bX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bW,align 8
%bY=bitcast i8*%bU to i8**
%bZ=load i8*,i8**%bY,align 8
%b0=call fastcc i8*%bX(i8*inreg%bZ,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@K,i64 0,i32 2)to i8*))
%b1=getelementptr inbounds i8,i8*%b0,i64 16
%b2=bitcast i8*%b1 to i8*(i8*,i8*)**
%b3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b2,align 8
%b4=bitcast i8*%b0 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b7=call fastcc i8*%b3(i8*inreg%b5,i8*inreg%b6)
store i8*%b7,i8**%c,align 8
%b8=call i8*@sml_alloc(i32 inreg 20)#0
%b9=bitcast i8*%b8 to i32*
%ca=getelementptr inbounds i8,i8*%b8,i64 -4
%cb=bitcast i8*%ca to i32*
store i32 1342177296,i32*%cb,align 4
%cc=getelementptr inbounds i8,i8*%b8,i64 4
%cd=bitcast i8*%cc to i32*
store i32 0,i32*%cd,align 1
store i32 32,i32*%b9,align 4
%ce=load i8*,i8**%c,align 8
%cf=getelementptr inbounds i8,i8*%b8,i64 8
%cg=bitcast i8*%cf to i8**
store i8*%ce,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%b8,i64 16
%ci=bitcast i8*%ch to i32*
store i32 2,i32*%ci,align 4
ret i8*%b8
cj:
%ck=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ck,i8**%c,align 8
%cl=call i8*@sml_alloc(i32 inreg 28)#0
%cm=getelementptr inbounds i8,i8*%cl,i64 -4
%cn=bitcast i8*%cm to i32*
store i32 1342177304,i32*%cn,align 4
store i8*%cl,i8**%d,align 8
%co=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cp=bitcast i8*%cl to i8**
store i8*%co,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%cl,i64 8
%cr=bitcast i8*%cq to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@I,i64 0,i32 2,i64 0),i8**%cr,align 8
%cs=getelementptr inbounds i8,i8*%cl,i64 16
%ct=bitcast i8*%cs to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@J,i64 0,i32 2,i64 0),i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cl,i64 24
%cv=bitcast i8*%cu to i32*
store i32 7,i32*%cv,align 4
%cw=call i8*@sml_alloc(i32 inreg 60)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177336,i32*%cy,align 4
%cz=getelementptr inbounds i8,i8*%cw,i64 56
%cA=bitcast i8*%cz to i32*
store i32 1,i32*%cA,align 4
%cB=load i8*,i8**%d,align 8
%cC=bitcast i8*%cw to i8**
store i8*%cB,i8**%cC,align 8
call void@sml_raise(i8*inreg%cw)#1
unreachable
cD:
br label%F
cE:
br label%F
cF:
br label%F
cG:
br label%F
cH:
%cI=getelementptr inbounds i8,i8*%j,i64 8
%cJ=bitcast i8*%cI to i8**
%cK=load i8*,i8**%cJ,align 8
%cL=getelementptr inbounds i8,i8*%cK,i64 8
%cM=bitcast i8*%cL to i8**
%cN=load i8*,i8**%cM,align 8
store i8*%cN,i8**%c,align 8
%cO=call i8*@sml_alloc(i32 inreg 20)#0
%cP=bitcast i8*%cO to i32*
%cQ=getelementptr inbounds i8,i8*%cO,i64 -4
%cR=bitcast i8*%cQ to i32*
store i32 1342177296,i32*%cR,align 4
%cS=getelementptr inbounds i8,i8*%cO,i64 4
%cT=bitcast i8*%cS to i32*
store i32 0,i32*%cT,align 1
store i32 25,i32*%cP,align 4
%cU=load i8*,i8**%c,align 8
%cV=getelementptr inbounds i8,i8*%cO,i64 8
%cW=bitcast i8*%cV to i8**
store i8*%cU,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cO,i64 16
%cY=bitcast i8*%cX to i32*
store i32 2,i32*%cY,align 4
ret i8*%cO
cZ:
%c0=getelementptr inbounds i8,i8*%j,i64 8
%c1=bitcast i8*%c0 to i8**
%c2=load i8*,i8**%c1,align 8
ret i8*%c2
c3:
br label%aO
c4:
%c5=getelementptr inbounds i8,i8*%j,i64 8
%c6=bitcast i8*%c5 to i8**
%c7=load i8*,i8**%c6,align 8
store i8*%c7,i8**%c,align 8
%c8=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%c9=getelementptr inbounds i8,i8*%c8,i64 16
%da=bitcast i8*%c9 to i8*(i8*,i8*)**
%db=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%da,align 8
%dc=bitcast i8*%c8 to i8**
%dd=load i8*,i8**%dc,align 8
%de=call fastcc i8*%db(i8*inreg%dd,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@C,i64 0,i32 2)to i8*))
%df=getelementptr inbounds i8,i8*%de,i64 16
%dg=bitcast i8*%df to i8*(i8*,i8*)**
%dh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dg,align 8
%di=bitcast i8*%de to i8**
%dj=load i8*,i8**%di,align 8
%dk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dl=call fastcc i8*%dh(i8*inreg%dj,i8*inreg%dk)
%dm=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dm)
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%dl,i8**%b,align 8
%dn=load atomic i32,i32*@sml_check_flag unordered,align 4
%do=icmp eq i32%dn,0
br i1%do,label%dr,label%dp
dp:
call void@sml_check(i32 inreg%dn)
%dq=load i8*,i8**%b,align 8
br label%dr
dr:
%ds=phi i8*[%dq,%dp],[%dl,%c4]
%dt=icmp eq i8*%ds,null
br i1%dt,label%du,label%dv
du:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dm)
br label%dW
dv:
%dw=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dx=getelementptr inbounds i8,i8*%dw,i64 16
%dy=bitcast i8*%dx to i8*(i8*,i8*)**
%dz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dy,align 8
%dA=bitcast i8*%dw to i8**
%dB=load i8*,i8**%dA,align 8
%dC=call fastcc i8*%dz(i8*inreg%dB,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*))
%dD=getelementptr inbounds i8,i8*%dC,i64 16
%dE=bitcast i8*%dD to i8*(i8*,i8*)**
%dF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dE,align 8
%dG=bitcast i8*%dC to i8**
%dH=load i8*,i8**%dG,align 8
%dI=bitcast i8**%b to i8***
%dJ=load i8**,i8***%dI,align 8
%dK=load i8*,i8**%dJ,align 8
%dL=call fastcc i8*%dF(i8*inreg%dH,i8*inreg%dK)
%dM=getelementptr inbounds i8,i8*%dL,i64 16
%dN=bitcast i8*%dM to i8*(i8*,i8*)**
%dO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dN,align 8
%dP=bitcast i8*%dL to i8**
%dQ=load i8*,i8**%dP,align 8
%dR=load i8*,i8**%b,align 8
%dS=getelementptr inbounds i8,i8*%dR,i64 8
%dT=bitcast i8*%dS to i8**
%dU=load i8*,i8**%dT,align 8
%dV=call fastcc i8*%dO(i8*inreg%dQ,i8*inreg%dU)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dm)
br label%dW
dW:
%dX=phi i8*[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@R,i64 0,i32 2)to i8*),%du],[%dV,%dv]
store i8*%dX,i8**%c,align 8
%dY=call i8*@sml_alloc(i32 inreg 20)#0
%dZ=bitcast i8*%dY to i32*
%d0=getelementptr inbounds i8,i8*%dY,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177296,i32*%d1,align 4
%d2=getelementptr inbounds i8,i8*%dY,i64 4
%d3=bitcast i8*%d2 to i32*
store i32 0,i32*%d3,align 1
store i32 23,i32*%dZ,align 4
%d4=load i8*,i8**%c,align 8
%d5=getelementptr inbounds i8,i8*%dY,i64 8
%d6=bitcast i8*%d5 to i8**
store i8*%d4,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%dY,i64 16
%d8=bitcast i8*%d7 to i32*
store i32 2,i32*%d8,align 4
ret i8*%dY
d9:
br label%F
ea:
br label%aO
eb:
br label%F
ec:
br label%F
ed:
br label%F
ee:
br label%F
ef:
%eg=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%eg,i8**%c,align 8
%eh=call i8*@sml_alloc(i32 inreg 28)#0
%ei=getelementptr inbounds i8,i8*%eh,i64 -4
%ej=bitcast i8*%ei to i32*
store i32 1342177304,i32*%ej,align 4
store i8*%eh,i8**%d,align 8
%ek=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%el=bitcast i8*%eh to i8**
store i8*%ek,i8**%el,align 8
%em=getelementptr inbounds i8,i8*%eh,i64 8
%en=bitcast i8*%em to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@u,i64 0,i32 2,i64 0),i8**%en,align 8
%eo=getelementptr inbounds i8,i8*%eh,i64 16
%ep=bitcast i8*%eo to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@v,i64 0,i32 2,i64 0),i8**%ep,align 8
%eq=getelementptr inbounds i8,i8*%eh,i64 24
%er=bitcast i8*%eq to i32*
store i32 7,i32*%er,align 4
%es=call i8*@sml_alloc(i32 inreg 60)#0
%et=getelementptr inbounds i8,i8*%es,i64 -4
%eu=bitcast i8*%et to i32*
store i32 1342177336,i32*%eu,align 4
%ev=getelementptr inbounds i8,i8*%es,i64 56
%ew=bitcast i8*%ev to i32*
store i32 1,i32*%ew,align 4
%ex=load i8*,i8**%d,align 8
%ey=bitcast i8*%es to i8**
store i8*%ex,i8**%ey,align 8
call void@sml_raise(i8*inreg%es)#1
unreachable
ez:
%eA=getelementptr inbounds i8,i8*%j,i64 8
%eB=bitcast i8*%eA to i8**
%eC=load i8*,i8**%eB,align 8
%eD=getelementptr inbounds i8,i8*%eC,i64 8
%eE=bitcast i8*%eD to i8**
%eF=load i8*,i8**%eE,align 8
ret i8*%eF
eG:
br label%aO
eH:
br label%F
eI:
%eJ=getelementptr inbounds i8,i8*%j,i64 8
%eK=bitcast i8*%eJ to i8***
%eL=load i8**,i8***%eK,align 8
%eM=load i8*,i8**%eL,align 8
store i8*%eM,i8**%c,align 8
%eN=call i8*@sml_alloc(i32 inreg 20)#0
%eO=bitcast i8*%eN to i32*
%eP=getelementptr inbounds i8,i8*%eN,i64 -4
%eQ=bitcast i8*%eP to i32*
store i32 1342177296,i32*%eQ,align 4
%eR=getelementptr inbounds i8,i8*%eN,i64 4
%eS=bitcast i8*%eR to i32*
store i32 0,i32*%eS,align 1
store i32 10,i32*%eO,align 4
%eT=load i8*,i8**%c,align 8
%eU=getelementptr inbounds i8,i8*%eN,i64 8
%eV=bitcast i8*%eU to i8**
store i8*%eT,i8**%eV,align 8
%eW=getelementptr inbounds i8,i8*%eN,i64 16
%eX=bitcast i8*%eW to i32*
store i32 2,i32*%eX,align 4
ret i8*%eN
eY:
%eZ=getelementptr inbounds i8,i8*%j,i64 8
%e0=bitcast i8*%eZ to i8**
%e1=load i8*,i8**%e0,align 8
%e2=getelementptr inbounds i8,i8*%e1,i64 16
%e3=bitcast i8*%e2 to i8**
%e4=load i8*,i8**%e3,align 8
ret i8*%e4
e5:
br label%F
e6:
br label%F
e7:
br label%F
e8:
br label%F
e9:
%fa=call fastcc i8*@_SMLFN11ReifiedTerm19reifiedTermToStringE(i8*inreg%j)
store i8*%fa,i8**%c,align 8
%fb=call i8*@sml_alloc(i32 inreg 20)#0
%fc=getelementptr inbounds i8,i8*%fb,i64 -4
%fd=bitcast i8*%fc to i32*
store i32 1342177296,i32*%fd,align 4
%fe=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ff=bitcast i8*%fb to i8**
store i8*%fe,i8**%ff,align 8
%fg=getelementptr inbounds i8,i8*%fb,i64 8
%fh=bitcast i8*%fg to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@l,i64 0,i32 2,i64 0),i8**%fh,align 8
%fi=getelementptr inbounds i8,i8*%fb,i64 16
%fj=bitcast i8*%fi to i32*
store i32 3,i32*%fj,align 4
%fk=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%fb)
call fastcc void@_SMLFN6TextIO5printE(i8*inreg%fk)
%fl=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%fl,i8**%c,align 8
%fm=call i8*@sml_alloc(i32 inreg 28)#0
%fn=getelementptr inbounds i8,i8*%fm,i64 -4
%fo=bitcast i8*%fn to i32*
store i32 1342177304,i32*%fo,align 4
store i8*%fm,i8**%d,align 8
%fp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fq=bitcast i8*%fm to i8**
store i8*%fp,i8**%fq,align 8
%fr=getelementptr inbounds i8,i8*%fm,i64 8
%fs=bitcast i8*%fr to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@m,i64 0,i32 2,i64 0),i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%fm,i64 16
%fu=bitcast i8*%ft to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[23x i8]}>,<{[4x i8],i32,[23x i8]}>*@n,i64 0,i32 2,i64 0),i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fm,i64 24
%fw=bitcast i8*%fv to i32*
store i32 7,i32*%fw,align 4
%fx=call i8*@sml_alloc(i32 inreg 60)#0
%fy=getelementptr inbounds i8,i8*%fx,i64 -4
%fz=bitcast i8*%fy to i32*
store i32 1342177336,i32*%fz,align 4
%fA=getelementptr inbounds i8,i8*%fx,i64 56
%fB=bitcast i8*%fA to i32*
store i32 1,i32*%fB,align 4
%fC=load i8*,i8**%d,align 8
%fD=bitcast i8*%fx to i8**
store i8*%fC,i8**%fD,align 8
call void@sml_raise(i8*inreg%fx)#1
unreachable
fE:
%fF=getelementptr inbounds i8,i8*%j,i64 8
%fG=bitcast i8*%fF to i8***
%fH=load i8**,i8***%fG,align 8
%fI=load i8*,i8**%fH,align 8
store i8*%fI,i8**%c,align 8
%fJ=call i8*@sml_alloc(i32 inreg 20)#0
%fK=getelementptr inbounds i8,i8*%fJ,i64 -4
%fL=bitcast i8*%fK to i32*
store i32 1342177296,i32*%fL,align 4
%fM=bitcast i8*%fJ to i64*
store i64 0,i64*%fM,align 4
%fN=load i8*,i8**%c,align 8
%fO=getelementptr inbounds i8,i8*%fJ,i64 8
%fP=bitcast i8*%fO to i8**
store i8*%fN,i8**%fP,align 8
%fQ=getelementptr inbounds i8,i8*%fJ,i64 16
%fR=bitcast i8*%fQ to i32*
store i32 2,i32*%fR,align 4
ret i8*%fJ
}
define internal fastcc i8*@_SMLLN14PartialDynamic11projectTermE_340(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%d,align 8
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177296,i32*%q,align 4
%r=load i8*,i8**%c,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=load i8*,i8**%d,align 8
%u=getelementptr inbounds i8,i8*%o,i64 8
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%o,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=tail call fastcc i8*@_SMLLN14PartialDynamic11projectTermE_322(i8*inreg%o)
ret i8*%y
}
define internal fastcc i8*@_SMLLN14PartialDynamic11projectTermE_343(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=icmp eq i8*%l,null
br i1%m,label%n,label%N
n:
%o=getelementptr inbounds i8,i8*%i,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=icmp eq i8*%q,null
br i1%r,label%s,label%t
s:
ret i8*null
t:
%u=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%u,i8**%b,align 8
%v=call i8*@sml_alloc(i32 inreg 28)#0
%w=getelementptr inbounds i8,i8*%v,i64 -4
%x=bitcast i8*%w to i32*
store i32 1342177304,i32*%x,align 4
store i8*%v,i8**%c,align 8
%y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%z=bitcast i8*%v to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@af,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[27x i8]}>,<{[4x i8],i32,[27x i8]}>*@ag,i64 0,i32 2,i64 0),i8**%D,align 8
%E=getelementptr inbounds i8,i8*%v,i64 24
%F=bitcast i8*%E to i32*
store i32 7,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 60)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177336,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 56
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%c,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
call void@sml_raise(i8*inreg%G)#1
unreachable
N:
%O=bitcast i8*%l to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%b,align 8
%Q=getelementptr inbounds i8,i8*%i,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=icmp eq i8*%S,null
br i1%T,label%s,label%U
U:
%V=bitcast i8*%S to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%c,align 8
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
%aa=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%X,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
%ah=call fastcc i8*@_SMLLN14PartialDynamic11projectTermE_322(i8*inreg%X)
store i8*%ah,i8**%b,align 8
%ai=call i8*@sml_alloc(i32 inreg 12)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177288,i32*%ak,align 4
%al=load i8*,i8**%b,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ai,i64 8
%ao=bitcast i8*%an to i32*
store i32 1,i32*%ao,align 4
ret i8*%ai
}
define internal fastcc i8*@_SMLLN14PartialDynamic11projectTermE_322(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
%r=bitcast i8*%n to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 21,label%aV
i32 22,label%bO
i32 29,label%ab
]
t:
%u=bitcast i8*%q to i32*
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,39
br i1%w,label%U,label%x
x:
%y=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%n)
store i8*%y,i8**%b,align 8
%z=call i8*@sml_alloc(i32 inreg 20)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177296,i32*%B,align 4
%C=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%z,i64 8
%G=bitcast i8*%F to i8**
store i8*%E,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%z,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=call fastcc i32@_SMLLN14PartialDynamic9subsumeTyE_185(i8*inreg%z)
%K=icmp eq i32%J,0
br i1%K,label%N,label%L
L:
%M=load i8*,i8**%c,align 8
ret i8*%M
N:
store i8*null,i8**%c,align 8
%O=call i8*@sml_alloc(i32 inreg 60)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177336,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 56
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=bitcast i8*%O to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@al,i64 0,i32 2)to i8*),i8**%T,align 8
call void@sml_raise(i8*inreg%O)#1
unreachable
U:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%V=call i8*@sml_alloc(i32 inreg 60)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177336,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%V,i64 56
%Z=bitcast i8*%Y to i32*
store i32 1,i32*%Z,align 4
%aa=bitcast i8*%V to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aj,i64 0,i32 2)to i8*),i8**%aa,align 8
call void@sml_raise(i8*inreg%V)#1
unreachable
ab:
%ac=getelementptr inbounds i8,i8*%n,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%b,align 8
%af=bitcast i8*%q to i32*
%ag=load i32,i32*%af,align 4
%ah=icmp eq i32%ag,32
store i8*null,i8**%d,align 8
br i1%ah,label%ai,label%bW
ai:
%aj=getelementptr inbounds i8,i8*%q,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%c,align 8
%am=call fastcc i8*@_SMLFN11RecordLabel3Map9mergeWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
%as=call fastcc i8*%ap(i8*inreg%ar,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ah,i64 0,i32 2)to i8*))
%at=getelementptr inbounds i8,i8*%as,i64 16
%au=bitcast i8*%at to i8*(i8*,i8*)**
%av=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%au,align 8
%aw=bitcast i8*%as to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%d,align 8
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
%aB=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aJ=call fastcc i8*%av(i8*inreg%aI,i8*inreg%ay)
store i8*%aJ,i8**%b,align 8
%aK=call i8*@sml_alloc(i32 inreg 20)#0
%aL=bitcast i8*%aK to i32*
%aM=getelementptr inbounds i8,i8*%aK,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
%aO=getelementptr inbounds i8,i8*%aK,i64 4
%aP=bitcast i8*%aO to i32*
store i32 0,i32*%aP,align 1
store i32 29,i32*%aL,align 4
%aQ=load i8*,i8**%b,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aK,i64 16
%aU=bitcast i8*%aT to i32*
store i32 2,i32*%aU,align 4
ret i8*%aK
aV:
%aW=getelementptr inbounds i8,i8*%n,i64 8
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%b,align 8
%aZ=bitcast i8*%q to i32*
%a0=load i32,i32*%aZ,align 4
%a1=icmp eq i32%a0,23
store i8*null,i8**%d,align 8
br i1%a1,label%a2,label%bP
a2:
%a3=getelementptr inbounds i8,i8*%q,i64 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
store i8*%a5,i8**%c,align 8
%a6=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a7=getelementptr inbounds i8,i8*%a6,i64 16
%a8=bitcast i8*%a7 to i8*(i8*,i8*)**
%a9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a8,align 8
%ba=bitcast i8*%a6 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%d,align 8
%bc=call i8*@sml_alloc(i32 inreg 12)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177288,i32*%be,align 4
store i8*%bc,i8**%e,align 8
%bf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%bc,i64 8
%bi=bitcast i8*%bh to i32*
store i32 1,i32*%bi,align 4
%bj=call i8*@sml_alloc(i32 inreg 28)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177304,i32*%bl,align 4
%bm=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bj,i64 8
%bp=bitcast i8*%bo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11projectTermE_340 to void(...)*),void(...)**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bj,i64 16
%br=bitcast i8*%bq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11projectTermE_340 to void(...)*),void(...)**%br,align 8
%bs=getelementptr inbounds i8,i8*%bj,i64 24
%bt=bitcast i8*%bs to i32*
store i32 -2147483647,i32*%bt,align 4
%bu=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bv=call fastcc i8*%a9(i8*inreg%bu,i8*inreg%bj)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
%bB=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bC=call fastcc i8*%by(i8*inreg%bA,i8*inreg%bB)
store i8*%bC,i8**%b,align 8
%bD=call i8*@sml_alloc(i32 inreg 20)#0
%bE=bitcast i8*%bD to i32*
%bF=getelementptr inbounds i8,i8*%bD,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 1342177296,i32*%bG,align 4
%bH=getelementptr inbounds i8,i8*%bD,i64 4
%bI=bitcast i8*%bH to i32*
store i32 0,i32*%bI,align 1
store i32 21,i32*%bE,align 4
%bJ=load i8*,i8**%b,align 8
%bK=getelementptr inbounds i8,i8*%bD,i64 8
%bL=bitcast i8*%bK to i8**
store i8*%bJ,i8**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bD,i64 16
%bN=bitcast i8*%bM to i32*
store i32 2,i32*%bN,align 4
ret i8*%bD
bO:
ret i8*%n
bP:
store i8*null,i8**%b,align 8
%bQ=call i8*@sml_alloc(i32 inreg 60)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177336,i32*%bS,align 4
%bT=getelementptr inbounds i8,i8*%bQ,i64 56
%bU=bitcast i8*%bT to i32*
store i32 1,i32*%bU,align 4
%bV=bitcast i8*%bQ to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ae,i64 0,i32 2)to i8*),i8**%bV,align 8
call void@sml_raise(i8*inreg%bQ)#1
unreachable
bW:
store i8*null,i8**%b,align 8
%bX=call i8*@sml_alloc(i32 inreg 60)#0
%bY=getelementptr inbounds i8,i8*%bX,i64 -4
%bZ=bitcast i8*%bY to i32*
store i32 1342177336,i32*%bZ,align 4
%b0=getelementptr inbounds i8,i8*%bX,i64 56
%b1=bitcast i8*%b0 to i32*
store i32 1,i32*%b1,align 4
%b2=bitcast i8*%bX to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ac,i64 0,i32 2)to i8*),i8**%b2,align 8
call void@sml_raise(i8*inreg%bX)#1
unreachable
}
define internal fastcc i8*@_SMLLN14PartialDynamic17coerceTermGenericE_351(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%g,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%a,%p]
%q=phi i8*[%l,%k],[%b,%p]
store i8*null,i8**%c,align 8
store i8*%q,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%o,i64 8
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=getelementptr inbounds i8,i8*%o,i64 12
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=call fastcc i8*@_SMLFN11ReifiedTerm13toReifiedTermE(i32 inreg%t,i32 inreg%w)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=bitcast i8**%e to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
%G=call fastcc i8*%A(i8*inreg%C,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%G)
store i8*%H,i8**%d,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%I,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg%L)
%N=getelementptr inbounds i8,i8*%M,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%e,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%f,align 8
%S=call i8*@sml_alloc(i32 inreg 20)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177296,i32*%U,align 4
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%e,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%S,i64 16
%ab=bitcast i8*%aa to i32*
store i32 3,i32*%ab,align 4
%ac=call fastcc i32@_SMLLN14PartialDynamic9subsumeTyE_185(i8*inreg%S)
%ad=icmp eq i32%ac,0
br i1%ad,label%ae,label%al
ae:
store i8*null,i8**%c,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%af=call i8*@sml_alloc(i32 inreg 60)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177336,i32*%ah,align 4
%ai=getelementptr inbounds i8,i8*%af,i64 56
%aj=bitcast i8*%ai to i32*
store i32 1,i32*%aj,align 4
%ak=bitcast i8*%af to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@an,i64 0,i32 2)to i8*),i8**%ak,align 8
call void@sml_raise(i8*inreg%af)#1
unreachable
al:
%am=load i8*,i8**%g,align 8
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i32*
%ap=load i32,i32*%ao,align 4
%aq=getelementptr inbounds i8,i8*%am,i64 20
%ar=bitcast i8*%aq to i32*
%as=load i32,i32*%ar,align 4
%at=call fastcc i8*@_SMLFN9ReifiedTy26typIdConSetListToConSetEnvE(i8*inreg null)
%au=call fastcc i8*@_SMLFN9ReifiedTy27MergeConSetEnvWithTyRepListE(i8*inreg%at)
%av=getelementptr inbounds i8,i8*%au,i64 16
%aw=bitcast i8*%av to i8*(i8*,i8*)**
%ax=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aw,align 8
%ay=bitcast i8*%au to i8**
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%d,align 8
%aA=bitcast i8**%g to i8***
%aB=load i8**,i8***%aA,align 8
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%h,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
%aG=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*null,i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aD,i64 16
%aL=bitcast i8*%aK to i32*
store i32 3,i32*%aL,align 4
%aM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aN=call fastcc i8*%ax(i8*inreg%aM,i8*inreg%aD)
%aO=call fastcc i8*@_SMLFN9ReifiedTy5TyRepE(i8*inreg%aN)
%aP=getelementptr inbounds i8,i8*%aO,i64 16
%aQ=bitcast i8*%aP to i8*(i8*,i8*)**
%aR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aQ,align 8
%aS=bitcast i8*%aO to i8**
%aT=load i8*,i8**%aS,align 8
store i8*%aT,i8**%d,align 8
%aU=load i8**,i8***%aA,align 8
store i8*null,i8**%g,align 8
%aV=load i8*,i8**%aU,align 8
%aW=call fastcc i8*@_SMLFN9ReifiedTy16TyRepToReifiedTyE(i8*inreg%aV)
%aX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aY=call fastcc i8*%aR(i8*inreg%aX,i8*inreg%aW)
%aZ=call fastcc i8*@_SMLFN15ReifiedTermToML21reifiedTermToMLWithTyE(i32 inreg%ap,i32 inreg%as,i8*inreg%aY)
%a0=getelementptr inbounds i8,i8*%aZ,i64 16
%a1=bitcast i8*%a0 to i8*(i8*,i8*)**
%a2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a1,align 8
%a3=bitcast i8*%aZ to i8**
%a4=load i8*,i8**%a3,align 8
%a5=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a6=call fastcc i8*%a2(i8*inreg%a4,i8*inreg%a5)
%a7=getelementptr inbounds i8,i8*%a6,i64 16
%a8=bitcast i8*%a7 to i8*(i8*,i8*)**
%a9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a8,align 8
%ba=bitcast i8*%a6 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%c,align 8
%bc=call i8*@sml_alloc(i32 inreg 20)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177296,i32*%be,align 4
%bf=load i8*,i8**%f,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=load i8*,i8**%e,align 8
%bi=getelementptr inbounds i8,i8*%bc,i64 8
%bj=bitcast i8*%bi to i8**
store i8*%bh,i8**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bc,i64 16
%bl=bitcast i8*%bk to i32*
store i32 3,i32*%bl,align 4
%bm=load i8*,i8**%c,align 8
%bn=tail call fastcc i8*%a9(i8*inreg%bm,i8*inreg%bc)
ret i8*%bn
}
define fastcc i8*@_SMLFN14PartialDynamic17coerceTermGenericE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i8*inreg%e)#4 gc"smlsharp"{
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%e,i8**%f,align 8
%h=call i8*@sml_alloc(i32 inreg 28)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177304,i32*%j,align 4
store i8*%h,i8**%g,align 8
%k=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%a,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%b,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32%c,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%h,i64 20
%t=bitcast i8*%s to i32*
store i32%d,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%h,i64 24
%v=bitcast i8*%u to i32*
store i32 1,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%g,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic17coerceTermGenericE_351 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic17coerceTermGenericE_351 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
ret i8*%w
}
define internal fastcc i32@_SMLLN14PartialDynamic16checkTermGenericE_354(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%j,i64 4
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=call fastcc i8*@_SMLFN11ReifiedTerm13toReifiedTermE(i32 inreg%m,i32 inreg%p)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
%w=bitcast i8**%d to i8***
%x=load i8**,i8***%w,align 8
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%t(i8*inreg%v,i8*inreg%y)
%A=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%z)
store i8*%A,i8**%c,align 8
%B=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C=getelementptr inbounds i8,i8*%B,i64 8
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
%F=call fastcc i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg%E)
%G=getelementptr inbounds i8,i8*%F,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%d,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
%M=load i8*,i8**%c,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=load i8*,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%J,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=tail call fastcc i32@_SMLLN14PartialDynamic9subsumeTyE_185(i8*inreg%J)
ret i32%T
}
define fastcc i8*@_SMLFN14PartialDynamic16checkTermGenericE(i32 inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,i8**%c,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLN14PartialDynamic16checkTermGenericE_354 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic16checkTermGenericE_432 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLLN14PartialDynamic11viewDynamicE_357(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%f,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
%p=getelementptr inbounds i8,i8*%n,i64 24
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%n,i64 28
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call fastcc i8*@_SMLFN11ReifiedTerm13toReifiedTermE(i32 inreg%r,i32 inreg%u)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=call fastcc i8*%y(i8*inreg%A,i8*inreg%B)
store i8*%C,i8**%c,align 8
%D=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%C)
%E=call fastcc i8*@_SMLFN9ReifiedTy26typIdConSetListToConSetEnvE(i8*inreg null)
%F=call fastcc i8*@_SMLFN9ReifiedTy27MergeConSetEnvWithTyRepListE(i8*inreg%E)
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%d,align 8
%L=load i8*,i8**%f,align 8
%M=getelementptr inbounds i8,i8*%L,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%e,align 8
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177296,i32*%R,align 4
%S=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to i8**
store i8*null,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to i32*
store i32 3,i32*%X,align 4
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=call fastcc i8*%I(i8*inreg%Y,i8*inreg%P)
%aa=call fastcc i8*@_SMLFN9ReifiedTy5TyRepE(i8*inreg%Z)
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%d,align 8
%ag=load i8*,i8**%f,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
%ak=call fastcc i8*@_SMLFN9ReifiedTy16TyRepToReifiedTyE(i8*inreg%aj)
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=call fastcc i8*%ad(i8*inreg%al,i8*inreg%ak)
%an=call fastcc i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg%am)
%ao=getelementptr inbounds i8,i8*%an,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%d,align 8
%ar=bitcast i8*%an to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%e,align 8
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177296,i32*%av,align 4
%aw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%az=getelementptr inbounds i8,i8*%at,i64 8
%aA=bitcast i8*%az to i8**
store i8*%ay,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%at,i64 16
%aC=bitcast i8*%aB to i32*
store i32 3,i32*%aC,align 4
%aD=call fastcc i8*@_SMLLN14PartialDynamic11projectTermE_322(i8*inreg%at)
store i8*%aD,i8**%c,align 8
%aE=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%aD)
store i8*%aE,i8**%d,align 8
%aF=load i8*,i8**%f,align 8
%aG=getelementptr inbounds i8,i8*%aF,i64 16
%aH=bitcast i8*%aG to i32*
%aI=load i32,i32*%aH,align 4
%aJ=getelementptr inbounds i8,i8*%aF,i64 20
%aK=bitcast i8*%aJ to i32*
%aL=load i32,i32*%aK,align 4
%aM=call fastcc i8*@_SMLFN9ReifiedTy26typIdConSetListToConSetEnvE(i8*inreg null)
%aN=call fastcc i8*@_SMLFN9ReifiedTy27MergeConSetEnvWithTyRepListE(i8*inreg%aM)
%aO=getelementptr inbounds i8,i8*%aN,i64 16
%aP=bitcast i8*%aO to i8*(i8*,i8*)**
%aQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aP,align 8
%aR=bitcast i8*%aN to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%g,align 8
%aT=bitcast i8**%f to i8***
%aU=load i8**,i8***%aT,align 8
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%h,align 8
%aW=call i8*@sml_alloc(i32 inreg 20)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177296,i32*%aY,align 4
%aZ=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a0=bitcast i8*%aW to i8**
store i8*%aZ,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aW,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*null,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aW,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%a5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a6=call fastcc i8*%aQ(i8*inreg%a5,i8*inreg%aW)
%a7=call fastcc i8*@_SMLFN9ReifiedTy5TyRepE(i8*inreg%a6)
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
store i8*%bc,i8**%g,align 8
%bd=load i8**,i8***%aT,align 8
store i8*null,i8**%f,align 8
%be=load i8*,i8**%bd,align 8
%bf=call fastcc i8*@_SMLFN9ReifiedTy16TyRepToReifiedTyE(i8*inreg%be)
%bg=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bh=call fastcc i8*%ba(i8*inreg%bg,i8*inreg%bf)
%bi=call fastcc i8*@_SMLFN15ReifiedTermToML21reifiedTermToMLWithTyE(i32 inreg%aI,i32 inreg%aL,i8*inreg%bh)
%bj=getelementptr inbounds i8,i8*%bi,i64 16
%bk=bitcast i8*%bj to i8*(i8*,i8*)**
%bl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bk,align 8
%bm=bitcast i8*%bi to i8**
%bn=load i8*,i8**%bm,align 8
%bo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bp=call fastcc i8*%bl(i8*inreg%bn,i8*inreg%bo)
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
store i8*%bu,i8**%c,align 8
%bv=call i8*@sml_alloc(i32 inreg 20)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177296,i32*%bx,align 4
%by=load i8*,i8**%e,align 8
%bz=bitcast i8*%bv to i8**
store i8*%by,i8**%bz,align 8
%bA=load i8*,i8**%d,align 8
%bB=getelementptr inbounds i8,i8*%bv,i64 8
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bv,i64 16
%bE=bitcast i8*%bD to i32*
store i32 3,i32*%bE,align 4
%bF=load i8*,i8**%c,align 8
%bG=tail call fastcc i8*%bs(i8*inreg%bF,i8*inreg%bv)
ret i8*%bG
}
define internal fastcc i8*@_SMLLN14PartialDynamic15viewTermGenericE_362(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%n,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
%m=load i8*,i8**%g,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%a,%p]
%q=phi i8*[%l,%k],[%b,%p]
store i8*null,i8**%c,align 8
store i8*%q,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%o,i64 8
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=getelementptr inbounds i8,i8*%o,i64 12
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=call fastcc i8*@_SMLFN11ReifiedTerm13toReifiedTermE(i32 inreg%t,i32 inreg%w)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=bitcast i8**%e to i8***
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
%G=call fastcc i8*%A(i8*inreg%C,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%G)
store i8*%H,i8**%d,align 8
%I=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%J=getelementptr inbounds i8,i8*%I,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg%L)
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%e,align 8
%P=getelementptr inbounds i8,i8*%M,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%f,align 8
%S=call i8*@sml_alloc(i32 inreg 20)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177296,i32*%U,align 4
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%f,align 8
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%S,i64 16
%ab=bitcast i8*%aa to i32*
store i32 3,i32*%ab,align 4
%ac=call fastcc i32@_SMLLN14PartialDynamic7matchTyE_173(i8*inreg%S)
%ad=icmp eq i32%ac,0
br i1%ad,label%ae,label%ay
ae:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%af=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%af,i8**%c,align 8
%ag=call i8*@sml_alloc(i32 inreg 28)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177304,i32*%ai,align 4
store i8*%ag,i8**%d,align 8
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@aq,i64 0,i32 2,i64 0),i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[29x i8]}>,<{[4x i8],i32,[29x i8]}>*@ar,i64 0,i32 2,i64 0),i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 24
%aq=bitcast i8*%ap to i32*
store i32 7,i32*%aq,align 4
%ar=call i8*@sml_alloc(i32 inreg 60)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177336,i32*%at,align 4
%au=getelementptr inbounds i8,i8*%ar,i64 56
%av=bitcast i8*%au to i32*
store i32 1,i32*%av,align 4
%aw=load i8*,i8**%d,align 8
%ax=bitcast i8*%ar to i8**
store i8*%aw,i8**%ax,align 8
call void@sml_raise(i8*inreg%ar)#1
unreachable
ay:
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aF=getelementptr inbounds i8,i8*%az,i64 8
%aG=bitcast i8*%aF to i8**
store i8*%aE,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%az,i64 16
%aI=bitcast i8*%aH to i32*
store i32 3,i32*%aI,align 4
%aJ=call fastcc i8*@_SMLLN14PartialDynamic11projectTermE_322(i8*inreg%az)
store i8*%aJ,i8**%c,align 8
%aK=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%aJ)
store i8*%aK,i8**%d,align 8
%aL=load i8*,i8**%g,align 8
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i32*
%aO=load i32,i32*%aN,align 4
%aP=getelementptr inbounds i8,i8*%aL,i64 20
%aQ=bitcast i8*%aP to i32*
%aR=load i32,i32*%aQ,align 4
%aS=call fastcc i8*@_SMLFN9ReifiedTy26typIdConSetListToConSetEnvE(i8*inreg null)
%aT=call fastcc i8*@_SMLFN9ReifiedTy27MergeConSetEnvWithTyRepListE(i8*inreg%aS)
%aU=getelementptr inbounds i8,i8*%aT,i64 16
%aV=bitcast i8*%aU to i8*(i8*,i8*)**
%aW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aV,align 8
%aX=bitcast i8*%aT to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%f,align 8
%aZ=bitcast i8**%g to i8***
%a0=load i8**,i8***%aZ,align 8
%a1=load i8*,i8**%a0,align 8
store i8*%a1,i8**%h,align 8
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177296,i32*%a4,align 4
%a5=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a6=bitcast i8*%a2 to i8**
store i8*%a5,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a2,i64 8
%a8=bitcast i8*%a7 to i8**
store i8*null,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a2,i64 16
%ba=bitcast i8*%a9 to i32*
store i32 3,i32*%ba,align 4
%bb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bc=call fastcc i8*%aW(i8*inreg%bb,i8*inreg%a2)
%bd=call fastcc i8*@_SMLFN9ReifiedTy5TyRepE(i8*inreg%bc)
%be=getelementptr inbounds i8,i8*%bd,i64 16
%bf=bitcast i8*%be to i8*(i8*,i8*)**
%bg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bf,align 8
%bh=bitcast i8*%bd to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%f,align 8
%bj=load i8**,i8***%aZ,align 8
store i8*null,i8**%g,align 8
%bk=load i8*,i8**%bj,align 8
%bl=call fastcc i8*@_SMLFN9ReifiedTy16TyRepToReifiedTyE(i8*inreg%bk)
%bm=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bn=call fastcc i8*%bg(i8*inreg%bm,i8*inreg%bl)
%bo=call fastcc i8*@_SMLFN15ReifiedTermToML21reifiedTermToMLWithTyE(i32 inreg%aO,i32 inreg%aR,i8*inreg%bn)
%bp=getelementptr inbounds i8,i8*%bo,i64 16
%bq=bitcast i8*%bp to i8*(i8*,i8*)**
%br=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bq,align 8
%bs=bitcast i8*%bo to i8**
%bt=load i8*,i8**%bs,align 8
%bu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bv=call fastcc i8*%br(i8*inreg%bt,i8*inreg%bu)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
store i8*%bA,i8**%c,align 8
%bB=call i8*@sml_alloc(i32 inreg 20)#0
%bC=getelementptr inbounds i8,i8*%bB,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=load i8*,i8**%e,align 8
%bF=bitcast i8*%bB to i8**
store i8*%bE,i8**%bF,align 8
%bG=load i8*,i8**%d,align 8
%bH=getelementptr inbounds i8,i8*%bB,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bB,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 3,i32*%bK,align 4
%bL=load i8*,i8**%c,align 8
%bM=tail call fastcc i8*%by(i8*inreg%bL,i8*inreg%bB)
ret i8*%bM
}
define fastcc i8*@_SMLFN14PartialDynamic15viewTermGenericE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i8*inreg%e)#4 gc"smlsharp"{
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%e,i8**%f,align 8
%h=call i8*@sml_alloc(i32 inreg 28)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177304,i32*%j,align 4
store i8*%h,i8**%g,align 8
%k=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=getelementptr inbounds i8,i8*%h,i64 8
%n=bitcast i8*%m to i32*
store i32%a,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%h,i64 12
%p=bitcast i8*%o to i32*
store i32%b,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32%c,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%h,i64 20
%t=bitcast i8*%s to i32*
store i32%d,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%h,i64 24
%v=bitcast i8*%u to i32*
store i32 1,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%g,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15viewTermGenericE_362 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15viewTermGenericE_362 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLN14PartialDynamic20dynamicExistInstanceE_367(i8*inreg%a,i32 inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8***
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8****
%l=load i8***,i8****%k,align 8
br label%m
m:
%n=phi i8***[%l,%j],[%i,%h]
%o=load i8**,i8***%n,align 8
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=bitcast i8***%n to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%r,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=call fastcc i8*@_SMLFN4IEnv4findE(i32 inreg 1,i32 inreg 8)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%e,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 12
%F=bitcast i8*%E to i32*
store i32 0,i32*%F,align 1
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 8
%J=bitcast i8*%I to i32*
store i32%b,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%B,i64 16
%L=bitcast i8*%K to i32*
store i32 1,i32*%L,align 4
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=call fastcc i8*%y(i8*inreg%M,i8*inreg%B)
%O=icmp eq i8*%N,null
br i1%O,label%P,label%aj
P:
%Q=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%Q,i8**%c,align 8
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
store i8*%R,i8**%d,align 8
%U=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@at,i64 0,i32 2,i64 0),i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@au,i64 0,i32 2,i64 0),i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 7,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 60)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177336,i32*%ae,align 4
%af=getelementptr inbounds i8,i8*%ac,i64 56
%ag=bitcast i8*%af to i32*
store i32 1,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
%ai=bitcast i8*%ac to i8**
store i8*%ah,i8**%ai,align 8
call void@sml_raise(i8*inreg%ac)#1
unreachable
aj:
%ak=bitcast i8*%N to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%d,align 8
%am=call fastcc i32@_SMLFN9ReifiedTy6sizeOfE(i8*inreg%al)
%an=load i8*,i8**%d,align 8
%ao=call fastcc i32@_SMLFN15ReifiedTermToML8constTagE(i8*inreg%an)
%ap=call fastcc i32@_SMLFN15ReifiedTermToML9tagToWordE(i32 inreg%ao)
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%e,align 8
%at=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=call i8*@sml_alloc(i32 inreg 20)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177296,i32*%aC,align 4
%aD=load i8*,i8**%e,align 8
%aE=bitcast i8*%aA to i8**
store i8*%aD,i8**%aE,align 8
%aF=getelementptr inbounds i8,i8*%aA,i64 8
%aG=bitcast i8*%aF to i32*
store i32%am,i32*%aG,align 4
%aH=getelementptr inbounds i8,i8*%aA,i64 12
%aI=bitcast i8*%aH to i32*
store i32%ap,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aA,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 1,i32*%aK,align 4
ret i8*%aA
}
define internal fastcc i8*@_SMLL10selectCase_370(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
%h=bitcast i8**%f to i8***
br label%i
i:
%j=phi i8*[%ab,%X],[%b,%k]
store i8*%j,i8**%c,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%p,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%c,align 8
br label%p
p:
%q=phi i8*[%o,%n],[%j,%i]
store i8*null,i8**%c,align 8
store i8*%q,i8**%e,align 8
%r=icmp eq i8*%q,null
br i1%r,label%s,label%z
s:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%t=call i8*@sml_alloc(i32 inreg 60)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177336,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 56
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=bitcast i8*%t to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aw,i64 0,i32 2)to i8*),i8**%y,align 8
call void@sml_raise(i8*inreg%t)#1
unreachable
z:
%A=bitcast i8*%q to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg%C)
%E=getelementptr inbounds i8,i8*%D,i64 8
%F=bitcast i8*%E to i8**
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%c,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%d,align 8
%J=load i8**,i8***%h,align 8
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%g,align 8
%L=call i8*@sml_alloc(i32 inreg 20)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177296,i32*%N,align 4
%O=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%L,i64 8
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%L,i64 16
%U=bitcast i8*%T to i32*
store i32 3,i32*%U,align 4
%V=call fastcc i8*@_SMLFN9ReifiedTy12reifiedTyEq_GE(i8*inreg%L)
%W=icmp eq i8*%V,null
br i1%W,label%X,label%ac
X:
store i8*null,i8**%d,align 8
%Y=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
br label%i
ac:
store i8*null,i8**%f,align 8
%ad=bitcast i8*%V to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%c,align 8
%af=bitcast i8**%e to i8***
%ag=load i8**,i8***%af,align 8
%ah=load i8*,i8**%ag,align 8
%ai=getelementptr inbounds i8,i8*%ah,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%e,align 8
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
%at=load i8*,i8**%d,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%c,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8*,i8**%e,align 8
%aB=tail call fastcc i8*%an(i8*inreg%aA,i8*inreg%aq)
ret i8*%aB
}
define internal fastcc i8*@_SMLLN14PartialDynamic15dynamicTypeCaseE_373(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%l,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
%k=load i8*,i8**%e,align 8
br label%l
l:
%m=phi i8*[%k,%i],[%a,%n]
%o=phi i8*[%j,%i],[%b,%n]
store i8*null,i8**%c,align 8
store i8*%o,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%m,i64 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%m,i64 12
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call fastcc i8*@_SMLFN11ReifiedTerm13toReifiedTermE(i32 inreg%r,i32 inreg%u)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
%B=bitcast i8**%e to i8***
%C=load i8**,i8***%B,align 8
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%y(i8*inreg%A,i8*inreg%D)
%F=call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%E)
store i8*%F,i8**%c,align 8
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177288,i32*%I,align 4
store i8*%G,i8**%f,align 8
%J=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=call i8*@sml_alloc(i32 inreg 28)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177304,i32*%P,align 4
%Q=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%N,i64 8
%T=bitcast i8*%S to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10selectCase_370 to void(...)*),void(...)**%T,align 8
%U=getelementptr inbounds i8,i8*%N,i64 16
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10selectCase_370 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%N,i64 24
%X=bitcast i8*%W to i32*
store i32 -2147483647,i32*%X,align 4
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=call fastcc i8*@_SMLL10selectCase_370(i8*inreg%Q,i8*inreg%Y)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=load i8**,i8***%B,align 8
%ag=load i8*,i8**%af,align 8
%ah=tail call fastcc i8*%ac(i8*inreg%ae,i8*inreg%ag)
ret i8*%ah
}
define internal fastcc i8*@_SMLLN14PartialDynamic15dynamicTypeCaseE_374(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15dynamicTypeCaseE_373 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15dynamicTypeCaseE_373 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genNullE_380(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic7genNullE_377(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genNullE_377(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 23,label%ac
i32 32,label%z
]
n:
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=bitcast i8*%o to i32*
%q=getelementptr inbounds i8,i8*%o,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%o,i64 4
%t=bitcast i8*%s to i32*
store i32 0,i32*%t,align 1
store i32 23,i32*%p,align 4
%u=load i8*,i8**%b,align 8
%v=getelementptr inbounds i8,i8*%o,i64 8
%w=bitcast i8*%v to i8**
store i8*%u,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%o,i64 16
%y=bitcast i8*%x to i32*
store i32 2,i32*%y,align 4
ret i8*%o
z:
%A=getelementptr inbounds i8,i8*%j,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%b,align 8
%D=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
%J=call fastcc i8*%G(i8*inreg%I,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ax,i64 0,i32 2)to i8*))
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
%P=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Q=call fastcc i8*%M(i8*inreg%O,i8*inreg%P)
store i8*%Q,i8**%b,align 8
%R=call i8*@sml_alloc(i32 inreg 20)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177296,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%R,i64 4
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 1
store i32 29,i32*%S,align 4
%X=load i8*,i8**%b,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 8
%Z=bitcast i8*%Y to i8**
store i8*%X,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 16
%ab=bitcast i8*%aa to i32*
store i32 2,i32*%ab,align 4
ret i8*%R
ac:
store i8*null,i8**%b,align 8
%ad=getelementptr inbounds i8,i8*%j,i64 8
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*@_SMLLN14PartialDynamic7genNullE_377(i8*inreg%af)
store i8*%ag,i8**%b,align 8
%ah=call i8*@sml_alloc(i32 inreg 20)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177296,i32*%aj,align 4
%ak=load i8*,i8**%b,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to i8**
store i8*null,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ah,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,i32*%ap,align 4
store i8*null,i8**%c,align 8
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=call i8*@sml_alloc(i32 inreg 20)#0
%aB=bitcast i8*%aA to i32*
%aC=getelementptr inbounds i8,i8*%aA,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%aA,i64 4
%aF=bitcast i8*%aE to i32*
store i32 0,i32*%aF,align 1
store i32 21,i32*%aB,align 4
%aG=load i8*,i8**%d,align 8
%aH=getelementptr inbounds i8,i8*%aA,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aA,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 2,i32*%aK,align 4
ret i8*%aA
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genVoidE_387(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic7genVoidE_382(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genVoidE_382(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=bitcast i8*%h to i32*
%k=load i32,i32*%j,align 4
switch i32%k,label%l[
i32 23,label%aa
i32 32,label%x
]
l:
%m=call i8*@sml_alloc(i32 inreg 20)#0
%n=bitcast i8*%m to i32*
%o=getelementptr inbounds i8,i8*%m,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177296,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%m,i64 4
%r=bitcast i8*%q to i32*
store i32 0,i32*%r,align 1
store i32 41,i32*%n,align 4
%s=load i8*,i8**%b,align 8
%t=getelementptr inbounds i8,i8*%m,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%m,i64 16
%w=bitcast i8*%v to i32*
store i32 2,i32*%w,align 4
ret i8*%m
x:
%y=getelementptr inbounds i8,i8*%h,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%b,align 8
%B=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*%E(i8*inreg%G,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@az,i64 0,i32 2)to i8*))
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
%N=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%O=call fastcc i8*%K(i8*inreg%M,i8*inreg%N)
store i8*%O,i8**%b,align 8
%P=call i8*@sml_alloc(i32 inreg 20)#0
%Q=bitcast i8*%P to i32*
%R=getelementptr inbounds i8,i8*%P,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
%T=getelementptr inbounds i8,i8*%P,i64 4
%U=bitcast i8*%T to i32*
store i32 0,i32*%U,align 1
store i32 29,i32*%Q,align 4
%V=load i8*,i8**%b,align 8
%W=getelementptr inbounds i8,i8*%P,i64 8
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 16
%Z=bitcast i8*%Y to i32*
store i32 2,i32*%Z,align 4
ret i8*%P
aa:
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@ay,i64 0,i32 2)to i8*)
}
define fastcc i8*@_SMLFN14PartialDynamic5glbTyE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic5glbTyE_197(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN14PartialDynamic5lubTyE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic5lubTyE_210(i8*inreg%h)
ret i8*%j
}
define fastcc i32@_SMLFN14PartialDynamic7matchTyE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i32@_SMLLN14PartialDynamic7matchTyE_173(i8*inreg%h)
ret i32%j
}
define fastcc i8*@_SMLFN14PartialDynamic7inferTyE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_224(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14PartialDynamic11viewDynamicE_397(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%g,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%f,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%a,%q]
%r=getelementptr inbounds i8,i8*%p,i64 8
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=getelementptr inbounds i8,i8*%p,i64 12
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=call fastcc i8*@_SMLFN9ReifiedTy26typIdConSetListToConSetEnvE(i8*inreg null)
%y=call fastcc i8*@_SMLFN9ReifiedTy27MergeConSetEnvWithTyRepListE(i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%h,align 8
%E=bitcast i8**%f to i8***
%F=load i8**,i8***%E,align 8
%G=load i8*,i8**%F,align 8
store i8*%G,i8**%i,align 8
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
%K=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i8**
store i8*null,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
%Q=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%R=call fastcc i8*%B(i8*inreg%Q,i8*inreg%H)
%S=call fastcc i8*@_SMLFN9ReifiedTy5TyRepE(i8*inreg%R)
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%S to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%h,align 8
%Y=load i8**,i8***%E,align 8
%Z=load i8*,i8**%Y,align 8
%aa=call fastcc i8*@_SMLFN9ReifiedTy16TyRepToReifiedTyE(i8*inreg%Z)
%ab=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ac=call fastcc i8*%V(i8*inreg%ab,i8*inreg%aa)
store i8*%ac,i8**%i,align 8
%ad=load i8*,i8**%f,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%ah=getelementptr inbounds i8,i8*%ad,i64 12
%ai=bitcast i8*%ah to i32*
%aj=load i32,i32*%ai,align 4
%ak=call fastcc i8*@_SMLFN9ReifiedTy26typIdConSetListToConSetEnvE(i8*inreg null)
%al=call fastcc i8*@_SMLFN9ReifiedTy27MergeConSetEnvWithTyRepListE(i8*inreg%ak)
%am=getelementptr inbounds i8,i8*%al,i64 16
%an=bitcast i8*%am to i8*(i8*,i8*)**
%ao=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%an,align 8
%ap=bitcast i8*%al to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%h,align 8
%ar=load i8**,i8***%E,align 8
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%j,align 8
%at=call i8*@sml_alloc(i32 inreg 20)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177296,i32*%av,align 4
%aw=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%at,i64 8
%az=bitcast i8*%ay to i8**
store i8*null,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%at,i64 16
%aB=bitcast i8*%aA to i32*
store i32 3,i32*%aB,align 4
%aC=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aD=call fastcc i8*%ao(i8*inreg%aC,i8*inreg%at)
%aE=call fastcc i8*@_SMLFN9ReifiedTy5TyRepE(i8*inreg%aD)
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%h,align 8
%aK=load i8**,i8***%E,align 8
store i8*null,i8**%f,align 8
%aL=load i8*,i8**%aK,align 8
%aM=call fastcc i8*@_SMLFN9ReifiedTy16TyRepToReifiedTyE(i8*inreg%aL)
%aN=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aO=call fastcc i8*%aH(i8*inreg%aN,i8*inreg%aM)
%aP=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aQ=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aQ)
%aR=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aR)
%aS=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aS)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%aO,i8**%d,align 8
store i8*%aP,i8**%c,align 8
%aT=call i8*@sml_alloc(i32 inreg 36)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177312,i32*%aV,align 4
store i8*%aT,i8**%e,align 8
%aW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aZ=getelementptr inbounds i8,i8*%aT,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aT,i64 16
%a2=bitcast i8*%a1 to i32*
store i32%t,i32*%a2,align 4
%a3=getelementptr inbounds i8,i8*%aT,i64 20
%a4=bitcast i8*%a3 to i32*
store i32%w,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%aT,i64 24
%a6=bitcast i8*%a5 to i32*
store i32%ag,i32*%a6,align 4
%a7=getelementptr inbounds i8,i8*%aT,i64 28
%a8=bitcast i8*%a7 to i32*
store i32%aj,i32*%a8,align 4
%a9=getelementptr inbounds i8,i8*%aT,i64 32
%ba=bitcast i8*%a9 to i32*
store i32 3,i32*%ba,align 4
%bb=call i8*@sml_alloc(i32 inreg 28)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177304,i32*%bd,align 4
%be=load i8*,i8**%e,align 8
%bf=bitcast i8*%bb to i8**
store i8*%be,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%bb,i64 8
%bh=bitcast i8*%bg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11viewDynamicE_357 to void(...)*),void(...)**%bh,align 8
%bi=getelementptr inbounds i8,i8*%bb,i64 16
%bj=bitcast i8*%bi to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11viewDynamicE_357 to void(...)*),void(...)**%bj,align 8
%bk=getelementptr inbounds i8,i8*%bb,i64 24
%bl=bitcast i8*%bk to i32*
store i32 1,i32*%bl,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aQ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aR)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aS)
%bm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bn=call fastcc i8*@_SMLLN14PartialDynamic11viewDynamicE_357(i8*inreg%be,i8*inreg%bm)
ret i8*%bn
}
define fastcc i8*@_SMLFN14PartialDynamic11viewDynamicE(i32 inreg%a,i32 inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%c,i8**%d,align 8
%f=call i8*@sml_alloc(i32 inreg 20)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177296,i32*%h,align 4
store i8*%f,i8**%e,align 8
%i=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%j=bitcast i8*%f to i8**
store i8*%i,i8**%j,align 8
%k=getelementptr inbounds i8,i8*%f,i64 8
%l=bitcast i8*%k to i32*
store i32%a,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%f,i64 12
%n=bitcast i8*%m to i32*
store i32%b,i32*%n,align 4
%o=getelementptr inbounds i8,i8*%f,i64 16
%p=bitcast i8*%o to i32*
store i32 1,i32*%p,align 4
%q=call i8*@sml_alloc(i32 inreg 28)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177304,i32*%s,align 4
%t=load i8*,i8**%e,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%q,i64 8
%w=bitcast i8*%v to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11viewDynamicE_397 to void(...)*),void(...)**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic11viewDynamicE_397 to void(...)*),void(...)**%y,align 8
%z=getelementptr inbounds i8,i8*%q,i64 24
%A=bitcast i8*%z to i32*
store i32 1,i32*%A,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN14PartialDynamic4nullE_400(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%c,align 8
%l=call fastcc i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg%j)
store i8*%l,i8**%c,align 8
%m=load i8*,i8**%d,align 8
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
store i8*null,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%m,i64 4
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=call fastcc i8*@_SMLFN11ReifiedTerm9toDynamicE(i32 inreg%o,i32 inreg%r)
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%d,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%y,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*@_SMLLN14PartialDynamic7genNullE_377(i8*inreg%B)
%D=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%E=call fastcc i8*%v(i8*inreg%D,i8*inreg%C)
ret i8*%E
}
define fastcc i8*@_SMLFN14PartialDynamic4nullE(i32 inreg%a,i32 inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=call i8*@sml_alloc(i32 inreg 12)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177288,i32*%h,align 4
store i8*%e,i8**%d,align 8
store i32%a,i32*%f,align 4
%i=getelementptr inbounds i8,i8*%e,i64 4
%j=bitcast i8*%i to i32*
store i32%b,i32*%j,align 4
%k=getelementptr inbounds i8,i8*%e,i64 8
%l=bitcast i8*%k to i32*
store i32 0,i32*%l,align 4
%m=call i8*@sml_alloc(i32 inreg 28)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177304,i32*%o,align 4
%p=load i8*,i8**%d,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%m,i64 8
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic4nullE_400 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%m,i64 16
%u=bitcast i8*%t to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic4nullE_400 to void(...)*),void(...)**%u,align 8
%v=getelementptr inbounds i8,i8*%m,i64 24
%w=bitcast i8*%v to i32*
store i32 -2147483647,i32*%w,align 4
ret i8*%m
}
define internal fastcc i8*@_SMLLN14PartialDynamic4voidE_403(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%c,align 8
%l=call fastcc i8*@_SMLFN9ReifiedTy14getConstructTyE(i8*inreg%j)
store i8*%l,i8**%c,align 8
%m=load i8*,i8**%d,align 8
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
store i8*null,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%m,i64 4
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=call fastcc i8*@_SMLFN11ReifiedTerm9toDynamicE(i32 inreg%o,i32 inreg%r)
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%d,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%y,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*@_SMLLN14PartialDynamic7genVoidE_382(i8*inreg%B)
%D=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%E=call fastcc i8*%v(i8*inreg%D,i8*inreg%C)
ret i8*%E
}
define fastcc i8*@_SMLFN14PartialDynamic4voidE(i32 inreg%a,i32 inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=call i8*@sml_alloc(i32 inreg 12)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177288,i32*%h,align 4
store i8*%e,i8**%d,align 8
store i32%a,i32*%f,align 4
%i=getelementptr inbounds i8,i8*%e,i64 4
%j=bitcast i8*%i to i32*
store i32%b,i32*%j,align 4
%k=getelementptr inbounds i8,i8*%e,i64 8
%l=bitcast i8*%k to i32*
store i32 0,i32*%l,align 4
%m=call i8*@sml_alloc(i32 inreg 28)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177304,i32*%o,align 4
%p=load i8*,i8**%d,align 8
%q=bitcast i8*%m to i8**
store i8*%p,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%m,i64 8
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic4voidE_403 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%m,i64 16
%u=bitcast i8*%t to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic4voidE_403 to void(...)*),void(...)**%u,align 8
%v=getelementptr inbounds i8,i8*%m,i64 24
%w=bitcast i8*%v to i32*
store i32 -2147483647,i32*%w,align 4
ret i8*%m
}
define fastcc i8*@_SMLFN14PartialDynamic20dynamicExistInstanceE(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*null,i8**%d,align 8
%l=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%l)
%m=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%m)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%j,i8**%b,align 8
%n=call i8*@sml_alloc(i32 inreg 12)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177288,i32*%p,align 4
store i8*%n,i8**%c,align 8
%q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN14PartialDynamic20dynamicExistInstanceE_367 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic20dynamicExistInstanceE_436 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%l)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
ret i8*%u
}
define internal fastcc i8*@_SMLLN14PartialDynamic15dynamicTypeCaseE_408(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%e,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%k,i64 4
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
store i8*null,i8**%d,align 8
%r=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%r)
call void@llvm.gcroot(i8**%c,i8*null)#0
%s=call i8*@sml_alloc(i32 inreg 12)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177288,i32*%v,align 4
store i8*%s,i8**%c,align 8
store i32%n,i32*%t,align 4
%w=getelementptr inbounds i8,i8*%s,i64 4
%x=bitcast i8*%w to i32*
store i32%q,i32*%x,align 4
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i32*
store i32 0,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 28)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177304,i32*%C,align 4
%D=load i8*,i8**%c,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15dynamicTypeCaseE_374 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15dynamicTypeCaseE_374 to void(...)*),void(...)**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 24
%K=bitcast i8*%J to i32*
store i32 -2147483647,i32*%K,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*@_SMLLN14PartialDynamic15dynamicTypeCaseE_374(i8*inreg%D,i8*inreg%L)
ret i8*%M
}
define fastcc i8*@_SMLFN14PartialDynamic15dynamicTypeCaseE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)#4 gc"smlsharp"{
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=call i8*@sml_alloc(i32 inreg 20)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177296,i32*%i,align 4
store i8*%f,i8**%e,align 8
store i32%a,i32*%g,align 4
%j=getelementptr inbounds i8,i8*%f,i64 4
%k=bitcast i8*%j to i32*
store i32%b,i32*%k,align 4
%l=getelementptr inbounds i8,i8*%f,i64 8
%m=bitcast i8*%l to i32*
store i32%c,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%f,i64 12
%o=bitcast i8*%n to i32*
store i32%d,i32*%o,align 4
%p=getelementptr inbounds i8,i8*%f,i64 16
%q=bitcast i8*%p to i32*
store i32 0,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15dynamicTypeCaseE_408 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN14PartialDynamic15dynamicTypeCaseE_408 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define fastcc i8*@_SMLFN14PartialDynamic7genNullE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic7genNullE_377(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN14PartialDynamic7genVoidE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN14PartialDynamic7genVoidE_382(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN14PartialDynamic7matchTyE_415(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN14PartialDynamic7matchTyE_184(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic11glbFieldTysE_418(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic11glbFieldTysE_208(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic11lubFieldTysE_421(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic11lubFieldTysE_217(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic9glbTyListE_424(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic9glbTyListE_219(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic7inferTyE_426(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_292(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic7inferTyE_427(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic7inferTyE_303(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic11projectTermE_429(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic11projectTermE_343(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic17coerceTermGenericE_431(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e,i8*inreg%f)#4 gc"smlsharp"{
%g=bitcast i8*%b to i32*
%h=load i32,i32*%g,align 4
%i=bitcast i8*%c to i32*
%j=load i32,i32*%i,align 4
%k=bitcast i8*%d to i32*
%l=load i32,i32*%k,align 4
%m=bitcast i8*%e to i32*
%n=load i32,i32*%m,align 4
%o=tail call fastcc i8*@_SMLFN14PartialDynamic17coerceTermGenericE(i32 inreg%h,i32 inreg%j,i32 inreg%l,i32 inreg%n,i8*inreg%f)
ret i8*%o
}
define internal fastcc i8*@_SMLLN14PartialDynamic16checkTermGenericE_432(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN14PartialDynamic16checkTermGenericE_354(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN14PartialDynamic16checkTermGenericE_433(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLFN14PartialDynamic16checkTermGenericE(i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLLN14PartialDynamic15viewTermGenericE_435(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e,i8*inreg%f)#4 gc"smlsharp"{
%g=bitcast i8*%b to i32*
%h=load i32,i32*%g,align 4
%i=bitcast i8*%c to i32*
%j=load i32,i32*%i,align 4
%k=bitcast i8*%d to i32*
%l=load i32,i32*%k,align 4
%m=bitcast i8*%e to i32*
%n=load i32,i32*%m,align 4
%o=tail call fastcc i8*@_SMLFN14PartialDynamic15viewTermGenericE(i32 inreg%h,i32 inreg%j,i32 inreg%l,i32 inreg%n,i8*inreg%f)
ret i8*%o
}
define internal fastcc i8*@_SMLLN14PartialDynamic20dynamicExistInstanceE_436(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN14PartialDynamic20dynamicExistInstanceE_367(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genNullE_439(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic7genNullE_380(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genVoidE_441(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN14PartialDynamic7genVoidE_387(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic5glbTyE_443(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14PartialDynamic5glbTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic5lubTyE_444(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14PartialDynamic5lubTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic7matchTyE_445(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN14PartialDynamic7matchTyE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN14PartialDynamic7inferTyE_446(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14PartialDynamic7inferTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic11viewDynamicE_447(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#4 gc"smlsharp"{
%e=bitcast i8*%b to i32*
%f=load i32,i32*%e,align 4
%g=bitcast i8*%c to i32*
%h=load i32,i32*%g,align 4
%i=tail call fastcc i8*@_SMLFN14PartialDynamic11viewDynamicE(i32 inreg%f,i32 inreg%h,i8*inreg%d)
ret i8*%i
}
define internal fastcc i8*@_SMLLN14PartialDynamic4nullE_448(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#4 gc"smlsharp"{
%e=bitcast i8*%b to i32*
%f=load i32,i32*%e,align 4
%g=bitcast i8*%c to i32*
%h=load i32,i32*%g,align 4
%i=tail call fastcc i8*@_SMLFN14PartialDynamic4nullE(i32 inreg%f,i32 inreg%h,i8*inreg undef)
ret i8*%i
}
define internal fastcc i8*@_SMLLN14PartialDynamic4voidE_449(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d)#4 gc"smlsharp"{
%e=bitcast i8*%b to i32*
%f=load i32,i32*%e,align 4
%g=bitcast i8*%c to i32*
%h=load i32,i32*%g,align 4
%i=tail call fastcc i8*@_SMLFN14PartialDynamic4voidE(i32 inreg%f,i32 inreg%h,i8*inreg undef)
ret i8*%i
}
define internal fastcc i8*@_SMLLN14PartialDynamic20dynamicExistInstanceE_450(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14PartialDynamic20dynamicExistInstanceE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic15dynamicTypeCaseE_451(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#4 gc"smlsharp"{
%f=bitcast i8*%b to i32*
%g=load i32,i32*%f,align 4
%h=bitcast i8*%c to i32*
%i=load i32,i32*%h,align 4
%j=bitcast i8*%d to i32*
%k=load i32,i32*%j,align 4
%l=bitcast i8*%e to i32*
%m=load i32,i32*%l,align 4
%n=tail call fastcc i8*@_SMLFN14PartialDynamic15dynamicTypeCaseE(i32 inreg%g,i32 inreg%i,i32 inreg%k,i32 inreg%m)
ret i8*%n
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genNullE_452(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14PartialDynamic7genNullE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN14PartialDynamic7genVoidE_453(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14PartialDynamic7genVoidE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
