@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN13FreeTypeVarID3Set5emptyE=external local_unnamed_addr global i8*
@_SMLZN14BoundTypeVarID3Map5emptyE=external local_unnamed_addr global i8*
@_SMLZN14BoundTypeVarID3Set5emptyE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN3Loc5nolocE=external local_unnamed_addr global i8*
@_SMLZN5OTSet5emptyE=external local_unnamed_addr global i8*
@_SMLZN5Types13infiniteDepthE=external local_unnamed_addr global i32
@_SMLZN5Types8univKindE=external local_unnamed_addr global i8*
@_SMLZN8ListPair14UnequalLengthsE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[57x i8]}><{[4x i8]zeroinitializer,i32 -2147483591,[57x i8]c"src/compiler/data/types/main/TypesBasics.sml:42.14(1354)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[22x i8]}><{[4x i8]zeroinitializer,i32 -2147483626,[22x i8]c"substBTvar: BACKENDty\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[57x i8]}><{[4x i8]zeroinitializer,i32 -2147483591,[57x i8]c"src/compiler/data/types/main/TypesBasics.sml:48.57(1675)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[26x i8]}><{[4x i8]zeroinitializer,i32 -2147483622,[26x i8]c"SUBSTITUTED in substBTvar\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[56x i8]}><{[4x i8]zeroinitializer,i32 -2147483592,[56x i8]c"src/compiler/data/types/main/TypesBasics.sml:38.6(1179)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[57x i8]}><{[4x i8]zeroinitializer,i32 -2147483591,[57x i8]c"src/compiler/data/types/main/TypesBasics.sml:110.6(4313)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[57x i8]}><{[4x i8]zeroinitializer,i32 -2147483591,[57x i8]c"src/compiler/data/types/main/TypesBasics.sml:174.6(7169)\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[57x i8]}><{[4x i8]zeroinitializer,i32 -2147483591,[57x i8]c"src/compiler/data/types/main/TypesBasics.sml:129.6(5239)\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[57x i8]}><{[4x i8]zeroinitializer,i32 -2147483591,[57x i8]c"src/compiler/data/types/main/TypesBasics.sml:136.6(5578)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[57x i8]}><{[4x i8]zeroinitializer,i32 -2147483591,[57x i8]c"src/compiler/data/types/main/TypesBasics.sml:157.6(6498)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[58x i8]}><{[4x i8]zeroinitializer,i32 -2147483590,[58x i8]c"src/compiler/data/types/main/TypesBasics.sml:242.32(9995)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:256.29(10480)\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[12x i8]}><{[4x i8]zeroinitializer,i32 -2147483636,[12x i8]c"fresh Subst\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLLN11TypesBasics14makeFreshSubstE_294 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics14makeFreshSubstE_579 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics15freshRigidSubstE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15freshRigidSubstE_581 to void(...)*),i32 -2147483647}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"RIGID\00"}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN11TypesBasics30freshRigidSubstWithLambdaDepthE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics30freshRigidSubstWithLambdaDepthE_582 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"PolyTy\00"}>,align 8
@s=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,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@r,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:293.39(11575)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"monoTy: SINGLETONty\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:294.45(11650)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"monoTy: BACKENDty\00"}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:303.64(12100)\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:292.12(11525)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN11TypesBasics6monoTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics6monoTyE_585 to void(...)*),i32 -2147483647}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL11addedUtvars_333 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11addedUtvars_590 to void(...)*),i32 -2147483647}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics16freshRigidInstTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics16freshRigidInstTyE_591 to void(...)*),i32 -2147483647}>,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*)*@_SMLFN11TypesBasics24freshTopLevelRigidInstTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics24freshTopLevelRigidInstTyE_592 to void(...)*),i32 -2147483647}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[22x i8]}><{[4x i8]zeroinitializer,i32 -2147483626,[22x i8]c"TypesBasics.CoerceFun\00"}>,align 8
@E=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,[22x i8]}>,<{[4x i8],i32,[22x i8]}>*@D,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL347=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}>*@E,i32 0,i32 0,i32 0),i32 8)}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[31x i8]}><{[4x i8]zeroinitializer,i32 -2147483617,[31x i8]c"TypesBasics.CoerceTvarKindToEQ\00"}>,align 8
@G=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,[31x i8]}>,<{[4x i8],i32,[31x i8]}>*@F,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL350=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}>*@G,i32 0,i32 0,i32 0),i32 8)}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:429.36(16552)\00"}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"SINGLETONty to EFTV\00"}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:430.34(16616)\00"}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"BACKENDty to EFTV\00"}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics10traverseTyE_387 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10traverseTyE_593 to void(...)*),i32 -2147483647}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics10traverseTyE_389 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10traverseTyE_594 to void(...)*),i32 -2147483647}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics10traverseTyE_391 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10traverseTyE_595 to void(...)*),i32 -2147483647}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics10traverseTyE_393 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10traverseTyE_596 to void(...)*),i32 -2147483647}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,[58x i8]}><{[4x i8]zeroinitializer,i32 -2147483590,[58x i8]c"src/compiler/data/types/main/TypesBasics.sml:428.7(16505)\00"}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:476.15(18425)\00"}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,[27x i8]}><{[4x i8]zeroinitializer,i32 -2147483621,[27x i8]c"OCONSTkind to travseTvKind\00"}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics12traverseKindE_399 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics12traverseKindE_598 to void(...)*),i32 -2147483647}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics12traverseKindE_401 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics12traverseKindE_599 to void(...)*),i32 -2147483647}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics12traverseKindE_403 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics12traverseKindE_600 to void(...)*),i32 -2147483647}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,[58x i8]}><{[4x i8]zeroinitializer,i32 -2147483590,[58x i8]c"src/compiler/data/types/main/TypesBasics.sml:471.7(18265)\00"}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics21traverseOverloadMatchE_406 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics21traverseOverloadMatchE_601 to void(...)*),i32 -2147483647}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics21traverseOverloadMatchE_408 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics21traverseOverloadMatchE_602 to void(...)*),i32 -2147483647}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics21traverseOverloadMatchE_410 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics21traverseOverloadMatchE_603 to void(...)*),i32 -2147483647}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,[58x i8]}><{[4x i8]zeroinitializer,i32 -2147483590,[58x i8]c"src/compiler/data/types/main/TypesBasics.sml:487.7(18900)\00"}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics4EFTVE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics4EFTVE_611 to void(...)*),i32 -2147483647}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics5EFBTVE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics5EFBTVE_613 to void(...)*),i32 -2147483647}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:545.20(21552)\00"}>,align 8
@ad=private unnamed_addr constant<{[4x i8],i32,[45x i8]}><{[4x i8]zeroinitializer,i32 -2147483603,[45x i8]c"non TVAR in adjustDepthInTy (TypesUtils.sml)\00"}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics15adjustDepthInTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15adjustDepthInTyE_617 to void(...)*),i32 -2147483647}>,align 8
@af=private unnamed_addr constant<{[4x i8],i32,[58x i8]}><{[4x i8]zeroinitializer,i32 -2147483590,[58x i8]c"src/compiler/data/types/main/TypesBasics.sml:551.4(21701)\00"}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics21adjustDepthInTvarKindE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_620 to void(...)*),i32 -2147483647}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:584.18(23394)\00"}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,[29x i8]}><{[4x i8]zeroinitializer,i32 -2147483619,[29x i8]c"OCONSTkind ty to generalizer\00"}>,align 8
@aj=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:590.18(23671)\00"}>,align 8
@ak=private unnamed_addr constant<{[4x i8],i32,[41x i8]}><{[4x i8]zeroinitializer,i32 -2147483607,[41x i8]c"non TVAR found in freeTvs in generalizer\00"}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:626.33(25213)\00"}>,align 8
@am=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"generalizeTy\00"}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL4btvs_446 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL4btvs_624 to void(...)*),i32 -2147483647}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics11generalizerE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics11generalizerE_625 to void(...)*),i32 -2147483647}>,align 8
@ap=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:639.12(25605)\00"}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,[52x i8]}><{[4x i8]zeroinitializer,i32 -2147483596,[52x i8]c"non TVAR in performSubst (types/mainTypesUtils.sml)\00"}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN11TypesBasics12performSubstE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics12performSubstE_626 to void(...)*),i32 -2147483647}>,align 8
@as=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL8newSubst_454 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8newSubst_627 to void(...)*),i32 -2147483647}>,align 8
@at=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:666.32(26645)\00"}>,align 8
@au=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"copyBoundEnv\00"}>,align 8
@av=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics12copyBoundEnvE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics12copyBoundEnvE_628 to void(...)*),i32 -2147483647}>,align 8
@aw=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:695.17(27832)\00"}>,align 8
@ax=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*}>*@_SMLDL347,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@aw,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ay=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:725.21(29240)\00"}>,align 8
@az=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*}>*@_SMLDL347,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@ay,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@aA=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics10coerceFunME_488 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10coerceFunME_629 to void(...)*),i32 -2147483647}>,align 8
@aB=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:684.65(27316)\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*}>*@_SMLDL347,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@aB,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@aD=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:685.70(27404)\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*}>*@_SMLDL347,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@aD,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@aF=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL6tyList_494 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6tyList_630 to void(...)*),i32 -2147483647}>,align 8
@aG=private unnamed_addr constant<{[4x i8],i32,[58x i8]}><{[4x i8]zeroinitializer,i32 -2147483590,[58x i8]c"src/compiler/data/types/main/TypesBasics.sml:674.6(26822)\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*)*@_SMLLN11TypesBasics10coerceFunME_497 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10coerceFunME_631 to void(...)*),i32 -2147483647}>,align 8
@aI=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL10instTyList_500 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10instTyList_632 to void(...)*),i32 -2147483647}>,align 8
@aJ=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:722.24(29119)\00"}>,align 8
@aK=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*}>*@_SMLDL347,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@aJ,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@aL=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL5subst_505 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5subst_634 to void(...)*),i32 -2147483647}>,align 8
@aM=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics11tpappPrimTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics11tpappPrimTyE_635 to void(...)*),i32 -2147483647}>,align 8
@aN=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL5subst_523 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5subst_636 to void(...)*),i32 -2147483647}>,align 8
@aO=private unnamed_addr constant<{[4x i8],i32,[59x i8]}><{[4x i8]zeroinitializer,i32 -2147483589,[59x i8]c"src/compiler/data/types/main/TypesBasics.sml:791.25(31641)\00"}>,align 8
@aP=private unnamed_addr constant<{[4x i8],i32,[24x i8]}><{[4x i8]zeroinitializer,i32 -2147483624,[24x i8]c"tpappTy: arity mismatch\00"}>,align 8
@aQ=private unnamed_addr constant<{[4x i8],i32,[58x i8]}><{[4x i8]zeroinitializer,i32 -2147483590,[58x i8]c"src/compiler/data/types/main/TypesBasics.sml:798.8(31801)\00"}>,align 8
@aR=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"tpappTy:\00"}>,align 8
@aS=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c", \00"}>,align 8
@aT=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"{\00"}>,align 8
@aU=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN11TypesBasics7tpappTyE_531 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics7tpappTyE_637 to void(...)*),i32 -2147483647}>,align 8
@aV=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"}\00"}>,align 8
@aW=private unnamed_addr constant<{[4x i8],i32,[56x i8]}><{[4x i8]zeroinitializer,i32 -2147483592,[56x i8]c"src/compiler/data/types/main/TypesBasics.sml:18.14(422)\00"}>,align 8
@aX=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"TypesUtils: \00"}>,align 8
@aY=private unnamed_addr constant<{[4x i8],i32,[26x i8]}><{[4x i8]zeroinitializer,i32 -2147483622,[26x i8]c"tyConFromConTy:non con ty\00"}>,align 8
@aZ=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,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@aX,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@aY,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@a0=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics14tyConFromConTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics14tyConFromConTyE_639 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics9CoerceFunE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL347,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics18CoerceTvarKindToEQE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL350,i64 0,i32 2)to i8*)
@a1=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics7derefTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics7derefTyE_640 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics7derefTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a1,i64 0,i32 2)to i8*)
@a2=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics10substBTvarE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_641 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics10substBTvarE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a2,i64 0,i32 2)to i8*)
@a3=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics10freshSubstE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10freshSubstE_642 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics10freshSubstE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a3,i64 0,i32 2)to i8*)
@a4=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLFN11TypesBasics25freshSubstWithLambdaDepthE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics25freshSubstWithLambdaDepthE_643 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics25freshSubstWithLambdaDepthE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a4,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics15freshRigidSubstE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics30freshRigidSubstWithLambdaDepthE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics6monoTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics16freshRigidInstTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@B,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics24freshTopLevelRigidInstTyE=local_unnamed_addr constant i8*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*)
@_SMLZN11TypesBasics4EFTVE=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*)
@_SMLZN11TypesBasics5EFBTVE=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*)
@_SMLZN11TypesBasics15adjustDepthInTyE=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*)
@_SMLZN11TypesBasics21adjustDepthInTvarKindE=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*)
@_SMLZN11TypesBasics11generalizerE=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*)
@_SMLZN11TypesBasics12performSubstE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ar,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics12copyBoundEnvE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@av,i64 0,i32 2)to i8*)
@a5=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics10coerceFunME to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10coerceFunME_644 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics10coerceFunME=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a5,i64 0,i32 2)to i8*)
@a6=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics7tpappTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics7tpappTyE_645 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics7tpappTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a6,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics14tyConFromConTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a0,i64 0,i32 2)to i8*)
@_SMLZN11TypesBasics11tpappPrimTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aM,i64 0,i32 2)to i8*)
@a7=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN11TypesBasics7tupleTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics7tupleTyE_646 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN11TypesBasics7tupleTyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a7,i64 0,i32 2)to i8*)
@_SML_ftab2aaf2b808f82ee2e_TypesBasics=external global i8
@a8=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*@_SMLFN10CharVector6concatE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map3appE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map6foldliE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel3Map6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RecordLabel8tupleMapE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map10listItemsiE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map4appiE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map4mapiE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map6foldriE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map8inDomainE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map8listKeysE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map9listItemsE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Set3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Set6filterE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN14BoundTypeVarID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN3Bug11prettyPrintE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Bool3notE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv6filterE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4IEnv6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List1_VE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3appE(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*@_SMLFN4List6filterE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5OTSet10differenceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5OTSet12intersectionE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5OTSet3addE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5OTSet3appE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5OTSet5unionE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5OTSet6filterE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5OTSet6memberE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5OTSet7isEmptyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5OTSet8isSubsetE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Map3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5TypID3Map5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Types12isPropertiesE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5Types12youngerDepthE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5Types20strictlyYoungerDepthE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Types5newtyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Types8newtyRawE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Types9format__tyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Option3mapE(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 i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN6TvarID8generateE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7TvarMap5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7TvarMap6insertE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair5foldrE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8ListPair7foldrEqE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7aa263535439ee1c_ListPair()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3a60343781315c1e_Option()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_main67a5b28ff146c353_Loc()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main44ca35c4c731682b_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main60e750412e2bb4fe_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7374574ddb619c6a_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main04a904d40099ecf0_IEnv()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main606b245a3d2b48d6_Types_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main4483b5c900167763_VarInfoEnv()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainfe1ef0bb7943f949_TvarMap()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_loaddaa180c1799f3810_Bool(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load7aa263535439ee1c_ListPair(i8*)local_unnamed_addr
declare void@_SML_load3a60343781315c1e_Option(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_load67a5b28ff146c353_Loc(i8*)local_unnamed_addr
declare void@_SML_load44ca35c4c731682b_Symbol(i8*)local_unnamed_addr
declare void@_SML_load60e750412e2bb4fe_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load7374574ddb619c6a_LocalID(i8*)local_unnamed_addr
declare void@_SML_load04a904d40099ecf0_IEnv(i8*)local_unnamed_addr
declare void@_SML_load606b245a3d2b48d6_Types_ppg(i8*)local_unnamed_addr
declare void@_SML_load4483b5c900167763_VarInfoEnv(i8*)local_unnamed_addr
declare void@_SML_loadfe1ef0bb7943f949_TvarMap(i8*)local_unnamed_addr
define private void@_SML_tabb2aaf2b808f82ee2e_TypesBasics()#3{
unreachable
}
define void@_SML_load2aaf2b808f82ee2e_TypesBasics(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@a8,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@a8,align 1
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load7aa263535439ee1c_ListPair(i8*%a)#0
tail call void@_SML_load3a60343781315c1e_Option(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_load67a5b28ff146c353_Loc(i8*%a)#0
tail call void@_SML_load44ca35c4c731682b_Symbol(i8*%a)#0
tail call void@_SML_load60e750412e2bb4fe_RecordLabel(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load7374574ddb619c6a_LocalID(i8*%a)#0
tail call void@_SML_load04a904d40099ecf0_IEnv(i8*%a)#0
tail call void@_SML_load606b245a3d2b48d6_Types_ppg(i8*%a)#0
tail call void@_SML_load4483b5c900167763_VarInfoEnv(i8*%a)#0
tail call void@_SML_loadfe1ef0bb7943f949_TvarMap(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb2aaf2b808f82ee2e_TypesBasics,i8*@_SML_ftab2aaf2b808f82ee2e_TypesBasics,i8*null)#0
ret void
}
define void@_SML_main2aaf2b808f82ee2e_TypesBasics()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@a8,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*@a8,align 1
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main7aa263535439ee1c_ListPair()#2
tail call void@_SML_main3a60343781315c1e_Option()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main3446b7b079949ccf_text_io()#2
tail call void@_SML_main67a5b28ff146c353_Loc()#2
tail call void@_SML_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_main60e750412e2bb4fe_RecordLabel()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_main04a904d40099ecf0_IEnv()#2
tail call void@_SML_main606b245a3d2b48d6_Types_ppg()#2
tail call void@_SML_main4483b5c900167763_VarInfoEnv()#2
tail call void@_SML_mainfe1ef0bb7943f949_TvarMap()#2
br label%d
}
define internal fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
e:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
br label%c
c:
%d=phi i8*[%B,%y],[%a,%e]
store i8*%d,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],[%d,%c]
%l=icmp eq i8*%k,null
br i1%l,label%C,label%m
m:
%n=bitcast i8*%k to i32*
%o=load i32,i32*%n,align 4
%p=icmp eq i32%o,10
br i1%p,label%q,label%C
q:
%r=getelementptr inbounds i8,i8*%k,i64 8
%s=bitcast i8*%r to i8***
%t=load i8**,i8***%s,align 8
%u=load i8*,i8**%t,align 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=icmp eq i32%w,0
br i1%x,label%y,label%C
y:
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
br label%c
C:
ret i8*%k
}
define internal fastcc i8*@_SMLLN11TypesBasics10substBTvarE_269(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics10substBTvarE_270(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics10substBTvarE_271(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLL10boundtvars_272(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics14substBTvarKindE_230(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLL11constraints_273(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
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
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%m,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%c,align 8
%l=load i8*,i8**%f,align 8
br label%m
m:
%n=phi i8*[%l,%j],[%a,%o]
%p=phi i8*[%k,%j],[%b,%o]
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%g,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=bitcast i8*%n to i8**
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%p,i64 16
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%v,i8*inreg%x,i8*inreg%A)
store i8*%B,i8**%e,align 8
%C=load i8*,i8**%f,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=bitcast i8**%c to i8****
%J=load i8***,i8****%I,align 8
%K=load i8**,i8***%J,align 8
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%F,i8*inreg%H,i8*inreg%L)
store i8*%M,i8**%d,align 8
%N=load i8*,i8**%f,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*null,i8**%f,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=bitcast i8**%c to i8***
%U=load i8**,i8***%T,align 8
store i8*null,i8**%c,align 8
%V=load i8*,i8**%U,align 8
%W=getelementptr inbounds i8,i8*%V,i64 8
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%Q,i8*inreg%S,i8*inreg%Y)
store i8*%Z,i8**%c,align 8
%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
store i8*%aa,i8**%f,align 8
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 28)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177304,i32*%am,align 4
%an=load i8*,i8**%f,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=load i8*,i8**%g,align 8
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=load i8*,i8**%e,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 16
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%ak,i64 24
%aw=bitcast i8*%av to i32*
store i32 7,i32*%aw,align 4
ret i8*%ak
}
define internal fastcc i8*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_276(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_277(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_278(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_226(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics15substBTvarTyConE_280(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics18substBTvarTvarKindE_283(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics18substBTvarTvarKindE_284(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics18substBTvarTvarKindE_285(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=getelementptr inbounds i8,i8*%m,i64 16
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%k,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%k to i8**
%w=load i8*,i8**%v,align 8
%x=getelementptr inbounds i8,i8*%m,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_226(i8*inreg%u,i8*inreg%w,i8*inreg%z)
store i8*%A,i8**%c,align 8
%B=call i8*@sml_alloc(i32 inreg 28)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177304,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%B,i64 20
%F=bitcast i8*%E to i32*
store i32 0,i32*%F,align 1
%G=load i8*,i8**%d,align 8
%H=bitcast i8*%B to i8**
store i8*%G,i8**%H,align 8
%I=load i8*,i8**%c,align 8
%J=getelementptr inbounds i8,i8*%B,i64 8
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%B,i64 16
%M=bitcast i8*%L to i32*
store i32%r,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%B,i64 24
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
ret i8*%B
}
define internal fastcc i8*@_SMLLN11TypesBasics18substBTvarTvarKindE_286(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%a,%l]
%m=phi i8*[%h,%g],[%b,%l]
%n=getelementptr inbounds i8,i8*%k,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%k to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%r,i8*inreg%m)
ret i8*%s
}
define internal fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
s:
%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
%k=alloca i8*,align 8
%l=alloca i8*,align 8
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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%k,align 8
store i8*%c,i8**%g,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%g,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%c,%s]
%t=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%r)
%u=icmp eq i8*%t,null
br i1%u,label%hb,label%v
v:
%w=bitcast i8*%t to i32*
%x=load i32,i32*%w,align 4
switch i32%x,label%y[
i32 9,label%hx
i32 0,label%hd
i32 4,label%hb
i32 3,label%gD
i32 5,label%f5
i32 10,label%fl
i32 1,label%eS
i32 6,label%dK
i32 8,label%cV
i32 2,label%bO
i32 7,label%Q
]
y:
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
call void@sml_matchcomp_bug()
%z=load i8*,i8**@_SMLZ5Match,align 8
store i8*%z,i8**%g,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
store i8*%A,i8**%h,align 8
%D=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[56x i8]}>,<{[4x i8],i32,[56x i8]}>*@e,i64 0,i32 2,i64 0),i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=call i8*@sml_alloc(i32 inreg 60)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177336,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%J,i64 56
%N=bitcast i8*%M to i32*
store i32 1,i32*%N,align 4
%O=load i8*,i8**%h,align 8
%P=bitcast i8*%J to i8**
store i8*%O,i8**%P,align 8
call void@sml_raise(i8*inreg%J)#1
unreachable
Q:
store i8*null,i8**%g,align 8
%R=getelementptr inbounds i8,i8*%t,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%i,align 8
%U=call fastcc i8*@_SMLFN14BoundTypeVarID3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8*(i8*,i8*)**
%X=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%W,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%g,align 8
%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
store i8*%aa,i8**%h,align 8
%ad=load i8*,i8**%k,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%j,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 28)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177304,i32*%am,align 4
%an=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ak,i64 8
%aq=bitcast i8*%ap to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10boundtvars_272 to void(...)*),void(...)**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 16
%as=bitcast i8*%ar to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL10boundtvars_272 to void(...)*),void(...)**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 24
%au=bitcast i8*%at to i32*
store i32 -2147483647,i32*%au,align 4
%av=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aw=call fastcc i8*%X(i8*inreg%av,i8*inreg%ak)
%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=load i8*,i8**%i,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64 8
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
%aG=call fastcc i8*%az(i8*inreg%aB,i8*inreg%aF)
store i8*%aG,i8**%g,align 8
%aH=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
store i8*%aM,i8**%h,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
store i8*%aN,i8**%l,align 8
%aQ=load i8*,i8**%k,align 8
%aR=bitcast i8*%aN to i8**
store i8*%aQ,i8**%aR,align 8
%aS=load i8*,i8**%j,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 i8*@sml_alloc(i32 inreg 28)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177304,i32*%aZ,align 4
%a0=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11constraints_273 to void(...)*),void(...)**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 16
%a5=bitcast i8*%a4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11constraints_273 to void(...)*),void(...)**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aX,i64 24
%a7=bitcast i8*%a6 to i32*
store i32 -2147483647,i32*%a7,align 4
%a8=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a9=call fastcc i8*%aK(i8*inreg%a8,i8*inreg%aX)
%ba=getelementptr inbounds i8,i8*%a9,i64 16
%bb=bitcast i8*%ba to i8*(i8*,i8*)**
%bc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bb,align 8
%bd=bitcast i8*%a9 to i8**
%be=load i8*,i8**%bd,align 8
%bf=load i8*,i8**%i,align 8
%bg=getelementptr inbounds i8,i8*%bf,i64 16
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
%bj=call fastcc i8*%bc(i8*inreg%be,i8*inreg%bi)
store i8*%bj,i8**%h,align 8
%bk=bitcast i8**%i to i8***
%bl=load i8**,i8***%bk,align 8
store i8*null,i8**%i,align 8
%bm=load i8*,i8**%bl,align 8
%bn=load i8*,i8**%j,align 8
%bo=load i8*,i8**%k,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%bp=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%bn,i8*inreg%bo,i8*inreg%bm)
store i8*%bp,i8**%i,align 8
%bq=call i8*@sml_alloc(i32 inreg 28)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177304,i32*%bs,align 4
store i8*%bq,i8**%j,align 8
%bt=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bz=getelementptr inbounds i8,i8*%bq,i64 16
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bq,i64 24
%bC=bitcast i8*%bB to i32*
store i32 7,i32*%bC,align 4
%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 7,i32*%bE,align 4
%bJ=load i8*,i8**%j,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:
store i8*null,i8**%g,align 8
%bP=getelementptr inbounds i8,i8*%t,i64 8
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%h,align 8
%bS=getelementptr inbounds i8,i8*%bR,i64 8
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
%bV=load i8*,i8**%j,align 8
%bW=load i8*,i8**%k,align 8
%bX=call fastcc i8*@_SMLLN11TypesBasics15substBTvarTyConE_227(i8*inreg%bV,i8*inreg%bW,i8*inreg%bU)
store i8*%bX,i8**%g,align 8
%bY=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bZ=getelementptr inbounds i8,i8*%bY,i64 16
%b0=bitcast i8*%bZ to i8*(i8*,i8*)**
%b1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b0,align 8
%b2=bitcast i8*%bY to i8**
%b3=load i8*,i8**%b2,align 8
store i8*%b3,i8**%i,align 8
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
store i8*%b4,i8**%l,align 8
%b7=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b4,i64 16
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
%ce=call i8*@sml_alloc(i32 inreg 28)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177304,i32*%cg,align 4
%ch=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ce,i64 8
%ck=bitcast i8*%cj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_271 to void(...)*),void(...)**%ck,align 8
%cl=getelementptr inbounds i8,i8*%ce,i64 16
%cm=bitcast i8*%cl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_271 to void(...)*),void(...)**%cm,align 8
%cn=getelementptr inbounds i8,i8*%ce,i64 24
%co=bitcast i8*%cn to i32*
store i32 -2147483647,i32*%co,align 4
%cp=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cq=call fastcc i8*%b1(i8*inreg%cp,i8*inreg%ce)
%cr=getelementptr inbounds i8,i8*%cq,i64 16
%cs=bitcast i8*%cr to i8*(i8*,i8*)**
%ct=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cs,align 8
%cu=bitcast i8*%cq to i8**
%cv=load i8*,i8**%cu,align 8
%cw=bitcast i8**%h to i8***
%cx=load i8**,i8***%cw,align 8
store i8*null,i8**%h,align 8
%cy=load i8*,i8**%cx,align 8
%cz=call fastcc i8*%ct(i8*inreg%cv,i8*inreg%cy)
store i8*%cz,i8**%h,align 8
%cA=call i8*@sml_alloc(i32 inreg 20)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177296,i32*%cC,align 4
store i8*%cA,i8**%i,align 8
%cD=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cE=bitcast i8*%cA to i8**
store i8*%cD,i8**%cE,align 8
%cF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cG=getelementptr inbounds i8,i8*%cA,i64 8
%cH=bitcast i8*%cG to i8**
store i8*%cF,i8**%cH,align 8
%cI=getelementptr inbounds i8,i8*%cA,i64 16
%cJ=bitcast i8*%cI to i32*
store i32 3,i32*%cJ,align 4
%cK=call i8*@sml_alloc(i32 inreg 20)#0
%cL=bitcast i8*%cK to i32*
%cM=getelementptr inbounds i8,i8*%cK,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177296,i32*%cN,align 4
%cO=getelementptr inbounds i8,i8*%cK,i64 4
%cP=bitcast i8*%cO to i32*
store i32 0,i32*%cP,align 1
store i32 2,i32*%cL,align 4
%cQ=load i8*,i8**%i,align 8
%cR=getelementptr inbounds i8,i8*%cK,i64 8
%cS=bitcast i8*%cR to i8**
store i8*%cQ,i8**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cK,i64 16
%cU=bitcast i8*%cT to i32*
store i32 2,i32*%cU,align 4
ret i8*%cK
cV:
%cW=getelementptr inbounds i8,i8*%t,i64 8
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
store i8*%cY,i8**%g,align 8
%cZ=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%c0=getelementptr inbounds i8,i8*%cZ,i64 16
%c1=bitcast i8*%c0 to i8*(i8*,i8*)**
%c2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c1,align 8
%c3=bitcast i8*%cZ to i8**
%c4=load i8*,i8**%c3,align 8
store i8*%c4,i8**%h,align 8
%c5=call i8*@sml_alloc(i32 inreg 20)#0
%c6=getelementptr inbounds i8,i8*%c5,i64 -4
%c7=bitcast i8*%c6 to i32*
store i32 1342177296,i32*%c7,align 4
store i8*%c5,i8**%i,align 8
%c8=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%c9=bitcast i8*%c5 to i8**
store i8*%c8,i8**%c9,align 8
%da=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%db=getelementptr inbounds i8,i8*%c5,i64 8
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c5,i64 16
%de=bitcast i8*%dd to i32*
store i32 3,i32*%de,align 4
%df=call i8*@sml_alloc(i32 inreg 28)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177304,i32*%dh,align 4
%di=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%dj=bitcast i8*%df to i8**
store i8*%di,i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%df,i64 8
%dl=bitcast i8*%dk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_270 to void(...)*),void(...)**%dl,align 8
%dm=getelementptr inbounds i8,i8*%df,i64 16
%dn=bitcast i8*%dm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_270 to void(...)*),void(...)**%dn,align 8
%do=getelementptr inbounds i8,i8*%df,i64 24
%dp=bitcast i8*%do to i32*
store i32 -2147483647,i32*%dp,align 4
%dq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dr=call fastcc i8*%c2(i8*inreg%dq,i8*inreg%df)
%ds=getelementptr inbounds i8,i8*%dr,i64 16
%dt=bitcast i8*%ds to i8*(i8*,i8*)**
%du=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dt,align 8
%dv=bitcast i8*%dr to i8**
%dw=load i8*,i8**%dv,align 8
%dx=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dy=call fastcc i8*%du(i8*inreg%dw,i8*inreg%dx)
store i8*%dy,i8**%g,align 8
%dz=call i8*@sml_alloc(i32 inreg 20)#0
%dA=bitcast i8*%dz to i32*
%dB=getelementptr inbounds i8,i8*%dz,i64 -4
%dC=bitcast i8*%dB to i32*
store i32 1342177296,i32*%dC,align 4
%dD=getelementptr inbounds i8,i8*%dz,i64 4
%dE=bitcast i8*%dD to i32*
store i32 0,i32*%dE,align 1
store i32 8,i32*%dA,align 4
%dF=load i8*,i8**%g,align 8
%dG=getelementptr inbounds i8,i8*%dz,i64 8
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dz,i64 16
%dJ=bitcast i8*%dI to i32*
store i32 2,i32*%dJ,align 4
ret i8*%dz
dK:
store i8*null,i8**%g,align 8
%dL=getelementptr inbounds i8,i8*%t,i64 8
%dM=bitcast i8*%dL to i8**
%dN=load i8*,i8**%dM,align 8
store i8*%dN,i8**%h,align 8
%dO=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dP=getelementptr inbounds i8,i8*%dO,i64 16
%dQ=bitcast i8*%dP to i8*(i8*,i8*)**
%dR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dQ,align 8
%dS=bitcast i8*%dO to i8**
%dT=load i8*,i8**%dS,align 8
store i8*%dT,i8**%g,align 8
%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
store i8*%dU,i8**%i,align 8
%dX=load i8*,i8**%k,align 8
%dY=bitcast i8*%dU to i8**
store i8*%dX,i8**%dY,align 8
%dZ=load i8*,i8**%j,align 8
%d0=getelementptr inbounds i8,i8*%dU,i64 8
%d1=bitcast i8*%d0 to i8**
store i8*%dZ,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dU,i64 16
%d3=bitcast i8*%d2 to i32*
store i32 3,i32*%d3,align 4
%d4=call i8*@sml_alloc(i32 inreg 28)#0
%d5=getelementptr inbounds i8,i8*%d4,i64 -4
%d6=bitcast i8*%d5 to i32*
store i32 1342177304,i32*%d6,align 4
%d7=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%d8=bitcast i8*%d4 to i8**
store i8*%d7,i8**%d8,align 8
%d9=getelementptr inbounds i8,i8*%d4,i64 8
%ea=bitcast i8*%d9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_269 to void(...)*),void(...)**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d4,i64 16
%ec=bitcast i8*%eb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_269 to void(...)*),void(...)**%ec,align 8
%ed=getelementptr inbounds i8,i8*%d4,i64 24
%ee=bitcast i8*%ed to i32*
store i32 -2147483647,i32*%ee,align 4
%ef=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eg=call fastcc i8*%dR(i8*inreg%ef,i8*inreg%d4)
%eh=getelementptr inbounds i8,i8*%eg,i64 16
%ei=bitcast i8*%eh to i8*(i8*,i8*)**
%ej=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ei,align 8
%ek=bitcast i8*%eg to i8**
%el=load i8*,i8**%ek,align 8
%em=bitcast i8**%h to i8***
%en=load i8**,i8***%em,align 8
%eo=load i8*,i8**%en,align 8
%ep=call fastcc i8*%ej(i8*inreg%el,i8*inreg%eo)
store i8*%ep,i8**%g,align 8
%eq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%er=getelementptr inbounds i8,i8*%eq,i64 8
%es=bitcast i8*%er to i8**
%et=load i8*,i8**%es,align 8
%eu=load i8*,i8**%j,align 8
%ev=load i8*,i8**%k,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%ew=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%eu,i8*inreg%ev,i8*inreg%et)
store i8*%ew,i8**%h,align 8
%ex=call i8*@sml_alloc(i32 inreg 20)#0
%ey=getelementptr inbounds i8,i8*%ex,i64 -4
%ez=bitcast i8*%ey to i32*
store i32 1342177296,i32*%ez,align 4
store i8*%ex,i8**%i,align 8
%eA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eB=bitcast i8*%ex to i8**
store i8*%eA,i8**%eB,align 8
%eC=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%eD=getelementptr inbounds i8,i8*%ex,i64 8
%eE=bitcast i8*%eD to i8**
store i8*%eC,i8**%eE,align 8
%eF=getelementptr inbounds i8,i8*%ex,i64 16
%eG=bitcast i8*%eF to i32*
store i32 3,i32*%eG,align 4
%eH=call i8*@sml_alloc(i32 inreg 20)#0
%eI=bitcast i8*%eH to i32*
%eJ=getelementptr inbounds i8,i8*%eH,i64 -4
%eK=bitcast i8*%eJ to i32*
store i32 1342177296,i32*%eK,align 4
%eL=getelementptr inbounds i8,i8*%eH,i64 4
%eM=bitcast i8*%eL to i32*
store i32 0,i32*%eM,align 1
store i32 6,i32*%eI,align 4
%eN=load i8*,i8**%i,align 8
%eO=getelementptr inbounds i8,i8*%eH,i64 8
%eP=bitcast i8*%eO to i8**
store i8*%eN,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eH,i64 16
%eR=bitcast i8*%eQ to i32*
store i32 2,i32*%eR,align 4
ret i8*%eH
eS:
store i8*null,i8**%j,align 8
%eT=getelementptr inbounds i8,i8*%t,i64 4
%eU=bitcast i8*%eT to i32*
%eV=load i32,i32*%eU,align 4
%eW=call fastcc i8*@_SMLFN14BoundTypeVarID3Map4findE(i32 inreg 1,i32 inreg 8)
%eX=getelementptr inbounds i8,i8*%eW,i64 16
%eY=bitcast i8*%eX to i8*(i8*,i8*)**
%eZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eY,align 8
%e0=bitcast i8*%eW to i8**
%e1=load i8*,i8**%e0,align 8
store i8*%e1,i8**%h,align 8
%e2=call i8*@sml_alloc(i32 inreg 20)#0
%e3=getelementptr inbounds i8,i8*%e2,i64 -4
%e4=bitcast i8*%e3 to i32*
store i32 1342177296,i32*%e4,align 4
%e5=getelementptr inbounds i8,i8*%e2,i64 12
%e6=bitcast i8*%e5 to i32*
store i32 0,i32*%e6,align 1
%e7=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%e8=bitcast i8*%e2 to i8**
store i8*%e7,i8**%e8,align 8
%e9=getelementptr inbounds i8,i8*%e2,i64 8
%fa=bitcast i8*%e9 to i32*
store i32%eV,i32*%fa,align 4
%fb=getelementptr inbounds i8,i8*%e2,i64 16
%fc=bitcast i8*%fb to i32*
store i32 1,i32*%fc,align 4
%fd=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fe=call fastcc i8*%eZ(i8*inreg%fd,i8*inreg%e2)
%ff=icmp eq i8*%fe,null
br i1%ff,label%fg,label%fi
fg:
%fh=load i8*,i8**%g,align 8
ret i8*%fh
fi:
%fj=bitcast i8*%fe to i8**
%fk=load i8*,i8**%fj,align 8
ret i8*%fk
fl:
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%fm=getelementptr inbounds i8,i8*%t,i64 8
%fn=bitcast i8*%fm to i32***
%fo=load i32**,i32***%fn,align 8
%fp=load i32*,i32**%fo,align 8
%fq=load i32,i32*%fp,align 4
switch i32%fq,label%fr[
i32 1,label%f3
i32 0,label%fJ
]
fr:
call void@sml_matchcomp_bug()
%fs=load i8*,i8**@_SMLZ5Match,align 8
store i8*%fs,i8**%g,align 8
%ft=call i8*@sml_alloc(i32 inreg 20)#0
%fu=getelementptr inbounds i8,i8*%ft,i64 -4
%fv=bitcast i8*%fu to i32*
store i32 1342177296,i32*%fv,align 4
store i8*%ft,i8**%h,align 8
%fw=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fx=bitcast i8*%ft to i8**
store i8*%fw,i8**%fx,align 8
%fy=getelementptr inbounds i8,i8*%ft,i64 8
%fz=bitcast i8*%fy to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[56x i8]}>,<{[4x i8],i32,[56x i8]}>*@e,i64 0,i32 2,i64 0),i8**%fz,align 8
%fA=getelementptr inbounds i8,i8*%ft,i64 16
%fB=bitcast i8*%fA to i32*
store i32 3,i32*%fB,align 4
%fC=call i8*@sml_alloc(i32 inreg 60)#0
%fD=getelementptr inbounds i8,i8*%fC,i64 -4
%fE=bitcast i8*%fD to i32*
store i32 1342177336,i32*%fE,align 4
%fF=getelementptr inbounds i8,i8*%fC,i64 56
%fG=bitcast i8*%fF to i32*
store i32 1,i32*%fG,align 4
%fH=load i8*,i8**%h,align 8
%fI=bitcast i8*%fC to i8**
store i8*%fH,i8**%fI,align 8
call void@sml_raise(i8*inreg%fC)#1
unreachable
fJ:
%fK=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%fK,i8**%g,align 8
%fL=call i8*@sml_alloc(i32 inreg 28)#0
%fM=getelementptr inbounds i8,i8*%fL,i64 -4
%fN=bitcast i8*%fM to i32*
store i32 1342177304,i32*%fN,align 4
store i8*%fL,i8**%h,align 8
%fO=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fP=bitcast i8*%fL to i8**
store i8*%fO,i8**%fP,align 8
%fQ=getelementptr inbounds i8,i8*%fL,i64 8
%fR=bitcast i8*%fQ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[57x i8]}>,<{[4x i8],i32,[57x i8]}>*@c,i64 0,i32 2,i64 0),i8**%fR,align 8
%fS=getelementptr inbounds i8,i8*%fL,i64 16
%fT=bitcast i8*%fS to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[26x i8]}>,<{[4x i8],i32,[26x i8]}>*@d,i64 0,i32 2,i64 0),i8**%fT,align 8
%fU=getelementptr inbounds i8,i8*%fL,i64 24
%fV=bitcast i8*%fU to i32*
store i32 7,i32*%fV,align 4
%fW=call i8*@sml_alloc(i32 inreg 60)#0
%fX=getelementptr inbounds i8,i8*%fW,i64 -4
%fY=bitcast i8*%fX to i32*
store i32 1342177336,i32*%fY,align 4
%fZ=getelementptr inbounds i8,i8*%fW,i64 56
%f0=bitcast i8*%fZ to i32*
store i32 1,i32*%f0,align 4
%f1=load i8*,i8**%h,align 8
%f2=bitcast i8*%fW to i8**
store i8*%f1,i8**%f2,align 8
call void@sml_raise(i8*inreg%fW)#1
unreachable
f3:
%f4=load i8*,i8**%g,align 8
ret i8*%f4
f5:
store i8*null,i8**%g,align 8
%f6=getelementptr inbounds i8,i8*%t,i64 8
%f7=bitcast i8*%f6 to i8**
%f8=load i8*,i8**%f7,align 8
%f9=bitcast i8*%f8 to i32*
%ga=load i32,i32*%f9,align 4
%gb=getelementptr inbounds i8,i8*%f8,i64 8
%gc=bitcast i8*%gb to i8**
%gd=load i8*,i8**%gc,align 8
%ge=load i8*,i8**%j,align 8
%gf=load i8*,i8**%k,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%gg=call fastcc i8*@_SMLLN11TypesBasics14substBTvarKindE_230(i8*inreg%ge,i8*inreg%gf,i8*inreg%gd)
store i8*%gg,i8**%g,align 8
%gh=call i8*@sml_alloc(i32 inreg 20)#0
%gi=getelementptr inbounds i8,i8*%gh,i64 -4
%gj=bitcast i8*%gi to i32*
store i32 1342177296,i32*%gj,align 4
store i8*%gh,i8**%h,align 8
%gk=getelementptr inbounds i8,i8*%gh,i64 4
%gl=bitcast i8*%gk to i32*
store i32 0,i32*%gl,align 1
%gm=bitcast i8*%gh to i32*
store i32%ga,i32*%gm,align 4
%gn=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%go=getelementptr inbounds i8,i8*%gh,i64 8
%gp=bitcast i8*%go to i8**
store i8*%gn,i8**%gp,align 8
%gq=getelementptr inbounds i8,i8*%gh,i64 16
%gr=bitcast i8*%gq to i32*
store i32 2,i32*%gr,align 4
%gs=call i8*@sml_alloc(i32 inreg 20)#0
%gt=bitcast i8*%gs to i32*
%gu=getelementptr inbounds i8,i8*%gs,i64 -4
%gv=bitcast i8*%gu to i32*
store i32 1342177296,i32*%gv,align 4
%gw=getelementptr inbounds i8,i8*%gs,i64 4
%gx=bitcast i8*%gw to i32*
store i32 0,i32*%gx,align 1
store i32 5,i32*%gt,align 4
%gy=load i8*,i8**%h,align 8
%gz=getelementptr inbounds i8,i8*%gs,i64 8
%gA=bitcast i8*%gz to i8**
store i8*%gy,i8**%gA,align 8
%gB=getelementptr inbounds i8,i8*%gs,i64 16
%gC=bitcast i8*%gB to i32*
store i32 2,i32*%gC,align 4
ret i8*%gs
gD:
store i8*null,i8**%g,align 8
%gE=getelementptr inbounds i8,i8*%t,i64 8
%gF=bitcast i8*%gE to i8**
%gG=load i8*,i8**%gF,align 8
%gH=bitcast i8*%gG to i32*
%gI=load i32,i32*%gH,align 4
%gJ=getelementptr inbounds i8,i8*%gG,i64 8
%gK=bitcast i8*%gJ to i8**
%gL=load i8*,i8**%gK,align 8
%gM=load i8*,i8**%j,align 8
%gN=load i8*,i8**%k,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%gO=call fastcc i8*@_SMLLN11TypesBasics14substBTvarKindE_230(i8*inreg%gM,i8*inreg%gN,i8*inreg%gL)
store i8*%gO,i8**%g,align 8
%gP=call i8*@sml_alloc(i32 inreg 20)#0
%gQ=getelementptr inbounds i8,i8*%gP,i64 -4
%gR=bitcast i8*%gQ to i32*
store i32 1342177296,i32*%gR,align 4
store i8*%gP,i8**%h,align 8
%gS=getelementptr inbounds i8,i8*%gP,i64 4
%gT=bitcast i8*%gS to i32*
store i32 0,i32*%gT,align 1
%gU=bitcast i8*%gP to i32*
store i32%gI,i32*%gU,align 4
%gV=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gW=getelementptr inbounds i8,i8*%gP,i64 8
%gX=bitcast i8*%gW to i8**
store i8*%gV,i8**%gX,align 8
%gY=getelementptr inbounds i8,i8*%gP,i64 16
%gZ=bitcast i8*%gY to i32*
store i32 2,i32*%gZ,align 4
%g0=call i8*@sml_alloc(i32 inreg 20)#0
%g1=bitcast i8*%g0 to i32*
%g2=getelementptr inbounds i8,i8*%g0,i64 -4
%g3=bitcast i8*%g2 to i32*
store i32 1342177296,i32*%g3,align 4
%g4=getelementptr inbounds i8,i8*%g0,i64 4
%g5=bitcast i8*%g4 to i32*
store i32 0,i32*%g5,align 1
store i32 3,i32*%g1,align 4
%g6=load i8*,i8**%h,align 8
%g7=getelementptr inbounds i8,i8*%g0,i64 8
%g8=bitcast i8*%g7 to i8**
store i8*%g6,i8**%g8,align 8
%g9=getelementptr inbounds i8,i8*%g0,i64 16
%ha=bitcast i8*%g9 to i32*
store i32 2,i32*%ha,align 4
ret i8*%g0
hb:
%hc=load i8*,i8**%g,align 8
ret i8*%hc
hd:
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%he=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%he,i8**%g,align 8
%hf=call i8*@sml_alloc(i32 inreg 28)#0
%hg=getelementptr inbounds i8,i8*%hf,i64 -4
%hh=bitcast i8*%hg to i32*
store i32 1342177304,i32*%hh,align 4
store i8*%hf,i8**%h,align 8
%hi=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hj=bitcast i8*%hf to i8**
store i8*%hi,i8**%hj,align 8
%hk=getelementptr inbounds i8,i8*%hf,i64 8
%hl=bitcast i8*%hk to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[57x i8]}>,<{[4x i8],i32,[57x i8]}>*@a,i64 0,i32 2,i64 0),i8**%hl,align 8
%hm=getelementptr inbounds i8,i8*%hf,i64 16
%hn=bitcast i8*%hm to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[22x i8]}>,<{[4x i8],i32,[22x i8]}>*@b,i64 0,i32 2,i64 0),i8**%hn,align 8
%ho=getelementptr inbounds i8,i8*%hf,i64 24
%hp=bitcast i8*%ho to i32*
store i32 7,i32*%hp,align 4
%hq=call i8*@sml_alloc(i32 inreg 60)#0
%hr=getelementptr inbounds i8,i8*%hq,i64 -4
%hs=bitcast i8*%hr to i32*
store i32 1342177336,i32*%hs,align 4
%ht=getelementptr inbounds i8,i8*%hq,i64 56
%hu=bitcast i8*%ht to i32*
store i32 1,i32*%hu,align 4
%hv=load i8*,i8**%h,align 8
%hw=bitcast i8*%hq to i8**
store i8*%hv,i8**%hw,align 8
call void@sml_raise(i8*inreg%hq)#1
unreachable
hx:
store i8*null,i8**%g,align 8
%hy=getelementptr inbounds i8,i8*%t,i64 8
%hz=bitcast i8*%hy to i8**
%hA=load i8*,i8**%hz,align 8
%hB=load i8*,i8**%j,align 8
%hC=load i8*,i8**%k,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%hD=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hD)
%hE=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hE)
%hF=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hF)
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*%hB,i8**%d,align 8
store i8*%hC,i8**%f,align 8
store i8*%hA,i8**%e,align 8
%hG=load atomic i32,i32*@sml_check_flag unordered,align 4
%hH=icmp eq i32%hG,0
br i1%hH,label%hK,label%hI
hI:
call void@sml_check(i32 inreg%hG)
%hJ=load i8*,i8**%e,align 8
br label%hK
hK:
%hL=phi i8*[%hJ,%hI],[%hA,%hx]
%hM=bitcast i8*%hL to i32*
%hN=load i32,i32*%hM,align 4
switch i32%hN,label%hO[
i32 1,label%jt
i32 0,label%iY
i32 4,label%iG
i32 3,label%io
i32 2,label%h6
]
hO:
store i8*null,i8**%f,align 8
call void@sml_matchcomp_bug()
%hP=load i8*,i8**@_SMLZ5Match,align 8
store i8*%hP,i8**%d,align 8
%hQ=call i8*@sml_alloc(i32 inreg 20)#0
%hR=getelementptr inbounds i8,i8*%hQ,i64 -4
%hS=bitcast i8*%hR to i32*
store i32 1342177296,i32*%hS,align 4
store i8*%hQ,i8**%e,align 8
%hT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hU=bitcast i8*%hQ to i8**
store i8*%hT,i8**%hU,align 8
%hV=getelementptr inbounds i8,i8*%hQ,i64 8
%hW=bitcast i8*%hV to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[57x i8]}>,<{[4x i8],i32,[57x i8]}>*@f,i64 0,i32 2,i64 0),i8**%hW,align 8
%hX=getelementptr inbounds i8,i8*%hQ,i64 16
%hY=bitcast i8*%hX to i32*
store i32 3,i32*%hY,align 4
%hZ=call i8*@sml_alloc(i32 inreg 60)#0
%h0=getelementptr inbounds i8,i8*%hZ,i64 -4
%h1=bitcast i8*%h0 to i32*
store i32 1342177336,i32*%h1,align 4
%h2=getelementptr inbounds i8,i8*%hZ,i64 56
%h3=bitcast i8*%h2 to i32*
store i32 1,i32*%h3,align 4
%h4=load i8*,i8**%e,align 8
%h5=bitcast i8*%hZ to i8**
store i8*%h4,i8**%h5,align 8
call void@sml_raise(i8*inreg%hZ)#1
unreachable
h6:
%h7=getelementptr inbounds i8,i8*%hL,i64 8
%h8=bitcast i8*%h7 to i8**
%h9=load i8*,i8**%h8,align 8
%ia=load i8*,i8**%d,align 8
%ib=load i8*,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%ic=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%ia,i8*inreg%ib,i8*inreg%h9)
store i8*%ic,i8**%d,align 8
%id=call i8*@sml_alloc(i32 inreg 20)#0
%ie=bitcast i8*%id to i32*
%if=getelementptr inbounds i8,i8*%id,i64 -4
%ig=bitcast i8*%if to i32*
store i32 1342177296,i32*%ig,align 4
%ih=getelementptr inbounds i8,i8*%id,i64 4
%ii=bitcast i8*%ih to i32*
store i32 0,i32*%ii,align 1
store i32 2,i32*%ie,align 4
%ij=load i8*,i8**%d,align 8
%ik=getelementptr inbounds i8,i8*%id,i64 8
%il=bitcast i8*%ik to i8**
store i8*%ij,i8**%il,align 8
%im=getelementptr inbounds i8,i8*%id,i64 16
%in=bitcast i8*%im to i32*
store i32 2,i32*%in,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hF)
br label%j7
io:
%ip=getelementptr inbounds i8,i8*%hL,i64 8
%iq=bitcast i8*%ip to i8**
%ir=load i8*,i8**%iq,align 8
%is=load i8*,i8**%d,align 8
%it=load i8*,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%iu=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%is,i8*inreg%it,i8*inreg%ir)
store i8*%iu,i8**%d,align 8
%iv=call i8*@sml_alloc(i32 inreg 20)#0
%iw=bitcast i8*%iv to i32*
%ix=getelementptr inbounds i8,i8*%iv,i64 -4
%iy=bitcast i8*%ix to i32*
store i32 1342177296,i32*%iy,align 4
%iz=getelementptr inbounds i8,i8*%iv,i64 4
%iA=bitcast i8*%iz to i32*
store i32 0,i32*%iA,align 1
store i32 3,i32*%iw,align 4
%iB=load i8*,i8**%d,align 8
%iC=getelementptr inbounds i8,i8*%iv,i64 8
%iD=bitcast i8*%iC to i8**
store i8*%iB,i8**%iD,align 8
%iE=getelementptr inbounds i8,i8*%iv,i64 16
%iF=bitcast i8*%iE to i32*
store i32 2,i32*%iF,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hF)
br label%j7
iG:
%iH=getelementptr inbounds i8,i8*%hL,i64 8
%iI=bitcast i8*%iH to i8**
%iJ=load i8*,i8**%iI,align 8
%iK=load i8*,i8**%d,align 8
%iL=load i8*,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%iM=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%iK,i8*inreg%iL,i8*inreg%iJ)
store i8*%iM,i8**%d,align 8
%iN=call i8*@sml_alloc(i32 inreg 20)#0
%iO=bitcast i8*%iN to i32*
%iP=getelementptr inbounds i8,i8*%iN,i64 -4
%iQ=bitcast i8*%iP to i32*
store i32 1342177296,i32*%iQ,align 4
%iR=getelementptr inbounds i8,i8*%iN,i64 4
%iS=bitcast i8*%iR to i32*
store i32 0,i32*%iS,align 1
store i32 4,i32*%iO,align 4
%iT=load i8*,i8**%d,align 8
%iU=getelementptr inbounds i8,i8*%iN,i64 8
%iV=bitcast i8*%iU to i8**
store i8*%iT,i8**%iV,align 8
%iW=getelementptr inbounds i8,i8*%iN,i64 16
%iX=bitcast i8*%iW to i32*
store i32 2,i32*%iX,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hF)
br label%j7
iY:
%iZ=getelementptr inbounds i8,i8*%hL,i64 8
%i0=bitcast i8*%iZ to i8**
%i1=load i8*,i8**%i0,align 8
%i2=bitcast i8*%i1 to i8**
%i3=load i8*,i8**%i2,align 8
store i8*%i3,i8**%e,align 8
%i4=getelementptr inbounds i8,i8*%i1,i64 8
%i5=bitcast i8*%i4 to i8**
%i6=load i8*,i8**%i5,align 8
%i7=load i8*,i8**%d,align 8
%i8=load i8*,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%i9=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%i7,i8*inreg%i8,i8*inreg%i6)
store i8*%i9,i8**%d,align 8
%ja=call i8*@sml_alloc(i32 inreg 20)#0
%jb=getelementptr inbounds i8,i8*%ja,i64 -4
%jc=bitcast i8*%jb to i32*
store i32 1342177296,i32*%jc,align 4
store i8*%ja,i8**%f,align 8
%jd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%je=bitcast i8*%ja to i8**
store i8*%jd,i8**%je,align 8
%jf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jg=getelementptr inbounds i8,i8*%ja,i64 8
%jh=bitcast i8*%jg to i8**
store i8*%jf,i8**%jh,align 8
%ji=getelementptr inbounds i8,i8*%ja,i64 16
%jj=bitcast i8*%ji to i32*
store i32 3,i32*%jj,align 4
%jk=call i8*@sml_alloc(i32 inreg 20)#0
%jl=getelementptr inbounds i8,i8*%jk,i64 -4
%jm=bitcast i8*%jl to i32*
store i32 1342177296,i32*%jm,align 4
%jn=bitcast i8*%jk to i64*
store i64 0,i64*%jn,align 4
%jo=load i8*,i8**%f,align 8
%jp=getelementptr inbounds i8,i8*%jk,i64 8
%jq=bitcast i8*%jp to i8**
store i8*%jo,i8**%jq,align 8
%jr=getelementptr inbounds i8,i8*%jk,i64 16
%js=bitcast i8*%jr to i32*
store i32 2,i32*%js,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hF)
br label%j7
jt:
%ju=getelementptr inbounds i8,i8*%hL,i64 8
%jv=bitcast i8*%ju to i8**
%jw=load i8*,i8**%jv,align 8
%jx=bitcast i8*%jw to i8**
%jy=load i8*,i8**%jx,align 8
store i8*%jy,i8**%e,align 8
%jz=getelementptr inbounds i8,i8*%jw,i64 16
%jA=bitcast i8*%jz to i32*
%jB=load i32,i32*%jA,align 4
%jC=getelementptr inbounds i8,i8*%jw,i64 8
%jD=bitcast i8*%jC to i8**
%jE=load i8*,i8**%jD,align 8
%jF=load i8*,i8**%d,align 8
%jG=load i8*,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%jH=call fastcc i8*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_226(i8*inreg%jF,i8*inreg%jG,i8*inreg%jE)
store i8*%jH,i8**%d,align 8
%jI=call i8*@sml_alloc(i32 inreg 28)#0
%jJ=getelementptr inbounds i8,i8*%jI,i64 -4
%jK=bitcast i8*%jJ to i32*
store i32 1342177304,i32*%jK,align 4
store i8*%jI,i8**%f,align 8
%jL=getelementptr inbounds i8,i8*%jI,i64 20
%jM=bitcast i8*%jL to i32*
store i32 0,i32*%jM,align 1
%jN=load i8*,i8**%e,align 8
%jO=bitcast i8*%jI to i8**
store i8*null,i8**%e,align 8
store i8*%jN,i8**%jO,align 8
%jP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jQ=getelementptr inbounds i8,i8*%jI,i64 8
%jR=bitcast i8*%jQ to i8**
store i8*%jP,i8**%jR,align 8
%jS=getelementptr inbounds i8,i8*%jI,i64 16
%jT=bitcast i8*%jS to i32*
store i32%jB,i32*%jT,align 4
%jU=getelementptr inbounds i8,i8*%jI,i64 24
%jV=bitcast i8*%jU to i32*
store i32 3,i32*%jV,align 4
%jW=call i8*@sml_alloc(i32 inreg 20)#0
%jX=bitcast i8*%jW to i32*
%jY=getelementptr inbounds i8,i8*%jW,i64 -4
%jZ=bitcast i8*%jY to i32*
store i32 1342177296,i32*%jZ,align 4
%j0=getelementptr inbounds i8,i8*%jW,i64 4
%j1=bitcast i8*%j0 to i32*
store i32 0,i32*%j1,align 1
store i32 1,i32*%jX,align 4
%j2=load i8*,i8**%f,align 8
%j3=getelementptr inbounds i8,i8*%jW,i64 8
%j4=bitcast i8*%j3 to i8**
store i8*%j2,i8**%j4,align 8
%j5=getelementptr inbounds i8,i8*%jW,i64 16
%j6=bitcast i8*%j5 to i32*
store i32 2,i32*%j6,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hF)
br label%j7
j7:
%j8=phi i8*[%id,%h6],[%iv,%io],[%iN,%iG],[%jk,%iY],[%jW,%jt]
store i8*%j8,i8**%g,align 8
%j9=call i8*@sml_alloc(i32 inreg 20)#0
%ka=bitcast i8*%j9 to i32*
%kb=getelementptr inbounds i8,i8*%j9,i64 -4
%kc=bitcast i8*%kb to i32*
store i32 1342177296,i32*%kc,align 4
%kd=getelementptr inbounds i8,i8*%j9,i64 4
%ke=bitcast i8*%kd to i32*
store i32 0,i32*%ke,align 1
store i32 9,i32*%ka,align 4
%kf=load i8*,i8**%g,align 8
%kg=getelementptr inbounds i8,i8*%j9,i64 8
%kh=bitcast i8*%kg to i8**
store i8*%kf,i8**%kh,align 8
%ki=getelementptr inbounds i8,i8*%j9,i64 16
%kj=bitcast i8*%ki to i32*
store i32 2,i32*%kj,align 4
ret i8*%j9
}
define internal fastcc i8*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_226(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
q:
%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**%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
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
store i8*%c,i8**%d,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**%d,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%c,%q]
%r=bitcast i8*%p to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 1,label%cc
i32 2,label%a0
i32 0,label%L
]
t:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,align 8
store i8*%u,i8**%d,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**%e,align 8
%y=load i8*,i8**%d,align 8
store i8*null,i8**%d,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,[57x i8]}>,<{[4x i8],i32,[57x i8]}>*@g,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%e,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=getelementptr inbounds i8,i8*%p,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%e,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=load i8*,i8**%f,align 8
%S=load i8*,i8**%g,align 8
%T=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%R,i8*inreg%S,i8*inreg%Q)
store i8*%T,i8**%d,align 8
%U=call fastcc i8*@_SMLFN5TypID3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8*(i8*,i8*)**
%X=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%W,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%h,align 8
%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
store i8*%aa,i8**%i,align 8
%ad=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 28)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177304,i32*%am,align 4
%an=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ak,i64 8
%aq=bitcast i8*%ap to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_278 to void(...)*),void(...)**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 16
%as=bitcast i8*%ar to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_278 to void(...)*),void(...)**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 24
%au=bitcast i8*%at to i32*
store i32 -2147483647,i32*%au,align 4
%av=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aw=call fastcc i8*%X(i8*inreg%av,i8*inreg%ak)
%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=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64 8
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
%aG=call fastcc i8*%az(i8*inreg%aB,i8*inreg%aF)
store i8*%aG,i8**%e,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
store i8*%aH,i8**%f,align 8
%aK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aL=bitcast i8*%aH to i8**
store i8*%aK,i8**%aL,align 8
%aM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aN=getelementptr inbounds i8,i8*%aH,i64 8
%aO=bitcast i8*%aN to i8**
store i8*%aM,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aH,i64 16
%aQ=bitcast i8*%aP to i32*
store i32 3,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
%aU=bitcast i8*%aR to i64*
store i64 0,i64*%aU,align 4
%aV=load i8*,i8**%f,align 8
%aW=getelementptr inbounds i8,i8*%aR,i64 8
%aX=bitcast i8*%aW to i8**
store i8*%aV,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 16
%aZ=bitcast i8*%aY to i32*
store i32 2,i32*%aZ,align 4
ret i8*%aR
a0:
%a1=getelementptr inbounds i8,i8*%p,i64 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%d,align 8
%a4=getelementptr inbounds i8,i8*%a3,i64 8
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%e,align 8
%a7=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**%i,align 8
%bd=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**%h,align 8
%bj=call i8*@sml_alloc(i32 inreg 20)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177296,i32*%bl,align 4
store i8*%bj,i8**%j,align 8
%bm=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bp=getelementptr inbounds i8,i8*%bj,i64 8
%bq=bitcast i8*%bp to i8**
store i8*%bo,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bj,i64 16
%bs=bitcast i8*%br to i32*
store i32 3,i32*%bs,align 4
%bt=call i8*@sml_alloc(i32 inreg 28)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1342177304,i32*%bv,align 4
%bw=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bx=bitcast i8*%bt to i8**
store i8*%bw,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bt,i64 8
%bz=bitcast i8*%by to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_277 to void(...)*),void(...)**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bt,i64 16
%bB=bitcast i8*%bA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_277 to void(...)*),void(...)**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bt,i64 24
%bD=bitcast i8*%bC to i32*
store i32 -2147483647,i32*%bD,align 4
%bE=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bF=call fastcc i8*%bg(i8*inreg%bE,i8*inreg%bt)
%bG=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bH=call fastcc i8*%ba(i8*inreg%bG,i8*inreg%bF)
%bI=getelementptr inbounds i8,i8*%bH,i64 16
%bJ=bitcast i8*%bI to i8*(i8*,i8*)**
%bK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bJ,align 8
%bL=bitcast i8*%bH to i8**
%bM=load i8*,i8**%bL,align 8
%bN=bitcast i8**%d to i8***
%bO=load i8**,i8***%bN,align 8
store i8*null,i8**%d,align 8
%bP=load i8*,i8**%bO,align 8
%bQ=call fastcc i8*%bK(i8*inreg%bM,i8*inreg%bP)
store i8*%bQ,i8**%d,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
store i8*%bR,i8**%f,align 8
%bU=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i8*@sml_alloc(i32 inreg 20)#0
%b2=bitcast i8*%b1 to i32*
%b3=getelementptr inbounds i8,i8*%b1,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177296,i32*%b4,align 4
%b5=getelementptr inbounds i8,i8*%b1,i64 4
%b6=bitcast i8*%b5 to i32*
store i32 0,i32*%b6,align 1
store i32 2,i32*%b2,align 4
%b7=load i8*,i8**%f,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 16
%cb=bitcast i8*%ca to i32*
store i32 2,i32*%cb,align 4
ret i8*%b1
cc:
%cd=getelementptr inbounds i8,i8*%p,i64 8
%ce=bitcast i8*%cd to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%d,align 8
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
store i8*%ch,i8**%e,align 8
%ci=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cj=getelementptr inbounds i8,i8*%ci,i64 16
%ck=bitcast i8*%cj to i8*(i8*,i8*)**
%cl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ck,align 8
%cm=bitcast i8*%ci to i8**
%cn=load i8*,i8**%cm,align 8
store i8*%cn,i8**%i,align 8
%co=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cp=getelementptr inbounds i8,i8*%co,i64 16
%cq=bitcast i8*%cp to i8*(i8*,i8*)**
%cr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cq,align 8
%cs=bitcast i8*%co to i8**
%ct=load i8*,i8**%cs,align 8
store i8*%ct,i8**%h,align 8
%cu=call i8*@sml_alloc(i32 inreg 20)#0
%cv=getelementptr inbounds i8,i8*%cu,i64 -4
%cw=bitcast i8*%cv to i32*
store i32 1342177296,i32*%cw,align 4
store i8*%cu,i8**%j,align 8
%cx=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cy=bitcast i8*%cu to i8**
store i8*%cx,i8**%cy,align 8
%cz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cA=getelementptr inbounds i8,i8*%cu,i64 8
%cB=bitcast i8*%cA to i8**
store i8*%cz,i8**%cB,align 8
%cC=getelementptr inbounds i8,i8*%cu,i64 16
%cD=bitcast i8*%cC to i32*
store i32 3,i32*%cD,align 4
%cE=call i8*@sml_alloc(i32 inreg 28)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177304,i32*%cG,align 4
%cH=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cI=bitcast i8*%cE to i8**
store i8*%cH,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cE,i64 8
%cK=bitcast i8*%cJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_276 to void(...)*),void(...)**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cE,i64 16
%cM=bitcast i8*%cL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23substBTvarOverloadMatchE_276 to void(...)*),void(...)**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cE,i64 24
%cO=bitcast i8*%cN to i32*
store i32 -2147483647,i32*%cO,align 4
%cP=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cQ=call fastcc i8*%cr(i8*inreg%cP,i8*inreg%cE)
%cR=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cS=call fastcc i8*%cl(i8*inreg%cR,i8*inreg%cQ)
%cT=getelementptr inbounds i8,i8*%cS,i64 16
%cU=bitcast i8*%cT to i8*(i8*,i8*)**
%cV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cU,align 8
%cW=bitcast i8*%cS to i8**
%cX=load i8*,i8**%cW,align 8
%cY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cZ=getelementptr inbounds i8,i8*%cY,i64 8
%c0=bitcast i8*%cZ to i8**
%c1=load i8*,i8**%c0,align 8
%c2=call fastcc i8*%cV(i8*inreg%cX,i8*inreg%c1)
store i8*%c2,i8**%d,align 8
%c3=call i8*@sml_alloc(i32 inreg 20)#0
%c4=getelementptr inbounds i8,i8*%c3,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32 1342177296,i32*%c5,align 4
store i8*%c3,i8**%f,align 8
%c6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%c7=bitcast i8*%c3 to i8**
store i8*%c6,i8**%c7,align 8
%c8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c9=getelementptr inbounds i8,i8*%c3,i64 8
%da=bitcast i8*%c9 to i8**
store i8*%c8,i8**%da,align 8
%db=getelementptr inbounds i8,i8*%c3,i64 16
%dc=bitcast i8*%db to i32*
store i32 3,i32*%dc,align 4
%dd=call i8*@sml_alloc(i32 inreg 20)#0
%de=bitcast i8*%dd to i32*
%df=getelementptr inbounds i8,i8*%dd,i64 -4
%dg=bitcast i8*%df to i32*
store i32 1342177296,i32*%dg,align 4
%dh=getelementptr inbounds i8,i8*%dd,i64 4
%di=bitcast i8*%dh to i32*
store i32 0,i32*%di,align 1
store i32 1,i32*%de,align 4
%dj=load i8*,i8**%f,align 8
%dk=getelementptr inbounds i8,i8*%dd,i64 8
%dl=bitcast i8*%dk to i8**
store i8*%dj,i8**%dl,align 8
%dm=getelementptr inbounds i8,i8*%dd,i64 16
%dn=bitcast i8*%dm to i32*
store i32 2,i32*%dn,align 4
ret i8*%dd
}
define internal fastcc i8*@_SMLLN11TypesBasics15substBTvarTyConE_227(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
u:
%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
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%a,i8**%l,align 8
store i8*%b,i8**%m,align 8
store i8*%c,i8**%g,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%s,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%g,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%c,%u]
store i8*null,i8**%g,align 8
store i8*%t,i8**%h,align 8
%v=bitcast i8*%t to i32*
%w=load i32,i32*%v,align 4
%x=getelementptr inbounds i8,i8*%t,i64 4
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%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**%i,align 8
%D=getelementptr inbounds i8,i8*%t,i64 16
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%j,align 8
%G=getelementptr inbounds i8,i8*%t,i64 40
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=getelementptr inbounds i8,i8*%t,i64 48
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%k,align 8
%M=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%g,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
store i8*%S,i8**%n,align 8
%V=load i8*,i8**%m,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=load i8*,i8**%l,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 i8*@sml_alloc(i32 inreg 28)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177304,i32*%ae,align 4
%af=load i8*,i8**%n,align 8
store i8*null,i8**%n,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15substBTvarTyConE_280 to void(...)*),void(...)**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15substBTvarTyConE_280 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 24
%am=bitcast i8*%al to i32*
store i32 -2147483647,i32*%am,align 4
%an=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ao=call fastcc i8*%P(i8*inreg%an,i8*inreg%ac)
%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
%au=load i8*,i8**%h,align 8
%av=getelementptr inbounds i8,i8*%au,i64 32
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
%ay=call fastcc i8*%ar(i8*inreg%at,i8*inreg%ax)
store i8*%ay,i8**%g,align 8
%az=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aA=getelementptr inbounds i8,i8*%az,i64 24
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=load i8*,i8**%l,align 8
%aE=load i8*,i8**%m,align 8
store i8*null,i8**%l,align 8
store i8*null,i8**%m,align 8
%aF=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aF)
%aG=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aG)
%aH=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aH)
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*%aD,i8**%d,align 8
store i8*%aE,i8**%e,align 8
store i8*%aC,i8**%f,align 8
%aI=load atomic i32,i32*@sml_check_flag unordered,align 4
%aJ=icmp eq i32%aI,0
br i1%aJ,label%aM,label%aK
aK:
call void@sml_check(i32 inreg%aI)
%aL=load i8*,i8**%f,align 8
br label%aM
aM:
%aN=phi i8*[%aL,%aK],[%aC,%s]
store i8*null,i8**%f,align 8
%aO=bitcast i8*%aN to i32*
%aP=load i32,i32*%aO,align 4
switch i32%aP,label%aQ[
i32 0,label%bY
i32 2,label%bq
i32 1,label%a8
]
aQ:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%aR=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aR,i8**%d,align 8
%aS=call i8*@sml_alloc(i32 inreg 20)#0
%aT=getelementptr inbounds i8,i8*%aS,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 1342177296,i32*%aU,align 4
store i8*%aS,i8**%e,align 8
%aV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aW=bitcast i8*%aS to i8**
store i8*%aV,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aS,i64 8
%aY=bitcast i8*%aX to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[57x i8]}>,<{[4x i8],i32,[57x i8]}>*@h,i64 0,i32 2,i64 0),i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aS,i64 16
%a0=bitcast i8*%aZ to i32*
store i32 3,i32*%a0,align 4
%a1=call i8*@sml_alloc(i32 inreg 60)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177336,i32*%a3,align 4
%a4=getelementptr inbounds i8,i8*%a1,i64 56
%a5=bitcast i8*%a4 to i32*
store i32 1,i32*%a5,align 4
%a6=load i8*,i8**%e,align 8
%a7=bitcast i8*%a1 to i8**
store i8*%a6,i8**%a7,align 8
call void@sml_raise(i8*inreg%a1)#1
unreachable
a8:
%a9=getelementptr inbounds i8,i8*%aN,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
%bc=load i8*,i8**%d,align 8
%bd=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%be=call fastcc i8*@_SMLLN11TypesBasics19substBTvarOpaqueRepE_229(i8*inreg%bc,i8*inreg%bd,i8*inreg%bb)
store i8*%be,i8**%d,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 1,i32*%bg,align 4
%bl=load i8*,i8**%d,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aG)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aH)
br label%bZ
bq:
%br=getelementptr inbounds i8,i8*%aN,i64 8
%bs=bitcast i8*%br to i8**
%bt=load i8*,i8**%bs,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 8
%bv=bitcast i8*%bu to i32*
%bw=load i32,i32*%bv,align 4
%bx=bitcast i8*%bt to i8**
%by=load i8*,i8**%bx,align 8
%bz=load i8*,i8**%d,align 8
%bA=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%bB=call fastcc i8*@_SMLLN11TypesBasics19substBTvarOpaqueRepE_229(i8*inreg%bz,i8*inreg%bA,i8*inreg%by)
store i8*%bB,i8**%d,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
store i8*%bC,i8**%e,align 8
%bF=getelementptr inbounds i8,i8*%bC,i64 12
%bG=bitcast i8*%bF to i32*
store i32 0,i32*%bG,align 1
%bH=load i8*,i8**%d,align 8
%bI=bitcast i8*%bC to i8**
store i8*null,i8**%d,align 8
store i8*%bH,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bC,i64 8
%bK=bitcast i8*%bJ to i32*
store i32%bw,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bC,i64 16
%bM=bitcast i8*%bL to i32*
store i32 1,i32*%bM,align 4
%bN=call i8*@sml_alloc(i32 inreg 20)#0
%bO=bitcast i8*%bN to i32*
%bP=getelementptr inbounds i8,i8*%bN,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177296,i32*%bQ,align 4
%bR=getelementptr inbounds i8,i8*%bN,i64 4
%bS=bitcast i8*%bR to i32*
store i32 0,i32*%bS,align 1
store i32 2,i32*%bO,align 4
%bT=load i8*,i8**%e,align 8
%bU=getelementptr inbounds i8,i8*%bN,i64 8
%bV=bitcast i8*%bU to i8**
store i8*%bT,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bN,i64 16
%bX=bitcast i8*%bW to i32*
store i32 2,i32*%bX,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aG)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aH)
br label%bZ
bY:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aG)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aH)
br label%bZ
bZ:
%b0=phi i8*[%bf,%a8],[%bN,%bq],[%aN,%bY]
store i8*%b0,i8**%h,align 8
%b1=call i8*@sml_alloc(i32 inreg 60)#0
%b2=bitcast i8*%b1 to i32*
%b3=getelementptr inbounds i8,i8*%b1,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177336,i32*%b4,align 4
%b5=getelementptr inbounds i8,i8*%b1,i64 44
%b6=bitcast i8*%b5 to i32*
store i32 0,i32*%b6,align 1
store i32%w,i32*%b2,align 4
%b7=getelementptr inbounds i8,i8*%b1,i64 4
%b8=bitcast i8*%b7 to i32*
store i32%z,i32*%b8,align 4
%b9=load i8*,i8**%i,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=load i8*,i8**%j,align 8
%cd=getelementptr inbounds i8,i8*%b1,i64 16
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=load i8*,i8**%h,align 8
%cg=getelementptr inbounds i8,i8*%b1,i64 24
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=load i8*,i8**%g,align 8
%cj=getelementptr inbounds i8,i8*%b1,i64 32
%ck=bitcast i8*%cj to i8**
store i8*%ci,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%b1,i64 40
%cm=bitcast i8*%cl to i32*
store i32%I,i32*%cm,align 4
%cn=load i8*,i8**%k,align 8
%co=getelementptr inbounds i8,i8*%b1,i64 48
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%b1,i64 56
%cr=bitcast i8*%cq to i32*
store i32 94,i32*%cr,align 4
ret i8*%b1
}
define internal fastcc i8*@_SMLLN11TypesBasics19substBTvarOpaqueRepE_229(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
m:
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
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**%d,align 8
store i8*%b,i8**%e,align 8
store i8*%c,i8**%f,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**%f,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%c,%m]
store i8*null,i8**%f,align 8
%n=bitcast i8*%l to i32*
%o=load i32,i32*%n,align 4
switch i32%o,label%p[
i32 1,label%aq
i32 0,label%H
]
p:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%q,i8**%d,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%e,align 8
%u=load i8*,i8**%d,align 8
store i8*null,i8**%d,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,[57x i8]}>,<{[4x i8],i32,[57x i8]}>*@i,i64 0,i32 2,i64 0),i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 60)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177336,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 56
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
%F=load i8*,i8**%e,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
call void@sml_raise(i8*inreg%A)#1
unreachable
H:
%I=getelementptr inbounds i8,i8*%l,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=getelementptr inbounds i8,i8*%K,i64 4
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=load i8*,i8**%d,align 8
%U=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%V=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%T,i8*inreg%U,i8*inreg%S)
store i8*%V,i8**%d,align 8
%W=call i8*@sml_alloc(i32 inreg 20)#0
%X=bitcast i8*%W to i32*
%Y=getelementptr inbounds i8,i8*%W,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
store i8*%W,i8**%e,align 8
store i32%M,i32*%X,align 4
%aa=getelementptr inbounds i8,i8*%W,i64 4
%ab=bitcast i8*%aa to i32*
store i32%P,i32*%ab,align 4
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%W,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%W,i64 16
%ag=bitcast i8*%af to i32*
store i32 2,i32*%ag,align 4
%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=bitcast i8*%ah to i64*
store i64 0,i64*%ak,align 4
%al=load i8*,i8**%e,align 8
%am=getelementptr inbounds i8,i8*%ah,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ah,i64 16
%ap=bitcast i8*%ao to i32*
store i32 2,i32*%ap,align 4
ret i8*%ah
aq:
%ar=getelementptr inbounds i8,i8*%l,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=load i8*,i8**%d,align 8
%av=load i8*,i8**%e,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%aw=call fastcc i8*@_SMLLN11TypesBasics15substBTvarTyConE_227(i8*inreg%au,i8*inreg%av,i8*inreg%at)
store i8*%aw,i8**%d,align 8
%ax=call i8*@sml_alloc(i32 inreg 20)#0
%ay=bitcast i8*%ax to i32*
%az=getelementptr inbounds i8,i8*%ax,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
%aB=getelementptr inbounds i8,i8*%ax,i64 4
%aC=bitcast i8*%aB to i32*
store i32 0,i32*%aC,align 1
store i32 1,i32*%ay,align 4
%aD=load i8*,i8**%d,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ax,i64 16
%aH=bitcast i8*%aG to i32*
store i32 2,i32*%aH,align 4
ret i8*%ax
}
define internal fastcc i8*@_SMLLN11TypesBasics14substBTvarKindE_230(i8*inreg%a,i8*inreg%b,i8*inreg%c)unnamed_addr#2 gc"smlsharp"{
v:
%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
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
store i8*%a,i8**%j,align 8
store i8*%b,i8**%m,align 8
store i8*%c,i8**%k,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%t,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%k,align 8
%r=load i8*,i8**%j,align 8
%s=load i8*,i8**%m,align 8
br label%t
t:
%u=phi i8*[%s,%p],[%b,%v]
%w=phi i8*[%r,%p],[%a,%v]
%x=phi i8*[%q,%p],[%c,%v]
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%k,align 8
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%l,align 8
%D=getelementptr inbounds i8,i8*%x,i64 16
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%m,align 8
%G=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%G)
%H=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%H)
%I=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%I)
%J=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%J)
%K=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%K)
%L=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%L)
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
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%w,i8**%f,align 8
store i8*%u,i8**%g,align 8
store i8*%F,i8**%d,align 8
%M=load atomic i32,i32*@sml_check_flag unordered,align 4
%N=icmp eq i32%M,0
br i1%N,label%Q,label%O
O:
call void@sml_check(i32 inreg%M)
%P=load i8*,i8**%d,align 8
br label%Q
Q:
%R=phi i8*[%P,%O],[%F,%t]
%S=icmp eq i8*%R,null
br i1%S,label%bd,label%T
T:
%U=bitcast i8*%R to i32*
%V=load i32,i32*%U,align 4
switch i32%V,label%W[
i32 0,label%cS
i32 1,label%be
i32 3,label%bd
i32 2,label%ao
]
W:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
call void@sml_matchcomp_bug()
%X=load i8*,i8**@_SMLZ5Match,align 8
store i8*%X,i8**%d,align 8
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
store i8*%Y,i8**%e,align 8
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[57x i8]}>,<{[4x i8],i32,[57x i8]}>*@j,i64 0,i32 2,i64 0),i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,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**%e,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=getelementptr inbounds i8,i8*%R,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%d,align 8
%as=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**%e,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
store i8*%ay,i8**%h,align 8
%aB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%f,align 8
store i8*null,i8**%f,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=call i8*@sml_alloc(i32 inreg 28)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177304,i32*%aK,align 4
%aL=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_286 to void(...)*),void(...)**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aI,i64 16
%aQ=bitcast i8*%aP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_286 to void(...)*),void(...)**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aI,i64 24
%aS=bitcast i8*%aR to i32*
store i32 -2147483647,i32*%aS,align 4
%aT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aU=call fastcc i8*%av(i8*inreg%aT,i8*inreg%aI)
%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
%a0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a1=call fastcc i8*%aX(i8*inreg%aZ,i8*inreg%a0)
store i8*%a1,i8**%d,align 8
%a2=call i8*@sml_alloc(i32 inreg 20)#0
%a3=bitcast i8*%a2 to i32*
%a4=getelementptr inbounds i8,i8*%a2,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177296,i32*%a5,align 4
%a6=getelementptr inbounds i8,i8*%a2,i64 4
%a7=bitcast i8*%a6 to i32*
store i32 0,i32*%a7,align 1
store i32 2,i32*%a3,align 4
%a8=load i8*,i8**%d,align 8
%a9=getelementptr inbounds i8,i8*%a2,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 16
%bc=bitcast i8*%bb to i32*
store i32 2,i32*%bc,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%G)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%J)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%K)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%L)
br label%dF
bd:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%G)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%J)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%K)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%L)
br label%dF
be:
%bf=getelementptr inbounds i8,i8*%R,i64 8
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%e,align 8
%bi=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%bn,i8**%d,align 8
%bo=call i8*@sml_alloc(i32 inreg 20)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177296,i32*%bq,align 4
store i8*%bo,i8**%h,align 8
%br=load i8*,i8**%g,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%f,align 8
%bu=getelementptr inbounds i8,i8*%bo,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bo,i64 16
%bx=bitcast i8*%bw to i32*
store i32 3,i32*%bx,align 4
%by=call i8*@sml_alloc(i32 inreg 28)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177304,i32*%bA,align 4
%bB=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%by,i64 8
%bE=bitcast i8*%bD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_284 to void(...)*),void(...)**%bE,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 16
%bG=bitcast i8*%bF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_284 to void(...)*),void(...)**%bG,align 8
%bH=getelementptr inbounds i8,i8*%by,i64 24
%bI=bitcast i8*%bH to i32*
store i32 -2147483647,i32*%bI,align 4
%bJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bK=call fastcc i8*%bl(i8*inreg%bJ,i8*inreg%by)
%bL=getelementptr inbounds i8,i8*%bK,i64 16
%bM=bitcast i8*%bL to i8*(i8*,i8*)**
%bN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bM,align 8
%bO=bitcast i8*%bK to i8**
%bP=load i8*,i8**%bO,align 8
%bQ=bitcast i8**%e to i8***
%bR=load i8**,i8***%bQ,align 8
%bS=load i8*,i8**%bR,align 8
%bT=call fastcc i8*%bN(i8*inreg%bP,i8*inreg%bS)
store i8*%bT,i8**%d,align 8
%bU=call fastcc i8*@_SMLFN4List3mapE(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
store i8*%bZ,i8**%h,align 8
%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
store i8*%b0,i8**%i,align 8
%b3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b4=bitcast i8*%b0 to i8**
store i8*%b3,i8**%b4,align 8
%b5=load i8*,i8**%f,align 8
store i8*null,i8**%f,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
%ca=call i8*@sml_alloc(i32 inreg 28)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177304,i32*%cc,align 4
%cd=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ce=bitcast i8*%ca to i8**
store i8*%cd,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%ca,i64 8
%cg=bitcast i8*%cf to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_285 to void(...)*),void(...)**%cg,align 8
%ch=getelementptr inbounds i8,i8*%ca,i64 16
%ci=bitcast i8*%ch to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_285 to void(...)*),void(...)**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ca,i64 24
%ck=bitcast i8*%cj to i32*
store i32 -2147483647,i32*%ck,align 4
%cl=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%cm=call fastcc i8*%bX(i8*inreg%cl,i8*inreg%ca)
%cn=getelementptr inbounds i8,i8*%cm,i64 16
%co=bitcast i8*%cn to i8*(i8*,i8*)**
%cp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%co,align 8
%cq=bitcast i8*%cm to i8**
%cr=load i8*,i8**%cq,align 8
%cs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ct=getelementptr inbounds i8,i8*%cs,i64 8
%cu=bitcast i8*%ct to i8**
%cv=load i8*,i8**%cu,align 8
%cw=call fastcc i8*%cp(i8*inreg%cr,i8*inreg%cv)
store i8*%cw,i8**%e,align 8
%cx=call i8*@sml_alloc(i32 inreg 20)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177296,i32*%cz,align 4
store i8*%cx,i8**%f,align 8
%cA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cD=getelementptr inbounds i8,i8*%cx,i64 8
%cE=bitcast i8*%cD to i8**
store i8*%cC,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cx,i64 16
%cG=bitcast i8*%cF to i32*
store i32 3,i32*%cG,align 4
%cH=call i8*@sml_alloc(i32 inreg 20)#0
%cI=bitcast i8*%cH to i32*
%cJ=getelementptr inbounds i8,i8*%cH,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 1342177296,i32*%cK,align 4
%cL=getelementptr inbounds i8,i8*%cH,i64 4
%cM=bitcast i8*%cL to i32*
store i32 0,i32*%cM,align 1
store i32 1,i32*%cI,align 4
%cN=load i8*,i8**%f,align 8
%cO=getelementptr inbounds i8,i8*%cH,i64 8
%cP=bitcast i8*%cO to i8**
store i8*%cN,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cH,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 2,i32*%cR,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%G)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%J)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%K)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%L)
br label%dF
cS:
%cT=getelementptr inbounds i8,i8*%R,i64 8
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
store i8*%cV,i8**%d,align 8
%cW=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cX=getelementptr inbounds i8,i8*%cW,i64 16
%cY=bitcast i8*%cX to i8*(i8*,i8*)**
%cZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cY,align 8
%c0=bitcast i8*%cW to i8**
%c1=load i8*,i8**%c0,align 8
store i8*%c1,i8**%e,align 8
%c2=call i8*@sml_alloc(i32 inreg 20)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177296,i32*%c4,align 4
store i8*%c2,i8**%h,align 8
%c5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%c6=bitcast i8*%c2 to i8**
store i8*%c5,i8**%c6,align 8
%c7=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%c8=getelementptr inbounds i8,i8*%c2,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*%c7,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c2,i64 16
%db=bitcast i8*%da to i32*
store i32 3,i32*%db,align 4
%dc=call i8*@sml_alloc(i32 inreg 28)#0
%dd=getelementptr inbounds i8,i8*%dc,i64 -4
%de=bitcast i8*%dd to i32*
store i32 1342177304,i32*%de,align 4
%df=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%dg=bitcast i8*%dc to i8**
store i8*%df,i8**%dg,align 8
%dh=getelementptr inbounds i8,i8*%dc,i64 8
%di=bitcast i8*%dh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_283 to void(...)*),void(...)**%di,align 8
%dj=getelementptr inbounds i8,i8*%dc,i64 16
%dk=bitcast i8*%dj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics18substBTvarTvarKindE_283 to void(...)*),void(...)**%dk,align 8
%dl=getelementptr inbounds i8,i8*%dc,i64 24
%dm=bitcast i8*%dl to i32*
store i32 -2147483647,i32*%dm,align 4
%dn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%do=call fastcc i8*%cZ(i8*inreg%dn,i8*inreg%dc)
%dp=getelementptr inbounds i8,i8*%do,i64 16
%dq=bitcast i8*%dp to i8*(i8*,i8*)**
%dr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dq,align 8
%ds=bitcast i8*%do to i8**
%dt=load i8*,i8**%ds,align 8
%du=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dv=call fastcc i8*%dr(i8*inreg%dt,i8*inreg%du)
store i8*%dv,i8**%d,align 8
%dw=call i8*@sml_alloc(i32 inreg 20)#0
%dx=getelementptr inbounds i8,i8*%dw,i64 -4
%dy=bitcast i8*%dx to i32*
store i32 1342177296,i32*%dy,align 4
%dz=bitcast i8*%dw to i64*
store i64 0,i64*%dz,align 4
%dA=load i8*,i8**%d,align 8
%dB=getelementptr inbounds i8,i8*%dw,i64 8
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=getelementptr inbounds i8,i8*%dw,i64 16
%dE=bitcast i8*%dD to i32*
store i32 2,i32*%dE,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%G)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%J)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%K)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%L)
br label%dF
dF:
%dG=phi i8*[%a2,%ao],[null,%bd],[%cH,%be],[%dw,%cS]
store i8*%dG,i8**%j,align 8
%dH=call i8*@sml_alloc(i32 inreg 28)#0
%dI=getelementptr inbounds i8,i8*%dH,i64 -4
%dJ=bitcast i8*%dI to i32*
store i32 1342177304,i32*%dJ,align 4
%dK=load i8*,i8**%k,align 8
%dL=bitcast i8*%dH to i8**
store i8*%dK,i8**%dL,align 8
%dM=load i8*,i8**%l,align 8
%dN=getelementptr inbounds i8,i8*%dH,i64 8
%dO=bitcast i8*%dN to i8**
store i8*%dM,i8**%dO,align 8
%dP=load i8*,i8**%j,align 8
%dQ=getelementptr inbounds i8,i8*%dH,i64 16
%dR=bitcast i8*%dQ to i8**
store i8*%dP,i8**%dR,align 8
%dS=getelementptr inbounds i8,i8*%dH,i64 24
%dT=bitcast i8*%dS to i32*
store i32 7,i32*%dT,align 4
ret i8*%dH
}
define internal fastcc i8*@_SMLL5subst_288(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=load i8**,i8***bitcast(i8**@_SMLZN5Types8univKindE to i8***),align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=bitcast i8*%j to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=getelementptr inbounds i8,i8*%s,i64 12
%w=bitcast i8*%v to i32*
store i32 0,i32*%w,align 1
%x=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%y=bitcast i8*%s to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 8
%A=bitcast i8*%z to i32*
store i32%p,i32*%A,align 4
%B=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%s,i64 16
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%s,i64 24
%F=bitcast i8*%E to i32*
store i32 5,i32*%F,align 4
%G=call fastcc i8*@_SMLFN5Types8newtyRawE(i8*inreg%s)
ret i8*%G
}
define internal fastcc i8*@_SMLL8newSubst_291(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**%f,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]
store i8*null,i8**%c,align 8
%o=bitcast i8*%m to i32*
%p=load i32,i32*%o,align 4
%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*@_SMLFN14BoundTypeVarID3Map4findE(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**%e,align 8
%z=load i8*,i8**%f,align 8
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A 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=getelementptr inbounds i8,i8*%D,i64 12
%H=bitcast i8*%G to i32*
store i32 0,i32*%H,align 1
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%D,i64 8
%L=bitcast i8*%K to i32*
store i32%p,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%D,i64 16
%N=bitcast i8*%M to i32*
store i32 1,i32*%N,align 4
%O=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%P=call fastcc i8*%w(i8*inreg%O,i8*inreg%D)
%Q=icmp eq i8*%P,null
br i1%Q,label%R,label%al
R:
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%S=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%S,i8**%c,align 8
%T=call i8*@sml_alloc(i32 inreg 28)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177304,i32*%V,align 4
store i8*%T,i8**%d,align 8
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%T,i64 8
%Z=bitcast i8*%Y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@k,i64 0,i32 2,i64 0),i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 16
%ab=bitcast i8*%aa to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@m,i64 0,i32 2,i64 0),i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%T,i64 24
%ad=bitcast i8*%ac to i32*
store i32 7,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*%P to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%c,align 8
%ao=load i8*,i8**%f,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=icmp eq i8*%ar,null
br i1%as,label%at,label%av
at:
%au=bitcast i8*%ao to i8**
br label%bb
av:
%aw=bitcast i8*%ar to i8**
%ax=load i8*,i8**%aw,align 8
%ay=bitcast i8*%ax to i32*
%az=load i32,i32*%ay,align 4
%aA=getelementptr inbounds i8,i8*%ax,i64 16
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
store i8*%aC,i8**%e,align 8
%aD=call fastcc i8*@_SMLFN5Types12isPropertiesE(i32 inreg 1)
%aE=getelementptr inbounds i8,i8*%aD,i64 16
%aF=bitcast i8*%aE to i8*(i8*,i8*)**
%aG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aF,align 8
%aH=bitcast i8*%aD to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=load i8*,i8**%c,align 8
%aK=getelementptr inbounds i8,i8*%aJ,i64 8
%aL=bitcast i8*%aK to i8**
%aM=load i8*,i8**%aL,align 8
%aN=call fastcc i8*%aG(i8*inreg%aI,i8*inreg%aM)
%aO=bitcast i8*%aN to i32*
%aP=load i32,i32*%aO,align 4
%aQ=call i8*@sml_alloc(i32 inreg 20)#0
%aR=bitcast i8*%aQ to i32*
%aS=getelementptr inbounds i8,i8*%aQ,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
store i8*%aQ,i8**%g,align 8
store i32%aP,i32*%aR,align 4
%aU=getelementptr inbounds i8,i8*%aQ,i64 4
%aV=bitcast i8*%aU to i32*
store i32%az,i32*%aV,align 4
%aW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aX=getelementptr inbounds i8,i8*%aQ,i64 8
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aQ,i64 16
%a0=bitcast i8*%aZ to i32*
store i32 2,i32*%a0,align 4
%a1=call i8*@sml_alloc(i32 inreg 12)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177288,i32*%a3,align 4
%a4=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a5=bitcast i8*%a1 to i8**
store i8*%a4,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%a1,i64 8
%a7=bitcast i8*%a6 to i32*
store i32 1,i32*%a7,align 4
%a8=bitcast i8**%f to i8***
%a9=load i8**,i8***%a8,align 8
%ba=load i8*,i8**%c,align 8
br label%bb
bb:
%bc=phi i8*[%an,%at],[%ba,%av]
%bd=phi i8**[%au,%at],[%a9,%av]
%be=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%bf=load i8*,i8**%bd,align 8
store i8*null,i8**%c,align 8
%bg=call fastcc i8*@_SMLLN11TypesBasics14substBTvarKindE_230(i8*inreg%be,i8*inreg%bf,i8*inreg%bc)
store i8*%bg,i8**%c,align 8
%bh=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bi=getelementptr inbounds i8,i8*%bh,i64 8
%bj=bitcast i8*%bi to i8**
%bk=load i8*,i8**%bj,align 8
store i8*%bk,i8**%e,align 8
%bl=call i8*@sml_alloc(i32 inreg 28)#0
%bm=getelementptr inbounds i8,i8*%bl,i64 -4
%bn=bitcast i8*%bm to i32*
store i32 1342177304,i32*%bn,align 4
%bo=load i8*,i8**%d,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%e,align 8
%br=getelementptr inbounds i8,i8*%bl,i64 8
%bs=bitcast i8*%br to i8**
store i8*%bq,i8**%bs,align 8
%bt=load i8*,i8**%c,align 8
%bu=getelementptr inbounds i8,i8*%bl,i64 16
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bl,i64 24
%bx=bitcast i8*%bw to i32*
store i32 7,i32*%bx,align 4
ret i8*%bl
}
define internal fastcc void@_SMLLN11TypesBasics14makeFreshSubstE_294(i8*inreg%a)#2 gc"smlsharp"{
%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
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8***
%h=load i8**,i8***%g,align 8
%i=load i8*,i8**%h,align 8
%j=icmp eq i8*%i,null
br i1%j,label%aj,label%k
k:
%l=bitcast i8*%i to i32*
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,10
br i1%n,label%o,label%aj
o:
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%b,align 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,1
br i1%w,label%x,label%aj
x:
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i32**
%A=load i32*,i32**%z,align 8
%B=load i32,i32*%A,align 4
%C=getelementptr inbounds i8*,i8**%h,i64 1
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%c,align 8
%E=getelementptr inbounds i8*,i8**%h,i64 2
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%d,align 8
%G=load i32,i32*@_SMLZN5Types13infiniteDepthE,align 4
%H=call i8*@sml_alloc(i32 inreg 36)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177312,i32*%J,align 4
store i8*%H,i8**%e,align 8
%K=getelementptr inbounds i8,i8*%H,i64 4
call void@llvm.memset.p0i8.i32(i8*%K,i8 0,i32 20,i1 false)
%L=bitcast i8*%H to i32*
store i32%B,i32*%L,align 4
%M=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%H,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%H,i64 16
%Q=bitcast i8*%P to i32*
store i32%G,i32*%Q,align 4
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=getelementptr inbounds i8,i8*%H,i64 24
%T=bitcast i8*%S to i8**
store i8*%R,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%H,i64 32
%V=bitcast i8*%U to i32*
store i32 10,i32*%V,align 4
%W=call i8*@sml_alloc(i32 inreg 20)#0
%X=bitcast i8*%W to i32*
%Y=getelementptr inbounds i8,i8*%W,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
%aa=getelementptr inbounds i8,i8*%W,i64 4
%ab=bitcast i8*%aa to i32*
store i32 0,i32*%ab,align 1
store i32 1,i32*%X,align 4
%ac=load i8*,i8**%e,align 8
%ad=getelementptr inbounds i8,i8*%W,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%W,i64 16
%ag=bitcast i8*%af to i32*
store i32 2,i32*%ag,align 4
%ah=load i8*,i8**%b,align 8
%ai=bitcast i8*%ah to i8**
call void@sml_write(i8*inreg%ah,i8**inreg%ai,i8*inreg%W)#0
ret void
aj:
%ak=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ak,i8**%b,align 8
%al=call i8*@sml_alloc(i32 inreg 28)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177304,i32*%an,align 4
store i8*%al,i8**%c,align 8
%ao=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@l,i64 0,i32 2,i64 0),i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%al,i64 16
%at=bitcast i8*%as to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@m,i64 0,i32 2,i64 0),i8**%at,align 8
%au=getelementptr inbounds i8,i8*%al,i64 24
%av=bitcast i8*%au to i32*
store i32 7,i32*%av,align 4
%aw=call i8*@sml_alloc(i32 inreg 60)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177336,i32*%ay,align 4
%az=getelementptr inbounds i8,i8*%aw,i64 56
%aA=bitcast i8*%az to i32*
store i32 1,i32*%aA,align 4
%aB=load i8*,i8**%c,align 8
%aC=bitcast i8*%aw to i8**
store i8*%aB,i8**%aC,align 8
call void@sml_raise(i8*inreg%aw)#1
unreachable
}
define internal fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_296(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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**%d,align 8
store i8*%b,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%k,label%j
j:
call void@sml_check(i32 inreg%h)
br label%k
k:
%l=call fastcc i8*@_SMLFN14BoundTypeVarID3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%m=getelementptr inbounds i8,i8*%l,i64 16
%n=bitcast i8*%m to i8*(i8*,i8*)**
%o=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n,align 8
%p=bitcast i8*%l to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%f,align 8
%r=bitcast i8**%d to i8***
%s=load i8**,i8***%r,align 8
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=getelementptr inbounds i8*,i8**%s,i64 1
%v=bitcast i8**%u to i32*
%w=load i32,i32*%v,align 4
%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
store i8*%x,i8**%g,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i32*
store i32%w,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 28)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177304,i32*%I,align 4
%J=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5subst_288 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5subst_288 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%G,i64 24
%Q=bitcast i8*%P to i32*
store i32 -2147483647,i32*%Q,align 4
%R=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%S=call fastcc i8*%o(i8*inreg%R,i8*inreg%G)
%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
%Y=load i8*,i8**%e,align 8
%Z=call fastcc i8*%V(i8*inreg%X,i8*inreg%Y)
store i8*%Z,i8**%c,align 8
%aa=call fastcc i8*@_SMLFN14BoundTypeVarID3Map4mapiE(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
store i8*%af,i8**%f,align 8
%ag=load i8**,i8***%r,align 8
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%d,align 8
%ai=call i8*@sml_alloc(i32 inreg 28)#0
%aj=getelementptr inbounds i8,i8*%ai,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177304,i32*%ak,align 4
store i8*%ai,i8**%g,align 8
%al=load i8*,i8**%c,align 8
%am=bitcast i8*%ai to i8**
store i8*%al,i8**%am,align 8
%an=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ao=getelementptr inbounds i8,i8*%ai,i64 8
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ar=getelementptr inbounds i8,i8*%ai,i64 16
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ai,i64 24
%au=bitcast i8*%at to i32*
store i32 7,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 28)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177304,i32*%ax,align 4
%ay=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8newSubst_291 to void(...)*),void(...)**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL8newSubst_291 to void(...)*),void(...)**%aD,align 8
%aE=getelementptr inbounds i8,i8*%av,i64 24
%aF=bitcast i8*%aE to i32*
store i32 -2147483647,i32*%aF,align 4
%aG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aH=call fastcc i8*%ad(i8*inreg%aG,i8*inreg%av)
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
%aN=load i8*,i8**%c,align 8
%aO=call fastcc i8*%aK(i8*inreg%aM,i8*inreg%aN)
store i8*%aO,i8**%d,align 8
%aP=call fastcc i8*@_SMLFN14BoundTypeVarID3Map4appiE(i32 inreg 1,i32 inreg 8)
%aQ=getelementptr inbounds i8,i8*%aP,i64 16
%aR=bitcast i8*%aQ to i8*(i8*,i8*)**
%aS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aR,align 8
%aT=bitcast i8*%aP to i8**
%aU=load i8*,i8**%aT,align 8
%aV=call fastcc i8*%aS(i8*inreg%aU,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*))
%aW=getelementptr inbounds i8,i8*%aV,i64 16
%aX=bitcast i8*%aW to i8*(i8*,i8*)**
%aY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aX,align 8
%aZ=bitcast i8*%aV to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a2=call fastcc i8*%aY(i8*inreg%a0,i8*inreg%a1)
%a3=load i8*,i8**%c,align 8
ret i8*%a3
}
define internal fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_297(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=call i8*@sml_alloc(i32 inreg 20)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177296,i32*%i,align 4
store i8*%g,i8**%d,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%f,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%g,i64 16
%o=bitcast i8*%n to i32*
store i32 1,i32*%o,align 4
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
%s=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics14makeFreshSubstE_296 to void(...)*),void(...)**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics14makeFreshSubstE_296 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%p,i64 24
%z=bitcast i8*%y to i32*
store i32 -2147483647,i32*%z,align 4
ret i8*%p
}
define internal fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_298(i32 inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics14makeFreshSubstE_297 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics14makeFreshSubstE_297 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define fastcc i8*@_SMLFN11TypesBasics15freshRigidSubstE(i8*inreg%a)#2 gc"smlsharp"{
%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**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call fastcc i32@_SMLFN6TvarID8generateE(i32 inreg 0)
%k=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@p,i64 0,i32 2,i64 0))
%l=getelementptr inbounds i8,i8*%k,i64 16
%m=bitcast i8*%l to i8*(i8*,i8*)**
%n=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m,align 8
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
%q=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%r=call fastcc i8*%n(i8*inreg%p,i8*inreg%q)
store i8*%r,i8**%b,align 8
%s=load i32,i32*@_SMLZN5Types13infiniteDepthE,align 4
%t=call fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_298(i32 inreg%s)
%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**%e,align 8
%z=call i8*@sml_alloc(i32 inreg 28)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
store i8*%z,i8**%d,align 8
%C=getelementptr inbounds i8,i8*%z,i64 12
%D=bitcast i8*%C to i32*
store i32 0,i32*%D,align 1
%E=bitcast i8*%z to i32*
store i32%j,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%z,i64 4
%G=bitcast i8*%F to i32*
store i32 0,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%z,i64 8
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 4
%J=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%K=getelementptr inbounds i8,i8*%z,i64 16
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%z,i64 24
%N=bitcast i8*%M to i32*
store i32 4,i32*%N,align 4
%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**%d,align 8
store i8*null,i8**%d,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
%V=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%W=call fastcc i8*%w(i8*inreg%V,i8*inreg%O)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
%ac=load i8*,i8**%c,align 8
%ad=tail call fastcc i8*%Z(i8*inreg%ab,i8*inreg%ac)
ret i8*%ad
}
define internal fastcc i8*@_SMLLN11TypesBasics30freshRigidSubstWithLambdaDepthE_304(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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**%d,align 8
store i8*%b,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%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=call fastcc i32@_SMLFN6TvarID8generateE(i32 inreg 0)
%l=call fastcc i8*@_SMLFN6Symbol8mkSymbolE(i8*inreg getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@p,i64 0,i32 2,i64 0))
%m=getelementptr inbounds i8,i8*%l,i64 16
%n=bitcast i8*%m to i8*(i8*,i8*)**
%o=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n,align 8
%p=bitcast i8*%l to i8**
%q=load i8*,i8**%p,align 8
%r=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
%s=call fastcc i8*%o(i8*inreg%q,i8*inreg%r)
store i8*%s,i8**%c,align 8
%t=bitcast i8**%d to i32**
%u=load i32*,i32**%t,align 8
store i8*null,i8**%d,align 8
%v=load i32,i32*%u,align 4
%w=call fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_298(i32 inreg%v)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%f,align 8
%C=call i8*@sml_alloc(i32 inreg 28)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177304,i32*%E,align 4
store i8*%C,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%C,i64 12
%G=bitcast i8*%F to i32*
store i32 0,i32*%G,align 1
%H=bitcast i8*%C to i32*
store i32%k,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%C,i64 4
%J=bitcast i8*%I to i32*
store i32 0,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%C,i64 8
%L=bitcast i8*%K to i32*
store i32 0,i32*%L,align 4
%M=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%C,i64 16
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%C,i64 24
%Q=bitcast i8*%P to i32*
store i32 4,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177288,i32*%T,align 4
%U=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 i32*
store i32 1,i32*%X,align 4
%Y=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Z=call fastcc i8*%z(i8*inreg%Y,i8*inreg%R)
%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**%e,align 8
%ag=tail call fastcc i8*%ac(i8*inreg%ae,i8*inreg%af)
ret i8*%ag
}
define fastcc i8*@_SMLFN11TypesBasics30freshRigidSubstWithLambdaDepthE(i32 inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics30freshRigidSubstWithLambdaDepthE_304 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics30freshRigidSubstWithLambdaDepthE_304 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc void@_SMLL5visit_314(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**%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%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
tail call fastcc void@_SMLL5visit_309(i8*inreg%p,i8*inreg%o)
ret void
}
define internal fastcc void@_SMLL5visit_309(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
i:
%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**%d,align 8
br label%g
g:
%h=phi i8*[%aX,%aR],[%b,%i]
store i8*%h,i8**%c,align 8
%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**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%p=icmp eq i8*%o,null
br i1%p,label%af,label%q
q:
%r=bitcast i8*%o to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 9,label%bi
i32 0,label%aY
i32 4,label%af
i32 3,label%af
i32 5,label%af
i32 10,label%af
i32 1,label%af
i32 6,label%aR
i32 8,label%ag
i32 2,label%af
i32 7,label%L
]
t:
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,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
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@y,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=bitcast i8**%d to i8***
%N=load i8**,i8***%M,align 8
store i8*null,i8**%d,align 8
%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
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,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@x,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
%aa=bitcast i8*%Z to i32*
store i32 1342177336,i32*%aa,align 4
%ab=getelementptr inbounds i8,i8*%Y,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*%Y to i8**
store i8*%ad,i8**%ae,align 8
call void@sml_raise(i8*inreg%Y)#1
unreachable
af:
ret void
ag:
%ah=getelementptr inbounds i8,i8*%o,i64 8
%ai=bitcast i8*%ah to i8**
%aj=load i8*,i8**%ai,align 8
store i8*%aj,i8**%c,align 8
%ak=call fastcc i8*@_SMLFN11RecordLabel3Map3appE(i32 inreg 1,i32 inreg 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 12)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177288,i32*%as,align 4
store i8*%aq,i8**%f,align 8
%at=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%aq,i64 8
%aw=bitcast i8*%av to i32*
store i32 1,i32*%aw,align 4
%ax=call i8*@sml_alloc(i32 inreg 28)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177304,i32*%az,align 4
%aA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aB=bitcast i8*%ax to i8**
store i8*%aA,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%ax,i64 8
%aD=bitcast i8*%aC to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLL5visit_314 to void(...)*),void(...)**%aD,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 16
%aF=bitcast i8*%aE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL5visit_583 to void(...)*),void(...)**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ax,i64 24
%aH=bitcast i8*%aG to i32*
store i32 -2147483647,i32*%aH,align 4
%aI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aJ=call fastcc i8*%an(i8*inreg%aI,i8*inreg%ax)
%aK=getelementptr inbounds i8,i8*%aJ,i64 16
%aL=bitcast i8*%aK to i8*(i8*,i8*)**
%aM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aL,align 8
%aN=bitcast i8*%aJ to i8**
%aO=load i8*,i8**%aN,align 8
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aQ=call fastcc i8*%aM(i8*inreg%aO,i8*inreg%aP)
ret void
aR:
%aS=getelementptr inbounds i8,i8*%o,i64 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
%aV=getelementptr inbounds i8,i8*%aU,i64 8
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
br label%g
aY:
store i8*null,i8**%d,align 8
%aZ=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aZ,i8**%c,align 8
%a0=call i8*@sml_alloc(i32 inreg 28)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177304,i32*%a2,align 4
store i8*%a0,i8**%d,align 8
%a3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%a0,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@v,i64 0,i32 2,i64 0),i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a0,i64 16
%a8=bitcast i8*%a7 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@w,i64 0,i32 2,i64 0),i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a0,i64 24
%ba=bitcast i8*%a9 to i32*
store i32 7,i32*%ba,align 4
%bb=call i8*@sml_alloc(i32 inreg 60)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177336,i32*%bd,align 4
%be=getelementptr inbounds i8,i8*%bb,i64 56
%bf=bitcast i8*%be to i32*
store i32 1,i32*%bf,align 4
%bg=load i8*,i8**%d,align 8
%bh=bitcast i8*%bb to i8**
store i8*%bg,i8**%bh,align 8
call void@sml_raise(i8*inreg%bb)#1
unreachable
bi:
store i8*null,i8**%d,align 8
%bj=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bj,i8**%c,align 8
%bk=call i8*@sml_alloc(i32 inreg 28)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177304,i32*%bm,align 4
store i8*%bk,i8**%d,align 8
%bn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@t,i64 0,i32 2,i64 0),i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bk,i64 16
%bs=bitcast i8*%br to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@u,i64 0,i32 2,i64 0),i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bk,i64 24
%bu=bitcast i8*%bt to i32*
store i32 7,i32*%bu,align 4
%bv=call i8*@sml_alloc(i32 inreg 60)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177336,i32*%bx,align 4
%by=getelementptr inbounds i8,i8*%bv,i64 56
%bz=bitcast i8*%by to i32*
store i32 1,i32*%bz,align 4
%bA=load i8*,i8**%d,align 8
%bB=bitcast i8*%bv to i8**
store i8*%bA,i8**%bB,align 8
call void@sml_raise(i8*inreg%bv)#1
unreachable
}
define fastcc i32@_SMLFN11TypesBasics6monoTyE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%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%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call i8*@sml_alloc(i32 inreg 8)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 268435464,i32*%k,align 4
store i8*%i,i8**%c,align 8
%l=bitcast i8*%i to i64*
store i64 0,i64*%l,align 1
%m=bitcast i8*%i to i8**
call void@sml_write(i8*inreg%i,i8**inreg%m,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@s,i64 0,i32 2)to i8*))#0
%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**%d,align 8
%q=load i8*,i8**%c,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**%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(void(i8*,i8*)*@_SMLL5visit_309 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*)*@_SMLL5visit_584 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
%F=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
store i8*null,i8**%d,align 8
invoke fastcc void@_SMLL5visit_309(i8*inreg%x,i8*inreg%F)
to label%P unwind label%G
G:
%H=landingpad{i8*,i8*}
catch i8*null
%I=extractvalue{i8*,i8*}%H,1
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%b,align 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=icmp eq i8*%M,%N
br i1%O,label%P,label%R
P:
%Q=phi i32[0,%G],[1,%h]
ret i32%Q
R:
%S=call i8*@sml_alloc(i32 inreg 60)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177336,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%S,i64 56
%W=bitcast i8*%V to i32*
store i32 1,i32*%W,align 4
%X=load i8*,i8**%b,align 8
%Y=bitcast i8*%S to i8**
store i8*%X,i8**%Y,align 8
call void@sml_raise(i8*inreg%S)#1
unreachable
}
define internal fastcc i8*@_SMLL11constraints_319(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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
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%j,label%m
j:
%k=bitcast i8*%a to i8**
%l=bitcast i8**%f to i8***
br label%q
m:
call void@sml_check(i32 inreg%h)
%n=load i8*,i8**%c,align 8
%o=bitcast i8**%f to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8***[%l,%j],[%o,%m]
%s=phi i8**[%k,%j],[%p,%m]
%t=phi i8*[%b,%j],[%n,%m]
%u=getelementptr inbounds i8,i8*%t,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%y=load i8*,i8**%s,align 8
%z=getelementptr inbounds i8,i8*%t,i64 16
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%x,i8*inreg%y,i8*inreg%B)
store i8*%C,i8**%e,align 8
%D=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%E=load i8**,i8***%r,align 8
%F=load i8*,i8**%E,align 8
%G=bitcast i8**%c to i8****
%H=load i8***,i8****%G,align 8
%I=load i8**,i8***%H,align 8
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%D,i8*inreg%F,i8*inreg%J)
store i8*%K,i8**%d,align 8
%L=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%M=load i8**,i8***%r,align 8
store i8*null,i8**%f,align 8
%N=load i8*,i8**%M,align 8
%O=bitcast i8**%c to i8***
%P=load i8**,i8***%O,align 8
store i8*null,i8**%c,align 8
%Q=load i8*,i8**%P,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%L,i8*inreg%N,i8*inreg%T)
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**%f,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%f,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%g,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=load i8*,i8**%e,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 16
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%af,i64 24
%ar=bitcast i8*%aq to i32*
store i32 7,i32*%ar,align 4
ret i8*%af
}
define internal fastcc i8*@_SMLLN11TypesBasics23makeTopLevelFreshInstTyE_320(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**%d,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=call fastcc i32@_SMLFN11TypesBasics6monoTyE(i8*inreg%m)
%p=icmp eq i32%o,0
br i1%p,label%E,label%q
q:
store i8*null,i8**%d,align 8
%r=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%r,i8**%d,align 8
%s=call i8*@sml_alloc(i32 inreg 28)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177304,i32*%u,align 4
%v=load i8*,i8**%c,align 8
%w=bitcast i8*%s to i8**
store i8*%v,i8**%w,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*null,i8**%y,align 8
%z=load i8*,i8**%d,align 8
%A=getelementptr inbounds i8,i8*%s,i64 16
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%s,i64 24
%D=bitcast i8*%C to i32*
store i32 7,i32*%D,align 4
ret i8*%s
E:
%F=load i8*,i8**%c,align 8
%G=icmp eq i8*%F,null
br i1%G,label%L,label%H
H:
%I=bitcast i8*%F to i32*
%J=load i32,i32*%I,align 4
%K=icmp eq i32%J,7
br i1%K,label%Z,label%L
L:
store i8*null,i8**%d,align 8
%M=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%M,i8**%d,align 8
%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**%c,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 i8**
store i8*null,i8**%T,align 8
%U=load i8*,i8**%d,align 8
%V=getelementptr inbounds i8,i8*%N,i64 16
%W=bitcast i8*%V to i8**
store i8*%U,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%N,i64 24
%Y=bitcast i8*%X to i32*
store i32 7,i32*%Y,align 4
ret i8*%N
Z:
store i8*null,i8**%c,align 8
%aa=getelementptr inbounds i8,i8*%F,i64 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%e,align 8
%ad=bitcast i8**%d to i8***
%ae=load i8**,i8***%ad,align 8
%af=load i8*,i8**%ae,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
store i8*null,i8**%d,align 8
%aj=bitcast i8**%ae to i8***
%ak=load i8**,i8***%aj,align 8
%al=load i8*,i8**%ak,align 8
%am=getelementptr inbounds i8,i8*%ac,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*%ai(i8*inreg%al,i8*inreg%ao)
store i8*%ap,i8**%c,align 8
%aq=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%ar=bitcast i8**%e to i8***
%as=load i8**,i8***%ar,align 8
%at=load i8*,i8**%as,align 8
%au=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%aq,i8*inreg%ap,i8*inreg%at)
store i8*%au,i8**%d,align 8
%av=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%f,align 8
%aB=call i8*@sml_alloc(i32 inreg 12)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177288,i32*%aD,align 4
store i8*%aB,i8**%g,align 8
%aE=load i8*,i8**%c,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to i32*
store i32 1,i32*%aH,align 4
%aI=call i8*@sml_alloc(i32 inreg 28)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177304,i32*%aK,align 4
%aL=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11constraints_319 to void(...)*),void(...)**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aI,i64 16
%aQ=bitcast i8*%aP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11constraints_319 to void(...)*),void(...)**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aI,i64 24
%aS=bitcast i8*%aR to i32*
store i32 -2147483647,i32*%aS,align 4
%aT=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aU=call fastcc i8*%ay(i8*inreg%aT,i8*inreg%aI)
%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
%a0=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a1=getelementptr inbounds i8,i8*%a0,i64 16
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
%a4=call fastcc i8*%aX(i8*inreg%aZ,i8*inreg%a3)
store i8*%a4,i8**%e,align 8
%a5=call i8*@sml_alloc(i32 inreg 28)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177304,i32*%a7,align 4
%a8=load i8*,i8**%d,align 8
%a9=bitcast i8*%a5 to i8**
store i8*%a8,i8**%a9,align 8
%ba=load i8*,i8**%e,align 8
%bb=getelementptr inbounds i8,i8*%a5,i64 8
%bc=bitcast i8*%bb to i8**
store i8*%ba,i8**%bc,align 8
%bd=load i8*,i8**%c,align 8
%be=getelementptr inbounds i8,i8*%a5,i64 16
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a5,i64 24
%bh=bitcast i8*%bg to i32*
store i32 7,i32*%bh,align 4
ret i8*%a5
}
define internal fastcc i8*@_SMLLN11TypesBasics15makeFreshInstTyE_327(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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**%c,align 8
store i8*%b,i8**%d,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%a to i8**
br label%q
m:
call void@sml_check(i32 inreg%i)
%n=load i8*,i8**%d,align 8
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%m],[%l,%k]
%s=phi i8*[%n,%m],[%b,%k]
store i8*null,i8**%d,align 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=getelementptr inbounds i8,i8*%s,i64 16
%w=bitcast i8*%v to i8***
%x=load i8**,i8***%w,align 8
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=getelementptr inbounds i8*,i8**%x,i64 1
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%g,align 8
store i8*null,i8**%c,align 8
%B=load i8*,i8**%r,align 8
%C=getelementptr inbounds i8,i8*%s,i64 8
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
%F=call fastcc i8*@_SMLLN11TypesBasics15makeFreshInstTyE_323(i8*inreg%B,i8*inreg%E)
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%c,align 8
%I=getelementptr inbounds i8,i8*%F,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%d,align 8
%L=call fastcc i8*@_SMLFN11RecordLabel3Map6insertE(i32 inreg 1,i32 inreg 8)
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%h,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
%U=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 16
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%R,i64 24
%ad=bitcast i8*%ac to i32*
store i32 7,i32*%ad,align 4
%ae=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%af=call fastcc i8*%O(i8*inreg%ae,i8*inreg%R)
store i8*%af,i8**%c,align 8
%ag=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%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**%e,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**%d,align 8
store i8*null,i8**%d,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=load i8*,i8**%g,align 8
store i8*null,i8**%g,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**%e,align 8
store i8*null,i8**%e,align 8
%ax=call fastcc i8*%aj(i8*inreg%aw,i8*inreg%am)
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**%c,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%d,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
ret i8*%ay
}
define internal fastcc i8*@_SMLL12bconstraints_328(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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
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%j,label%m
j:
%k=bitcast i8*%a to i8**
%l=bitcast i8**%f to i8***
br label%q
m:
call void@sml_check(i32 inreg%h)
%n=load i8*,i8**%c,align 8
%o=bitcast i8**%f to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8***[%l,%j],[%o,%m]
%s=phi i8**[%k,%j],[%p,%m]
%t=phi i8*[%b,%j],[%n,%m]
%u=getelementptr inbounds i8,i8*%t,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%y=load i8*,i8**%s,align 8
%z=getelementptr inbounds i8,i8*%t,i64 16
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%x,i8*inreg%y,i8*inreg%B)
store i8*%C,i8**%e,align 8
%D=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%E=load i8**,i8***%r,align 8
%F=load i8*,i8**%E,align 8
%G=bitcast i8**%c to i8****
%H=load i8***,i8****%G,align 8
%I=load i8**,i8***%H,align 8
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%D,i8*inreg%F,i8*inreg%J)
store i8*%K,i8**%d,align 8
%L=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%M=load i8**,i8***%r,align 8
store i8*null,i8**%f,align 8
%N=load i8*,i8**%M,align 8
%O=bitcast i8**%c to i8***
%P=load i8**,i8***%O,align 8
store i8*null,i8**%c,align 8
%Q=load i8*,i8**%P,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%L,i8*inreg%N,i8*inreg%T)
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**%f,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%f,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%g,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=load i8*,i8**%e,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 16
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%af,i64 24
%ar=bitcast i8*%aq to i32*
store i32 7,i32*%ar,align 4
ret i8*%af
}
define internal fastcc i8*@_SMLLN11TypesBasics15makeFreshInstTyE_323(i8*inreg%a,i8*inreg%b)unnamed_addr#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**%c,align 8
store i8*%b,i8**%d,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**%d,align 8
br label%n
n:
%o=phi i8*[%m,%k],[%b,%p]
%q=phi i8*[%l,%k],[%a,%p]
store i8*null,i8**%c,align 8
store i8*%q,i8**%f,align 8
%r=call fastcc i32@_SMLFN11TypesBasics6monoTyE(i8*inreg%o)
%s=icmp eq i32%r,0
br i1%s,label%H,label%t
t:
store i8*null,i8**%f,align 8
%u=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%u,i8**%c,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
%y=load i8*,i8**%d,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*null,i8**%B,align 8
%C=load i8*,i8**%c,align 8
%D=getelementptr inbounds i8,i8*%v,i64 16
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%v,i64 24
%G=bitcast i8*%F to i32*
store i32 7,i32*%G,align 4
ret i8*%v
H:
%I=load i8*,i8**%d,align 8
%J=icmp eq i8*%I,null
br i1%J,label%N,label%K
K:
%L=bitcast i8*%I to i32*
%M=load i32,i32*%L,align 4
switch i32%M,label%N[
i32 6,label%dw
i32 8,label%bH
i32 7,label%ab
]
N:
store i8*null,i8**%f,align 8
%O=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%O,i8**%c,align 8
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=load i8*,i8**%d,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=load i8*,i8**%c,align 8
%X=getelementptr inbounds i8,i8*%P,i64 16
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%P,i64 24
%aa=bitcast i8*%Z to i32*
store i32 7,i32*%aa,align 4
ret i8*%P
ab:
store i8*null,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%I,i64 8
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%e,align 8
%af=load i8*,i8**%f,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=call fastcc i8*%ai(i8*inreg%ak,i8*inreg%an)
store i8*%ao,i8**%c,align 8
%ap=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%aq=bitcast i8**%e to i8***
%ar=load i8**,i8***%aq,align 8
%as=load i8*,i8**%ar,align 8
%at=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%ap,i8*inreg%ao,i8*inreg%as)
store i8*%at,i8**%d,align 8
%au=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**%g,align 8
%aA=call i8*@sml_alloc(i32 inreg 12)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177288,i32*%aC,align 4
store i8*%aA,i8**%h,align 8
%aD=load i8*,i8**%c,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 1,i32*%aG,align 4
%aH=call i8*@sml_alloc(i32 inreg 28)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,i32*%aJ,align 4
%aK=load i8*,i8**%h,align 8
store i8*null,i8**%h,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12bconstraints_328 to void(...)*),void(...)**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 16
%aP=bitcast i8*%aO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL12bconstraints_328 to void(...)*),void(...)**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aH,i64 24
%aR=bitcast i8*%aQ to i32*
store i32 -2147483647,i32*%aR,align 4
%aS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aT=call fastcc i8*%ax(i8*inreg%aS,i8*inreg%aH)
%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
%aZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a0=getelementptr inbounds i8,i8*%aZ,i64 16
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
%a3=call fastcc i8*%aW(i8*inreg%aY,i8*inreg%a2)
store i8*%a3,i8**%e,align 8
%a4=load i8*,i8**%d,align 8
%a5=load i8*,i8**%f,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%a6=call fastcc i8*@_SMLLN11TypesBasics15makeFreshInstTyE_323(i8*inreg%a5,i8*inreg%a4)
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
store i8*%a8,i8**%d,align 8
%a9=getelementptr inbounds i8,i8*%a6,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
store i8*%bb,i8**%f,align 8
%bc=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8*(i8*,i8*)**
%bf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%be,align 8
%bg=bitcast i8*%bc to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%g,align 8
%bi=call i8*@sml_alloc(i32 inreg 20)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177296,i32*%bk,align 4
%bl=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bo=getelementptr inbounds i8,i8*%bi,i64 8
%bp=bitcast i8*%bo to i8**
store i8*%bn,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bi,i64 16
%br=bitcast i8*%bq to i32*
store i32 3,i32*%br,align 4
%bs=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bt=call fastcc i8*%bf(i8*inreg%bs,i8*inreg%bi)
store i8*%bt,i8**%e,align 8
%bu=call i8*@sml_alloc(i32 inreg 28)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177304,i32*%bw,align 4
%bx=load i8*,i8**%d,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%e,align 8
%bA=getelementptr inbounds i8,i8*%bu,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=load i8*,i8**%c,align 8
%bD=getelementptr inbounds i8,i8*%bu,i64 16
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bu,i64 24
%bG=bitcast i8*%bF to i32*
store i32 7,i32*%bG,align 4
ret i8*%bu
bH:
%bI=getelementptr inbounds i8,i8*%I,i64 8
%bJ=bitcast i8*%bI to i8**
%bK=load i8*,i8**%bJ,align 8
store i8*%bK,i8**%d,align 8
%bL=call fastcc i8*@_SMLFN11RecordLabel3Map6foldliE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bM=getelementptr inbounds i8,i8*%bL,i64 16
%bN=bitcast i8*%bM to i8*(i8*,i8*)**
%bO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bN,align 8
%bP=bitcast i8*%bL to i8**
%bQ=load i8*,i8**%bP,align 8
store i8*%bQ,i8**%c,align 8
%bR=call i8*@sml_alloc(i32 inreg 12)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177288,i32*%bT,align 4
store i8*%bR,i8**%e,align 8
%bU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=getelementptr inbounds i8,i8*%bR,i64 8
%bX=bitcast i8*%bW to i32*
store i32 1,i32*%bX,align 4
%bY=call i8*@sml_alloc(i32 inreg 28)#0
%bZ=getelementptr inbounds i8,i8*%bY,i64 -4
%b0=bitcast i8*%bZ to i32*
store i32 1342177304,i32*%b0,align 4
%b1=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b2=bitcast i8*%bY to i8**
store i8*%b1,i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bY,i64 8
%b4=bitcast i8*%b3 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15makeFreshInstTyE_327 to void(...)*),void(...)**%b4,align 8
%b5=getelementptr inbounds i8,i8*%bY,i64 16
%b6=bitcast i8*%b5 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15makeFreshInstTyE_327 to void(...)*),void(...)**%b6,align 8
%b7=getelementptr inbounds i8,i8*%bY,i64 24
%b8=bitcast i8*%b7 to i32*
store i32 -2147483647,i32*%b8,align 4
%b9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ca=call fastcc i8*%bO(i8*inreg%b9,i8*inreg%bY)
%cb=getelementptr inbounds i8,i8*%ca,i64 16
%cc=bitcast i8*%cb to i8*(i8*,i8*)**
%cd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cc,align 8
%ce=bitcast i8*%ca to i8**
%cf=load i8*,i8**%ce,align 8
store i8*%cf,i8**%e,align 8
%cg=call fastcc i8*@_SMLFN11RecordLabel3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%cg,i8**%c,align 8
%ch=call i8*@sml_alloc(i32 inreg 20)#0
%ci=getelementptr inbounds i8,i8*%ch,i64 -4
%cj=bitcast i8*%ci to i32*
store i32 1342177296,i32*%cj,align 4
%ck=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cl=bitcast i8*%ch to i8**
store i8*%ck,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%ch,i64 8
%cn=bitcast i8*%cm to i8**
store i8*null,i8**%cn,align 8
%co=getelementptr inbounds i8,i8*%ch,i64 16
%cp=bitcast i8*%co to i32*
store i32 3,i32*%cp,align 4
%cq=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cr=call fastcc i8*%cd(i8*inreg%cq,i8*inreg%ch)
%cs=getelementptr inbounds i8,i8*%cr,i64 16
%ct=bitcast i8*%cs to i8*(i8*,i8*)**
%cu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ct,align 8
%cv=bitcast i8*%cr to i8**
%cw=load i8*,i8**%cv,align 8
%cx=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cy=call fastcc i8*%cu(i8*inreg%cw,i8*inreg%cx)
%cz=getelementptr inbounds i8,i8*%cy,i64 8
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%c,align 8
%cC=bitcast i8*%cy to i8**
%cD=load i8*,i8**%cC,align 8
store i8*%cD,i8**%d,align 8
%cE=call i8*@sml_alloc(i32 inreg 20)#0
%cF=getelementptr inbounds i8,i8*%cE,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177296,i32*%cG,align 4
store i8*%cE,i8**%e,align 8
%cH=getelementptr inbounds i8,i8*%cE,i64 4
%cI=bitcast i8*%cH to i32*
store i32 0,i32*%cI,align 1
%cJ=bitcast i8*%cE to i32*
store i32 8,i32*%cJ,align 4
%cK=load i8*,i8**%d,align 8
%cL=getelementptr inbounds i8,i8*%cE,i64 8
%cM=bitcast i8*%cL to i8**
store i8*%cK,i8**%cM,align 8
%cN=getelementptr inbounds i8,i8*%cE,i64 16
%cO=bitcast i8*%cN to i32*
store i32 2,i32*%cO,align 4
%cP=load i8*,i8**@_SMLZN14BoundTypeVarID3Map5emptyE,align 8
store i8*%cP,i8**%d,align 8
%cQ=call i8*@sml_alloc(i32 inreg 28)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177304,i32*%cS,align 4
%cT=load i8*,i8**%e,align 8
%cU=bitcast i8*%cQ to i8**
store i8*%cT,i8**%cU,align 8
%cV=load i8*,i8**%c,align 8
%cW=getelementptr inbounds i8,i8*%cQ,i64 8
%cX=bitcast i8*%cW to i8**
store i8*%cV,i8**%cX,align 8
%cY=load i8*,i8**%d,align 8
%cZ=getelementptr inbounds i8,i8*%cQ,i64 16
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cQ,i64 24
%c2=bitcast i8*%c1 to i32*
store i32 7,i32*%c2,align 4
store i8*%cT,i8**%c,align 8
store i8*%cV,i8**%d,align 8
%c3=getelementptr inbounds i8,i8*%cY,i64 16
%c4=bitcast i8*%c3 to i8*(i8*,i8*,i8*)**
%c5=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%c4,align 8
%c6=bitcast i8*%cY to i8**
%c7=load i8*,i8**%c6,align 8
store i8*%c7,i8**%e,align 8
%c8=call i8*@sml_alloc(i32 inreg 4)#0
%c9=bitcast i8*%c8 to i32*
%da=getelementptr inbounds i8,i8*%c8,i64 -4
%db=bitcast i8*%da to i32*
store i32 4,i32*%db,align 4
store i8*%c8,i8**%f,align 8
store i32 1,i32*%c9,align 4
%dc=call i8*@sml_alloc(i32 inreg 4)#0
%dd=bitcast i8*%dc to i32*
%de=getelementptr inbounds i8,i8*%dc,i64 -4
%df=bitcast i8*%de to i32*
store i32 4,i32*%df,align 4
store i32 8,i32*%dd,align 4
%dg=load i8*,i8**%e,align 8
%dh=load i8*,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%di=call fastcc i8*%c5(i8*inreg%dg,i8*inreg%dh,i8*inreg%dc)
store i8*%di,i8**%e,align 8
%dj=call i8*@sml_alloc(i32 inreg 28)#0
%dk=getelementptr inbounds i8,i8*%dj,i64 -4
%dl=bitcast i8*%dk to i32*
store i32 1342177304,i32*%dl,align 4
%dm=load i8*,i8**%c,align 8
%dn=bitcast i8*%dj to i8**
store i8*%dm,i8**%dn,align 8
%do=load i8*,i8**%d,align 8
%dp=getelementptr inbounds i8,i8*%dj,i64 8
%dq=bitcast i8*%dp to i8**
store i8*%do,i8**%dq,align 8
%dr=load i8*,i8**%e,align 8
%ds=getelementptr inbounds i8,i8*%dj,i64 16
%dt=bitcast i8*%ds to i8**
store i8*%dr,i8**%dt,align 8
%du=getelementptr inbounds i8,i8*%dj,i64 24
%dv=bitcast i8*%du to i32*
store i32 7,i32*%dv,align 4
ret i8*%dj
dw:
store i8*null,i8**%d,align 8
%dx=getelementptr inbounds i8,i8*%I,i64 8
%dy=bitcast i8*%dx to i8**
%dz=load i8*,i8**%dy,align 8
%dA=bitcast i8*%dz to i8**
%dB=load i8*,i8**%dA,align 8
store i8*%dB,i8**%e,align 8
%dC=getelementptr inbounds i8,i8*%dz,i64 8
%dD=bitcast i8*%dC to i8**
%dE=load i8*,i8**%dD,align 8
%dF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dG=call fastcc i8*@_SMLLN11TypesBasics15makeFreshInstTyE_323(i8*inreg%dF,i8*inreg%dE)
%dH=bitcast i8*%dG to i8**
%dI=load i8*,i8**%dH,align 8
store i8*%dI,i8**%c,align 8
%dJ=getelementptr inbounds i8,i8*%dG,i64 8
%dK=bitcast i8*%dJ to i8**
%dL=load i8*,i8**%dK,align 8
store i8*%dL,i8**%d,align 8
%dM=call i8*@sml_alloc(i32 inreg 20)#0
%dN=getelementptr inbounds i8,i8*%dM,i64 -4
%dO=bitcast i8*%dN to i32*
store i32 1342177296,i32*%dO,align 4
store i8*%dM,i8**%f,align 8
%dP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dQ=bitcast i8*%dM to i8**
store i8*%dP,i8**%dQ,align 8
%dR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dS=getelementptr inbounds i8,i8*%dM,i64 8
%dT=bitcast i8*%dS to i8**
store i8*%dR,i8**%dT,align 8
%dU=getelementptr inbounds i8,i8*%dM,i64 16
%dV=bitcast i8*%dU to i32*
store i32 3,i32*%dV,align 4
%dW=call i8*@sml_alloc(i32 inreg 20)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177296,i32*%dY,align 4
store i8*%dW,i8**%e,align 8
%dZ=getelementptr inbounds i8,i8*%dW,i64 4
%d0=bitcast i8*%dZ to i32*
store i32 0,i32*%d0,align 1
%d1=bitcast i8*%dW to i32*
store i32 6,i32*%d1,align 4
%d2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d3=getelementptr inbounds i8,i8*%dW,i64 8
%d4=bitcast i8*%d3 to i8**
store i8*%d2,i8**%d4,align 8
%d5=getelementptr inbounds i8,i8*%dW,i64 16
%d6=bitcast i8*%d5 to i32*
store i32 2,i32*%d6,align 4
%d7=load i8*,i8**@_SMLZN14BoundTypeVarID3Map5emptyE,align 8
store i8*%d7,i8**%c,align 8
%d8=call i8*@sml_alloc(i32 inreg 28)#0
%d9=getelementptr inbounds i8,i8*%d8,i64 -4
%ea=bitcast i8*%d9 to i32*
store i32 1342177304,i32*%ea,align 4
%eb=load i8*,i8**%e,align 8
%ec=bitcast i8*%d8 to i8**
store i8*%eb,i8**%ec,align 8
%ed=load i8*,i8**%d,align 8
%ee=getelementptr inbounds i8,i8*%d8,i64 8
%ef=bitcast i8*%ee to i8**
store i8*%ed,i8**%ef,align 8
%eg=load i8*,i8**%c,align 8
%eh=getelementptr inbounds i8,i8*%d8,i64 16
%ei=bitcast i8*%eh to i8**
store i8*%eg,i8**%ei,align 8
%ej=getelementptr inbounds i8,i8*%d8,i64 24
%ek=bitcast i8*%ej to i32*
store i32 7,i32*%ek,align 4
store i8*%eb,i8**%c,align 8
%el=getelementptr inbounds i8,i8*%eg,i64 16
%em=bitcast i8*%el to i8*(i8*,i8*,i8*)**
%en=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%em,align 8
%eo=bitcast i8*%eg to i8**
%ep=load i8*,i8**%eo,align 8
store i8*%ep,i8**%e,align 8
%eq=call i8*@sml_alloc(i32 inreg 4)#0
%er=bitcast i8*%eq to i32*
%es=getelementptr inbounds i8,i8*%eq,i64 -4
%et=bitcast i8*%es to i32*
store i32 4,i32*%et,align 4
store i8*%eq,i8**%f,align 8
store i32 1,i32*%er,align 4
%eu=call i8*@sml_alloc(i32 inreg 4)#0
%ev=bitcast i8*%eu to i32*
%ew=getelementptr inbounds i8,i8*%eu,i64 -4
%ex=bitcast i8*%ew to i32*
store i32 4,i32*%ex,align 4
store i32 8,i32*%ev,align 4
%ey=load i8*,i8**%e,align 8
%ez=load i8*,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%eA=call fastcc i8*%en(i8*inreg%ey,i8*inreg%ez,i8*inreg%eu)
store i8*%eA,i8**%e,align 8
%eB=call i8*@sml_alloc(i32 inreg 28)#0
%eC=getelementptr inbounds i8,i8*%eB,i64 -4
%eD=bitcast i8*%eC to i32*
store i32 1342177304,i32*%eD,align 4
%eE=load i8*,i8**%c,align 8
%eF=bitcast i8*%eB to i8**
store i8*%eE,i8**%eF,align 8
%eG=load i8*,i8**%d,align 8
%eH=getelementptr inbounds i8,i8*%eB,i64 8
%eI=bitcast i8*%eH to i8**
store i8*%eG,i8**%eI,align 8
%eJ=load i8*,i8**%e,align 8
%eK=getelementptr inbounds i8,i8*%eB,i64 16
%eL=bitcast i8*%eK to i8**
store i8*%eJ,i8**%eL,align 8
%eM=getelementptr inbounds i8,i8*%eB,i64 24
%eN=bitcast i8*%eM to i32*
store i32 7,i32*%eN,align 4
ret i8*%eB
}
define internal fastcc i8*@_SMLL11addedUtvars_333(i8*inreg%a)#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=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=bitcast i8*%k to i8**
%q=load i8*,i8**%p,align 8
%r=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%q)
%s=icmp eq i8*%r,null
br i1%s,label%am,label%t
t:
%u=bitcast i8*%r to i32*
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,10
br i1%w,label%x,label%am
x:
%y=getelementptr inbounds i8,i8*%r,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%c,align 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=icmp eq i32%E,1
br i1%F,label%G,label%am
G:
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=getelementptr inbounds i8,i8*%J,i64 24
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=icmp eq i8*%M,null
br i1%N,label%am,label%O
O:
%P=bitcast i8*%M to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%d,align 8
%R=call fastcc i8*@_SMLFN7TvarMap6insertE(i32 inreg 1,i32 inreg 8)
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8*(i8*,i8*)**
%U=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%T,align 8
%V=bitcast i8*%R to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%e,align 8
%X=call i8*@sml_alloc(i32 inreg 28)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177304,i32*%Z,align 4
%aa=load i8*,i8**%b,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=load i8*,i8**%c,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 16
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%X,i64 24
%aj=bitcast i8*%ai to i32*
store i32 7,i32*%aj,align 4
%ak=load i8*,i8**%e,align 8
%al=tail call fastcc i8*%U(i8*inreg%ak,i8*inreg%X)
ret i8*%al
am:
%an=load i8*,i8**%b,align 8
ret i8*%an
}
define fastcc i8*@_SMLFN11TypesBasics16freshRigidInstTyE(i8*inreg%a)#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]
store i8*null,i8**%b,align 8
%m=call fastcc i8*@_SMLLN11TypesBasics15makeFreshInstTyE_323(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*),i8*inreg%k)
store i8*%m,i8**%d,align 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,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**%c,align 8
%s=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
%y=call fastcc i8*%v(i8*inreg%x,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*))
%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**%e,align 8
%E=call fastcc i8*@_SMLFN7TvarMap5emptyE(i32 inreg 1,i32 inreg 8)
%F=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%G=call fastcc i8*%B(i8*inreg%F,i8*inreg%E)
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%G to i8**
%L=load i8*,i8**%K,align 8
%M=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%Q=call fastcc i8*%J(i8*inreg%L,i8*inreg%P)
store i8*%Q,i8**%d,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
%U=load i8*,i8**%b,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=load i8*,i8**%c,align 8
%X=getelementptr inbounds i8,i8*%R,i64 8
%Y=bitcast i8*%X to i8**
store i8*%W,i8**%Y,align 8
%Z=load i8*,i8**%d,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 16
%ab=bitcast i8*%aa to i8**
store i8*%Z,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%R,i64 24
%ad=bitcast i8*%ac to i32*
store i32 7,i32*%ad,align 4
ret i8*%R
}
define fastcc i8*@_SMLFN11TypesBasics24freshTopLevelRigidInstTyE(i8*inreg%a)#2 gc"smlsharp"{
%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**%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**%d,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%k)
%l=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%l)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*),i8**%b,align 8
%m=call i8*@sml_alloc(i32 inreg 12)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 1342177288,i32*%o,align 4
store i8*%m,i8**%c,align 8
%p=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i32*
store i32 1,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
%w=load i8*,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23makeTopLevelFreshInstTyE_320 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics23makeTopLevelFreshInstTyE_320 to void(...)*),void(...)**%B,align 8
%C=getelementptr inbounds i8,i8*%t,i64 24
%D=bitcast i8*%C to i32*
store i32 -2147483647,i32*%D,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%k)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%l)
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=call fastcc i8*@_SMLLN11TypesBasics23makeTopLevelFreshInstTyE_320(i8*inreg%w,i8*inreg%E)
store i8*%F,i8**%f,align 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%d,align 8
%I=getelementptr inbounds i8,i8*%F,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%e,align 8
%L=call fastcc i8*@_SMLFN14BoundTypeVarID3Map9listItemsE(i32 inreg 1,i32 inreg 8)
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
%R=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=call fastcc i8*%O(i8*inreg%Q,i8*inreg%U)
store i8*%V,i8**%f,align 8
%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**%d,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%e,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=load i8*,i8**%f,align 8
%af=getelementptr inbounds i8,i8*%W,i64 16
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%W,i64 24
%ai=bitcast i8*%ah to i32*
store i32 7,i32*%ai,align 4
ret i8*%W
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_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*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_389(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*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_391(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*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_393(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*@_SMLLN11TypesBasics12traverseKindE_353(i8*inreg%h)
ret i8*%j
}
define internal fastcc i32@_SMLLN11TypesBasics10traverseTyE_395(i8*inreg%a,i32 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**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call fastcc i8*@_SMLFN14BoundTypeVarID3Map8inDomainE(i32 inreg 1,i32 inreg 8)
%j=getelementptr inbounds i8,i8*%i,i64 16
%k=bitcast i8*%j to i8*(i8*,i8*)**
%l=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k,align 8
%m=bitcast i8*%i to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%d,align 8
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%r,i64 12
%v=bitcast i8*%u to i32*
store i32 0,i32*%v,align 1
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%r to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 8
%z=bitcast i8*%y to i32*
store i32%b,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%r,i64 16
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
%C=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%D=call fastcc i8*%l(i8*inreg%C,i8*inreg%r)
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=tail call fastcc i32@_SMLFN4Bool3notE(i32 inreg%F)
ret i32%G
}
define internal fastcc i8*@_SMLLN11TypesBasics12traverseKindE_399(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]
%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=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%b,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%j,%i]
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%b,align 8
%y=getelementptr inbounds i8,i8*%s,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%c,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=load i8*,i8**%b,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=tail call fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_355(i8*inreg%B)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%l)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%m)
ret i8*%L
}
define internal fastcc i8*@_SMLLN11TypesBasics12traverseKindE_401(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*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics12traverseKindE_403(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*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_406(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*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_408(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*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_410(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*@_SMLLN11TypesBasics21traverseOverloadMatchE_355(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(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
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
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
call void@llvm.gcroot(i8**%i,i8*null)#0
%j=bitcast i8**%e to i8***
br label%k
k:
%l=phi i8*[%cZ,%cY],[%a,%m]
store i8*%l,i8**%d,align 8
%n=load atomic i32,i32*@sml_check_flag unordered,align 4
%o=icmp eq i32%n,0
br i1%o,label%r,label%p
p:
call void@sml_check(i32 inreg%n)
%q=load i8*,i8**%d,align 8
br label%r
r:
%s=phi i8*[%q,%p],[%l,%k]
%t=getelementptr inbounds i8,i8*%s,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=getelementptr inbounds i8,i8*%x,i64 8
%B=bitcast i8*%A to i8**
%C=load i8*,i8**%B,align 8
store i8*%C,i8**%f,align 8
%D=getelementptr inbounds i8,i8*%x,i64 16
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%g,align 8
%G=getelementptr inbounds i8,i8*%v,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%h,align 8
%J=bitcast i8*%s to i8**
%K=load i8*,i8**%J,align 8
%L=icmp eq i8*%K,null
br i1%L,label%f7,label%M
M:
%N=bitcast i8*%K to i32*
%O=load i32,i32*%N,align 4
switch i32%O,label%P[
i32 9,label%g2
i32 0,label%gI
i32 4,label%f7
i32 3,label%gq
i32 5,label%f8
i32 10,label%dv
i32 1,label%c5
i32 6,label%cq
i32 8,label%b1
i32 2,label%bB
i32 7,label%ah
]
P:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
call void@sml_matchcomp_bug()
%Q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%Q,i8**%d,align 8
%R=call i8*@sml_alloc(i32 inreg 20)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177296,i32*%T,align 4
store i8*%R,i8**%e,align 8
%U=load i8*,i8**%d,align 8
store i8*null,i8**%d,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,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@P,i64 0,i32 2,i64 0),i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to i32*
store i32 3,i32*%Z,align 4
%aa=call i8*@sml_alloc(i32 inreg 60)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177336,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%aa,i64 56
%ae=bitcast i8*%ad to i32*
store i32 1,i32*%ae,align 4
%af=load i8*,i8**%e,align 8
%ag=bitcast i8*%aa to i8**
store i8*%af,i8**%ag,align 8
call void@sml_raise(i8*inreg%aa)#1
unreachable
ah:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%ai=getelementptr inbounds i8,i8*%K,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%e,align 8
%an=getelementptr inbounds i8,i8*%ak,i64 8
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%f,align 8
%aq=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ar=getelementptr inbounds i8,i8*%aq,i64 16
%as=bitcast i8*%ar to i8*(i8*,i8*)**
%at=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%as,align 8
%au=bitcast i8*%aq to i8**
%av=load i8*,i8**%au,align 8
%aw=call fastcc i8*%at(i8*inreg%av,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@O,i64 0,i32 2)to i8*))
%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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aD=call fastcc i8*%az(i8*inreg%aB,i8*inreg%aC)
%aE=getelementptr inbounds i8,i8*%aD,i64 16
%aF=bitcast i8*%aE to i8*(i8*,i8*)**
%aG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aF,align 8
%aH=bitcast i8*%aD to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=load i8*,i8**%f,align 8
%aK=call fastcc i8*%aG(i8*inreg%aI,i8*inreg%aJ)
store i8*%aK,i8**%d,align 8
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
%aO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aR=getelementptr inbounds i8,i8*%aL,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aL,i64 16
%aU=bitcast i8*%aT to i32*
store i32 3,i32*%aU,align 4
%aV=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%aL)
store i8*%aV,i8**%e,align 8
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
store i8*%aX,i8**%d,align 8
%aY=call i8*@sml_alloc(i32 inreg 12)#0
%aZ=getelementptr inbounds i8,i8*%aY,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177288,i32*%a0,align 4
store i8*%aY,i8**%g,align 8
%a1=load i8*,i8**%f,align 8
store i8*null,i8**%f,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 i32*
store i32 1,i32*%a4,align 4
%a5=call i8*@sml_alloc(i32 inreg 28)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177304,i32*%a7,align 4
%a8=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a9=bitcast i8*%a5 to i8**
store i8*%a8,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to void(...)**
store void(...)*bitcast(i32(i8*,i32)*@_SMLLN11TypesBasics10traverseTyE_395 to void(...)*),void(...)**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a5,i64 16
%bd=bitcast i8*%bc to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10traverseTyE_597 to void(...)*),void(...)**%bd,align 8
%be=getelementptr inbounds i8,i8*%a5,i64 24
%bf=bitcast i8*%be to i32*
store i32 -2147483647,i32*%bf,align 4
%bg=call fastcc i8*@_SMLFN14BoundTypeVarID3Set6filterE(i8*inreg%a5)
%bh=getelementptr inbounds i8,i8*%bg,i64 16
%bi=bitcast i8*%bh to i8*(i8*,i8*)**
%bj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bi,align 8
%bk=bitcast i8*%bg to i8**
%bl=load i8*,i8**%bk,align 8
%bm=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bn=getelementptr inbounds i8,i8*%bm,i64 8
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
%bq=call fastcc i8*%bj(i8*inreg%bl,i8*inreg%bp)
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**%d,align 8
%bv=bitcast i8*%br to i8**
store i8*%bu,i8**%bv,align 8
%bw=load i8*,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
%bA=bitcast i8*%bz to i32*
store i32 3,i32*%bA,align 4
ret i8*%br
bB:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%bC=getelementptr inbounds i8,i8*%K,i64 8
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%e,align 8
%bF=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bG=getelementptr inbounds i8,i8*%bF,i64 16
%bH=bitcast i8*%bG to i8*(i8*,i8*)**
%bI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bH,align 8
%bJ=bitcast i8*%bF to i8**
%bK=load i8*,i8**%bJ,align 8
%bL=call fastcc i8*%bI(i8*inreg%bK,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@N,i64 0,i32 2)to i8*))
%bM=getelementptr inbounds i8,i8*%bL,i64 16
%bN=bitcast i8*%bM to i8*(i8*,i8*)**
%bO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bN,align 8
%bP=bitcast i8*%bL to i8**
%bQ=load i8*,i8**%bP,align 8
%bR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bS=call fastcc i8*%bO(i8*inreg%bQ,i8*inreg%bR)
%bT=getelementptr inbounds i8,i8*%bS,i64 16
%bU=bitcast i8*%bT to i8*(i8*,i8*)**
%bV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bU,align 8
%bW=bitcast i8*%bS to i8**
%bX=load i8*,i8**%bW,align 8
%bY=load i8**,i8***%j,align 8
%bZ=load i8*,i8**%bY,align 8
%b0=tail call fastcc i8*%bV(i8*inreg%bX,i8*inreg%bZ)
ret i8*%b0
b1:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%b2=getelementptr inbounds i8,i8*%K,i64 8
%b3=bitcast i8*%b2 to i8**
%b4=load i8*,i8**%b3,align 8
store i8*%b4,i8**%e,align 8
%b5=call fastcc i8*@_SMLFN11RecordLabel3Map5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%b6=getelementptr inbounds i8,i8*%b5,i64 16
%b7=bitcast i8*%b6 to i8*(i8*,i8*)**
%b8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b7,align 8
%b9=bitcast i8*%b5 to i8**
%ca=load i8*,i8**%b9,align 8
%cb=call fastcc i8*%b8(i8*inreg%ca,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@M,i64 0,i32 2)to i8*))
%cc=getelementptr inbounds i8,i8*%cb,i64 16
%cd=bitcast i8*%cc to i8*(i8*,i8*)**
%ce=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cd,align 8
%cf=bitcast i8*%cb to i8**
%cg=load i8*,i8**%cf,align 8
%ch=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ci=call fastcc i8*%ce(i8*inreg%cg,i8*inreg%ch)
%cj=getelementptr inbounds i8,i8*%ci,i64 16
%ck=bitcast i8*%cj to i8*(i8*,i8*)**
%cl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ck,align 8
%cm=bitcast i8*%ci to i8**
%cn=load i8*,i8**%cm,align 8
%co=load i8*,i8**%e,align 8
%cp=tail call fastcc i8*%cl(i8*inreg%cn,i8*inreg%co)
ret i8*%cp
cq:
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%cr=getelementptr inbounds i8,i8*%K,i64 8
%cs=bitcast i8*%cr to i8**
%ct=load i8*,i8**%cs,align 8
store i8*%ct,i8**%e,align 8
%cu=getelementptr inbounds i8,i8*%ct,i64 8
%cv=bitcast i8*%cu to i8**
%cw=load i8*,i8**%cv,align 8
store i8*%cw,i8**%f,align 8
%cx=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cy=getelementptr inbounds i8,i8*%cx,i64 16
%cz=bitcast i8*%cy to i8*(i8*,i8*)**
%cA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cz,align 8
%cB=bitcast i8*%cx to i8**
%cC=load i8*,i8**%cB,align 8
%cD=call fastcc i8*%cA(i8*inreg%cC,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@L,i64 0,i32 2)to i8*))
%cE=getelementptr inbounds i8,i8*%cD,i64 16
%cF=bitcast i8*%cE to i8*(i8*,i8*)**
%cG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cF,align 8
%cH=bitcast i8*%cD to i8**
%cI=load i8*,i8**%cH,align 8
%cJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cK=call fastcc i8*%cG(i8*inreg%cI,i8*inreg%cJ)
%cL=getelementptr inbounds i8,i8*%cK,i64 16
%cM=bitcast i8*%cL to i8*(i8*,i8*)**
%cN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cM,align 8
%cO=bitcast i8*%cK to i8**
%cP=load i8*,i8**%cO,align 8
%cQ=load i8**,i8***%j,align 8
store i8*null,i8**%e,align 8
%cR=load i8*,i8**%cQ,align 8
%cS=call fastcc i8*%cN(i8*inreg%cP,i8*inreg%cR)
store i8*%cS,i8**%d,align 8
%cT=call i8*@sml_alloc(i32 inreg 20)#0
%cU=getelementptr inbounds i8,i8*%cT,i64 -4
%cV=bitcast i8*%cU to i32*
store i32 1342177296,i32*%cV,align 4
%cW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
br label%cY
cY:
%cZ=phi i8*[%cT,%cq],[%dZ,%dV]
%c0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c1=getelementptr inbounds i8,i8*%cZ,i64 8
%c2=bitcast i8*%c1 to i8**
store i8*%c0,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cZ,i64 16
%c4=bitcast i8*%c3 to i32*
store i32 3,i32*%c4,align 4
br label%k
c5:
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
%c6=getelementptr inbounds i8,i8*%K,i64 4
%c7=bitcast i8*%c6 to i32*
%c8=load i32,i32*%c7,align 4
%c9=call i8*@sml_alloc(i32 inreg 20)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177296,i32*%db,align 4
%dc=getelementptr inbounds i8,i8*%c9,i64 12
%dd=bitcast i8*%dc to i32*
store i32 0,i32*%dd,align 1
%de=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%df=bitcast i8*%c9 to i8**
store i8*%de,i8**%df,align 8
%dg=getelementptr inbounds i8,i8*%c9,i64 8
%dh=bitcast i8*%dg to i32*
store i32%c8,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%c9,i64 16
%dj=bitcast i8*%di to i32*
store i32 1,i32*%dj,align 4
%dk=call fastcc i8*@_SMLFN14BoundTypeVarID3Set3addE(i8*inreg%c9)
store i8*%dk,i8**%d,align 8
%dl=call i8*@sml_alloc(i32 inreg 20)#0
%dm=getelementptr inbounds i8,i8*%dl,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177296,i32*%dn,align 4
%do=load i8*,i8**%e,align 8
%dp=bitcast i8*%dl to i8**
store i8*%do,i8**%dp,align 8
%dq=load i8*,i8**%d,align 8
%dr=getelementptr inbounds i8,i8*%dl,i64 8
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dl,i64 16
%du=bitcast i8*%dt to i32*
store i32 3,i32*%du,align 4
ret i8*%dl
dv:
%dw=getelementptr inbounds i8,i8*%K,i64 8
%dx=bitcast i8*%dw to i8**
%dy=load i8*,i8**%dx,align 8
store i8*%dy,i8**%e,align 8
%dz=bitcast i8*%dy to i8**
%dA=load i8*,i8**%dz,align 8
%dB=bitcast i8*%dA to i32*
%dC=load i32,i32*%dB,align 4
switch i32%dC,label%dD[
i32 1,label%d4
i32 0,label%dV
]
dD:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%dE=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dE,i8**%d,align 8
%dF=call i8*@sml_alloc(i32 inreg 20)#0
%dG=getelementptr inbounds i8,i8*%dF,i64 -4
%dH=bitcast i8*%dG to i32*
store i32 1342177296,i32*%dH,align 4
store i8*%dF,i8**%e,align 8
%dI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dJ=bitcast i8*%dF to i8**
store i8*%dI,i8**%dJ,align 8
%dK=getelementptr inbounds i8,i8*%dF,i64 8
%dL=bitcast i8*%dK to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@P,i64 0,i32 2,i64 0),i8**%dL,align 8
%dM=getelementptr inbounds i8,i8*%dF,i64 16
%dN=bitcast i8*%dM to i32*
store i32 3,i32*%dN,align 4
%dO=call i8*@sml_alloc(i32 inreg 60)#0
%dP=getelementptr inbounds i8,i8*%dO,i64 -4
%dQ=bitcast i8*%dP to i32*
store i32 1342177336,i32*%dQ,align 4
%dR=getelementptr inbounds i8,i8*%dO,i64 56
%dS=bitcast i8*%dR to i32*
store i32 1,i32*%dS,align 4
%dT=load i8*,i8**%e,align 8
%dU=bitcast i8*%dO to i8**
store i8*%dT,i8**%dU,align 8
call void@sml_raise(i8*inreg%dO)#1
unreachable
dV:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%dW=getelementptr inbounds i8,i8*%dA,i64 8
%dX=bitcast i8*%dW to i8**
%dY=load i8*,i8**%dX,align 8
store i8*%dY,i8**%e,align 8
%dZ=call i8*@sml_alloc(i32 inreg 20)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177296,i32*%d1,align 4
%d2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d3=bitcast i8*%dZ to i8**
store i8*%d2,i8**%d3,align 8
br label%cY
d4:
%d5=getelementptr inbounds i8,i8*%dA,i64 8
%d6=bitcast i8*%d5 to i8**
%d7=load i8*,i8**%d6,align 8
store i8*%d7,i8**%i,align 8
%d8=getelementptr inbounds i8,i8*%d7,i64 8
%d9=bitcast i8*%d8 to i8**
%ea=load i8*,i8**%d9,align 8
%eb=getelementptr inbounds i8,i8*%ea,i64 16
%ec=bitcast i8*%eb to i8**
%ed=load i8*,i8**%ec,align 8
%ee=icmp eq i8*%ed,null
br i1%ee,label%ej,label%ef
ef:
%eg=bitcast i8*%ed to i32*
%eh=load i32,i32*%eg,align 4
%ei=icmp eq i32%eh,0
br i1%ei,label%f7,label%ej
ej:
%ek=call i8*@sml_alloc(i32 inreg 20)#0
%el=getelementptr inbounds i8,i8*%ek,i64 -4
%em=bitcast i8*%el to i32*
store i32 1342177296,i32*%em,align 4
%en=load i8*,i8**%f,align 8
%eo=bitcast i8*%ek to i8**
store i8*%en,i8**%eo,align 8
%ep=load i8*,i8**%e,align 8
%eq=getelementptr inbounds i8,i8*%ek,i64 8
%er=bitcast i8*%eq to i8**
store i8*%ep,i8**%er,align 8
%es=getelementptr inbounds i8,i8*%ek,i64 16
%et=bitcast i8*%es to i32*
store i32 3,i32*%et,align 4
%eu=call fastcc i32@_SMLFN5OTSet6memberE(i8*inreg%ek)
%ev=icmp eq i32%eu,0
br i1%ev,label%ey,label%ew
ew:
%ex=load i8*,i8**%d,align 8
ret i8*%ex
ey:
store i8*null,i8**%d,align 8
%ez=add nsw i32%z,1
%eA=call i8*@sml_alloc(i32 inreg 20)#0
%eB=getelementptr inbounds i8,i8*%eA,i64 -4
%eC=bitcast i8*%eB to i32*
store i32 1342177296,i32*%eC,align 4
%eD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eE=bitcast i8*%eA to i8**
store i8*%eD,i8**%eE,align 8
%eF=load i8*,i8**%e,align 8
%eG=getelementptr inbounds i8,i8*%eA,i64 8
%eH=bitcast i8*%eG to i8**
store i8*%eF,i8**%eH,align 8
%eI=getelementptr inbounds i8,i8*%eA,i64 16
%eJ=bitcast i8*%eI to i32*
store i32 3,i32*%eJ,align 4
%eK=call fastcc i8*@_SMLFN5OTSet3addE(i8*inreg%eA)
store i8*%eK,i8**%d,align 8
%eL=call fastcc i8*@_SMLFN4IEnv6insertE(i32 inreg 1,i32 inreg 8)
%eM=getelementptr inbounds i8,i8*%eL,i64 16
%eN=bitcast i8*%eM to i8*(i8*,i8*)**
%eO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eN,align 8
%eP=bitcast i8*%eL to i8**
%eQ=load i8*,i8**%eP,align 8
store i8*%eQ,i8**%f,align 8
%eR=call i8*@sml_alloc(i32 inreg 28)#0
%eS=getelementptr inbounds i8,i8*%eR,i64 -4
%eT=bitcast i8*%eS to i32*
store i32 1342177304,i32*%eT,align 4
%eU=getelementptr inbounds i8,i8*%eR,i64 12
%eV=bitcast i8*%eU to i32*
store i32 0,i32*%eV,align 1
%eW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eX=bitcast i8*%eR to i8**
store i8*%eW,i8**%eX,align 8
%eY=getelementptr inbounds i8,i8*%eR,i64 8
%eZ=bitcast i8*%eY to i32*
store i32%z,i32*%eZ,align 4
%e0=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%e1=getelementptr inbounds i8,i8*%eR,i64 16
%e2=bitcast i8*%e1 to i8**
store i8*%e0,i8**%e2,align 8
%e3=getelementptr inbounds i8,i8*%eR,i64 24
%e4=bitcast i8*%e3 to i32*
store i32 5,i32*%e4,align 4
%e5=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%e6=call fastcc i8*%eO(i8*inreg%e5,i8*inreg%eR)
store i8*%e6,i8**%e,align 8
%e7=call i8*@sml_alloc(i32 inreg 28)#0
%e8=getelementptr inbounds i8,i8*%e7,i64 -4
%e9=bitcast i8*%e8 to i32*
store i32 1342177304,i32*%e9,align 4
store i8*%e7,i8**%f,align 8
%fa=getelementptr inbounds i8,i8*%e7,i64 4
%fb=bitcast i8*%fa to i32*
store i32 0,i32*%fb,align 1
%fc=bitcast i8*%e7 to i32*
store i32%ez,i32*%fc,align 4
%fd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fe=getelementptr inbounds i8,i8*%e7,i64 8
%ff=bitcast i8*%fe to i8**
store i8*%fd,i8**%ff,align 8
%fg=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fh=getelementptr inbounds i8,i8*%e7,i64 16
%fi=bitcast i8*%fh to i8**
store i8*%fg,i8**%fi,align 8
%fj=getelementptr inbounds i8,i8*%e7,i64 24
%fk=bitcast i8*%fj to i32*
store i32 6,i32*%fk,align 4
%fl=call i8*@sml_alloc(i32 inreg 20)#0
%fm=getelementptr inbounds i8,i8*%fl,i64 -4
%fn=bitcast i8*%fm to i32*
store i32 1342177296,i32*%fn,align 4
store i8*%fl,i8**%d,align 8
%fo=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fp=bitcast i8*%fl to i8**
store i8*%fo,i8**%fp,align 8
%fq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fr=getelementptr inbounds i8,i8*%fl,i64 8
%fs=bitcast i8*%fr to i8**
store i8*%fq,i8**%fs,align 8
%ft=getelementptr inbounds i8,i8*%fl,i64 16
%fu=bitcast i8*%ft to i32*
store i32 3,i32*%fu,align 4
%fv=call i8*@sml_alloc(i32 inreg 20)#0
%fw=getelementptr inbounds i8,i8*%fv,i64 -4
%fx=bitcast i8*%fw to i32*
store i32 1342177296,i32*%fx,align 4
%fy=load i8*,i8**%i,align 8
%fz=bitcast i8*%fv to i8**
store i8*%fy,i8**%fz,align 8
%fA=load i8*,i8**%d,align 8
%fB=getelementptr inbounds i8,i8*%fv,i64 8
%fC=bitcast i8*%fB to i8**
store i8*%fA,i8**%fC,align 8
%fD=getelementptr inbounds i8,i8*%fv,i64 16
%fE=bitcast i8*%fD to i32*
store i32 3,i32*%fE,align 4
%fF=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%fF)
%fG=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%fG)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%fv,i8**%b,align 8
%fH=load atomic i32,i32*@sml_check_flag unordered,align 4
%fI=icmp eq i32%fH,0
br i1%fI,label%fQ,label%fJ
fJ:
call void@sml_check(i32 inreg%fH)
%fK=load i8*,i8**%b,align 8
%fL=bitcast i8*%fK to i8**
%fM=load i8*,i8**%fL,align 8
%fN=getelementptr inbounds i8,i8*%fK,i64 8
%fO=bitcast i8*%fN to i8**
%fP=load i8*,i8**%fO,align 8
br label%fQ
fQ:
%fR=phi i8*[%fP,%fJ],[%fA,%ey]
%fS=phi i8*[%fM,%fJ],[%fy,%ey]
%fT=getelementptr inbounds i8,i8*%fS,i64 8
%fU=bitcast i8*%fT to i8**
%fV=load i8*,i8**%fU,align 8
store i8*%fV,i8**%b,align 8
store i8*%fR,i8**%c,align 8
%fW=call i8*@sml_alloc(i32 inreg 20)#0
%fX=getelementptr inbounds i8,i8*%fW,i64 -4
%fY=bitcast i8*%fX to i32*
store i32 1342177296,i32*%fY,align 4
%fZ=load i8*,i8**%b,align 8
%f0=bitcast i8*%fW to i8**
store i8*%fZ,i8**%f0,align 8
%f1=load i8*,i8**%c,align 8
%f2=getelementptr inbounds i8,i8*%fW,i64 8
%f3=bitcast i8*%f2 to i8**
store i8*%f1,i8**%f3,align 8
%f4=getelementptr inbounds i8,i8*%fW,i64 16
%f5=bitcast i8*%f4 to i32*
store i32 3,i32*%f5,align 4
%f6=tail call fastcc i8*@_SMLLN11TypesBasics12traverseKindE_353(i8*inreg%fW)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%fF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%fG)
ret i8*%f6
f7:
ret i8*%v
f8:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%f9=getelementptr inbounds i8,i8*%K,i64 8
%ga=bitcast i8*%f9 to i8**
%gb=load i8*,i8**%ga,align 8
%gc=getelementptr inbounds i8,i8*%gb,i64 8
%gd=bitcast i8*%gc to i8**
%ge=load i8*,i8**%gd,align 8
store i8*%ge,i8**%e,align 8
%gf=call i8*@sml_alloc(i32 inreg 20)#0
%gg=getelementptr inbounds i8,i8*%gf,i64 -4
%gh=bitcast i8*%gg to i32*
store i32 1342177296,i32*%gh,align 4
%gi=load i8*,i8**%e,align 8
%gj=bitcast i8*%gf to i8**
store i8*%gi,i8**%gj,align 8
%gk=load i8*,i8**%d,align 8
%gl=getelementptr inbounds i8,i8*%gf,i64 8
%gm=bitcast i8*%gl to i8**
store i8*%gk,i8**%gm,align 8
%gn=getelementptr inbounds i8,i8*%gf,i64 16
%go=bitcast i8*%gn to i32*
store i32 3,i32*%go,align 4
%gp=tail call fastcc i8*@_SMLLN11TypesBasics12traverseKindE_353(i8*inreg%gf)
ret i8*%gp
gq:
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%gr=getelementptr inbounds i8,i8*%K,i64 8
%gs=bitcast i8*%gr to i8**
%gt=load i8*,i8**%gs,align 8
%gu=getelementptr inbounds i8,i8*%gt,i64 8
%gv=bitcast i8*%gu to i8**
%gw=load i8*,i8**%gv,align 8
store i8*%gw,i8**%e,align 8
%gx=call i8*@sml_alloc(i32 inreg 20)#0
%gy=getelementptr inbounds i8,i8*%gx,i64 -4
%gz=bitcast i8*%gy to i32*
store i32 1342177296,i32*%gz,align 4
%gA=load i8*,i8**%e,align 8
%gB=bitcast i8*%gx to i8**
store i8*%gA,i8**%gB,align 8
%gC=load i8*,i8**%d,align 8
%gD=getelementptr inbounds i8,i8*%gx,i64 8
%gE=bitcast i8*%gD to i8**
store i8*%gC,i8**%gE,align 8
%gF=getelementptr inbounds i8,i8*%gx,i64 16
%gG=bitcast i8*%gF to i32*
store i32 3,i32*%gG,align 4
%gH=tail call fastcc i8*@_SMLLN11TypesBasics12traverseKindE_353(i8*inreg%gx)
ret i8*%gH
gI:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%gJ=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%gJ,i8**%d,align 8
%gK=call i8*@sml_alloc(i32 inreg 28)#0
%gL=getelementptr inbounds i8,i8*%gK,i64 -4
%gM=bitcast i8*%gL to i32*
store i32 1342177304,i32*%gM,align 4
store i8*%gK,i8**%e,align 8
%gN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gO=bitcast i8*%gK to i8**
store i8*%gN,i8**%gO,align 8
%gP=getelementptr inbounds i8,i8*%gK,i64 8
%gQ=bitcast i8*%gP to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@J,i64 0,i32 2,i64 0),i8**%gQ,align 8
%gR=getelementptr inbounds i8,i8*%gK,i64 16
%gS=bitcast i8*%gR to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@K,i64 0,i32 2,i64 0),i8**%gS,align 8
%gT=getelementptr inbounds i8,i8*%gK,i64 24
%gU=bitcast i8*%gT to i32*
store i32 7,i32*%gU,align 4
%gV=call i8*@sml_alloc(i32 inreg 60)#0
%gW=getelementptr inbounds i8,i8*%gV,i64 -4
%gX=bitcast i8*%gW to i32*
store i32 1342177336,i32*%gX,align 4
%gY=getelementptr inbounds i8,i8*%gV,i64 56
%gZ=bitcast i8*%gY to i32*
store i32 1,i32*%gZ,align 4
%g0=load i8*,i8**%e,align 8
%g1=bitcast i8*%gV to i8**
store i8*%g0,i8**%g1,align 8
call void@sml_raise(i8*inreg%gV)#1
unreachable
g2:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%g,align 8
store i8*null,i8**%h,align 8
%g3=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%g3,i8**%d,align 8
%g4=call i8*@sml_alloc(i32 inreg 28)#0
%g5=getelementptr inbounds i8,i8*%g4,i64 -4
%g6=bitcast i8*%g5 to i32*
store i32 1342177304,i32*%g6,align 4
store i8*%g4,i8**%e,align 8
%g7=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%g8=bitcast i8*%g4 to i8**
store i8*%g7,i8**%g8,align 8
%g9=getelementptr inbounds i8,i8*%g4,i64 8
%ha=bitcast i8*%g9 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@H,i64 0,i32 2,i64 0),i8**%ha,align 8
%hb=getelementptr inbounds i8,i8*%g4,i64 16
%hc=bitcast i8*%hb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@I,i64 0,i32 2,i64 0),i8**%hc,align 8
%hd=getelementptr inbounds i8,i8*%g4,i64 24
%he=bitcast i8*%hd to i32*
store i32 7,i32*%he,align 4
%hf=call i8*@sml_alloc(i32 inreg 60)#0
%hg=getelementptr inbounds i8,i8*%hf,i64 -4
%hh=bitcast i8*%hg to i32*
store i32 1342177336,i32*%hh,align 4
%hi=getelementptr inbounds i8,i8*%hf,i64 56
%hj=bitcast i8*%hi to i32*
store i32 1,i32*%hj,align 4
%hk=load i8*,i8**%e,align 8
%hl=bitcast i8*%hf to i8**
store i8*%hk,i8**%hl,align 8
call void@sml_raise(i8*inreg%hf)#1
unreachable
}
define internal fastcc i8*@_SMLLN11TypesBasics12traverseKindE_353(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
%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%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%b to i8***
%k=load i8**,i8***%j,align 8
%l=bitcast i8**%k to i8*
br label%m
m:
%n=phi i8*[%l,%i],[%a,%g]
%o=phi i8**[%k,%i],[%h,%g]
%p=load i8*,i8**%o,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=icmp eq i8*%s,null
br i1%t,label%ar,label%u
u:
%v=bitcast i8*%s to i32*
%w=load i32,i32*%v,align 4
switch i32%w,label%x[
i32 0,label%bn
i32 1,label%av
i32 3,label%ar
i32 2,label%P
]
x:
call void@sml_matchcomp_bug()
%y=load i8*,i8**@_SMLZ5Match,align 8
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
store i8*%z,i8**%c,align 8
%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=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@V,i64 0,i32 2,i64 0),i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 60)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177336,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%I,i64 56
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%c,align 8
%O=bitcast i8*%I to i8**
store i8*%N,i8**%O,align 8
call void@sml_raise(i8*inreg%I)#1
unreachable
P:
%Q=getelementptr inbounds i8,i8*%s,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%c,align 8
%T=call fastcc i8*@_SMLFN11RecordLabel3Map5foldlE(i32 inreg 1,i32 inreg 8,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
%Z=call fastcc i8*%W(i8*inreg%Y,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@U,i64 0,i32 2)to i8*))
%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
store i8*null,i8**%b,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
%aj=call fastcc i8*%ac(i8*inreg%ae,i8*inreg%ai)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=load i8*,i8**%c,align 8
%aq=tail call fastcc i8*%am(i8*inreg%ao,i8*inreg%ap)
ret i8*%aq
ar:
%as=getelementptr inbounds i8,i8*%n,i64 8
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
ret i8*%au
av:
%aw=getelementptr inbounds i8,i8*%s,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%c,align 8
%az=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8*(i8*,i8*)**
%aC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aB,align 8
%aD=bitcast i8*%az to i8**
%aE=load i8*,i8**%aD,align 8
%aF=call fastcc i8*%aC(i8*inreg%aE,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@S,i64 0,i32 2)to i8*))
%aG=getelementptr inbounds i8,i8*%aF,i64 16
%aH=bitcast i8*%aG to i8*(i8*,i8*)**
%aI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aH,align 8
%aJ=bitcast i8*%aF to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*%aK,i8**%d,align 8
%aL=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
%aR=call fastcc i8*%aO(i8*inreg%aQ,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@T,i64 0,i32 2)to i8*))
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
%aX=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 8
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=call fastcc i8*%aU(i8*inreg%aW,i8*inreg%a0)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
%a7=bitcast i8**%c to i8***
%a8=load i8**,i8***%a7,align 8
%a9=load i8*,i8**%a8,align 8
%ba=call fastcc i8*%a4(i8*inreg%a6,i8*inreg%a9)
%bb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bc=call fastcc i8*%aI(i8*inreg%bb,i8*inreg%ba)
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8*(i8*,i8*)**
%bf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%be,align 8
%bg=bitcast i8*%bc to i8**
%bh=load i8*,i8**%bg,align 8
%bi=load i8*,i8**%c,align 8
%bj=getelementptr inbounds i8,i8*%bi,i64 8
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
%bm=tail call fastcc i8*%bf(i8*inreg%bh,i8*inreg%bl)
ret i8*%bm
bn:
%bo=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bo,i8**%b,align 8
%bp=call i8*@sml_alloc(i32 inreg 28)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177304,i32*%br,align 4
store i8*%bp,i8**%c,align 8
%bs=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bp,i64 8
%bv=bitcast i8*%bu to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@Q,i64 0,i32 2,i64 0),i8**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bp,i64 16
%bx=bitcast i8*%bw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[27x i8]}>,<{[4x i8],i32,[27x i8]}>*@R,i64 0,i32 2,i64 0),i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bp,i64 24
%bz=bitcast i8*%by to i32*
store i32 7,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 60)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177336,i32*%bC,align 4
%bD=getelementptr inbounds i8,i8*%bA,i64 56
%bE=bitcast i8*%bD to i32*
store i32 1,i32*%bE,align 4
%bF=load i8*,i8**%c,align 8
%bG=bitcast i8*%bA to i8**
store i8*%bF,i8**%bG,align 8
call void@sml_raise(i8*inreg%bA)#1
unreachable
}
define internal fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_355(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=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%b,align 8
%p=bitcast i8*%k to i8**
%q=load i8*,i8**%p,align 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 1,label%a5
i32 2,label%aA
i32 0,label%L
]
t:
call void@sml_matchcomp_bug()
%u=load i8*,i8**@_SMLZ5Match,align 8
store i8*%u,i8**%b,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**%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,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@Z,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%v,i64 16
%D=bitcast i8*%C to i32*
store i32 3,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%c,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=getelementptr inbounds i8,i8*%q,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%c,align 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%d,align 8
%R=call fastcc i8*@_SMLFN5TypID3Map5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8*(i8*,i8*)**
%U=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%T,align 8
%V=bitcast i8*%R to i8**
%W=load i8*,i8**%V,align 8
%X=call fastcc i8*%U(i8*inreg%W,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@Y,i64 0,i32 2)to i8*))
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%e,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**%d,align 8
store i8*null,i8**%d,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aj=getelementptr inbounds i8,i8*%ad,i64 8
%ak=bitcast i8*%aj to i8**
store i8*%ai,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ad,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
%an=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%ad)
%ao=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ap=call fastcc i8*%aa(i8*inreg%ao,i8*inreg%an)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=load i8*,i8**%c,align 8
%aw=getelementptr inbounds i8,i8*%av,i64 8
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
%az=tail call fastcc i8*%as(i8*inreg%au,i8*inreg%ay)
ret i8*%az
aA:
%aB=getelementptr inbounds i8,i8*%q,i64 8
%aC=bitcast i8*%aB to i8***
%aD=load i8**,i8***%aC,align 8
%aE=load i8*,i8**%aD,align 8
%aF=icmp eq i8*%aE,null
br i1%aF,label%aG,label%aH
aG:
ret i8*%o
aH:
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*%aJ,i8**%c,align 8
%aK=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 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
%aQ=call fastcc i8*%aN(i8*inreg%aP,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@X,i64 0,i32 2)to i8*))
%aR=getelementptr inbounds i8,i8*%aQ,i64 16
%aS=bitcast i8*%aR to i8*(i8*,i8*)**
%aT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aS,align 8
%aU=bitcast i8*%aQ to i8**
%aV=load i8*,i8**%aU,align 8
%aW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aX=call fastcc i8*%aT(i8*inreg%aV,i8*inreg%aW)
%aY=getelementptr inbounds i8,i8*%aX,i64 16
%aZ=bitcast i8*%aY to i8*(i8*,i8*)**
%a0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aZ,align 8
%a1=bitcast i8*%aX to i8**
%a2=load i8*,i8**%a1,align 8
%a3=load i8*,i8**%c,align 8
%a4=tail call fastcc i8*%a0(i8*inreg%a2,i8*inreg%a3)
ret i8*%a4
a5:
%a6=getelementptr inbounds i8,i8*%q,i64 8
%a7=bitcast i8*%a6 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=getelementptr inbounds i8,i8*%a8,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
%bc=icmp eq i8*%bb,null
br i1%bc,label%aG,label%bd
bd:
%be=bitcast i8*%bb to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%c,align 8
%bg=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bh=getelementptr inbounds i8,i8*%bg,i64 16
%bi=bitcast i8*%bh to i8*(i8*,i8*)**
%bj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bi,align 8
%bk=bitcast i8*%bg to i8**
%bl=load i8*,i8**%bk,align 8
%bm=call fastcc i8*%bj(i8*inreg%bl,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@W,i64 0,i32 2)to i8*))
%bn=getelementptr inbounds i8,i8*%bm,i64 16
%bo=bitcast i8*%bn to i8*(i8*,i8*)**
%bp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bo,align 8
%bq=bitcast i8*%bm to i8**
%br=load i8*,i8**%bq,align 8
%bs=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bt=call fastcc i8*%bp(i8*inreg%br,i8*inreg%bs)
%bu=getelementptr inbounds i8,i8*%bt,i64 16
%bv=bitcast i8*%bu to i8*(i8*,i8*)**
%bw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bv,align 8
%bx=bitcast i8*%bt to i8**
%by=load i8*,i8**%bx,align 8
%bz=load i8*,i8**%c,align 8
%bA=tail call fastcc i8*%bw(i8*inreg%by,i8*inreg%bz)
ret i8*%bA
}
define fastcc i8*@_SMLFN11TypesBasics4EFTVE(i8*inreg%a)#2 gc"smlsharp"{
%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
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
%t=alloca i8*,align 8
%u=alloca i8*,align 8
%v=alloca i8*,align 8
call void@llvm.gcroot(i8**%r,i8*null)#0
call void@llvm.gcroot(i8**%s,i8*null)#0
call void@llvm.gcroot(i8**%t,i8*null)#0
call void@llvm.gcroot(i8**%u,i8*null)#0
call void@llvm.gcroot(i8**%v,i8*null)#0
store i8*%a,i8**%r,align 8
%w=load atomic i32,i32*@sml_check_flag unordered,align 4
%x=icmp eq i32%w,0
br i1%x,label%y,label%A
y:
%z=bitcast i8*%a to i8**
br label%D
A:
call void@sml_check(i32 inreg%w)
%B=bitcast i8**%r to i8***
%C=load i8**,i8***%B,align 8
br label%D
D:
%E=phi i8**[%C,%A],[%z,%y]
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%v,align 8
%G=load i8*,i8**@_SMLZN5OTSet5emptyE,align 8
store i8*%G,i8**%s,align 8
%H=call fastcc i8*@_SMLFN4IEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%H,i8**%t,align 8
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
store i8*%I,i8**%u,align 8
%L=bitcast i8*%I to i64*
store i64 0,i64*%L,align 4
%M=load i8*,i8**%s,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i8**
store i8*%M,i8**%O,align 8
%P=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%I,i64 24
%T=bitcast i8*%S to i32*
store i32 6,i32*%T,align 4
%U=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,align 8
store i8*%U,i8**%s,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**%t,align 8
%Y=load i8*,i8**%u,align 8
store i8*null,i8**%u,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%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
%ai=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%t,align 8
store i8*null,i8**%t,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%af,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%af)
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=load i8*,i8**%r,align 8
%at=getelementptr inbounds i8,i8*%as,i64 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
%aw=bitcast i8**%n to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aw)
%ax=bitcast i8**%o to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ax)
%ay=bitcast i8**%p to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ay)
%az=bitcast i8**%q to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%az)
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
%aA=bitcast i8**%b to i8*
%aB=bitcast i8**%c to i8*
%aC=bitcast i8**%d to i8*
%aD=bitcast i8**%e to i8*
%aE=bitcast i8**%f to i8*
%aF=bitcast i8**%g to i8*
%aG=bitcast i8**%h to i8*
%aH=bitcast i8**%i to i8*
%aI=bitcast i8**%j to i8*
%aJ=bitcast i8**%k to i8*
%aK=bitcast i8**%l to i8*
%aL=bitcast i8**%m to i8*
br label%aM
aM:
%aN=phi i8*[%ar,%D],[%gw,%gx]
%aO=phi i8*[%av,%D],[%gy,%gx]
store i8*%aN,i8**%n,align 8
store i8*%aO,i8**%o,align 8
%aP=load atomic i32,i32*@sml_check_flag unordered,align 4
%aQ=icmp eq i32%aP,0
br i1%aQ,label%aU,label%aR
aR:
call void@sml_check(i32 inreg%aP)
%aS=load i8*,i8**%o,align 8
%aT=load i8*,i8**%n,align 8
br label%aU
aU:
%aV=phi i8*[%aT,%aR],[%aN,%aM]
%aW=phi i8*[%aS,%aR],[%aO,%aM]
store i8*null,i8**%o,align 8
store i8*%aW,i8**%p,align 8
store i8*null,i8**%n,align 8
%aX=getelementptr inbounds i8,i8*%aV,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%q,align 8
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aA)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aB)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aC)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aD)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aE)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aF)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aG)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aH)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aI)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aJ)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aK)
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aL)
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
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
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
call void@llvm.gcroot(i8**%m,i8*null)#0
br label%a0
a0:
%a1=phi i8*[%aV,%aU],[%gd,%gc]
%a2=phi i8*[%aW,%aU],[%gh,%gc]
store i8*%a1,i8**%b,align 8
store i8*%a2,i8**%c,align 8
%a3=load atomic i32,i32*@sml_check_flag unordered,align 4
%a4=icmp eq i32%a3,0
br i1%a4,label%a8,label%a5
a5:
call void@sml_check(i32 inreg%a3)
%a6=load i8*,i8**%c,align 8
%a7=load i8*,i8**%b,align 8
br label%a8
a8:
%a9=phi i8*[%a7,%a5],[%a1,%a0]
%ba=phi i8*[%a6,%a5],[%a2,%a0]
store i8*null,i8**%c,align 8
store i8*%ba,i8**%f,align 8
store i8*null,i8**%b,align 8
store i8*%a9,i8**%g,align 8
%bb=getelementptr inbounds i8,i8*%a9,i64 8
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%h,align 8
%be=icmp eq i8*%ba,null
br i1%be,label%gi,label%bf
bf:
%bg=bitcast i8*%ba to i8**
%bh=load i8*,i8**%bg,align 8
%bi=bitcast i8*%bh to i8**
%bj=bitcast i8*%bh to i8***
%bk=load i8**,i8***%bj,align 8
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%i,align 8
%bm=load i8*,i8**%bi,align 8
%bn=getelementptr inbounds i8,i8*%bm,i64 8
%bo=bitcast i8*%bn to i8**
%bp=load i8*,i8**%bo,align 8
store i8*%bp,i8**%j,align 8
%bq=getelementptr inbounds i8,i8*%bh,i64 16
%br=bitcast i8*%bq to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%k,align 8
%bt=call fastcc i8*@_SMLFN4IEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%bt,i8**%b,align 8
%bu=load i8*,i8**@_SMLZN5OTSet5emptyE,align 8
store i8*%bu,i8**%d,align 8
%bv=call i8*@sml_alloc(i32 inreg 28)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 1342177304,i32*%bx,align 4
store i8*%bv,i8**%c,align 8
%by=bitcast i8*%bv to i64*
store i64 0,i64*%by,align 4
%bz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bA=getelementptr inbounds i8,i8*%bv,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bD=getelementptr inbounds i8,i8*%bv,i64 16
%bE=bitcast i8*%bD to i8**
store i8*%bC,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bv,i64 24
%bG=bitcast i8*%bF to i32*
store i32 6,i32*%bG,align 4
%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**%i,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%c,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
store i8*%bK,i8**%b,align 8
%bR=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,align 8
store i8*%bR,i8**%d,align 8
%bS=call i8*@sml_alloc(i32 inreg 20)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177296,i32*%bU,align 4
store i8*%bS,i8**%e,align 8
%bV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bY=getelementptr inbounds i8,i8*%bS,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bS,i64 16
%b1=bitcast i8*%b0 to i32*
store i32 3,i32*%b1,align 4
%b2=call i8*@sml_alloc(i32 inreg 20)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177296,i32*%b4,align 4
%b5=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b8=getelementptr inbounds i8,i8*%b2,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b2,i64 16
%cb=bitcast i8*%ca to i32*
store i32 3,i32*%cb,align 4
%cc=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%b2)
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
%cf=getelementptr inbounds i8,i8*%ce,i64 8
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
store i8*%ch,i8**%b,align 8
%ci=call fastcc i8*@_SMLFN4IEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%ci,i8**%c,align 8
%cj=load i8*,i8**@_SMLZN5OTSet5emptyE,align 8
store i8*%cj,i8**%e,align 8
%ck=call i8*@sml_alloc(i32 inreg 28)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177304,i32*%cm,align 4
store i8*%ck,i8**%d,align 8
%cn=bitcast i8*%ck to i64*
store i64 0,i64*%cn,align 4
%co=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cp=getelementptr inbounds i8,i8*%ck,i64 8
%cq=bitcast i8*%cp to i8**
store i8*%co,i8**%cq,align 8
%cr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cs=getelementptr inbounds i8,i8*%ck,i64 16
%ct=bitcast i8*%cs to i8**
store i8*%cr,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%ck,i64 24
%cv=bitcast i8*%cu to i32*
store i32 6,i32*%cv,align 4
%cw=call i8*@sml_alloc(i32 inreg 20)#0
%cx=getelementptr inbounds i8,i8*%cw,i64 -4
%cy=bitcast i8*%cx to i32*
store i32 1342177296,i32*%cy,align 4
%cz=load i8*,i8**%j,align 8
%cA=bitcast i8*%cw to i8**
store i8*%cz,i8**%cA,align 8
%cB=load i8*,i8**%d,align 8
%cC=getelementptr inbounds i8,i8*%cw,i64 8
%cD=bitcast i8*%cC to i8**
store i8*%cB,i8**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cw,i64 16
%cF=bitcast i8*%cE to i32*
store i32 3,i32*%cF,align 4
store i8*%cz,i8**%c,align 8
%cG=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,align 8
store i8*%cG,i8**%e,align 8
%cH=call i8*@sml_alloc(i32 inreg 20)#0
%cI=getelementptr inbounds i8,i8*%cH,i64 -4
%cJ=bitcast i8*%cI to i32*
store i32 1342177296,i32*%cJ,align 4
store i8*%cH,i8**%l,align 8
%cK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cL=bitcast i8*%cH to i8**
store i8*%cK,i8**%cL,align 8
%cM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cN=getelementptr inbounds i8,i8*%cH,i64 8
%cO=bitcast i8*%cN to i8**
store i8*%cM,i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cH,i64 16
%cQ=bitcast i8*%cP to i32*
store i32 3,i32*%cQ,align 4
%cR=call i8*@sml_alloc(i32 inreg 20)#0
%cS=getelementptr inbounds i8,i8*%cR,i64 -4
%cT=bitcast i8*%cS to i32*
store i32 1342177296,i32*%cT,align 4
%cU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cV=bitcast i8*%cR to i8**
store i8*%cU,i8**%cV,align 8
%cW=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cX=getelementptr inbounds i8,i8*%cR,i64 8
%cY=bitcast i8*%cX to i8**
store i8*%cW,i8**%cY,align 8
%cZ=getelementptr inbounds i8,i8*%cR,i64 16
%c0=bitcast i8*%cZ to i32*
store i32 3,i32*%c0,align 4
%c1=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%cR)
%c2=bitcast i8*%c1 to i8**
%c3=load i8*,i8**%c2,align 8
%c4=getelementptr inbounds i8,i8*%c3,i64 8
%c5=bitcast i8*%c4 to i8**
%c6=load i8*,i8**%c5,align 8
store i8*%c6,i8**%c,align 8
%c7=call fastcc i8*@_SMLFN4IEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%c7,i8**%d,align 8
%c8=load i8*,i8**@_SMLZN5OTSet5emptyE,align 8
store i8*%c8,i8**%l,align 8
%c9=call i8*@sml_alloc(i32 inreg 28)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177304,i32*%db,align 4
store i8*%c9,i8**%e,align 8
%dc=bitcast i8*%c9 to i64*
store i64 0,i64*%dc,align 4
%dd=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%de=getelementptr inbounds i8,i8*%c9,i64 8
%df=bitcast i8*%de to i8**
store i8*%dd,i8**%df,align 8
%dg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dh=getelementptr inbounds i8,i8*%c9,i64 16
%di=bitcast i8*%dh to i8**
store i8*%dg,i8**%di,align 8
%dj=getelementptr inbounds i8,i8*%c9,i64 24
%dk=bitcast i8*%dj to i32*
store i32 6,i32*%dk,align 4
%dl=call i8*@sml_alloc(i32 inreg 20)#0
%dm=getelementptr inbounds i8,i8*%dl,i64 -4
%dn=bitcast i8*%dm to i32*
store i32 1342177296,i32*%dn,align 4
%do=load i8*,i8**%k,align 8
%dp=bitcast i8*%dl to i8**
store i8*%do,i8**%dp,align 8
%dq=load i8*,i8**%e,align 8
%dr=getelementptr inbounds i8,i8*%dl,i64 8
%ds=bitcast i8*%dr to i8**
store i8*%dq,i8**%ds,align 8
%dt=getelementptr inbounds i8,i8*%dl,i64 16
%du=bitcast i8*%dt to i32*
store i32 3,i32*%du,align 4
store i8*%do,i8**%d,align 8
%dv=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,align 8
store i8*%dv,i8**%l,align 8
%dw=call i8*@sml_alloc(i32 inreg 20)#0
%dx=getelementptr inbounds i8,i8*%dw,i64 -4
%dy=bitcast i8*%dx to i32*
store i32 1342177296,i32*%dy,align 4
store i8*%dw,i8**%m,align 8
%dz=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dA=bitcast i8*%dw to i8**
store i8*%dz,i8**%dA,align 8
%dB=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%dC=getelementptr inbounds i8,i8*%dw,i64 8
%dD=bitcast i8*%dC to i8**
store i8*%dB,i8**%dD,align 8
%dE=getelementptr inbounds i8,i8*%dw,i64 16
%dF=bitcast i8*%dE to i32*
store i32 3,i32*%dF,align 4
%dG=call i8*@sml_alloc(i32 inreg 20)#0
%dH=getelementptr inbounds i8,i8*%dG,i64 -4
%dI=bitcast i8*%dH to i32*
store i32 1342177296,i32*%dI,align 4
%dJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dK=bitcast i8*%dG to i8**
store i8*%dJ,i8**%dK,align 8
%dL=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%dM=getelementptr inbounds i8,i8*%dG,i64 8
%dN=bitcast i8*%dM to i8**
store i8*%dL,i8**%dN,align 8
%dO=getelementptr inbounds i8,i8*%dG,i64 16
%dP=bitcast i8*%dO to i32*
store i32 3,i32*%dP,align 4
%dQ=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%dG)
%dR=bitcast i8*%dQ to i8**
%dS=load i8*,i8**%dR,align 8
%dT=getelementptr inbounds i8,i8*%dS,i64 8
%dU=bitcast i8*%dT to i8**
%dV=load i8*,i8**%dU,align 8
store i8*%dV,i8**%d,align 8
%dW=call i8*@sml_alloc(i32 inreg 20)#0
%dX=getelementptr inbounds i8,i8*%dW,i64 -4
%dY=bitcast i8*%dX to i32*
store i32 1342177296,i32*%dY,align 4
%dZ=load i8*,i8**%h,align 8
%d0=bitcast i8*%dW to i8**
store i8*%dZ,i8**%d0,align 8
%d1=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%d2=getelementptr inbounds i8,i8*%dW,i64 8
%d3=bitcast i8*%d2 to i8**
store i8*%d1,i8**%d3,align 8
%d4=getelementptr inbounds i8,i8*%dW,i64 16
%d5=bitcast i8*%d4 to i32*
store i32 3,i32*%d5,align 4
%d6=call fastcc i8*@_SMLFN5OTSet12intersectionE(i8*inreg%dW)
%d7=call fastcc i32@_SMLFN5OTSet7isEmptyE(i8*inreg%d6)
%d8=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%d7)
%d9=icmp eq i32%d8,0
br i1%d9,label%ea,label%ep
ea:
%eb=call i8*@sml_alloc(i32 inreg 20)#0
%ec=getelementptr inbounds i8,i8*%eb,i64 -4
%ed=bitcast i8*%ec to i32*
store i32 1342177296,i32*%ed,align 4
%ee=load i8*,i8**%h,align 8
%ef=bitcast i8*%eb to i8**
store i8*%ee,i8**%ef,align 8
%eg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eh=getelementptr inbounds i8,i8*%eb,i64 8
%ei=bitcast i8*%eh to i8**
store i8*%eg,i8**%ei,align 8
%ej=getelementptr inbounds i8,i8*%eb,i64 16
%ek=bitcast i8*%ej to i32*
store i32 3,i32*%ek,align 4
%el=call fastcc i8*@_SMLFN5OTSet12intersectionE(i8*inreg%eb)
%em=call fastcc i32@_SMLFN5OTSet7isEmptyE(i8*inreg%el)
%en=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%em)
%eo=icmp eq i32%en,0
br i1%eo,label%eq,label%ep
ep:
store i8*null,i8**%d,align 8
store i8*null,i8**%h,align 8
br label%eF
eq:
%er=call i8*@sml_alloc(i32 inreg 20)#0
%es=getelementptr inbounds i8,i8*%er,i64 -4
%et=bitcast i8*%es to i32*
store i32 1342177296,i32*%et,align 4
%eu=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ev=bitcast i8*%er to i8**
store i8*%eu,i8**%ev,align 8
%ew=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ex=getelementptr inbounds i8,i8*%er,i64 8
%ey=bitcast i8*%ex to i8**
store i8*%ew,i8**%ey,align 8
%ez=getelementptr inbounds i8,i8*%er,i64 16
%eA=bitcast i8*%ez to i32*
store i32 3,i32*%eA,align 4
%eB=call fastcc i8*@_SMLFN5OTSet12intersectionE(i8*inreg%er)
%eC=call fastcc i32@_SMLFN5OTSet7isEmptyE(i8*inreg%eB)
%eD=call fastcc i32@_SMLFN4Bool3notE(i32 inreg%eC)
%eE=icmp eq i32%eD,0
br i1%eE,label%ga,label%eF
eF:
%eG=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,align 8
store i8*%eG,i8**%b,align 8
%eH=call i8*@sml_alloc(i32 inreg 20)#0
%eI=getelementptr inbounds i8,i8*%eH,i64 -4
%eJ=bitcast i8*%eI to i32*
store i32 1342177296,i32*%eJ,align 4
store i8*%eH,i8**%c,align 8
%eK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%eL=bitcast i8*%eH to i8**
store i8*%eK,i8**%eL,align 8
%eM=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eN=getelementptr inbounds i8,i8*%eH,i64 8
%eO=bitcast i8*%eN to i8**
store i8*%eM,i8**%eO,align 8
%eP=getelementptr inbounds i8,i8*%eH,i64 16
%eQ=bitcast i8*%eP to i32*
store i32 3,i32*%eQ,align 4
%eR=call i8*@sml_alloc(i32 inreg 20)#0
%eS=getelementptr inbounds i8,i8*%eR,i64 -4
%eT=bitcast i8*%eS to i32*
store i32 1342177296,i32*%eT,align 4
%eU=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%eV=bitcast i8*%eR to i8**
store i8*%eU,i8**%eV,align 8
%eW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eX=getelementptr inbounds i8,i8*%eR,i64 8
%eY=bitcast i8*%eX to i8**
store i8*%eW,i8**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eR,i64 16
%e0=bitcast i8*%eZ to i32*
store i32 3,i32*%e0,align 4
%e1=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%eR)
%e2=bitcast i8*%e1 to i8**
%e3=load i8*,i8**%e2,align 8
store i8*%e3,i8**%b,align 8
%e4=call i8*@sml_alloc(i32 inreg 20)#0
%e5=getelementptr inbounds i8,i8*%e4,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177296,i32*%e6,align 4
%e7=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%e8=bitcast i8*%e4 to i8**
store i8*%e7,i8**%e8,align 8
%e9=load i8*,i8**%b,align 8
%fa=getelementptr inbounds i8,i8*%e4,i64 8
%fb=bitcast i8*%fa to i8**
store i8*%e9,i8**%fb,align 8
%fc=getelementptr inbounds i8,i8*%e4,i64 16
%fd=bitcast i8*%fc to i32*
store i32 3,i32*%fd,align 4
store i8*%e7,i8**%b,align 8
store i8*%e9,i8**%c,align 8
%fe=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,align 8
store i8*%fe,i8**%d,align 8
%ff=call i8*@sml_alloc(i32 inreg 20)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177296,i32*%fh,align 4
store i8*%ff,i8**%e,align 8
%fi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fj=bitcast i8*%ff to i8**
store i8*%fi,i8**%fj,align 8
%fk=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fl=getelementptr inbounds i8,i8*%ff,i64 8
%fm=bitcast i8*%fl to i8**
store i8*%fk,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%ff,i64 16
%fo=bitcast i8*%fn to i32*
store i32 3,i32*%fo,align 4
%fp=call i8*@sml_alloc(i32 inreg 20)#0
%fq=getelementptr inbounds i8,i8*%fp,i64 -4
%fr=bitcast i8*%fq to i32*
store i32 1342177296,i32*%fr,align 4
%fs=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ft=bitcast i8*%fp to i8**
store i8*%fs,i8**%ft,align 8
%fu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fv=getelementptr inbounds i8,i8*%fp,i64 8
%fw=bitcast i8*%fv to i8**
store i8*%fu,i8**%fw,align 8
%fx=getelementptr inbounds i8,i8*%fp,i64 16
%fy=bitcast i8*%fx to i32*
store i32 3,i32*%fy,align 4
%fz=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%fp)
%fA=bitcast i8*%fz to i8**
%fB=load i8*,i8**%fA,align 8
store i8*%fB,i8**%b,align 8
%fC=call i8*@sml_alloc(i32 inreg 20)#0
%fD=getelementptr inbounds i8,i8*%fC,i64 -4
%fE=bitcast i8*%fD to i32*
store i32 1342177296,i32*%fE,align 4
%fF=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fG=bitcast i8*%fC to i8**
store i8*%fF,i8**%fG,align 8
%fH=load i8*,i8**%b,align 8
%fI=getelementptr inbounds i8,i8*%fC,i64 8
%fJ=bitcast i8*%fI to i8**
store i8*%fH,i8**%fJ,align 8
%fK=getelementptr inbounds i8,i8*%fC,i64 16
%fL=bitcast i8*%fK to i32*
store i32 3,i32*%fL,align 4
store i8*%fF,i8**%b,align 8
store i8*%fH,i8**%c,align 8
%fM=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,align 8
store i8*%fM,i8**%d,align 8
%fN=call i8*@sml_alloc(i32 inreg 20)#0
%fO=getelementptr inbounds i8,i8*%fN,i64 -4
%fP=bitcast i8*%fO to i32*
store i32 1342177296,i32*%fP,align 4
store i8*%fN,i8**%e,align 8
%fQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fR=bitcast i8*%fN to i8**
store i8*%fQ,i8**%fR,align 8
%fS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fT=getelementptr inbounds i8,i8*%fN,i64 8
%fU=bitcast i8*%fT to i8**
store i8*%fS,i8**%fU,align 8
%fV=getelementptr inbounds i8,i8*%fN,i64 16
%fW=bitcast i8*%fV to i32*
store i32 3,i32*%fW,align 4
%fX=call i8*@sml_alloc(i32 inreg 20)#0
%fY=getelementptr inbounds i8,i8*%fX,i64 -4
%fZ=bitcast i8*%fY to i32*
store i32 1342177296,i32*%fZ,align 4
%f0=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%f1=bitcast i8*%fX to i8**
store i8*%f0,i8**%f1,align 8
%f2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%f3=getelementptr inbounds i8,i8*%fX,i64 8
%f4=bitcast i8*%f3 to i8**
store i8*%f2,i8**%f4,align 8
%f5=getelementptr inbounds i8,i8*%fX,i64 16
%f6=bitcast i8*%f5 to i32*
store i32 3,i32*%f6,align 4
%f7=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%fX)
%f8=bitcast i8*%f7 to i8**
%f9=load i8*,i8**%f8,align 8
br label%gc
ga:
store i8*null,i8**%i,align 8
store i8*null,i8**%j,align 8
store i8*null,i8**%k,align 8
%gb=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
br label%gc
gc:
%gd=phi i8*[%f9,%eF],[%gb,%ga]
%ge=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gf=getelementptr inbounds i8,i8*%ge,i64 8
%gg=bitcast i8*%gf to i8**
%gh=load i8*,i8**%gg,align 8
br label%a0
gi:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aA)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aB)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aD)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aE)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aF)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aG)
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)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aK)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aL)
store i8*%a9,i8**%o,align 8
store i8*%bd,i8**%n,align 8
%gj=call i8*@sml_alloc(i32 inreg 20)#0
%gk=getelementptr inbounds i8,i8*%gj,i64 -4
%gl=bitcast i8*%gk to i32*
store i32 1342177296,i32*%gl,align 4
%gm=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%gn=bitcast i8*%gj to i8**
store i8*%gm,i8**%gn,align 8
%go=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%gp=getelementptr inbounds i8,i8*%gj,i64 8
%gq=bitcast i8*%gp to i8**
store i8*%go,i8**%gq,align 8
%gr=getelementptr inbounds i8,i8*%gj,i64 16
%gs=bitcast i8*%gr to i32*
store i32 3,i32*%gs,align 4
%gt=call fastcc i8*@_SMLFN5OTSet10differenceE(i8*inreg%gj)
%gu=call fastcc i32@_SMLFN5OTSet7isEmptyE(i8*inreg%gt)
%gv=icmp eq i32%gu,0
%gw=load i8*,i8**%o,align 8
br i1%gv,label%gx,label%gz
gx:
%gy=load i8*,i8**%p,align 8
store i8*null,i8**%o,align 8
store i8*null,i8**%p,align 8
br label%aM
gz:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aw)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ax)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ay)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%az)
ret i8*%gw
}
define internal fastcc i8*@_SMLLN11TypesBasics6EFTVTyE_421(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
%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%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=load i8*,i8**@_SMLZN5OTSet5emptyE,align 8
store i8*%j,i8**%c,align 8
%k=call fastcc i8*@_SMLFN4IEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%k,i8**%d,align 8
%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
store i8*%l,i8**%e,align 8
%o=bitcast i8*%l to i64*
store i64 0,i64*%o,align 4
%p=load i8*,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%l,i64 16
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%l,i64 24
%w=bitcast i8*%v to i32*
store i32 6,i32*%w,align 4
%x=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,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
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8*@sml_alloc(i32 inreg 20)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
%L=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%O=getelementptr inbounds i8,i8*%I,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
%S=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%I)
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
ret i8*%U
}
define fastcc i8*@_SMLFN11TypesBasics5EFBTVE(i8*inreg%a)#2 gc"smlsharp"{
%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%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=load i8*,i8**@_SMLZN5OTSet5emptyE,align 8
store i8*%j,i8**%c,align 8
%k=call fastcc i8*@_SMLFN4IEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%k,i8**%d,align 8
%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
store i8*%l,i8**%e,align 8
%o=bitcast i8*%l to i64*
store i64 0,i64*%o,align 4
%p=load i8*,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%t=getelementptr inbounds i8,i8*%l,i64 16
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%l,i64 24
%w=bitcast i8*%v to i32*
store i32 6,i32*%w,align 4
%x=load i8*,i8**@_SMLZN14BoundTypeVarID3Set5emptyE,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
store i8*%y,i8**%d,align 8
%B=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 i8*@sml_alloc(i32 inreg 20)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177296,i32*%K,align 4
%L=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%O=getelementptr inbounds i8,i8*%I,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%I,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
%S=call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_351(i8*inreg%I)
%T=getelementptr inbounds i8,i8*%S,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
ret i8*%V
}
define internal fastcc void@_SMLLN11TypesBasics15adjustDepthInTyE_427(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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%i,label%k
i:
%j=bitcast i8*%b to i8**
br label%n
k:
call void@sml_check(i32 inreg%g)
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%k],[%j,%i]
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=icmp eq i32%r,1
br i1%s,label%N,label%t
t:
store i8*null,i8**%e,align 8
%u=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%u,i8**%c,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**%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
%A=getelementptr inbounds i8,i8*%v,i64 8
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@ac,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,[45x i8]}>,<{[4x i8],i32,[45x i8]}>*@ad,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**%d,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=getelementptr inbounds i8,i8*%p,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%d,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
%U=load i8*,i8**%e,align 8
%V=getelementptr inbounds i8,i8*%U,i64 8
%W=bitcast i8*%V to i32*
%X=load i32,i32*%W,align 4
%Y=call i8*@sml_alloc(i32 inreg 12)#0
%Z=bitcast i8*%Y to i32*
%aa=getelementptr inbounds i8,i8*%Y,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177288,i32*%ab,align 4
store i32%X,i32*%Z,align 4
%ac=getelementptr inbounds i8,i8*%Y,i64 4
%ad=bitcast i8*%ac to i32*
store i32%T,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%Y,i64 8
%af=bitcast i8*%ae to i32*
store i32 0,i32*%af,align 4
%ag=call fastcc i32@_SMLFN5Types20strictlyYoungerDepthE(i8*inreg%Y)
%ah=icmp eq i32%ag,0
br i1%ah,label%a1,label%ai
ai:
%aj=bitcast i8**%e to i32***
%ak=load i32**,i32***%aj,align 8
%al=load i32*,i32**%ak,align 8
store i32 1,i32*%al,align 4
%am=load i8*,i8**%d,align 8
%an=bitcast i8*%am to i32*
%ao=load i32,i32*%an,align 4
%ap=getelementptr inbounds i8,i8*%am,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%f,align 8
%as=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%at=getelementptr inbounds i8,i8*%as,i64 8
%au=bitcast i8*%at to i32*
%av=load i32,i32*%au,align 4
%aw=getelementptr inbounds i8,i8*%am,i64 24
%ax=bitcast i8*%aw to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%d,align 8
%az=call i8*@sml_alloc(i32 inreg 36)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177312,i32*%aB,align 4
store i8*%az,i8**%e,align 8
%aC=getelementptr inbounds i8,i8*%az,i64 4
call void@llvm.memset.p0i8.i32(i8*%aC,i8 0,i32 20,i1 false)
%aD=bitcast i8*%az to i32*
store i32%ao,i32*%aD,align 4
%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%av,i32*%aI,align 4
%aJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aK=getelementptr inbounds i8,i8*%az,i64 24
%aL=bitcast i8*%aK to i8**
store i8*%aJ,i8**%aL,align 8
%aM=getelementptr inbounds i8,i8*%az,i64 32
%aN=bitcast i8*%aM to i32*
store i32 10,i32*%aN,align 4
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=bitcast i8*%aO to i32*
%aQ=getelementptr inbounds i8,i8*%aO,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177296,i32*%aR,align 4
%aS=getelementptr inbounds i8,i8*%aO,i64 4
%aT=bitcast i8*%aS to i32*
store i32 0,i32*%aT,align 1
store i32 1,i32*%aP,align 4
%aU=load i8*,i8**%e,align 8
%aV=getelementptr inbounds i8,i8*%aO,i64 8
%aW=bitcast i8*%aV to i8**
store i8*%aU,i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aO,i64 16
%aY=bitcast i8*%aX to i32*
store i32 2,i32*%aY,align 4
%aZ=load i8*,i8**%c,align 8
%a0=bitcast i8*%aZ to i8**
call void@sml_write(i8*inreg%aZ,i8**inreg%a0,i8*inreg%aO)#0
ret void
a1:
ret void
}
define internal fastcc void@_SMLLN11TypesBasics15adjustDepthInTyE_428(i8*inreg%a,i8*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
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%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%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
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 i8**
store i8*null,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%j,i64 16
%r=bitcast i8*%q to i32*
store i32 3,i32*%r,align 4
%s=call fastcc i8*@_SMLFN11TypesBasics4EFTVE(i8*inreg%j)
store i8*%s,i8**%c,align 8
%t=bitcast i8**%d to i8***
%u=load i8**,i8***%t,align 8
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%e,align 8
store i8*null,i8**%d,align 8
%w=getelementptr inbounds i8*,i8**%u,i64 1
%x=bitcast i8**%w to i32*
%y=load i32,i32*%x,align 4
%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
store i8*%z,i8**%d,align 8
%C=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i32*
store i32%y,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%z,i64 16
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN11TypesBasics15adjustDepthInTyE_427 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15adjustDepthInTyE_614 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 -2147483647,i32*%S,align 4
%T=call fastcc i8*@_SMLFN5OTSet3appE(i8*inreg%I)
%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
%Z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aa=getelementptr inbounds i8,i8*%Z,i64 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
%ad=call fastcc i8*%W(i8*inreg%Y,i8*inreg%ac)
ret void
}
define internal fastcc i8*@_SMLLN11TypesBasics15adjustDepthInTyE_429(i8*inreg%a,i32 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
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%c,align 8
%g=call i8*@sml_alloc(i32 inreg 20)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177296,i32*%i,align 4
store i8*%g,i8**%d,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%b,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%g,i64 16
%o=bitcast i8*%n to i32*
store i32 1,i32*%o,align 4
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
%s=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN11TypesBasics15adjustDepthInTyE_428 to void(...)*),void(...)**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15adjustDepthInTyE_615 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%p,i64 24
%z=bitcast i8*%y to i32*
store i32 -2147483647,i32*%z,align 4
ret i8*%p
}
define fastcc i8*@_SMLFN11TypesBasics15adjustDepthInTyE(i8*inreg%a)#4 gc"smlsharp"{
%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=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%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=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN11TypesBasics15adjustDepthInTyE_429 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics15adjustDepthInTyE_616 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc void@_SMLLN11TypesBasics21adjustDepthInTvarKindE_433(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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**%d,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%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=icmp eq i8*%l,null
br i1%n,label%av,label%o
o:
%p=bitcast i8*%l to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 0,label%ba
i32 1,label%aw
i32 3,label%av
i32 2,label%J
]
r:
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%c,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
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@af,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=getelementptr inbounds i8,i8*%l,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=call fastcc i8*@_SMLFN11RecordLabel3Map3appE(i32 inreg 1,i32 inreg 8)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%f,align 8
%T=bitcast i8**%d to i8***
%U=load i8**,i8***%T,align 8
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*@_SMLFN11TypesBasics15adjustDepthInTyE(i8*inreg%V)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%e,align 8
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 8
%ae=bitcast i8*%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=call i8*@sml_alloc(i32 inreg 4)#0
%ah=bitcast i8*%ag to i32*
%ai=getelementptr inbounds i8,i8*%ag,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 4,i32*%aj,align 4
store i32%af,i32*%ah,align 4
%ak=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%al=call fastcc i8*%Z(i8*inreg%ak,i8*inreg%ag)
%am=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%an=call fastcc i8*%Q(i8*inreg%am,i8*inreg%al)
%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
%at=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%au=call fastcc i8*%aq(i8*inreg%as,i8*inreg%at)
ret void
av:
ret void
aw:
%ax=getelementptr inbounds i8,i8*%l,i64 8
%ay=bitcast i8*%ax to i8**
%az=load i8*,i8**%ay,align 8
store i8*%az,i8**%c,align 8
%aA=call fastcc i8*@_SMLFN4List3appE(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
store i8*%aF,i8**%f,align 8
%aG=bitcast i8**%d to i8***
%aH=load i8**,i8***%aG,align 8
%aI=load i8*,i8**%aH,align 8
%aJ=call fastcc i8*@_SMLFN11TypesBasics15adjustDepthInTyE(i8*inreg%aI)
%aK=getelementptr inbounds i8,i8*%aJ,i64 16
%aL=bitcast i8*%aK to i8*(i8*,i8*)**
%aM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aL,align 8
%aN=bitcast i8*%aJ to i8**
%aO=load i8*,i8**%aN,align 8
store i8*%aO,i8**%e,align 8
%aP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 8
%aR=bitcast i8*%aQ to i32*
%aS=load i32,i32*%aR,align 4
%aT=call i8*@sml_alloc(i32 inreg 4)#0
%aU=bitcast i8*%aT to i32*
%aV=getelementptr inbounds i8,i8*%aT,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 4,i32*%aW,align 4
store i32%aS,i32*%aU,align 4
%aX=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aY=call fastcc i8*%aM(i8*inreg%aX,i8*inreg%aT)
%aZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%a0=call fastcc i8*%aD(i8*inreg%aZ,i8*inreg%aY)
%a1=getelementptr inbounds i8,i8*%a0,i64 16
%a2=bitcast i8*%a1 to i8*(i8*,i8*)**
%a3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a2,align 8
%a4=bitcast i8*%a0 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=bitcast i8**%c to i8***
%a7=load i8**,i8***%a6,align 8
store i8*null,i8**%c,align 8
%a8=load i8*,i8**%a7,align 8
%a9=call fastcc i8*%a3(i8*inreg%a5,i8*inreg%a8)
ret void
ba:
%bb=getelementptr inbounds i8,i8*%l,i64 8
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%c,align 8
%be=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%f,align 8
%bk=bitcast i8**%d to i8***
%bl=load i8**,i8***%bk,align 8
%bm=load i8*,i8**%bl,align 8
%bn=call fastcc i8*@_SMLFN11TypesBasics15adjustDepthInTyE(i8*inreg%bm)
%bo=getelementptr inbounds i8,i8*%bn,i64 16
%bp=bitcast i8*%bo to i8*(i8*,i8*)**
%bq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bp,align 8
%br=bitcast i8*%bn to i8**
%bs=load i8*,i8**%br,align 8
store i8*%bs,i8**%e,align 8
%bt=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 8
%bv=bitcast i8*%bu to i32*
%bw=load i32,i32*%bv,align 4
%bx=call i8*@sml_alloc(i32 inreg 4)#0
%by=bitcast i8*%bx to i32*
%bz=getelementptr inbounds i8,i8*%bx,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 4,i32*%bA,align 4
store i32%bw,i32*%by,align 4
%bB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bC=call fastcc i8*%bq(i8*inreg%bB,i8*inreg%bx)
%bD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bE=call fastcc i8*%bh(i8*inreg%bD,i8*inreg%bC)
%bF=getelementptr inbounds i8,i8*%bE,i64 16
%bG=bitcast i8*%bF to i8*(i8*,i8*)**
%bH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bG,align 8
%bI=bitcast i8*%bE to i8**
%bJ=load i8*,i8**%bI,align 8
%bK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bL=call fastcc i8*%bH(i8*inreg%bJ,i8*inreg%bK)
ret void
}
define internal fastcc i8*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_434(i8*inreg%a,i32 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
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%c,align 8
%g=call i8*@sml_alloc(i32 inreg 20)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177296,i32*%i,align 4
store i8*%g,i8**%d,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%b,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%g,i64 16
%o=bitcast i8*%n to i32*
store i32 1,i32*%o,align 4
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
%s=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_433 to void(...)*),void(...)**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_618 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%p,i64 24
%z=bitcast i8*%y to i32*
store i32 -2147483647,i32*%z,align 4
ret i8*%p
}
define fastcc i8*@_SMLFN11TypesBasics21adjustDepthInTvarKindE(i8*inreg%a)#4 gc"smlsharp"{
%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=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%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=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_434 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_619 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i32@_SMLL6isFree_441(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**%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%g,label%i
g:
%h=bitcast i8*%b 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]
store i8*null,i8**%d,align 8
%n=load i8*,i8**%m,align 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=icmp eq i32%p,1
br i1%q,label%L,label%r
r:
%s=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@aj,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[41x i8]}>,<{[4x i8],i32,[41x i8]}>*@ak,i64 0,i32 2,i64 0),i8**%B,align 8
%C=getelementptr inbounds i8,i8*%t,i64 24
%D=bitcast i8*%C to i32*
store i32 7,i32*%D,align 4
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%d,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
L:
%M=getelementptr inbounds i8,i8*%n,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=icmp eq i8*%U,null
br i1%V,label%aa,label%W
W:
%X=bitcast i8*%U to i32*
%Y=load i32,i32*%X,align 4
%Z=icmp eq i32%Y,0
br i1%Z,label%aq,label%aa
aa:
%ab=getelementptr inbounds i8,i8*%O,i64 16
%ac=bitcast i8*%ab to i32*
%ad=load i32,i32*%ac,align 4
%ae=bitcast i8**%c to i32**
%af=load i32*,i32**%ae,align 8
store i8*null,i8**%c,align 8
%ag=load i32,i32*%af,align 4
%ah=call i8*@sml_alloc(i32 inreg 12)#0
%ai=bitcast i8*%ah to i32*
%aj=getelementptr inbounds i8,i8*%ah,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177288,i32*%ak,align 4
store i32%ag,i32*%ai,align 4
%al=getelementptr inbounds i8,i8*%ah,i64 4
%am=bitcast i8*%al to i32*
store i32%ad,i32*%am,align 4
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i32*
store i32 0,i32*%ao,align 4
%ap=tail call fastcc i32@_SMLFN5Types12youngerDepthE(i8*inreg%ah)
ret i32%ap
aq:
%ar=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ar,i8**%c,align 8
%as=call i8*@sml_alloc(i32 inreg 28)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 1342177304,i32*%au,align 4
store i8*%as,i8**%d,align 8
%av=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aw=bitcast i8*%as to i8**
store i8*%av,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%as,i64 8
%ay=bitcast i8*%ax to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@ah,i64 0,i32 2,i64 0),i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%as,i64 16
%aA=bitcast i8*%az to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[29x i8]}>,<{[4x i8],i32,[29x i8]}>*@ai,i64 0,i32 2,i64 0),i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%as,i64 24
%aC=bitcast i8*%aB to i32*
store i32 7,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
}
define internal fastcc i32@_SMLL11newIndexMap_442(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**%d,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=load i8*,i8**%c,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 i32@_SMLFN5OTSet6memberE(i8*inreg%o)
ret i32%y
}
define internal fastcc i32@_SMLL9toBeBound_443(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%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**%f,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%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*null,i8**%c,align 8
store i8*%l,i8**%e,align 8
%n=getelementptr inbounds i8,i8*%l,i64 16
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=call fastcc i8*@_SMLLN11TypesBasics6EFTVTyE_421(i8*inreg%p)
%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=bitcast i8**%e to i8****
%v=load i8***,i8****%u,align 8
%w=load i8**,i8***%v,align 8
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*@_SMLLN11TypesBasics6EFTVTyE_421(i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,align 8
%C=bitcast i8**%e to i8***
%D=load i8**,i8***%C,align 8
store i8*null,i8**%e,align 8
%E=load i8*,i8**%D,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*@_SMLLN11TypesBasics6EFTVTyE_421(i8*inreg%H)
%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**%d,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
store i8*null,i8**%d,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i8**
store i8*%M,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
%S=call fastcc i8*@_SMLFN5OTSet5unionE(i8*inreg%J)
store i8*%S,i8**%d,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**%c,align 8
store i8*null,i8**%c,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=call fastcc i8*@_SMLFN5OTSet5unionE(i8*inreg%T)
store i8*%ad,i8**%c,align 8
%ae=bitcast i8**%f to i8***
%af=load i8**,i8***%ae,align 8
store i8*null,i8**%f,align 8
%ag=load i8*,i8**%af,align 8
store i8*%ag,i8**%d,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**%c,align 8
%al=bitcast i8*%ah to i8**
store i8*%ak,i8**%al,align 8
%am=load i8*,i8**%d,align 8
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ah,i64 16
%aq=bitcast i8*%ap to i32*
store i32 3,i32*%aq,align 4
%ar=tail call fastcc i32@_SMLFN5OTSet8isSubsetE(i8*inreg%ah)
ret i32%ar
}
define internal fastcc i8*@_SMLL4btvs_446(i8*inreg%a)#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**%b,align 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=icmp eq i32%r,1
br i1%s,label%N,label%t
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,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@al,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,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@am,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=getelementptr inbounds i8,i8*%p,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,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=getelementptr inbounds i8,i8*%k,i64 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%d,align 8
%X=call fastcc i32@_SMLFN14BoundTypeVarID8generateE(i32 inreg 0)
%Y=call i8*@sml_alloc(i32 inreg 12)#0
%Z=bitcast i8*%Y to i32*
%aa=getelementptr inbounds i8,i8*%Y,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177288,i32*%ab,align 4
store i8*%Y,i8**%e,align 8
store i32 1,i32*%Z,align 4
%ac=getelementptr inbounds i8,i8*%Y,i64 4
%ad=bitcast i8*%ac to i32*
store i32%X,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%Y,i64 8
%af=bitcast i8*%ae to i32*
store i32 0,i32*%af,align 4
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
%aj=bitcast i8*%ag to i64*
store i64 0,i64*%aj,align 4
%ak=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to i32*
store i32 2,i32*%ao,align 4
%ap=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aq=bitcast i8*%ap to i8**
call void@sml_write(i8*inreg%ap,i8**inreg%aq,i8*inreg%ag)#0
%ar=call fastcc i8*@_SMLFN14BoundTypeVarID3Map6insertE(i32 inreg 1,i32 inreg 8)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%b,align 8
%ax=call i8*@sml_alloc(i32 inreg 28)#0
%ay=getelementptr inbounds i8,i8*%ax,i64 -4
%az=bitcast i8*%ay to i32*
store i32 1342177304,i32*%az,align 4
%aA=getelementptr inbounds i8,i8*%ax,i64 12
%aB=bitcast i8*%aA to i32*
store i32 0,i32*%aB,align 1
%aC=load i8*,i8**%d,align 8
%aD=bitcast i8*%ax to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%ax,i64 8
%aF=bitcast i8*%aE to i32*
store i32%X,i32*%aF,align 4
%aG=load i8*,i8**%c,align 8
%aH=getelementptr inbounds i8,i8*%ax,i64 16
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%ax,i64 24
%aK=bitcast i8*%aJ to i32*
store i32 5,i32*%aK,align 4
%aL=load i8*,i8**%b,align 8
%aM=tail call fastcc i8*%au(i8*inreg%aL,i8*inreg%ax)
ret i8*%aM
}
define fastcc i8*@_SMLFN11TypesBasics11generalizerE(i8*inreg%a)#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**%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
%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**%b,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**%b,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**%d,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%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
%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=load i8*,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%v,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%v,i64 16
%E=bitcast i8*%D to i32*
store i32 3,i32*%E,align 4
%F=call fastcc i8*@_SMLFN11TypesBasics4EFTVE(i8*inreg%v)
store i8*%F,i8**%c,align 8
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=bitcast i8*%G to i32*
%I=getelementptr inbounds i8,i8*%G,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177288,i32*%J,align 4
store i8*%G,i8**%b,align 8
store i32%u,i32*%H,align 4
%K=getelementptr inbounds i8,i8*%G,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**%b,align 8
store i8*null,i8**%b,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(i32(i8*,i8*)*@_SMLL6isFree_441 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*)*@_SMLL6isFree_621 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
%X=call fastcc i8*@_SMLFN5OTSet6filterE(i8*inreg%M)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
%ad=load i8*,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 8
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
%ah=call fastcc i8*%aa(i8*inreg%ac,i8*inreg%ag)
store i8*%ah,i8**%b,align 8
%ai=call fastcc i8*@_SMLFN4IEnv6filterE(i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%e,align 8
%ao=call i8*@sml_alloc(i32 inreg 12)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177288,i32*%aq,align 4
store i8*%ao,i8**%f,align 8
%ar=load i8*,i8**%b,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to i32*
store i32 1,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 28)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177304,i32*%ax,align 4
%ay=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL11newIndexMap_442 to void(...)*),void(...)**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11newIndexMap_622 to void(...)*),void(...)**%aD,align 8
%aE=getelementptr inbounds i8,i8*%av,i64 24
%aF=bitcast i8*%aE to i32*
store i32 -2147483647,i32*%aF,align 4
%aG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aH=call fastcc i8*%al(i8*inreg%aG,i8*inreg%av)
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
%aN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aO=getelementptr inbounds i8,i8*%aN,i64 16
%aP=bitcast i8*%aO to i8**
%aQ=load i8*,i8**%aP,align 8
%aR=call fastcc i8*%aK(i8*inreg%aM,i8*inreg%aQ)
store i8*%aR,i8**%c,align 8
%aS=load i8*,i8**%b,align 8
%aT=call fastcc i32@_SMLFN5OTSet7isEmptyE(i8*inreg%aS)
%aU=icmp eq i32%aT,0
br i1%aU,label%ba,label%aV
aV:
store i8*null,i8**%b,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%aW=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%aW,i8**%b,align 8
%aX=load i8*,i8**@_SMLZN5OTSet5emptyE,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
%a1=bitcast i8*%aY to i8**
store i8*null,i8**%a1,align 8
%a2=load i8*,i8**%b,align 8
%a3=getelementptr inbounds i8,i8*%aY,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=load i8*,i8**%c,align 8
%a6=getelementptr inbounds i8,i8*%aY,i64 16
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%aY,i64 24
%a9=bitcast i8*%a8 to i32*
store i32 7,i32*%a9,align 4
ret i8*%aY
ba:
%bb=call i8*@sml_alloc(i32 inreg 12)#0
%bc=getelementptr inbounds i8,i8*%bb,i64 -4
%bd=bitcast i8*%bc to i32*
store i32 1342177288,i32*%bd,align 4
store i8*%bb,i8**%e,align 8
%be=load i8*,i8**%b,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 i32*
store i32 1,i32*%bh,align 4
%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**%f,align 8
%bl=load i8*,i8**%e,align 8
store i8*null,i8**%e,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 void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLL9toBeBound_443 to void(...)*),void(...)**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bi,i64 16
%bq=bitcast i8*%bp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9toBeBound_623 to void(...)*),void(...)**%bq,align 8
%br=getelementptr inbounds i8,i8*%bi,i64 24
%bs=bitcast i8*%br to i32*
store i32 -2147483647,i32*%bs,align 4
%bt=call fastcc i8*@_SMLFN4List6filterE(i32 inreg 1,i32 inreg 8)
%bu=getelementptr inbounds i8,i8*%bt,i64 16
%bv=bitcast i8*%bu to i8*(i8*,i8*)**
%bw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bv,align 8
%bx=bitcast i8*%bt to i8**
%by=load i8*,i8**%bx,align 8
%bz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bA=call fastcc i8*%bw(i8*inreg%by,i8*inreg%bz)
%bB=getelementptr inbounds i8,i8*%bA,i64 16
%bC=bitcast i8*%bB to i8*(i8*,i8*)**
%bD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bC,align 8
%bE=bitcast i8*%bA to i8**
%bF=load i8*,i8**%bE,align 8
%bG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bH=call fastcc i8*%bD(i8*inreg%bF,i8*inreg%bG)
store i8*%bH,i8**%d,align 8
%bI=call fastcc i8*@_SMLFN4IEnv5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%bL(i8*inreg%bN,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@an,i64 0,i32 2)to i8*))
%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
store i8*%bT,i8**%e,align 8
%bU=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
%bV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bW=call fastcc i8*%bR(i8*inreg%bV,i8*inreg%bU)
%bX=getelementptr inbounds i8,i8*%bW,i64 16
%bY=bitcast i8*%bX to i8*(i8*,i8*)**
%bZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bY,align 8
%b0=bitcast i8*%bW to i8**
%b1=load i8*,i8**%b0,align 8
%b2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b3=call fastcc i8*%bZ(i8*inreg%b1,i8*inreg%b2)
store i8*%b3,i8**%c,align 8
%b4=call i8*@sml_alloc(i32 inreg 28)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177304,i32*%b6,align 4
%b7=load i8*,i8**%d,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%c,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=load i8*,i8**%b,align 8
%cd=getelementptr inbounds i8,i8*%b4,i64 16
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%b4,i64 24
%cg=bitcast i8*%cf to i32*
store i32 7,i32*%cg,align 4
ret i8*%b4
}
define fastcc void@_SMLFN11TypesBasics12performSubstE(i8*inreg%a)#2 gc"smlsharp"{
%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
%d=bitcast i8*%a to i8**
%e=load i8*,i8**%d,align 8
%f=icmp eq i8*%e,null
br i1%f,label%H,label%g
g:
%h=bitcast i8*%e to i32*
%i=load i32,i32*%h,align 4
%j=icmp eq i32%i,10
br i1%j,label%k,label%H
k:
%l=getelementptr inbounds i8,i8*%e,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%b,align 8
%o=bitcast i8*%n to i32**
%p=load i32*,i32**%o,align 8
%q=load i32,i32*%p,align 4
%r=icmp eq i32%q,1
br i1%r,label%s,label%H
s:
%t=getelementptr inbounds i8,i8*%a,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=bitcast i8*%w to i64*
store i64 0,i64*%z,align 4
%A=load i8*,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 2,i32*%E,align 4
%F=load i8*,i8**%b,align 8
%G=bitcast i8*%F to i8**
call void@sml_write(i8*inreg%F,i8**inreg%G,i8*inreg%w)#0
ret void
H:
%I=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%I,i8**%b,align 8
%J=call i8*@sml_alloc(i32 inreg 28)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177304,i32*%L,align 4
store i8*%J,i8**%c,align 8
%M=load i8*,i8**%b,align 8
store i8*null,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@ap,i64 0,i32 2,i64 0),i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[52x i8]}>,<{[4x i8],i32,[52x i8]}>*@aq,i64 0,i32 2,i64 0),i8**%R,align 8
%S=getelementptr inbounds i8,i8*%J,i64 24
%T=bitcast i8*%S to i32*
store i32 7,i32*%T,align 4
%U=call i8*@sml_alloc(i32 inreg 60)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177336,i32*%W,align 4
%X=getelementptr inbounds i8,i8*%U,i64 56
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
%Z=load i8*,i8**%c,align 8
%aa=bitcast i8*%U to i8**
store i8*%Z,i8**%aa,align 8
call void@sml_raise(i8*inreg%U)#1
unreachable
}
define internal fastcc i8*@_SMLL8newSubst_454(i8*inreg%a)#2 gc"smlsharp"{
%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%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
store i8*null,i8**%b,align 8
%g=call fastcc i32@_SMLFN14BoundTypeVarID8generateE(i32 inreg 0)
%h=call i8*@sml_alloc(i32 inreg 12)#0
%i=bitcast i8*%h to i32*
%j=getelementptr inbounds i8,i8*%h,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177288,i32*%k,align 4
store i32 1,i32*%i,align 4
%l=getelementptr inbounds i8,i8*%h,i64 4
%m=bitcast i8*%l to i32*
store i32%g,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i32*
store i32 0,i32*%o,align 4
ret i8*%h
}
define internal fastcc i8*@_SMLL11newBoundEnv_458(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 i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%m,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=call fastcc i8*@_SMLFN14BoundTypeVarID3Map4findE(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=getelementptr inbounds i8,i8*%C,i64 12
%G=bitcast i8*%F to i32*
store i32 0,i32*%G,align 1
%H=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 8
%K=bitcast i8*%J to i32*
store i32%p,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%C,i64 16
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%O=call fastcc i8*%w(i8*inreg%N,i8*inreg%C)
%P=icmp eq i8*%O,null
br i1%P,label%aG,label%Q
Q:
%R=bitcast i8*%O to i8**
%S=load i8*,i8**%R,align 8
%T=icmp eq i8*%S,null
br i1%T,label%aG,label%U
U:
%V=bitcast i8*%S to i32*
%W=load i32,i32*%V,align 4
%X=icmp eq i32%W,1
br i1%X,label%Y,label%aG
Y:
%Z=getelementptr inbounds i8,i8*%S,i64 4
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=call fastcc i8*@_SMLFN14BoundTypeVarID3Map6insertE(i32 inreg 1,i32 inreg 8)
%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**%f,align 8
%ai=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%aj=load i8**,i8***%z,align 8
store i8*null,i8**%e,align 8
%ak=load i8*,i8**%aj,align 8
%al=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%am=getelementptr inbounds i8,i8*%al,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*@_SMLLN11TypesBasics14substBTvarKindE_230(i8*inreg%ai,i8*inreg%ak,i8*inreg%ao)
store i8*%ap,i8**%c,align 8
%aq=call i8*@sml_alloc(i32 inreg 28)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177304,i32*%as,align 4
%at=getelementptr inbounds i8,i8*%aq,i64 12
%au=bitcast i8*%at to i32*
store i32 0,i32*%au,align 1
%av=load i8*,i8**%d,align 8
%aw=bitcast i8*%aq to i8**
store i8*%av,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 8
%ay=bitcast i8*%ax to i32*
store i32%ab,i32*%ay,align 4
%az=load i8*,i8**%c,align 8
%aA=getelementptr inbounds i8,i8*%aq,i64 16
%aB=bitcast i8*%aA to i8**
store i8*%az,i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%aq,i64 24
%aD=bitcast i8*%aC to i32*
store i32 5,i32*%aD,align 4
%aE=load i8*,i8**%f,align 8
%aF=tail call fastcc i8*%af(i8*inreg%aE,i8*inreg%aq)
ret i8*%aF
aG:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%aH=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aH,i8**%c,align 8
%aI=call i8*@sml_alloc(i32 inreg 28)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177304,i32*%aK,align 4
store i8*%aI,i8**%d,align 8
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@at,i64 0,i32 2,i64 0),i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aI,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@au,i64 0,i32 2,i64 0),i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aI,i64 24
%aS=bitcast i8*%aR to i32*
store i32 7,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 60)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177336,i32*%aV,align 4
%aW=getelementptr inbounds i8,i8*%aT,i64 56
%aX=bitcast i8*%aW to i32*
store i32 1,i32*%aX,align 4
%aY=load i8*,i8**%d,align 8
%aZ=bitcast i8*%aT to i8**
store i8*%aY,i8**%aZ,align 8
call void@sml_raise(i8*inreg%aT)#1
unreachable
}
define fastcc i8*@_SMLFN11TypesBasics12copyBoundEnvE(i8*inreg%a)#2 gc"smlsharp"{
%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**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=call fastcc i8*@_SMLFN14BoundTypeVarID3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%m(i8*inreg%o,i8*inreg 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*))
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=load i8*,i8**%c,align 8
%w=call fastcc i8*%s(i8*inreg%u,i8*inreg%v)
store i8*%w,i8**%b,align 8
%x=call fastcc i8*@_SMLFN14BoundTypeVarID3Map6foldriE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%C,i8**%d,align 8
%D=call i8*@sml_alloc(i32 inreg 12)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177288,i32*%F,align 4
store i8*%D,i8**%e,align 8
%G=load i8*,i8**%b,align 8
%H=bitcast i8*%D to i8**
store i8*%G,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%D,i64 8
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=call i8*@sml_alloc(i32 inreg 28)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177304,i32*%M,align 4
%N=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11newBoundEnv_458 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11newBoundEnv_458 to void(...)*),void(...)**%S,align 8
%T=getelementptr inbounds i8,i8*%K,i64 24
%U=bitcast i8*%T to i32*
store i32 -2147483647,i32*%U,align 4
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=call fastcc i8*%A(i8*inreg%V,i8*inreg%K)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%d,align 8
%ac=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=call fastcc i8*%Z(i8*inreg%ad,i8*inreg%ac)
%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
%ak=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%al=call fastcc i8*%ah(i8*inreg%aj,i8*inreg%ak)
store i8*%al,i8**%c,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
ret i8*%am
}
define internal fastcc i8*@_SMLLN11TypesBasics10coerceFunME_488(i8*inreg%a)#4 gc"smlsharp"{
ret i8*null
}
define internal fastcc i8*@_SMLL6tyList_494(i8*inreg%a)#2 gc"smlsharp"{
%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%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=load i8*,i8**@_SMLZN5Types8univKindE,align 8
%h=tail call fastcc i8*@_SMLFN5Types5newtyE(i8*inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLLN11TypesBasics10coerceFunME_497(i8*inreg%a)#4 gc"smlsharp"{
ret i8*null
}
define internal fastcc i8*@_SMLL9argTyList_499(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**%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%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%q=load i8*,i8**%n,align 8
%r=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%q,i8*inreg%o)
ret i8*%r
}
define internal fastcc i8*@_SMLL10instTyList_500(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLL11constraints_502(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%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
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%j,label%m
j:
%k=bitcast i8*%a to i8**
%l=bitcast i8**%f to i8***
br label%q
m:
call void@sml_check(i32 inreg%h)
%n=load i8*,i8**%c,align 8
%o=bitcast i8**%f to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8***[%l,%j],[%o,%m]
%s=phi i8**[%k,%j],[%p,%m]
%t=phi i8*[%b,%j],[%n,%m]
%u=getelementptr inbounds i8,i8*%t,i64 8
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%y=load i8*,i8**%s,align 8
%z=getelementptr inbounds i8,i8*%t,i64 16
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%x,i8*inreg%y,i8*inreg%B)
store i8*%C,i8**%e,align 8
%D=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%E=load i8**,i8***%r,align 8
%F=load i8*,i8**%E,align 8
%G=bitcast i8**%c to i8****
%H=load i8***,i8****%G,align 8
%I=load i8**,i8***%H,align 8
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%D,i8*inreg%F,i8*inreg%J)
store i8*%K,i8**%d,align 8
%L=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%M=load i8**,i8***%r,align 8
store i8*null,i8**%f,align 8
%N=load i8*,i8**%M,align 8
%O=bitcast i8**%c to i8***
%P=load i8**,i8***%O,align 8
store i8*null,i8**%c,align 8
%Q=load i8*,i8**%P,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%L,i8*inreg%N,i8*inreg%T)
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**%f,align 8
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%af=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%f,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=load i8*,i8**%g,align 8
%al=getelementptr inbounds i8,i8*%af,i64 8
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=load i8*,i8**%e,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 16
%ap=bitcast i8*%ao to i8**
store i8*%an,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%af,i64 24
%ar=bitcast i8*%aq to i32*
store i32 7,i32*%ar,align 4
ret i8*%af
}
define internal fastcc i8*@_SMLL5subst_505(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**%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
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%j,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=call fastcc i8*@_SMLFN14BoundTypeVarID3Map6insertE(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**%d,align 8
%z=call i8*@sml_alloc(i32 inreg 28)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177304,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 12
%D=bitcast i8*%C to i32*
store i32 0,i32*%D,align 1
%E=load i8*,i8**%c,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%z,i64 8
%H=bitcast i8*%G to i32*
store i32%m,i32*%H,align 4
%I=load i8*,i8**%b,align 8
%J=getelementptr inbounds i8,i8*%z,i64 16
%K=bitcast i8*%J to i8**
store i8*%I,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%z,i64 24
%M=bitcast i8*%L to i32*
store i32 5,i32*%M,align 4
%N=load i8*,i8**%d,align 8
%O=tail call fastcc i8*%w(i8*inreg%N,i8*inreg%z)
ret i8*%O
}
define internal fastcc i8*@_SMLLN11TypesBasics11tpappPrimTyE_507(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**%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%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%q=load i8*,i8**%n,align 8
%r=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%q,i8*inreg%o)
ret i8*%r
}
define fastcc i8*@_SMLFN11TypesBasics11tpappPrimTyE(i8*inreg%a)#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]
store i8*null,i8**%b,align 8
store i8*%k,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%k,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=call fastcc i8*@_SMLFN8ListPair5foldrE(i32 inreg 0,i32 inreg 4,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
%v=call fastcc i8*%s(i8*inreg%u,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aL,i64 0,i32 2)to i8*))
%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**%b,align 8
%B=call fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
%C=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%D=call fastcc i8*%y(i8*inreg%C,i8*inreg%B)
%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
store i8*%I,i8**%e,align 8
%J=call fastcc i8*@_SMLFN14BoundTypeVarID3Map8listKeysE(i32 inreg 1,i32 inreg 8)
%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=bitcast i8**%c to i8***
%Q=load i8**,i8***%P,align 8
%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
%V=call fastcc i8*%M(i8*inreg%O,i8*inreg%U)
store i8*%V,i8**%b,align 8
%W=call i8*@sml_alloc(i32 inreg 20)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177296,i32*%Y,align 4
%Z=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
%ag=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ah=call fastcc i8*%G(i8*inreg%ag,i8*inreg%W)
store i8*%ah,i8**%b,align 8
%ai=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%d,align 8
%ao=call i8*@sml_alloc(i32 inreg 12)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177288,i32*%aq,align 4
store i8*%ao,i8**%e,align 8
%ar=load i8*,i8**%b,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ao,i64 8
%au=bitcast i8*%at to i32*
store i32 1,i32*%au,align 4
%av=call i8*@sml_alloc(i32 inreg 28)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177304,i32*%ax,align 4
%ay=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics11tpappPrimTyE_507 to void(...)*),void(...)**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics11tpappPrimTyE_507 to void(...)*),void(...)**%aD,align 8
%aE=getelementptr inbounds i8,i8*%av,i64 24
%aF=bitcast i8*%aE to i32*
store i32 -2147483647,i32*%aF,align 4
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=call fastcc i8*%al(i8*inreg%aG,i8*inreg%av)
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
%aN=bitcast i8**%c to i8****
%aO=load i8***,i8****%aN,align 8
%aP=load i8**,i8***%aO,align 8
%aQ=load i8*,i8**%aP,align 8
%aR=call fastcc i8*%aK(i8*inreg%aM,i8*inreg%aQ)
store i8*%aR,i8**%d,align 8
%aS=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%aT=load i8**,i8***%P,align 8
store i8*null,i8**%c,align 8
%aU=load i8*,i8**%aT,align 8
%aV=getelementptr inbounds i8,i8*%aU,i64 16
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
%aY=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aZ=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%aS,i8*inreg%aY,i8*inreg%aX)
store i8*%aZ,i8**%b,align 8
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%d,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%b,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLL5subst_523(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**%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 8
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=getelementptr inbounds i8,i8*%j,i64 16
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call fastcc i8*@_SMLFN14BoundTypeVarID3Map6insertE(i32 inreg 1,i32 inreg 8)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%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=getelementptr inbounds i8,i8*%A,i64 12
%E=bitcast i8*%D to i32*
store i32 0,i32*%E,align 1
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 8
%I=bitcast i8*%H to i32*
store i32%n,i32*%I,align 4
%J=load i8*,i8**%b,align 8
%K=getelementptr inbounds i8,i8*%A,i64 16
%L=bitcast i8*%K to i8**
store i8*%J,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%A,i64 24
%N=bitcast i8*%M to i32*
store i32 5,i32*%N,align 4
%O=load i8*,i8**%d,align 8
%P=tail call fastcc i8*%x(i8*inreg%O,i8*inreg%A)
ret i8*%P
}
define internal fastcc i8*@_SMLLN11TypesBasics7tpappTyE_531(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]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN5Types9format__tyE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define fastcc i8*@_SMLFN11TypesBasics14tyConFromConTyE(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**%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]
store i8*null,i8**%b,align 8
%l=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%j)
%m=icmp eq i8*%l,null
br i1%m,label%q,label%n
n:
%o=bitcast i8*%l to i32*
%p=load i32,i32*%o,align 4
switch i32%p,label%q[
i32 6,label%bu
i32 2,label%bn
i32 7,label%M
]
q:
%r=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%r,i8**%b,align 8
%s=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aZ,i64 0,i32 2)to i8*))
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[56x i8]}>,<{[4x i8],i32,[56x i8]}>*@aW,i64 0,i32 2,i64 0),i8**%z,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%t,i64 24
%E=bitcast i8*%D to i32*
store i32 7,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 60)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177336,i32*%H,align 4
%I=getelementptr inbounds i8,i8*%F,i64 56
%J=bitcast i8*%I to i32*
store i32 1,i32*%J,align 4
%K=load i8*,i8**%d,align 8
%L=bitcast i8*%F to i8**
store i8*%K,i8**%L,align 8
call void@sml_raise(i8*inreg%F)#1
unreachable
M:
%N=getelementptr inbounds i8,i8*%l,i64 8
%O=bitcast i8*%N to i8***
%P=load i8**,i8***%O,align 8
%Q=load i8*,i8**%P,align 8
%R=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%Q)
%S=icmp eq i8*%R,null
br i1%S,label%X,label%T
T:
%U=bitcast i8*%R to i32*
%V=load i32,i32*%U,align 4
%W=icmp eq i32%V,6
br i1%W,label%aH,label%X
X:
%Y=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%R)
%Z=icmp eq i8*%Y,null
br i1%Z,label%ae,label%aa
aa:
%ab=bitcast i8*%Y to i32*
%ac=load i32,i32*%ab,align 4
%ad=icmp eq i32%ac,2
br i1%ad,label%aA,label%ae
ae:
%af=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%af,i8**%b,align 8
%ag=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aZ,i64 0,i32 2)to i8*))
store i8*%ag,i8**%c,align 8
%ah=call i8*@sml_alloc(i32 inreg 28)#0
%ai=getelementptr inbounds i8,i8*%ah,i64 -4
%aj=bitcast i8*%ai to i32*
store i32 1342177304,i32*%aj,align 4
store i8*%ah,i8**%d,align 8
%ak=load i8*,i8**%b,align 8
store i8*null,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*getelementptr inbounds(<{[4x i8],i32,[56x i8]}>,<{[4x i8],i32,[56x i8]}>*@aW,i64 0,i32 2,i64 0),i8**%an,align 8
%ao=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ap=getelementptr inbounds i8,i8*%ah,i64 16
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ah,i64 24
%as=bitcast i8*%ar to i32*
store i32 7,i32*%as,align 4
%at=call i8*@sml_alloc(i32 inreg 60)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177336,i32*%av,align 4
%aw=getelementptr inbounds i8,i8*%at,i64 56
%ax=bitcast i8*%aw to i32*
store i32 1,i32*%ax,align 4
%ay=load i8*,i8**%d,align 8
%az=bitcast i8*%at to i8**
store i8*%ay,i8**%az,align 8
call void@sml_raise(i8*inreg%at)#1
unreachable
aA:
%aB=getelementptr inbounds i8,i8*%Y,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
%aE=getelementptr inbounds i8,i8*%aD,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
ret i8*%aG
aH:
%aI=getelementptr inbounds i8,i8*%R,i64 8
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 8
%aM=bitcast i8*%aL to i8**
%aN=load i8*,i8**%aM,align 8
%aO=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%aN)
%aP=icmp eq i8*%aO,null
br i1%aP,label%aU,label%aQ
aQ:
%aR=bitcast i8*%aO to i32*
%aS=load i32,i32*%aR,align 4
%aT=icmp eq i32%aS,2
br i1%aT,label%bg,label%aU
aU:
%aV=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aV,i8**%b,align 8
%aW=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aZ,i64 0,i32 2)to i8*))
store i8*%aW,i8**%c,align 8
%aX=call i8*@sml_alloc(i32 inreg 28)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177304,i32*%aZ,align 4
store i8*%aX,i8**%d,align 8
%a0=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[56x i8]}>,<{[4x i8],i32,[56x i8]}>*@aW,i64 0,i32 2,i64 0),i8**%a3,align 8
%a4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aX,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=getelementptr inbounds i8,i8*%aO,i64 8
%bi=bitcast i8*%bh to i8**
%bj=load i8*,i8**%bi,align 8
%bk=getelementptr inbounds i8,i8*%bj,i64 8
%bl=bitcast i8*%bk to i8**
%bm=load i8*,i8**%bl,align 8
ret i8*%bm
bn:
%bo=getelementptr inbounds i8,i8*%l,i64 8
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
%br=getelementptr inbounds i8,i8*%bq,i64 8
%bs=bitcast i8*%br to i8**
%bt=load i8*,i8**%bs,align 8
ret i8*%bt
bu:
%bv=getelementptr inbounds i8,i8*%l,i64 8
%bw=bitcast i8*%bv to i8**
%bx=load i8*,i8**%bw,align 8
%by=getelementptr inbounds i8,i8*%bx,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
%bB=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%bA)
%bC=icmp eq i8*%bB,null
br i1%bC,label%bH,label%bD
bD:
%bE=bitcast i8*%bB to i32*
%bF=load i32,i32*%bE,align 4
%bG=icmp eq i32%bF,2
br i1%bG,label%b3,label%bH
bH:
%bI=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bI,i8**%b,align 8
%bJ=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aZ,i64 0,i32 2)to i8*))
store i8*%bJ,i8**%c,align 8
%bK=call i8*@sml_alloc(i32 inreg 28)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177304,i32*%bM,align 4
store i8*%bK,i8**%d,align 8
%bN=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bK,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[56x i8]}>,<{[4x i8],i32,[56x i8]}>*@aW,i64 0,i32 2,i64 0),i8**%bQ,align 8
%bR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bS=getelementptr inbounds i8,i8*%bK,i64 16
%bT=bitcast i8*%bS to i8**
store i8*%bR,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bK,i64 24
%bV=bitcast i8*%bU to i32*
store i32 7,i32*%bV,align 4
%bW=call i8*@sml_alloc(i32 inreg 60)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177336,i32*%bY,align 4
%bZ=getelementptr inbounds i8,i8*%bW,i64 56
%b0=bitcast i8*%bZ to i32*
store i32 1,i32*%b0,align 4
%b1=load i8*,i8**%d,align 8
%b2=bitcast i8*%bW to i8**
store i8*%b1,i8**%b2,align 8
call void@sml_raise(i8*inreg%bW)#1
unreachable
b3:
%b4=getelementptr inbounds i8,i8*%bB,i64 8
%b5=bitcast i8*%b4 to i8**
%b6=load i8*,i8**%b5,align 8
%b7=getelementptr inbounds i8,i8*%b6,i64 8
%b8=bitcast i8*%b7 to i8**
%b9=load i8*,i8**%b8,align 8
ret i8*%b9
}
define fastcc i8*@_SMLFN11TypesBasics7derefTyE(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*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN11TypesBasics10substBTvarE_554(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**%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%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%q=load i8*,i8**%n,align 8
%r=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%p,i8*inreg%q,i8*inreg%o)
ret i8*%r
}
define fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%a)#4 gc"smlsharp"{
%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=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%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=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_554 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics10substBTvarE_554 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define fastcc i8*@_SMLFN11TypesBasics10freshSubstE(i8*inreg%a)#2 gc"smlsharp"{
%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%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=load i32,i32*@_SMLZN5Types13infiniteDepthE,align 4
%h=call fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_298(i32 inreg%g)
%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=call fastcc i8*%k(i8*inreg%m,i8*inreg null)
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
%t=load i8*,i8**%b,align 8
%u=tail call fastcc i8*%q(i8*inreg%s,i8*inreg%t)
ret i8*%u
}
define internal fastcc i8*@_SMLLN11TypesBasics25freshSubstWithLambdaDepthE_559(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**%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%g,label%i
g:
%h=bitcast i8*%a to i32*
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%c to i32**
%k=load i32*,i32**%j,align 8
br label%l
l:
%m=phi i32*[%k,%i],[%h,%g]
store i8*null,i8**%c,align 8
%n=load i32,i32*%m,align 4
%o=call fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_298(i32 inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*%r(i8*inreg%t,i8*inreg null)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
%A=load i8*,i8**%d,align 8
%B=tail call fastcc i8*%x(i8*inreg%z,i8*inreg%A)
ret i8*%B
}
define fastcc i8*@_SMLFN11TypesBasics25freshSubstWithLambdaDepthE(i32 inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics25freshSubstWithLambdaDepthE_559 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN11TypesBasics25freshSubstWithLambdaDepthE_559 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define fastcc i8*@_SMLFN11TypesBasics10coerceFunME(i8*inreg%a)#2 gc"smlsharp"{
p:
%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
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%i,align 8
%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**%i,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%q)
%r=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%r)
%s=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%s)
%t=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t)
%u=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
%v=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v)
%w=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%w)
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
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
br label%x
x:
%y=phi i8*[%d3,%dZ],[%o,%n]
store i8*%y,i8**%b,align 8
%z=load atomic i32,i32*@sml_check_flag unordered,align 4
%A=icmp eq i32%z,0
br i1%A,label%D,label%B
B:
call void@sml_check(i32 inreg%z)
%C=load i8*,i8**%b,align 8
br label%D
D:
%E=phi i8*[%C,%B],[%y,%x]
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%b,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%J)
store i8*%K,i8**%d,align 8
%L=icmp eq i8*%K,null
br i1%L,label%g0,label%M
M:
%N=bitcast i8*%K to i32*
%O=load i32,i32*%N,align 4
switch i32%O,label%P[
i32 4,label%g0
i32 10,label%dA
i32 6,label%dg
i32 7,label%Q
]
P:
store i8*null,i8**%b,align 8
store i8*null,i8**%d,align 8
br label%hD
Q:
store i8*null,i8**%d,align 8
%R=getelementptr inbounds i8,i8*%K,i64 8
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%f,align 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
%W=call fastcc i8*@_SMLLN11TypesBasics7derefTyE_222(i8*inreg%V)
%X=icmp eq i8*%W,null
br i1%X,label%cD,label%Y
Y:
%Z=bitcast i8*%W to i32*
%aa=load i32,i32*%Z,align 4
switch i32%aa,label%ab[
i32 4,label%cD
i32 6,label%ai
]
ab:
store i8*null,i8**%b,align 8
store i8*null,i8**%f,align 8
%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=bitcast i8*%ac to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@aK,i64 0,i32 2)to i8*),i8**%ah,align 8
call void@sml_raise(i8*inreg%ac)#1
unreachable
ai:
store i8*null,i8**%b,align 8
%aj=getelementptr inbounds i8,i8*%W,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%d,align 8
%am=load i32,i32*@_SMLZN5Types13infiniteDepthE,align 4
%an=call fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_298(i32 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
%at=call fastcc i8*%aq(i8*inreg%as,i8*inreg null)
%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
%az=load i8*,i8**%f,align 8
%aA=getelementptr inbounds i8,i8*%az,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=call fastcc i8*%aw(i8*inreg%ay,i8*inreg%aC)
store i8*%aD,i8**%b,align 8
%aE=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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**%c,align 8
%aK=call i8*@sml_alloc(i32 inreg 12)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177288,i32*%aM,align 4
store i8*%aK,i8**%e,align 8
%aN=load i8*,i8**%b,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aK,i64 8
%aQ=bitcast i8*%aP to i32*
store i32 1,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 28)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177304,i32*%aT,align 4
%aU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aR,i64 8
%aX=bitcast i8*%aW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9argTyList_499 to void(...)*),void(...)**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 16
%aZ=bitcast i8*%aY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL9argTyList_499 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 24
%a1=bitcast i8*%a0 to i32*
store i32 -2147483647,i32*%a1,align 4
%a2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a3=call fastcc i8*%aH(i8*inreg%a2,i8*inreg%aR)
%a4=getelementptr inbounds i8,i8*%a3,i64 16
%a5=bitcast i8*%a4 to i8*(i8*,i8*)**
%a6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a5,align 8
%a7=bitcast i8*%a3 to i8**
%a8=load i8*,i8**%a7,align 8
%a9=bitcast i8**%d to i8***
%ba=load i8**,i8***%a9,align 8
%bb=load i8*,i8**%ba,align 8
%bc=call fastcc i8*%a6(i8*inreg%a8,i8*inreg%bb)
store i8*%bc,i8**%c,align 8
%bd=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 8
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
%bi=load i8*,i8**%b,align 8
%bj=call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%bd,i8*inreg%bi,i8*inreg%bh)
store i8*%bj,i8**%d,align 8
%bk=call fastcc i8*@_SMLFN14BoundTypeVarID3Map10listItemsiE(i32 inreg 1,i32 inreg 8)
%bl=getelementptr inbounds i8,i8*%bk,i64 16
%bm=bitcast i8*%bl to i8*(i8*,i8*)**
%bn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bm,align 8
%bo=bitcast i8*%bk to i8**
%bp=load i8*,i8**%bo,align 8
%bq=load i8*,i8**%b,align 8
%br=call fastcc i8*%bn(i8*inreg%bp,i8*inreg%bq)
store i8*%br,i8**%e,align 8
%bs=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bt=getelementptr inbounds i8,i8*%bs,i64 16
%bu=bitcast i8*%bt to i8*(i8*,i8*)**
%bv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bu,align 8
%bw=bitcast i8*%bs to i8**
%bx=load i8*,i8**%bw,align 8
%by=call fastcc i8*%bv(i8*inreg%bx,i8*inreg 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*))
%bz=getelementptr inbounds i8,i8*%by,i64 16
%bA=bitcast i8*%bz to i8*(i8*,i8*)**
%bB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bA,align 8
%bC=bitcast i8*%by to i8**
%bD=load i8*,i8**%bC,align 8
%bE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bF=call fastcc i8*%bB(i8*inreg%bD,i8*inreg%bE)
store i8*%bF,i8**%e,align 8
%bG=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bH=getelementptr inbounds i8,i8*%bG,i64 16
%bI=bitcast i8*%bH to i8*(i8*,i8*)**
%bJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bI,align 8
%bK=bitcast i8*%bG to i8**
%bL=load i8*,i8**%bK,align 8
store i8*%bL,i8**%g,align 8
%bM=call i8*@sml_alloc(i32 inreg 12)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32 1342177288,i32*%bO,align 4
store i8*%bM,i8**%h,align 8
%bP=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bQ=bitcast i8*%bM to i8**
store i8*%bP,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bM,i64 8
%bS=bitcast i8*%bR to i32*
store i32 1,i32*%bS,align 4
%bT=call i8*@sml_alloc(i32 inreg 28)#0
%bU=getelementptr inbounds i8,i8*%bT,i64 -4
%bV=bitcast i8*%bU to i32*
store i32 1342177304,i32*%bV,align 4
%bW=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bX=bitcast i8*%bT to i8**
store i8*%bW,i8**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bT,i64 8
%bZ=bitcast i8*%bY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11constraints_502 to void(...)*),void(...)**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bT,i64 16
%b1=bitcast i8*%b0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11constraints_502 to void(...)*),void(...)**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bT,i64 24
%b3=bitcast i8*%b2 to i32*
store i32 -2147483647,i32*%b3,align 4
%b4=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b5=call fastcc i8*%bJ(i8*inreg%b4,i8*inreg%bT)
%b6=getelementptr inbounds i8,i8*%b5,i64 16
%b7=bitcast i8*%b6 to i8*(i8*,i8*)**
%b8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b7,align 8
%b9=bitcast i8*%b5 to i8**
%ca=load i8*,i8**%b9,align 8
%cb=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cc=getelementptr inbounds i8,i8*%cb,i64 16
%cd=bitcast i8*%cc to i8**
%ce=load i8*,i8**%cd,align 8
%cf=call fastcc i8*%b8(i8*inreg%ca,i8*inreg%ce)
store i8*%cf,i8**%b,align 8
%cg=call i8*@sml_alloc(i32 inreg 12)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177288,i32*%ci,align 4
store i8*%cg,i8**%f,align 8
%cj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ck=bitcast i8*%cg to i8**
store i8*%cj,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cg,i64 8
%cm=bitcast i8*%cl to i32*
store i32 1,i32*%cm,align 4
%cn=call i8*@sml_alloc(i32 inreg 36)#0
%co=getelementptr inbounds i8,i8*%cn,i64 -4
%cp=bitcast i8*%co to i32*
store i32 1342177312,i32*%cp,align 4
%cq=load i8*,i8**%c,align 8
%cr=bitcast i8*%cn to i8**
store i8*%cq,i8**%cr,align 8
%cs=load i8*,i8**%d,align 8
%ct=getelementptr inbounds i8,i8*%cn,i64 8
%cu=bitcast i8*%ct to i8**
store i8*%cs,i8**%cu,align 8
%cv=load i8*,i8**%f,align 8
%cw=getelementptr inbounds i8,i8*%cn,i64 16
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=load i8*,i8**%b,align 8
%cz=getelementptr inbounds i8,i8*%cn,i64 24
%cA=bitcast i8*%cz to i8**
store i8*%cy,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%cn,i64 32
%cC=bitcast i8*%cB to i32*
store i32 15,i32*%cC,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%s)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
br label%hR
cD:
store i8*null,i8**%f,align 8
%cE=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cF=getelementptr inbounds i8,i8*%cE,i64 16
%cG=bitcast i8*%cF to i8*(i8*,i8*)**
%cH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cG,align 8
%cI=bitcast i8*%cE to i8**
%cJ=load i8*,i8**%cI,align 8
%cK=call fastcc i8*%cH(i8*inreg%cJ,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*))
%cL=getelementptr inbounds i8,i8*%cK,i64 16
%cM=bitcast i8*%cL to i8*(i8*,i8*)**
%cN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cM,align 8
%cO=bitcast i8*%cK to i8**
%cP=load i8*,i8**%cO,align 8
%cQ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cR=call fastcc i8*%cN(i8*inreg%cP,i8*inreg%cQ)
store i8*%cR,i8**%b,align 8
%cS=call i8*@sml_alloc(i32 inreg 36)#0
%cT=getelementptr inbounds i8,i8*%cS,i64 -4
%cU=bitcast i8*%cT to i32*
store i32 1342177312,i32*%cU,align 4
%cV=load i8*,i8**%b,align 8
%cW=bitcast i8*%cS to i8**
store i8*%cV,i8**%cW,align 8
%cX=getelementptr inbounds i8,i8*%cS,i64 8
%cY=getelementptr inbounds i8,i8*%cS,i64 32
%cZ=bitcast i8*%cY to i32*
call void@llvm.memset.p0i8.i64(i8*%cX,i8 0,i64 24,i1 false)
store i32 15,i32*%cZ,align 4
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%c0=call i8*@sml_alloc(i32 inreg 36)#0
%c1=getelementptr inbounds i8,i8*%c0,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32 1342177312,i32*%c2,align 4
%c3=load i8*,i8**%b,align 8
%c4=bitcast i8*%c0 to i8**
store i8*%c3,i8**%c4,align 8
%c5=load i8*,i8**%c,align 8
%c6=getelementptr inbounds i8,i8*%c0,i64 8
%c7=bitcast i8*%c6 to i8**
store i8*%c5,i8**%c7,align 8
%c8=load i8*,i8**%d,align 8
%c9=getelementptr inbounds i8,i8*%c0,i64 16
%da=bitcast i8*%c9 to i8**
store i8*%c8,i8**%da,align 8
%db=load i8*,i8**%e,align 8
%dc=getelementptr inbounds i8,i8*%c0,i64 24
%dd=bitcast i8*%dc to i8**
store i8*%db,i8**%dd,align 8
%de=getelementptr inbounds i8,i8*%c0,i64 32
%df=bitcast i8*%de to i32*
store i32 15,i32*%df,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%s)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
br label%hR
dg:
store i8*null,i8**%d,align 8
%dh=getelementptr inbounds i8,i8*%K,i64 8
%di=bitcast i8*%dh to i8**
%dj=load i8*,i8**%di,align 8
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%b,align 8
%dm=getelementptr inbounds i8,i8*%dj,i64 8
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%c,align 8
%dp=call i8*@sml_alloc(i32 inreg 36)#0
%dq=getelementptr inbounds i8,i8*%dp,i64 -4
%dr=bitcast i8*%dq to i32*
store i32 1342177312,i32*%dr,align 4
%ds=load i8*,i8**%b,align 8
%dt=bitcast i8*%dp to i8**
store i8*%ds,i8**%dt,align 8
%du=load i8*,i8**%c,align 8
%dv=getelementptr inbounds i8,i8*%dp,i64 8
%dw=bitcast i8*%dv to i8**
store i8*%du,i8**%dw,align 8
%dx=getelementptr inbounds i8,i8*%dp,i64 16
%dy=getelementptr inbounds i8,i8*%dp,i64 32
%dz=bitcast i8*%dy to i32*
call void@llvm.memset.p0i8.i64(i8*%dx,i8 0,i64 16,i1 false)
store i32 15,i32*%dz,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%s)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
br label%hR
dA:
%dB=getelementptr inbounds i8,i8*%K,i64 8
%dC=bitcast i8*%dB to i8***
%dD=load i8**,i8***%dC,align 8
%dE=load i8*,i8**%dD,align 8
%dF=bitcast i8*%dE to i32*
%dG=load i32,i32*%dF,align 4
switch i32%dG,label%dH[
i32 1,label%ed
i32 0,label%dZ
]
dH:
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%dI=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dI,i8**%b,align 8
%dJ=call i8*@sml_alloc(i32 inreg 20)#0
%dK=getelementptr inbounds i8,i8*%dJ,i64 -4
%dL=bitcast i8*%dK to i32*
store i32 1342177296,i32*%dL,align 4
store i8*%dJ,i8**%c,align 8
%dM=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dN=bitcast i8*%dJ to i8**
store i8*%dM,i8**%dN,align 8
%dO=getelementptr inbounds i8,i8*%dJ,i64 8
%dP=bitcast i8*%dO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@aG,i64 0,i32 2,i64 0),i8**%dP,align 8
%dQ=getelementptr inbounds i8,i8*%dJ,i64 16
%dR=bitcast i8*%dQ to i32*
store i32 3,i32*%dR,align 4
%dS=call i8*@sml_alloc(i32 inreg 60)#0
%dT=getelementptr inbounds i8,i8*%dS,i64 -4
%dU=bitcast i8*%dT to i32*
store i32 1342177336,i32*%dU,align 4
%dV=getelementptr inbounds i8,i8*%dS,i64 56
%dW=bitcast i8*%dV to i32*
store i32 1,i32*%dW,align 4
%dX=load i8*,i8**%c,align 8
%dY=bitcast i8*%dS to i8**
store i8*%dX,i8**%dY,align 8
call void@sml_raise(i8*inreg%dS)#1
unreachable
dZ:
store i8*null,i8**%d,align 8
%d0=getelementptr inbounds i8,i8*%dE,i64 8
%d1=bitcast i8*%d0 to i8**
%d2=load i8*,i8**%d1,align 8
store i8*%d2,i8**%c,align 8
%d3=call i8*@sml_alloc(i32 inreg 20)#0
%d4=getelementptr inbounds i8,i8*%d3,i64 -4
%d5=bitcast i8*%d4 to i32*
store i32 1342177296,i32*%d5,align 4
%d6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d7=bitcast i8*%d3 to i8**
store i8*%d6,i8**%d7,align 8
%d8=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%d9=getelementptr inbounds i8,i8*%d3,i64 8
%ea=bitcast i8*%d9 to i8**
store i8*%d8,i8**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d3,i64 16
%ec=bitcast i8*%eb to i32*
store i32 3,i32*%ec,align 4
br label%x
ed:
%ee=getelementptr inbounds i8,i8*%dE,i64 8
%ef=bitcast i8*%ee to i8**
%eg=load i8*,i8**%ef,align 8
store i8*%eg,i8**%e,align 8
%eh=getelementptr inbounds i8,i8*%eg,i64 8
%ei=bitcast i8*%eh to i8**
%ej=load i8*,i8**%ei,align 8
store i8*%ej,i8**%c,align 8
%ek=getelementptr inbounds i8,i8*%ej,i64 16
%el=bitcast i8*%ek to i8**
%em=load i8*,i8**%el,align 8
%en=icmp eq i8*%em,null
br i1%en,label%ey,label%eo
eo:
%ep=bitcast i8*%em to i32*
%eq=load i32,i32*%ep,align 4
%er=icmp eq i32%eq,3
br i1%er,label%ey,label%es
es:
store i8*null,i8**%b,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
%et=getelementptr inbounds i8,i8*%eg,i64 24
%eu=bitcast i8*%et to i8**
%ev=load i8*,i8**%eu,align 8
%ew=icmp eq i8*%ev,null
br i1%ew,label%ex,label%hK
ex:
store i8*null,i8**%e,align 8
br label%hD
ey:
%ez=getelementptr inbounds i8,i8*%eg,i64 24
%eA=bitcast i8*%ez to i8**
%eB=load i8*,i8**%eA,align 8
%eC=icmp eq i8*%eB,null
br i1%eC,label%eD,label%gZ
eD:
%eE=call fastcc i8*@_SMLFN5Types12isPropertiesE(i32 inreg 1)
%eF=getelementptr inbounds i8,i8*%eE,i64 16
%eG=bitcast i8*%eF to i8*(i8*,i8*)**
%eH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eG,align 8
%eI=bitcast i8*%eE to i8**
%eJ=load i8*,i8**%eI,align 8
%eK=load i8*,i8**%c,align 8
%eL=getelementptr inbounds i8,i8*%eK,i64 8
%eM=bitcast i8*%eL to i8**
%eN=load i8*,i8**%eM,align 8
%eO=call fastcc i8*%eH(i8*inreg%eJ,i8*inreg%eN)
%eP=bitcast i8*%eO to i32*
%eQ=load i32,i32*%eP,align 4
%eR=icmp eq i32%eQ,0
br i1%eR,label%eZ,label%eS
eS:
store i8*null,i8**%b,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%c,align 8
%eT=call i8*@sml_alloc(i32 inreg 60)#0
%eU=getelementptr inbounds i8,i8*%eT,i64 -4
%eV=bitcast i8*%eU to i32*
store i32 1342177336,i32*%eV,align 4
%eW=getelementptr inbounds i8,i8*%eT,i64 56
%eX=bitcast i8*%eW to i32*
store i32 1,i32*%eX,align 4
%eY=bitcast i8*%eT 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**%eY,align 8
call void@sml_raise(i8*inreg%eT)#1
unreachable
eZ:
%e0=call fastcc i8*@_SMLFN5Types12isPropertiesE(i32 inreg 3)
%e1=getelementptr inbounds i8,i8*%e0,i64 16
%e2=bitcast i8*%e1 to i8*(i8*,i8*)**
%e3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e2,align 8
%e4=bitcast i8*%e0 to i8**
%e5=load i8*,i8**%e4,align 8
%e6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e7=getelementptr inbounds i8,i8*%e6,i64 8
%e8=bitcast i8*%e7 to i8**
%e9=load i8*,i8**%e8,align 8
%fa=call fastcc i8*%e3(i8*inreg%e5,i8*inreg%e9)
%fb=bitcast i8*%fa to i32*
%fc=load i32,i32*%fb,align 4
%fd=icmp eq i32%fc,0
br i1%fd,label%fl,label%fe
fe:
store i8*null,i8**%b,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%ff=call i8*@sml_alloc(i32 inreg 60)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177336,i32*%fh,align 4
%fi=getelementptr inbounds i8,i8*%ff,i64 56
%fj=bitcast i8*%fi to i32*
store i32 1,i32*%fj,align 4
%fk=bitcast i8*%ff 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**%fk,align 8
call void@sml_raise(i8*inreg%ff)#1
unreachable
fl:
%fm=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fn=getelementptr inbounds i8,i8*%fm,i64 16
%fo=bitcast i8*%fn to i8*(i8*,i8*)**
%fp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fo,align 8
%fq=bitcast i8*%fm to i8**
%fr=load i8*,i8**%fq,align 8
%fs=call fastcc i8*%fp(i8*inreg%fr,i8*inreg 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*))
%ft=getelementptr inbounds i8,i8*%fs,i64 16
%fu=bitcast i8*%ft to i8*(i8*,i8*)**
%fv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fu,align 8
%fw=bitcast i8*%fs to i8**
%fx=load i8*,i8**%fw,align 8
%fy=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fz=call fastcc i8*%fv(i8*inreg%fx,i8*inreg%fy)
store i8*%fz,i8**%b,align 8
%fA=load i8*,i8**@_SMLZN5Types8univKindE,align 8
%fB=call fastcc i8*@_SMLFN5Types5newtyE(i8*inreg%fA)
store i8*%fB,i8**%c,align 8
%fC=call i8*@sml_alloc(i32 inreg 20)#0
%fD=getelementptr inbounds i8,i8*%fC,i64 -4
%fE=bitcast i8*%fD to i32*
store i32 1342177296,i32*%fE,align 4
store i8*%fC,i8**%f,align 8
%fF=load i8*,i8**%b,align 8
%fG=bitcast i8*%fC to i8**
store i8*%fF,i8**%fG,align 8
%fH=load i8*,i8**%c,align 8
%fI=getelementptr inbounds i8,i8*%fC,i64 8
%fJ=bitcast i8*%fI to i8**
store i8*%fH,i8**%fJ,align 8
%fK=getelementptr inbounds i8,i8*%fC,i64 16
%fL=bitcast i8*%fK to i32*
store i32 3,i32*%fL,align 4
%fM=call i8*@sml_alloc(i32 inreg 20)#0
%fN=getelementptr inbounds i8,i8*%fM,i64 -4
%fO=bitcast i8*%fN to i32*
store i32 1342177296,i32*%fO,align 4
store i8*%fM,i8**%g,align 8
%fP=getelementptr inbounds i8,i8*%fM,i64 4
%fQ=bitcast i8*%fP to i32*
store i32 0,i32*%fQ,align 1
%fR=bitcast i8*%fM to i32*
store i32 6,i32*%fR,align 4
%fS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fT=getelementptr inbounds i8,i8*%fM,i64 8
%fU=bitcast i8*%fT to i8**
store i8*%fS,i8**%fU,align 8
%fV=getelementptr inbounds i8,i8*%fM,i64 16
%fW=bitcast i8*%fV to i32*
store i32 2,i32*%fW,align 4
%fX=call i8*@sml_alloc(i32 inreg 4)#0
%fY=bitcast i8*%fX to i32*
%fZ=getelementptr inbounds i8,i8*%fX,i64 -4
%f0=bitcast i8*%fZ to i32*
store i32 536870916,i32*%f0,align 4
store i32 0,i32*%fY,align 4
%f1=call fastcc i8*@_SMLFN11TypesBasics15adjustDepthInTyE(i8*inreg%fX)
%f2=getelementptr inbounds i8,i8*%f1,i64 16
%f3=bitcast i8*%f2 to i8*(i8*,i8*)**
%f4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f3,align 8
%f5=bitcast i8*%f1 to i8**
%f6=load i8*,i8**%f5,align 8
store i8*%f6,i8**%f,align 8
%f7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%f8=getelementptr inbounds i8,i8*%f7,i64 16
%f9=bitcast i8*%f8 to i32*
%ga=load i32,i32*%f9,align 4
%gb=call i8*@sml_alloc(i32 inreg 4)#0
%gc=bitcast i8*%gb to i32*
%gd=getelementptr inbounds i8,i8*%gb,i64 -4
%ge=bitcast i8*%gd to i32*
store i32 4,i32*%ge,align 4
store i32%ga,i32*%gc,align 4
%gf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gg=call fastcc i8*%f4(i8*inreg%gf,i8*inreg%gb)
%gh=getelementptr inbounds i8,i8*%gg,i64 16
%gi=bitcast i8*%gh to i8*(i8*,i8*)**
%gj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gi,align 8
%gk=bitcast i8*%gg to i8**
%gl=load i8*,i8**%gk,align 8
%gm=load i8*,i8**%g,align 8
%gn=call fastcc i8*%gj(i8*inreg%gl,i8*inreg%gm)
%go=call i8*@sml_alloc(i32 inreg 20)#0
%gp=getelementptr inbounds i8,i8*%go,i64 -4
%gq=bitcast i8*%gp to i32*
store i32 1342177296,i32*%gq,align 4
%gr=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gs=bitcast i8*%go to i8**
store i8*%gr,i8**%gs,align 8
%gt=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gu=getelementptr inbounds i8,i8*%go,i64 8
%gv=bitcast i8*%gu to i8**
store i8*%gt,i8**%gv,align 8
%gw=getelementptr inbounds i8,i8*%go,i64 16
%gx=bitcast i8*%gw to i32*
store i32 3,i32*%gx,align 4
call fastcc void@_SMLFN11TypesBasics12performSubstE(i8*inreg%go)
%gy=call i8*@sml_alloc(i32 inreg 36)#0
%gz=getelementptr inbounds i8,i8*%gy,i64 -4
%gA=bitcast i8*%gz to i32*
store i32 1342177312,i32*%gA,align 4
%gB=load i8*,i8**%b,align 8
%gC=bitcast i8*%gy to i8**
store i8*%gB,i8**%gC,align 8
%gD=load i8*,i8**%c,align 8
%gE=getelementptr inbounds i8,i8*%gy,i64 8
%gF=bitcast i8*%gE to i8**
store i8*%gD,i8**%gF,align 8
%gG=getelementptr inbounds i8,i8*%gy,i64 16
%gH=getelementptr inbounds i8,i8*%gy,i64 32
%gI=bitcast i8*%gH to i32*
call void@llvm.memset.p0i8.i64(i8*%gG,i8 0,i64 16,i1 false)
store i32 15,i32*%gI,align 4
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%gJ=call i8*@sml_alloc(i32 inreg 36)#0
%gK=getelementptr inbounds i8,i8*%gJ,i64 -4
%gL=bitcast i8*%gK to i32*
store i32 1342177312,i32*%gL,align 4
%gM=load i8*,i8**%b,align 8
%gN=bitcast i8*%gJ to i8**
store i8*%gM,i8**%gN,align 8
%gO=load i8*,i8**%c,align 8
%gP=getelementptr inbounds i8,i8*%gJ,i64 8
%gQ=bitcast i8*%gP to i8**
store i8*%gO,i8**%gQ,align 8
%gR=load i8*,i8**%d,align 8
%gS=getelementptr inbounds i8,i8*%gJ,i64 16
%gT=bitcast i8*%gS to i8**
store i8*%gR,i8**%gT,align 8
%gU=load i8*,i8**%e,align 8
%gV=getelementptr inbounds i8,i8*%gJ,i64 24
%gW=bitcast i8*%gV to i8**
store i8*%gU,i8**%gW,align 8
%gX=getelementptr inbounds i8,i8*%gJ,i64 32
%gY=bitcast i8*%gX to i32*
store i32 15,i32*%gY,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%s)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
br label%hR
gZ:
store i8*null,i8**%b,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%c,align 8
br label%hK
g0:
store i8*null,i8**%d,align 8
%g1=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%g2=getelementptr inbounds i8,i8*%g1,i64 16
%g3=bitcast i8*%g2 to i8*(i8*,i8*)**
%g4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g3,align 8
%g5=bitcast i8*%g1 to i8**
%g6=load i8*,i8**%g5,align 8
%g7=call fastcc i8*%g4(i8*inreg%g6,i8*inreg 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*))
%g8=getelementptr inbounds i8,i8*%g7,i64 16
%g9=bitcast i8*%g8 to i8*(i8*,i8*)**
%ha=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g9,align 8
%hb=bitcast i8*%g7 to i8**
%hc=load i8*,i8**%hb,align 8
%hd=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%he=call fastcc i8*%ha(i8*inreg%hc,i8*inreg%hd)
store i8*%he,i8**%b,align 8
%hf=call i8*@sml_alloc(i32 inreg 36)#0
%hg=getelementptr inbounds i8,i8*%hf,i64 -4
%hh=bitcast i8*%hg to i32*
store i32 1342177312,i32*%hh,align 4
%hi=load i8*,i8**%b,align 8
%hj=bitcast i8*%hf to i8**
store i8*%hi,i8**%hj,align 8
%hk=getelementptr inbounds i8,i8*%hf,i64 8
%hl=getelementptr inbounds i8,i8*%hf,i64 32
%hm=bitcast i8*%hl to i32*
call void@llvm.memset.p0i8.i64(i8*%hk,i8 0,i64 24,i1 false)
store i32 15,i32*%hm,align 4
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%hn=call i8*@sml_alloc(i32 inreg 36)#0
%ho=getelementptr inbounds i8,i8*%hn,i64 -4
%hp=bitcast i8*%ho to i32*
store i32 1342177312,i32*%hp,align 4
%hq=load i8*,i8**%b,align 8
%hr=bitcast i8*%hn to i8**
store i8*%hq,i8**%hr,align 8
%hs=load i8*,i8**%c,align 8
%ht=getelementptr inbounds i8,i8*%hn,i64 8
%hu=bitcast i8*%ht to i8**
store i8*%hs,i8**%hu,align 8
%hv=load i8*,i8**%d,align 8
%hw=getelementptr inbounds i8,i8*%hn,i64 16
%hx=bitcast i8*%hw to i8**
store i8*%hv,i8**%hx,align 8
%hy=load i8*,i8**%e,align 8
%hz=getelementptr inbounds i8,i8*%hn,i64 24
%hA=bitcast i8*%hz to i8**
store i8*%hy,i8**%hA,align 8
%hB=getelementptr inbounds i8,i8*%hn,i64 32
%hC=bitcast i8*%hB to i32*
store i32 15,i32*%hC,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%r)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%s)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%u)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%w)
br label%hR
hD:
%hE=call i8*@sml_alloc(i32 inreg 60)#0
%hF=getelementptr inbounds i8,i8*%hE,i64 -4
%hG=bitcast i8*%hF to i32*
store i32 1342177336,i32*%hG,align 4
%hH=getelementptr inbounds i8,i8*%hE,i64 56
%hI=bitcast i8*%hH to i32*
store i32 1,i32*%hI,align 4
%hJ=bitcast i8*%hE to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@az,i64 0,i32 2)to i8*),i8**%hJ,align 8
call void@sml_raise(i8*inreg%hE)#1
unreachable
hK:
store i8*null,i8**%e,align 8
%hL=call i8*@sml_alloc(i32 inreg 60)#0
%hM=getelementptr inbounds i8,i8*%hL,i64 -4
%hN=bitcast i8*%hM to i32*
store i32 1342177336,i32*%hN,align 4
%hO=getelementptr inbounds i8,i8*%hL,i64 56
%hP=bitcast i8*%hO to i32*
store i32 1,i32*%hP,align 4
%hQ=bitcast i8*%hL to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ax,i64 0,i32 2)to i8*),i8**%hQ,align 8
call void@sml_raise(i8*inreg%hL)#1
unreachable
hR:
%hS=phi i8*[%cn,%ai],[%c0,%cD],[%dp,%dg],[%gJ,%fl],[%hn,%g0]
ret i8*%hS
}
define fastcc i8*@_SMLFN11TypesBasics7tpappTyE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
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**%f,i8*null)#0
store i8*%a,i8**%f,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**%f,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%n)
%o=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%o)
%p=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%p)
%q=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%q)
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
br label%r
r:
%s=phi i8*[%ar,%ak],[%l,%k]
store i8*%s,i8**%b,align 8
%t=load atomic i32,i32*@sml_check_flag unordered,align 4
%u=icmp eq i32%t,0
br i1%u,label%x,label%v
v:
call void@sml_check(i32 inreg%t)
%w=load i8*,i8**%b,align 8
br label%x
x:
%y=phi i8*[%w,%v],[%s,%r]
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=icmp eq i8*%A,null
br i1%B,label%F,label%C
C:
%D=bitcast i8*%A to i32*
%E=load i32,i32*%D,align 4
switch i32%E,label%F[
i32 10,label%X
i32 7,label%K
]
F:
%G=getelementptr inbounds i8,i8*%y,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=icmp eq i8*%I,null
br i1%J,label%b3,label%aB
K:
%L=getelementptr inbounds i8,i8*%A,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=getelementptr inbounds i8,i8*%y,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%Q,i8**%b,align 8
store i8*%S,i8**%c,align 8
store i8*%V,i8**%d,align 8
%W=invoke fastcc i8*@_SMLFN8ListPair7foldrEqE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%b4 unwind label%cN
X:
%Y=getelementptr inbounds i8,i8*%A,i64 8
%Z=bitcast i8*%Y to i8***
%aa=load i8**,i8***%Z,align 8
%ab=load i8*,i8**%aa,align 8
%ac=bitcast i8*%ab to i32*
%ad=load i32,i32*%ac,align 4
%ae=icmp eq i32%ad,0
br i1%ae,label%ak,label%af
af:
%ag=getelementptr inbounds i8,i8*%y,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
%aj=icmp eq i8*%ai,null
br i1%aj,label%b3,label%aB
ak:
%al=getelementptr inbounds i8,i8*%ab,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=getelementptr inbounds i8,i8*%y,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%an,i8**%b,align 8
store i8*%aq,i8**%c,align 8
%ar=call i8*@sml_alloc(i32 inreg 20)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177296,i32*%at,align 4
%au=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ar,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
br label%r
aB:
%aC=phi i8*[%I,%F],[%ai,%af]
store i8*%aC,i8**%b,align 8
%aD=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aD,i8**%d,align 8
%aE=call fastcc i8*@_SMLFN5Types9format__tyE(i8*inreg%A)
%aF=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%aE)
store i8*%aF,i8**%c,align 8
%aG=call i8*@sml_alloc(i32 inreg 20)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177296,i32*%aI,align 4
%aJ=bitcast i8*%aG to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@aR,i64 0,i32 2,i64 0),i8**%aJ,align 8
%aK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aL=getelementptr inbounds i8,i8*%aG,i64 8
%aM=bitcast i8*%aL to i8**
store i8*%aK,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 16
%aO=bitcast i8*%aN to i32*
store i32 3,i32*%aO,align 4
%aP=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aG)
store i8*%aP,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
%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=getelementptr inbounds i8,i8*%aQ,i64 8
%aW=bitcast i8*%aV to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@aS,i64 0,i32 2,i64 0),i8**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aQ,i64 16
%aY=bitcast i8*%aX to i32*
store i32 3,i32*%aY,align 4
%aZ=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aQ)
store i8*%aZ,i8**%c,align 8
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%a0,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aT,i64 0,i32 2,i64 0),i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a0,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
%a9=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%a0)
store i8*%a9,i8**%c,align 8
%ba=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bb=getelementptr inbounds i8,i8*%ba,i64 16
%bc=bitcast i8*%bb to i8*(i8*,i8*)**
%bd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bc,align 8
%be=bitcast i8*%ba to i8**
%bf=load i8*,i8**%be,align 8
%bg=call fastcc i8*%bd(i8*inreg%bf,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aU,i64 0,i32 2)to i8*))
%bh=getelementptr inbounds i8,i8*%bg,i64 16
%bi=bitcast i8*%bh to i8*(i8*,i8*)**
%bj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bi,align 8
%bk=bitcast i8*%bg to i8**
%bl=load i8*,i8**%bk,align 8
%bm=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bn=call fastcc i8*%bj(i8*inreg%bl,i8*inreg%bm)
%bo=call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%bn)
store i8*%bo,i8**%b,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**%c,align 8
store i8*null,i8**%c,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=load i8*,i8**%b,align 8
store i8*null,i8**%b,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*@_SMLFN6String1_ZE(i8*inreg%bp)
store i8*%bz,i8**%b,align 8
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=getelementptr inbounds i8,i8*%bA,i64 -4
%bC=bitcast i8*%bB to i32*
store i32 1342177296,i32*%bC,align 4
%bD=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bE=bitcast i8*%bA to i8**
store i8*%bD,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bA,i64 8
%bG=bitcast i8*%bF to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aV,i64 0,i32 2,i64 0),i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 16
%bI=bitcast i8*%bH to i32*
store i32 3,i32*%bI,align 4
%bJ=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%bA)
store i8*%bJ,i8**%b,align 8
%bK=call i8*@sml_alloc(i32 inreg 28)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177304,i32*%bM,align 4
store i8*%bK,i8**%c,align 8
%bN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bK,i64 8
%bQ=bitcast i8*%bP to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[58x i8]}>,<{[4x i8],i32,[58x i8]}>*@aQ,i64 0,i32 2,i64 0),i8**%bQ,align 8
%bR=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bS=getelementptr inbounds i8,i8*%bK,i64 16
%bT=bitcast i8*%bS to i8**
store i8*%bR,i8**%bT,align 8
%bU=getelementptr inbounds i8,i8*%bK,i64 24
%bV=bitcast i8*%bU to i32*
store i32 7,i32*%bV,align 4
%bW=call i8*@sml_alloc(i32 inreg 60)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177336,i32*%bY,align 4
%bZ=getelementptr inbounds i8,i8*%bW,i64 56
%b0=bitcast i8*%bZ to i32*
store i32 1,i32*%b0,align 4
%b1=load i8*,i8**%c,align 8
%b2=bitcast i8*%bW to i8**
store i8*%b1,i8**%b2,align 8
call void@sml_raise(i8*inreg%bW)#1
unreachable
b3:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
br label%ds
b4:
%b5=getelementptr inbounds i8,i8*%W,i64 16
%b6=bitcast i8*%b5 to i8*(i8*,i8*)**
%b7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b6,align 8
%b8=bitcast i8*%W to i8**
%b9=load i8*,i8**%b8,align 8
%ca=invoke fastcc i8*%b7(i8*inreg%b9,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aN,i64 0,i32 2)to i8*))
to label%cb unwind label%cN
cb:
%cc=getelementptr inbounds i8,i8*%ca,i64 16
%cd=bitcast i8*%cc to i8*(i8*,i8*)**
%ce=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cd,align 8
%cf=bitcast i8*%ca to i8**
%cg=load i8*,i8**%cf,align 8
store i8*%cg,i8**%e,align 8
%ch=invoke fastcc i8*@_SMLFN14BoundTypeVarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
to label%ci unwind label%cN
ci:
%cj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ck=invoke fastcc i8*%ce(i8*inreg%cj,i8*inreg%ch)
to label%cl unwind label%cN
cl:
%cm=getelementptr inbounds i8,i8*%ck,i64 16
%cn=bitcast i8*%cm to i8*(i8*,i8*)**
%co=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cn,align 8
%cp=bitcast i8*%ck to i8**
%cq=load i8*,i8**%cp,align 8
store i8*%cq,i8**%e,align 8
%cr=invoke fastcc i8*@_SMLFN14BoundTypeVarID3Map10listItemsiE(i32 inreg 1,i32 inreg 8)
to label%cs unwind label%cN
cs:
%ct=getelementptr inbounds i8,i8*%cr,i64 16
%cu=bitcast i8*%ct to i8*(i8*,i8*)**
%cv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cu,align 8
%cw=bitcast i8*%cr to i8**
%cx=load i8*,i8**%cw,align 8
%cy=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cz=invoke fastcc i8*%cv(i8*inreg%cx,i8*inreg%cy)
to label%cA unwind label%cN
cA:
store i8*%cz,i8**%b,align 8
%cB=call i8*@sml_alloc(i32 inreg 20)#0
%cC=getelementptr inbounds i8,i8*%cB,i64 -4
%cD=bitcast i8*%cC to i32*
store i32 1342177296,i32*%cD,align 4
%cE=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cF=bitcast i8*%cB to i8**
store i8*%cE,i8**%cF,align 8
%cG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cH=getelementptr inbounds i8,i8*%cB,i64 8
%cI=bitcast i8*%cH to i8**
store i8*%cG,i8**%cI,align 8
%cJ=getelementptr inbounds i8,i8*%cB,i64 16
%cK=bitcast i8*%cJ to i32*
store i32 3,i32*%cK,align 4
%cL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cM=invoke fastcc i8*%co(i8*inreg%cL,i8*inreg%cB)
to label%do unwind label%cN
cN:
%cO=landingpad{i8*,i8*}
catch i8*null
%cP=extractvalue{i8*,i8*}%cO,1
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*%cR,i8**%b,align 8
%cS=bitcast i8*%cR to i8**
%cT=load i8*,i8**%cS,align 8
%cU=load i8*,i8**@_SMLZN8ListPair14UnequalLengthsE,align 8
%cV=icmp eq i8*%cT,%cU
br i1%cV,label%cW,label%dg
cW:
%cX=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%cX,i8**%b,align 8
%cY=call i8*@sml_alloc(i32 inreg 28)#0
%cZ=getelementptr inbounds i8,i8*%cY,i64 -4
%c0=bitcast i8*%cZ to i32*
store i32 1342177304,i32*%c0,align 4
store i8*%cY,i8**%c,align 8
%c1=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%c2=bitcast i8*%cY to i8**
store i8*%c1,i8**%c2,align 8
%c3=getelementptr inbounds i8,i8*%cY,i64 8
%c4=bitcast i8*%c3 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[59x i8]}>,<{[4x i8],i32,[59x i8]}>*@aO,i64 0,i32 2,i64 0),i8**%c4,align 8
%c5=getelementptr inbounds i8,i8*%cY,i64 16
%c6=bitcast i8*%c5 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[24x i8]}>,<{[4x i8],i32,[24x i8]}>*@aP,i64 0,i32 2,i64 0),i8**%c6,align 8
%c7=getelementptr inbounds i8,i8*%cY,i64 24
%c8=bitcast i8*%c7 to i32*
store i32 7,i32*%c8,align 4
%c9=call i8*@sml_alloc(i32 inreg 60)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177336,i32*%db,align 4
%dc=getelementptr inbounds i8,i8*%c9,i64 56
%dd=bitcast i8*%dc to i32*
store i32 1,i32*%dd,align 4
%de=load i8*,i8**%c,align 8
%df=bitcast i8*%c9 to i8**
store i8*%de,i8**%df,align 8
call void@sml_raise(i8*inreg%c9)#1
unreachable
dg:
%dh=call i8*@sml_alloc(i32 inreg 60)#0
%di=getelementptr inbounds i8,i8*%dh,i64 -4
%dj=bitcast i8*%di to i32*
store i32 1342177336,i32*%dj,align 4
%dk=getelementptr inbounds i8,i8*%dh,i64 56
%dl=bitcast i8*%dk to i32*
store i32 1,i32*%dl,align 4
%dm=load i8*,i8**%b,align 8
%dn=bitcast i8*%dh to i8**
store i8*%dm,i8**%dn,align 8
call void@sml_raise(i8*inreg%dh)#1
unreachable
do:
%dp=load i8*,i8**@_SMLZN13FreeTypeVarID3Set5emptyE,align 8
%dq=load i8*,i8**%c,align 8
%dr=tail call fastcc i8*@_SMLLN11TypesBasics10substBTvarE_224(i8*inreg%dp,i8*inreg%cM,i8*inreg%dq)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%n)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%o)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%q)
br label%ds
ds:
%dt=phi i8*[%A,%b3],[%dr,%do]
ret i8*%dt
}
define fastcc i8*@_SMLFN11TypesBasics7tupleTyE(i8*inreg%a)#2 gc"smlsharp"{
%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%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN11RecordLabel8tupleMapE(i32 inreg 1,i32 inreg 8)
%h=getelementptr inbounds i8,i8*%g,i64 16
%i=bitcast i8*%h to i8*(i8*,i8*)**
%j=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i,align 8
%k=bitcast i8*%g to i8**
%l=load i8*,i8**%k,align 8
%m=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%n=call fastcc i8*%j(i8*inreg%l,i8*inreg%m)
store i8*%n,i8**%b,align 8
%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 8,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
}
define internal fastcc i8*@_SMLLN11TypesBasics14makeFreshSubstE_579(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN11TypesBasics14makeFreshSubstE_294(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*@_SMLLN11TypesBasics15freshRigidSubstE_581(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics15freshRigidSubstE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics30freshRigidSubstWithLambdaDepthE_582(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLFN11TypesBasics30freshRigidSubstWithLambdaDepthE(i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLL5visit_583(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL5visit_314(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*@_SMLL5visit_584(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL5visit_309(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*@_SMLLN11TypesBasics6monoTyE_585(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN11TypesBasics6monoTyE(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*@_SMLL11addedUtvars_590(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL11addedUtvars_333(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics16freshRigidInstTyE_591(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics16freshRigidInstTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics24freshTopLevelRigidInstTyE_592(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics24freshTopLevelRigidInstTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_593(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_387(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_594(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_389(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_595(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_391(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_596(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics10traverseTyE_393(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10traverseTyE_597(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 i32@_SMLLN11TypesBasics10traverseTyE_395(i8*inreg%a,i32 inreg%d)
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN11TypesBasics12traverseKindE_598(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics12traverseKindE_399(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics12traverseKindE_599(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics12traverseKindE_401(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics12traverseKindE_600(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics12traverseKindE_403(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_601(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_406(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_602(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_408(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_603(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics21traverseOverloadMatchE_410(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics4EFTVE_611(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics4EFTVE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics5EFBTVE_613(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics5EFBTVE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics15adjustDepthInTyE_614(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN11TypesBasics15adjustDepthInTyE_427(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*@_SMLLN11TypesBasics15adjustDepthInTyE_615(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN11TypesBasics15adjustDepthInTyE_428(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*@_SMLLN11TypesBasics15adjustDepthInTyE_616(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN11TypesBasics15adjustDepthInTyE_429(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN11TypesBasics15adjustDepthInTyE_617(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics15adjustDepthInTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_618(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN11TypesBasics21adjustDepthInTvarKindE_433(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*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_619(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_434(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN11TypesBasics21adjustDepthInTvarKindE_620(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics21adjustDepthInTvarKindE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL6isFree_621(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL6isFree_441(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*@_SMLL11newIndexMap_622(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL11newIndexMap_442(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*@_SMLL9toBeBound_623(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL9toBeBound_443(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*@_SMLL4btvs_624(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL4btvs_446(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics11generalizerE_625(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics11generalizerE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics12performSubstE_626(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLFN11TypesBasics12performSubstE(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*@_SMLL8newSubst_627(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL8newSubst_454(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics12copyBoundEnvE_628(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics12copyBoundEnvE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10coerceFunME_629(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*null
}
define internal fastcc i8*@_SMLL6tyList_630(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL6tyList_494(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10coerceFunME_631(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*null
}
define internal fastcc i8*@_SMLL10instTyList_632(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLL5subst_634(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5subst_505(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics11tpappPrimTyE_635(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics11tpappPrimTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL5subst_636(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL5subst_523(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics7tpappTyE_637(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN11TypesBasics7tpappTyE_531(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics14tyConFromConTyE_639(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics14tyConFromConTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics7derefTyE_640(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics7derefTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10substBTvarE_641(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics10freshSubstE_642(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics10freshSubstE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics25freshSubstWithLambdaDepthE_643(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLFN11TypesBasics25freshSubstWithLambdaDepthE(i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN11TypesBasics10coerceFunME_644(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics10coerceFunME(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics7tpappTyE_645(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics7tpappTyE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN11TypesBasics7tupleTyE_646(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN11TypesBasics7tupleTyE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
declare void@llvm.memset.p0i8.i64(i8*,i8,i64,i1)#0
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}
