@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_191 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_255 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*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_193 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_256 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*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_195 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_257 to void(...)*),i32 -2147483647}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_197 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_258 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_199 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_259 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_201 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_260 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_203 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_261 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_205 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_262 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_207 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_263 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_209 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer11optimizeExpE_264 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[82x i8]}><{[4x i8]zeroinitializer,i32 -2147483566,[82x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:26.6(798)\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[84x i8]}><{[4x i8]zeroinitializer,i32 -2147483564,[84x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:144.6(4812)\00"}>,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*)*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_213 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_265 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*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_215 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_266 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(i32(i8*)*@_SMLL11boundIDList_217 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11boundIDList_267 to void(...)*),i32 -2147483647}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL1g_219 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_268 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,[85x i8]}><{[4x i8]zeroinitializer,i32 -2147483563,[85x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:247.50(8680)\00"}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[85x i8]}><{[4x i8]zeroinitializer,i32 -2147483563,[85x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:225.42(7880)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[85x i8]}><{[4x i8]zeroinitializer,i32 -2147483563,[85x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:220.32(7643)\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[84x i8]}><{[4x i8]zeroinitializer,i32 -2147483564,[84x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:258.7(9092)\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"invalid declaration\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL11boundIDList_233 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL11boundIDList_269 to void(...)*),i32 -2147483647}>,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*)*@_SMLL1g_235 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_270 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[86x i8]}><{[4x i8]zeroinitializer,i32 -2147483562,[86x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:339.22(11691)\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[86x i8]}><{[4x i8]zeroinitializer,i32 -2147483562,[86x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:313.21(10882)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[8x i8]}><{[4x i8]zeroinitializer,i32 -2147483640,[8x i8]c"val rec\00"}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,[86x i8]}><{[4x i8]zeroinitializer,i32 -2147483562,[86x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:308.18(10729)\00"}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"recval\00"}>,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*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_248 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_271 to void(...)*),i32 -2147483647}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[84x i8]}><{[4x i8]zeroinitializer,i32 -2147483564,[84x i8]c"src/compiler/compilePhases/valrecoptimization/main/VALREC_Optimizer.sml:153.6(5068)\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16VALREC__Optimizer12optimizeRuleE_251 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer12optimizeRuleE_272 to void(...)*),i32 -2147483647}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN16VALREC__Optimizer8optimizeE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer8optimizeE_278 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN16VALREC__Optimizer8optimizeE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@F,i64 0,i32 2)to i8*)
@_SML_ftabedb0888d9d67c86e_VALREC_Optimizer=external global i8
@G=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 void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN12VALREC__Utils15getFreeIdsInExpE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12VALREC__Utils16getFreeIdsInRuleE(i8*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*@_SMLFN4List3revE(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*@_SMLFN4List5foldrE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List6concatE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Graph11getNodeInfoE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Graph3sccE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Graph5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Graph7addEdgeE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Graph7addNodeE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Graph9listNodesE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN5VarID3Set6memberE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()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_main38a00530c8d1f034_Graph()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main332928ec0abe54e3_VALREC_Utils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(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_load38a00530c8d1f034_Graph(i8*)local_unnamed_addr
declare void@_SML_load332928ec0abe54e3_VALREC_Utils(i8*)local_unnamed_addr
define private void@_SML_tabbedb0888d9d67c86e_VALREC_Optimizer()#3{
unreachable
}
define void@_SML_loadedb0888d9d67c86e_VALREC_Optimizer(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@G,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@G,align 1
tail call void@_SML_load03d87556ec7f64b2_List(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_load38a00530c8d1f034_Graph(i8*%a)#0
tail call void@_SML_load332928ec0abe54e3_VALREC_Utils(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbedb0888d9d67c86e_VALREC_Optimizer,i8*@_SML_ftabedb0888d9d67c86e_VALREC_Optimizer,i8*null)#0
ret void
}
define void@_SML_mainedb0888d9d67c86e_VALREC_Optimizer()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@G,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*@G,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main7374574ddb619c6a_LocalID()#2
tail call void@_SML_main38a00530c8d1f034_Graph()#2
tail call void@_SML_main332928ec0abe54e3_VALREC_Utils()#2
br label%d
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_191(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*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_193(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*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_195(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_197(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_199(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_201(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*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_203(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_205(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=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%j,i64 16
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%d,align 8
%q=getelementptr inbounds i8,i8*%j,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%s)
store i8*%t,i8**%b,align 8
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%c,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=load i8*,i8**%b,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=load i8*,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%u,i64 16
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%u,i64 24
%G=bitcast i8*%F to i32*
store i32 7,i32*%G,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_207(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_209(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*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_213(i8*inreg%a)#2 gc"smlsharp"{
o:
%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
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%h,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%h,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
%p=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%p)
%q=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%q)
%r=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%r)
%s=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%s)
%t=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t)
%u=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%u)
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
store i8*%n,i8**%b,align 8
%v=load atomic i32,i32*@sml_check_flag unordered,align 4
%w=icmp eq i32%v,0
br i1%w,label%z,label%x
x:
call void@sml_check(i32 inreg%v)
%y=load i8*,i8**%b,align 8
br label%z
z:
%A=phi i8*[%y,%x],[%n,%m]
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
switch i32%C,label%D[
i32 13,label%kL
i32 17,label%jL
i32 16,label%iE
i32 1,label%fW
i32 10,label%fC
i32 15,label%cS
i32 14,label%bR
i32 2,label%bH
i32 3,label%bx
i32 7,label%bn
i32 6,label%bd
i32 5,label%a3
i32 4,label%aT
i32 9,label%aJ
i32 8,label%az
i32 0,label%ap
i32 11,label%af
i32 12,label%V
]
D:
call void@sml_matchcomp_bug()
%E=load i8*,i8**@_SMLZ5Match,align 8
store i8*%E,i8**%b,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
store i8*%F,i8**%c,align 8
%I=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=getelementptr inbounds i8,i8*%F,i64 8
%L=bitcast i8*%K to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[84x i8]}>,<{[4x i8],i32,[84x i8]}>*@D,i64 0,i32 2,i64 0),i8**%L,align 8
%M=getelementptr inbounds i8,i8*%F,i64 16
%N=bitcast i8*%M to i32*
store i32 3,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 60)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177336,i32*%Q,align 4
%R=getelementptr inbounds i8,i8*%O,i64 56
%S=bitcast i8*%R to i32*
store i32 1,i32*%S,align 4
%T=load i8*,i8**%c,align 8
%U=bitcast i8*%O to i8**
store i8*%T,i8**%U,align 8
call void@sml_raise(i8*inreg%O)#1
unreachable
V:
%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
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%W,i64 8
%ac=bitcast i8*%ab to i8**
store i8*null,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%W,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
af:
%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=load i8*,i8**%b,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i8**
store i8*null,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
ap:
%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**%b,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*null,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
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
az:
%aA=call i8*@sml_alloc(i32 inreg 20)#0
%aB=getelementptr inbounds i8,i8*%aA,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 1342177296,i32*%aC,align 4
%aD=load i8*,i8**%b,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 i8**
store i8*null,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aA,i64 16
%aI=bitcast i8*%aH to i32*
store i32 3,i32*%aI,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
aJ:
%aK=call i8*@sml_alloc(i32 inreg 20)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177296,i32*%aM,align 4
%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 i8**
store i8*null,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 16
%aS=bitcast i8*%aR to i32*
store i32 3,i32*%aS,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
aT:
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
%aX=load i8*,i8**%b,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aU,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*null,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 16
%a2=bitcast i8*%a1 to i32*
store i32 3,i32*%a2,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
a3:
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
%a7=load i8*,i8**%b,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a4,i64 8
%ba=bitcast i8*%a9 to i8**
store i8*null,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a4,i64 16
%bc=bitcast i8*%bb to i32*
store i32 3,i32*%bc,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
bd:
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
%bh=load i8*,i8**%b,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%be,i64 8
%bk=bitcast i8*%bj to i8**
store i8*null,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 16
%bm=bitcast i8*%bl to i32*
store i32 3,i32*%bm,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
bn:
%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
%br=load i8*,i8**%b,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=getelementptr inbounds i8,i8*%bo,i64 8
%bu=bitcast i8*%bt to i8**
store i8*null,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bo,i64 16
%bw=bitcast i8*%bv to i32*
store i32 3,i32*%bw,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
bx:
%by=call i8*@sml_alloc(i32 inreg 20)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
%bB=load i8*,i8**%b,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 i8**
store i8*null,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 16
%bG=bitcast i8*%bF to i32*
store i32 3,i32*%bG,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
bH:
%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**%b,align 8
%bM=bitcast i8*%bI to i8**
store i8*%bL,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bI,i64 8
%bO=bitcast i8*%bN to i8**
store i8*null,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bI,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
bR:
%bS=getelementptr inbounds i8,i8*%A,i64 8
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
store i8*%bU,i8**%b,align 8
%bV=getelementptr inbounds i8,i8*%bU,i64 8
%bW=bitcast i8*%bV to i8**
%bX=load i8*,i8**%bW,align 8
store i8*%bX,i8**%c,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
%b4=call fastcc i8*%b1(i8*inreg%b3,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@C,i64 0,i32 2)to i8*))
%b5=getelementptr inbounds i8,i8*%b4,i64 16
%b6=bitcast i8*%b5 to i8*(i8*,i8*)**
%b7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b6,align 8
%b8=bitcast i8*%b4 to i8**
%b9=load i8*,i8**%b8,align 8
%ca=bitcast i8**%b to i8***
%cb=load i8**,i8***%ca,align 8
store i8*null,i8**%b,align 8
%cc=load i8*,i8**%cb,align 8
%cd=call fastcc i8*%b7(i8*inreg%b9,i8*inreg%cc)
store i8*%cd,i8**%b,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**%d,align 8
%ch=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ck=getelementptr inbounds i8,i8*%ce,i64 8
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%ce,i64 16
%cn=bitcast i8*%cm to i32*
store i32 3,i32*%cn,align 4
%co=call i8*@sml_alloc(i32 inreg 20)#0
%cp=getelementptr inbounds i8,i8*%co,i64 -4
%cq=bitcast i8*%cp to i32*
store i32 1342177296,i32*%cq,align 4
store i8*%co,i8**%b,align 8
%cr=getelementptr inbounds i8,i8*%co,i64 4
%cs=bitcast i8*%cr to i32*
store i32 0,i32*%cs,align 1
%ct=bitcast i8*%co to i32*
store i32 14,i32*%ct,align 4
%cu=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cv=getelementptr inbounds i8,i8*%co,i64 8
%cw=bitcast i8*%cv to i8**
store i8*%cu,i8**%cw,align 8
%cx=getelementptr inbounds i8,i8*%co,i64 16
%cy=bitcast i8*%cx to i32*
store i32 2,i32*%cy,align 4
%cz=call i8*@sml_alloc(i32 inreg 20)#0
%cA=getelementptr inbounds i8,i8*%cz,i64 -4
%cB=bitcast i8*%cA to i32*
store i32 1342177296,i32*%cB,align 4
%cC=load i8*,i8**%b,align 8
%cD=bitcast i8*%cz to i8**
store i8*%cC,i8**%cD,align 8
%cE=getelementptr inbounds i8,i8*%cz,i64 8
%cF=bitcast i8*%cE to i8**
store i8*null,i8**%cF,align 8
%cG=getelementptr inbounds i8,i8*%cz,i64 16
%cH=bitcast i8*%cG to i32*
store i32 3,i32*%cH,align 4
store i8*null,i8**%c,align 8
%cI=call i8*@sml_alloc(i32 inreg 20)#0
%cJ=getelementptr inbounds i8,i8*%cI,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 1342177296,i32*%cK,align 4
%cL=load i8*,i8**%b,align 8
%cM=bitcast i8*%cI to i8**
store i8*%cL,i8**%cM,align 8
%cN=load i8*,i8**%c,align 8
%cO=getelementptr inbounds i8,i8*%cI,i64 8
%cP=bitcast i8*%cO to i8**
store i8*%cN,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cI,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 3,i32*%cR,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
cS:
%cT=getelementptr inbounds i8,i8*%A,i64 8
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
store i8*%cV,i8**%b,align 8
%cW=bitcast i8*%cV to i8**
%cX=load i8*,i8**%cW,align 8
store i8*%cX,i8**%d,align 8
%cY=getelementptr inbounds i8,i8*%cV,i64 8
%cZ=bitcast i8*%cY to i8**
%c0=load i8*,i8**%cZ,align 8
store i8*%c0,i8**%e,align 8
%c1=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 4)
%c2=getelementptr inbounds i8,i8*%c1,i64 16
%c3=bitcast i8*%c2 to i8*(i8*,i8*)**
%c4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c3,align 8
%c5=bitcast i8*%c1 to i8**
%c6=load i8*,i8**%c5,align 8
%c7=call fastcc i8*%c4(i8*inreg%c6,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@v,i64 0,i32 2)to i8*))
%c8=getelementptr inbounds i8,i8*%c7,i64 16
%c9=bitcast i8*%c8 to i8*(i8*,i8*)**
%da=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c9,align 8
%db=bitcast i8*%c7 to i8**
%dc=load i8*,i8**%db,align 8
%dd=load i8*,i8**%b,align 8
%de=getelementptr inbounds i8,i8*%dd,i64 16
%df=bitcast i8*%de to i8**
%dg=load i8*,i8**%df,align 8
%dh=call fastcc i8*%da(i8*inreg%dc,i8*inreg%dg)
%di=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dj=getelementptr inbounds i8,i8*%di,i64 16
%dk=bitcast i8*%dj to i8*(i8*,i8*)**
%dl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dk,align 8
%dm=bitcast i8*%di to i8**
%dn=load i8*,i8**%dm,align 8
%do=call fastcc i8*%dl(i8*inreg%dn,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*))
%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**%c,align 8
%du=call fastcc i8*@_SMLFN5Graph5emptyE(i32 inreg 1,i32 inreg 8)
%dv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dw=call fastcc i8*%dr(i8*inreg%dv,i8*inreg%du)
%dx=getelementptr inbounds i8,i8*%dw,i64 16
%dy=bitcast i8*%dx to i8*(i8*,i8*)**
%dz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dy,align 8
%dA=bitcast i8*%dw to i8**
%dB=load i8*,i8**%dA,align 8
%dC=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dD=getelementptr inbounds i8,i8*%dC,i64 16
%dE=bitcast i8*%dD to i8**
%dF=load i8*,i8**%dE,align 8
%dG=call fastcc i8*%dz(i8*inreg%dB,i8*inreg%dF)
store i8*%dG,i8**%b,align 8
%dH=call fastcc i8*@_SMLFN5Graph9listNodesE(i32 inreg 1,i32 inreg 8)
%dI=getelementptr inbounds i8,i8*%dH,i64 16
%dJ=bitcast i8*%dI to i8*(i8*,i8*)**
%dK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dJ,align 8
%dL=bitcast i8*%dH to i8**
%dM=load i8*,i8**%dL,align 8
%dN=load i8*,i8**%b,align 8
%dO=call fastcc i8*%dK(i8*inreg%dM,i8*inreg%dN)
store i8*%dO,i8**%c,align 8
%dP=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dQ=getelementptr inbounds i8,i8*%dP,i64 16
%dR=bitcast i8*%dQ to i8*(i8*,i8*)**
%dS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dR,align 8
%dT=bitcast i8*%dP to i8**
%dU=load i8*,i8**%dT,align 8
store i8*%dU,i8**%f,align 8
%dV=call i8*@sml_alloc(i32 inreg 12)#0
%dW=getelementptr inbounds i8,i8*%dV,i64 -4
%dX=bitcast i8*%dW to i32*
store i32 1342177288,i32*%dX,align 4
store i8*%dV,i8**%g,align 8
%dY=load i8*,i8**%c,align 8
%dZ=bitcast i8*%dV to i8**
store i8*%dY,i8**%dZ,align 8
%d0=getelementptr inbounds i8,i8*%dV,i64 8
%d1=bitcast i8*%d0 to i32*
store i32 1,i32*%d1,align 4
%d2=call i8*@sml_alloc(i32 inreg 28)#0
%d3=getelementptr inbounds i8,i8*%d2,i64 -4
%d4=bitcast i8*%d3 to i32*
store i32 1342177304,i32*%d4,align 4
%d5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%d6=bitcast i8*%d2 to i8**
store i8*%d5,i8**%d6,align 8
%d7=getelementptr inbounds i8,i8*%d2,i64 8
%d8=bitcast i8*%d7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_238 to void(...)*),void(...)**%d8,align 8
%d9=getelementptr inbounds i8,i8*%d2,i64 16
%ea=bitcast i8*%d9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_238 to void(...)*),void(...)**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d2,i64 24
%ec=bitcast i8*%eb to i32*
store i32 -2147483647,i32*%ec,align 4
%ed=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ee=call fastcc i8*%dS(i8*inreg%ed,i8*inreg%d2)
%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**%b,align 8
store i8*null,i8**%b,align 8
%el=call fastcc i8*%eh(i8*inreg%ej,i8*inreg%ek)
%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
%er=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%es=call fastcc i8*%eo(i8*inreg%eq,i8*inreg%er)
store i8*%es,i8**%b,align 8
%et=call fastcc i8*@_SMLFN5Graph3sccE(i32 inreg 1,i32 inreg 8)
%eu=getelementptr inbounds i8,i8*%et,i64 16
%ev=bitcast i8*%eu to i8*(i8*,i8*)**
%ew=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ev,align 8
%ex=bitcast i8*%et to i8**
%ey=load i8*,i8**%ex,align 8
%ez=load i8*,i8**%b,align 8
%eA=call fastcc i8*%ew(i8*inreg%ey,i8*inreg%ez)
store i8*%eA,i8**%c,align 8
%eB=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%eC=getelementptr inbounds i8,i8*%eB,i64 16
%eD=bitcast i8*%eC to i8*(i8*,i8*)**
%eE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eD,align 8
%eF=bitcast i8*%eB to i8**
%eG=load i8*,i8**%eF,align 8
store i8*%eG,i8**%f,align 8
%eH=call fastcc i8*@_SMLFN4List3revE(i32 inreg 0,i32 inreg 4)
%eI=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eJ=call fastcc i8*%eE(i8*inreg%eI,i8*inreg%eH)
%eK=getelementptr inbounds i8,i8*%eJ,i64 16
%eL=bitcast i8*%eK to i8*(i8*,i8*)**
%eM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eL,align 8
%eN=bitcast i8*%eJ to i8**
%eO=load i8*,i8**%eN,align 8
store i8*%eO,i8**%f,align 8
%eP=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%eQ=getelementptr inbounds i8,i8*%eP,i64 16
%eR=bitcast i8*%eQ to i8*(i8*,i8*)**
%eS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eR,align 8
%eT=bitcast i8*%eP to i8**
%eU=load i8*,i8**%eT,align 8
%eV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eW=call fastcc i8*%eS(i8*inreg%eU,i8*inreg%eV)
%eX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%eY=call fastcc i8*%eM(i8*inreg%eX,i8*inreg%eW)
store i8*%eY,i8**%c,align 8
%eZ=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%e0=getelementptr inbounds i8,i8*%eZ,i64 16
%e1=bitcast i8*%e0 to i8*(i8*,i8*)**
%e2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e1,align 8
%e3=bitcast i8*%eZ to i8**
%e4=load i8*,i8**%e3,align 8
store i8*%e4,i8**%f,align 8
%e5=call i8*@sml_alloc(i32 inreg 28)#0
%e6=getelementptr inbounds i8,i8*%e5,i64 -4
%e7=bitcast i8*%e6 to i32*
store i32 1342177304,i32*%e7,align 4
store i8*%e5,i8**%g,align 8
%e8=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%e9=bitcast i8*%e5 to i8**
store i8*%e8,i8**%e9,align 8
%fa=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fb=getelementptr inbounds i8,i8*%e5,i64 8
%fc=bitcast i8*%fb to i8**
store i8*%fa,i8**%fc,align 8
%fd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fe=getelementptr inbounds i8,i8*%e5,i64 16
%ff=bitcast i8*%fe to i8**
store i8*%fd,i8**%ff,align 8
%fg=getelementptr inbounds i8,i8*%e5,i64 24
%fh=bitcast i8*%fg to i32*
store i32 7,i32*%fh,align 4
%fi=call i8*@sml_alloc(i32 inreg 28)#0
%fj=getelementptr inbounds i8,i8*%fi,i64 -4
%fk=bitcast i8*%fj to i32*
store i32 1342177304,i32*%fk,align 4
%fl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fm=bitcast i8*%fi to i8**
store i8*%fl,i8**%fm,align 8
%fn=getelementptr inbounds i8,i8*%fi,i64 8
%fo=bitcast i8*%fn to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_247 to void(...)*),void(...)**%fo,align 8
%fp=getelementptr inbounds i8,i8*%fi,i64 16
%fq=bitcast i8*%fp to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_247 to void(...)*),void(...)**%fq,align 8
%fr=getelementptr inbounds i8,i8*%fi,i64 24
%fs=bitcast i8*%fr to i32*
store i32 -2147483647,i32*%fs,align 4
%ft=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fu=call fastcc i8*%e2(i8*inreg%ft,i8*inreg%fi)
%fv=getelementptr inbounds i8,i8*%fu,i64 16
%fw=bitcast i8*%fv to i8*(i8*,i8*)**
%fx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fw,align 8
%fy=bitcast i8*%fu to i8**
%fz=load i8*,i8**%fy,align 8
%fA=load i8*,i8**%c,align 8
%fB=tail call fastcc i8*%fx(i8*inreg%fz,i8*inreg%fA)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
fC:
%fD=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%fD,i8**%b,align 8
%fE=call i8*@sml_alloc(i32 inreg 28)#0
%fF=getelementptr inbounds i8,i8*%fE,i64 -4
%fG=bitcast i8*%fF to i32*
store i32 1342177304,i32*%fG,align 4
store i8*%fE,i8**%c,align 8
%fH=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fI=bitcast i8*%fE to i8**
store i8*%fH,i8**%fI,align 8
%fJ=getelementptr inbounds i8,i8*%fE,i64 8
%fK=bitcast i8*%fJ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[84x i8]}>,<{[4x i8],i32,[84x i8]}>*@t,i64 0,i32 2,i64 0),i8**%fK,align 8
%fL=getelementptr inbounds i8,i8*%fE,i64 16
%fM=bitcast i8*%fL to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@u,i64 0,i32 2,i64 0),i8**%fM,align 8
%fN=getelementptr inbounds i8,i8*%fE,i64 24
%fO=bitcast i8*%fN to i32*
store i32 7,i32*%fO,align 4
%fP=call i8*@sml_alloc(i32 inreg 60)#0
%fQ=getelementptr inbounds i8,i8*%fP,i64 -4
%fR=bitcast i8*%fQ to i32*
store i32 1342177336,i32*%fR,align 4
%fS=getelementptr inbounds i8,i8*%fP,i64 56
%fT=bitcast i8*%fS to i32*
store i32 1,i32*%fT,align 4
%fU=load i8*,i8**%c,align 8
%fV=bitcast i8*%fP to i8**
store i8*%fU,i8**%fV,align 8
call void@sml_raise(i8*inreg%fP)#1
unreachable
fW:
%fX=getelementptr inbounds i8,i8*%A,i64 8
%fY=bitcast i8*%fX to i8**
%fZ=load i8*,i8**%fY,align 8
store i8*%fZ,i8**%b,align 8
%f0=getelementptr inbounds i8,i8*%fZ,i64 8
%f1=bitcast i8*%f0 to i8**
%f2=load i8*,i8**%f1,align 8
store i8*%f2,i8**%d,align 8
%f3=getelementptr inbounds i8,i8*%fZ,i64 16
%f4=bitcast i8*%f3 to i8**
%f5=load i8*,i8**%f4,align 8
store i8*%f5,i8**%e,align 8
%f6=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 4)
%f7=getelementptr inbounds i8,i8*%f6,i64 16
%f8=bitcast i8*%f7 to i8*(i8*,i8*)**
%f9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f8,align 8
%ga=bitcast i8*%f6 to i8**
%gb=load i8*,i8**%ga,align 8
%gc=call fastcc i8*%f9(i8*inreg%gb,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*))
%gd=getelementptr inbounds i8,i8*%gc,i64 16
%ge=bitcast i8*%gd to i8*(i8*,i8*)**
%gf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ge,align 8
%gg=bitcast i8*%gc to i8**
%gh=load i8*,i8**%gg,align 8
%gi=bitcast i8**%b to i8***
%gj=load i8**,i8***%gi,align 8
%gk=load i8*,i8**%gj,align 8
%gl=call fastcc i8*%gf(i8*inreg%gh,i8*inreg%gk)
%gm=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gn=getelementptr inbounds i8,i8*%gm,i64 16
%go=bitcast i8*%gn to i8*(i8*,i8*)**
%gp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%go,align 8
%gq=bitcast i8*%gm to i8**
%gr=load i8*,i8**%gq,align 8
%gs=call fastcc i8*%gp(i8*inreg%gr,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@p,i64 0,i32 2)to i8*))
%gt=getelementptr inbounds i8,i8*%gs,i64 16
%gu=bitcast i8*%gt to i8*(i8*,i8*)**
%gv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gu,align 8
%gw=bitcast i8*%gs to i8**
%gx=load i8*,i8**%gw,align 8
store i8*%gx,i8**%c,align 8
%gy=call fastcc i8*@_SMLFN5Graph5emptyE(i32 inreg 1,i32 inreg 8)
%gz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gA=call fastcc i8*%gv(i8*inreg%gz,i8*inreg%gy)
%gB=getelementptr inbounds i8,i8*%gA,i64 16
%gC=bitcast i8*%gB to i8*(i8*,i8*)**
%gD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gC,align 8
%gE=bitcast i8*%gA to i8**
%gF=load i8*,i8**%gE,align 8
%gG=load i8**,i8***%gi,align 8
store i8*null,i8**%b,align 8
%gH=load i8*,i8**%gG,align 8
%gI=call fastcc i8*%gD(i8*inreg%gF,i8*inreg%gH)
store i8*%gI,i8**%b,align 8
%gJ=call fastcc i8*@_SMLFN5Graph9listNodesE(i32 inreg 1,i32 inreg 8)
%gK=getelementptr inbounds i8,i8*%gJ,i64 16
%gL=bitcast i8*%gK to i8*(i8*,i8*)**
%gM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gL,align 8
%gN=bitcast i8*%gJ to i8**
%gO=load i8*,i8**%gN,align 8
%gP=load i8*,i8**%b,align 8
%gQ=call fastcc i8*%gM(i8*inreg%gO,i8*inreg%gP)
store i8*%gQ,i8**%c,align 8
%gR=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gS=getelementptr inbounds i8,i8*%gR,i64 16
%gT=bitcast i8*%gS to i8*(i8*,i8*)**
%gU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gT,align 8
%gV=bitcast i8*%gR to i8**
%gW=load i8*,i8**%gV,align 8
store i8*%gW,i8**%f,align 8
%gX=call i8*@sml_alloc(i32 inreg 12)#0
%gY=getelementptr inbounds i8,i8*%gX,i64 -4
%gZ=bitcast i8*%gY to i32*
store i32 1342177288,i32*%gZ,align 4
store i8*%gX,i8**%g,align 8
%g0=load i8*,i8**%c,align 8
%g1=bitcast i8*%gX to i8**
store i8*%g0,i8**%g1,align 8
%g2=getelementptr inbounds i8,i8*%gX,i64 8
%g3=bitcast i8*%g2 to i32*
store i32 1,i32*%g3,align 4
%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
%g7=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_222 to void(...)*),void(...)**%ha,align 8
%hb=getelementptr inbounds i8,i8*%g4,i64 16
%hc=bitcast i8*%hb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_222 to void(...)*),void(...)**%hc,align 8
%hd=getelementptr inbounds i8,i8*%g4,i64 24
%he=bitcast i8*%hd to i32*
store i32 -2147483647,i32*%he,align 4
%hf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hg=call fastcc i8*%gU(i8*inreg%hf,i8*inreg%g4)
%hh=getelementptr inbounds i8,i8*%hg,i64 16
%hi=bitcast i8*%hh to i8*(i8*,i8*)**
%hj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hi,align 8
%hk=bitcast i8*%hg to i8**
%hl=load i8*,i8**%hk,align 8
%hm=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%hn=call fastcc i8*%hj(i8*inreg%hl,i8*inreg%hm)
%ho=getelementptr inbounds i8,i8*%hn,i64 16
%hp=bitcast i8*%ho to i8*(i8*,i8*)**
%hq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hp,align 8
%hr=bitcast i8*%hn to i8**
%hs=load i8*,i8**%hr,align 8
%ht=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hu=call fastcc i8*%hq(i8*inreg%hs,i8*inreg%ht)
store i8*%hu,i8**%b,align 8
%hv=call fastcc i8*@_SMLFN5Graph3sccE(i32 inreg 1,i32 inreg 8)
%hw=getelementptr inbounds i8,i8*%hv,i64 16
%hx=bitcast i8*%hw to i8*(i8*,i8*)**
%hy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hx,align 8
%hz=bitcast i8*%hv to i8**
%hA=load i8*,i8**%hz,align 8
%hB=load i8*,i8**%b,align 8
%hC=call fastcc i8*%hy(i8*inreg%hA,i8*inreg%hB)
store i8*%hC,i8**%c,align 8
%hD=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%hE=getelementptr inbounds i8,i8*%hD,i64 16
%hF=bitcast i8*%hE to i8*(i8*,i8*)**
%hG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hF,align 8
%hH=bitcast i8*%hD to i8**
%hI=load i8*,i8**%hH,align 8
store i8*%hI,i8**%f,align 8
%hJ=call fastcc i8*@_SMLFN4List3revE(i32 inreg 0,i32 inreg 4)
%hK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hL=call fastcc i8*%hG(i8*inreg%hK,i8*inreg%hJ)
%hM=getelementptr inbounds i8,i8*%hL,i64 16
%hN=bitcast i8*%hM to i8*(i8*,i8*)**
%hO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hN,align 8
%hP=bitcast i8*%hL to i8**
%hQ=load i8*,i8**%hP,align 8
store i8*%hQ,i8**%f,align 8
%hR=call fastcc i8*@_SMLFN4List3revE(i32 inreg 1,i32 inreg 8)
%hS=getelementptr inbounds i8,i8*%hR,i64 16
%hT=bitcast i8*%hS to i8*(i8*,i8*)**
%hU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hT,align 8
%hV=bitcast i8*%hR to i8**
%hW=load i8*,i8**%hV,align 8
%hX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hY=call fastcc i8*%hU(i8*inreg%hW,i8*inreg%hX)
%hZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%h0=call fastcc i8*%hO(i8*inreg%hZ,i8*inreg%hY)
store i8*%h0,i8**%c,align 8
%h1=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%h2=getelementptr inbounds i8,i8*%h1,i64 16
%h3=bitcast i8*%h2 to i8*(i8*,i8*)**
%h4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h3,align 8
%h5=bitcast i8*%h1 to i8**
%h6=load i8*,i8**%h5,align 8
store i8*%h6,i8**%f,align 8
%h7=call i8*@sml_alloc(i32 inreg 28)#0
%h8=getelementptr inbounds i8,i8*%h7,i64 -4
%h9=bitcast i8*%h8 to i32*
store i32 1342177304,i32*%h9,align 4
store i8*%h7,i8**%g,align 8
%ia=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ib=bitcast i8*%h7 to i8**
store i8*%ia,i8**%ib,align 8
%ic=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%id=getelementptr inbounds i8,i8*%h7,i64 8
%ie=bitcast i8*%id to i8**
store i8*%ic,i8**%ie,align 8
%if=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ig=getelementptr inbounds i8,i8*%h7,i64 16
%ih=bitcast i8*%ig to i8**
store i8*%if,i8**%ih,align 8
%ii=getelementptr inbounds i8,i8*%h7,i64 24
%ij=bitcast i8*%ii to i32*
store i32 7,i32*%ij,align 4
%ik=call i8*@sml_alloc(i32 inreg 28)#0
%il=getelementptr inbounds i8,i8*%ik,i64 -4
%im=bitcast i8*%il to i32*
store i32 1342177304,i32*%im,align 4
%in=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%io=bitcast i8*%ik to i8**
store i8*%in,i8**%io,align 8
%ip=getelementptr inbounds i8,i8*%ik,i64 8
%iq=bitcast i8*%ip to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_230 to void(...)*),void(...)**%iq,align 8
%ir=getelementptr inbounds i8,i8*%ik,i64 16
%is=bitcast i8*%ir to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16VALREC__Optimizer12optimizeDeclE_230 to void(...)*),void(...)**%is,align 8
%it=getelementptr inbounds i8,i8*%ik,i64 24
%iu=bitcast i8*%it to i32*
store i32 -2147483647,i32*%iu,align 4
%iv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iw=call fastcc i8*%h4(i8*inreg%iv,i8*inreg%ik)
%ix=getelementptr inbounds i8,i8*%iw,i64 16
%iy=bitcast i8*%ix to i8*(i8*,i8*)**
%iz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iy,align 8
%iA=bitcast i8*%iw to i8**
%iB=load i8*,i8**%iA,align 8
%iC=load i8*,i8**%c,align 8
%iD=tail call fastcc i8*%iz(i8*inreg%iB,i8*inreg%iC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
iE:
store i8*null,i8**%b,align 8
%iF=getelementptr inbounds i8,i8*%A,i64 8
%iG=bitcast i8*%iF to i8**
%iH=load i8*,i8**%iG,align 8
%iI=getelementptr inbounds i8,i8*%iH,i64 8
%iJ=bitcast i8*%iI to i8**
%iK=load i8*,i8**%iJ,align 8
store i8*%iK,i8**%c,align 8
%iL=getelementptr inbounds i8,i8*%iH,i64 16
%iM=bitcast i8*%iL to i32*
%iN=load i32,i32*%iM,align 4
%iO=getelementptr inbounds i8,i8*%iH,i64 24
%iP=bitcast i8*%iO to i8**
%iQ=load i8*,i8**%iP,align 8
store i8*%iQ,i8**%d,align 8
%iR=getelementptr inbounds i8,i8*%iH,i64 32
%iS=bitcast i8*%iR to i8**
%iT=load i8*,i8**%iS,align 8
store i8*%iT,i8**%e,align 8
%iU=bitcast i8*%iH to i8**
%iV=load i8*,i8**%iU,align 8
%iW=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%iV)
store i8*%iW,i8**%b,align 8
%iX=call i8*@sml_alloc(i32 inreg 44)#0
%iY=getelementptr inbounds i8,i8*%iX,i64 -4
%iZ=bitcast i8*%iY to i32*
store i32 1342177320,i32*%iZ,align 4
store i8*%iX,i8**%f,align 8
%i0=getelementptr inbounds i8,i8*%iX,i64 20
%i1=bitcast i8*%i0 to i32*
store i32 0,i32*%i1,align 1
%i2=load i8*,i8**%b,align 8
%i3=bitcast i8*%iX to i8**
store i8*null,i8**%b,align 8
store i8*%i2,i8**%i3,align 8
%i4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%i5=getelementptr inbounds i8,i8*%iX,i64 8
%i6=bitcast i8*%i5 to i8**
store i8*%i4,i8**%i6,align 8
%i7=getelementptr inbounds i8,i8*%iX,i64 16
%i8=bitcast i8*%i7 to i32*
store i32%iN,i32*%i8,align 4
%i9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ja=getelementptr inbounds i8,i8*%iX,i64 24
%jb=bitcast i8*%ja to i8**
store i8*%i9,i8**%jb,align 8
%jc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jd=getelementptr inbounds i8,i8*%iX,i64 32
%je=bitcast i8*%jd to i8**
store i8*%jc,i8**%je,align 8
%jf=getelementptr inbounds i8,i8*%iX,i64 40
%jg=bitcast i8*%jf to i32*
store i32 27,i32*%jg,align 4
%jh=call i8*@sml_alloc(i32 inreg 20)#0
%ji=getelementptr inbounds i8,i8*%jh,i64 -4
%jj=bitcast i8*%ji to i32*
store i32 1342177296,i32*%jj,align 4
store i8*%jh,i8**%b,align 8
%jk=getelementptr inbounds i8,i8*%jh,i64 4
%jl=bitcast i8*%jk to i32*
store i32 0,i32*%jl,align 1
%jm=bitcast i8*%jh to i32*
store i32 16,i32*%jm,align 4
%jn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jo=getelementptr inbounds i8,i8*%jh,i64 8
%jp=bitcast i8*%jo to i8**
store i8*%jn,i8**%jp,align 8
%jq=getelementptr inbounds i8,i8*%jh,i64 16
%jr=bitcast i8*%jq to i32*
store i32 2,i32*%jr,align 4
%js=call i8*@sml_alloc(i32 inreg 20)#0
%jt=getelementptr inbounds i8,i8*%js,i64 -4
%ju=bitcast i8*%jt to i32*
store i32 1342177296,i32*%ju,align 4
%jv=load i8*,i8**%b,align 8
%jw=bitcast i8*%js to i8**
store i8*%jv,i8**%jw,align 8
%jx=getelementptr inbounds i8,i8*%js,i64 8
%jy=bitcast i8*%jx to i8**
store i8*null,i8**%jy,align 8
%jz=getelementptr inbounds i8,i8*%js,i64 16
%jA=bitcast i8*%jz to i32*
store i32 3,i32*%jA,align 4
store i8*null,i8**%c,align 8
%jB=call i8*@sml_alloc(i32 inreg 20)#0
%jC=getelementptr inbounds i8,i8*%jB,i64 -4
%jD=bitcast i8*%jC to i32*
store i32 1342177296,i32*%jD,align 4
%jE=load i8*,i8**%b,align 8
%jF=bitcast i8*%jB to i8**
store i8*%jE,i8**%jF,align 8
%jG=load i8*,i8**%c,align 8
%jH=getelementptr inbounds i8,i8*%jB,i64 8
%jI=bitcast i8*%jH to i8**
store i8*%jG,i8**%jI,align 8
%jJ=getelementptr inbounds i8,i8*%jB,i64 16
%jK=bitcast i8*%jJ to i32*
store i32 3,i32*%jK,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
jL:
store i8*null,i8**%b,align 8
%jM=getelementptr inbounds i8,i8*%A,i64 8
%jN=bitcast i8*%jM to i8**
%jO=load i8*,i8**%jN,align 8
%jP=getelementptr inbounds i8,i8*%jO,i64 8
%jQ=bitcast i8*%jP to i8**
%jR=load i8*,i8**%jQ,align 8
store i8*%jR,i8**%c,align 8
%jS=getelementptr inbounds i8,i8*%jO,i64 16
%jT=bitcast i8*%jS to i8**
%jU=load i8*,i8**%jT,align 8
store i8*%jU,i8**%d,align 8
%jV=getelementptr inbounds i8,i8*%jO,i64 24
%jW=bitcast i8*%jV to i8**
%jX=load i8*,i8**%jW,align 8
store i8*%jX,i8**%e,align 8
%jY=bitcast i8*%jO to i8**
%jZ=load i8*,i8**%jY,align 8
%j0=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%jZ)
store i8*%j0,i8**%b,align 8
%j1=call i8*@sml_alloc(i32 inreg 36)#0
%j2=getelementptr inbounds i8,i8*%j1,i64 -4
%j3=bitcast i8*%j2 to i32*
store i32 1342177312,i32*%j3,align 4
store i8*%j1,i8**%f,align 8
%j4=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%j5=bitcast i8*%j1 to i8**
store i8*%j4,i8**%j5,align 8
%j6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%j7=getelementptr inbounds i8,i8*%j1,i64 8
%j8=bitcast i8*%j7 to i8**
store i8*%j6,i8**%j8,align 8
%j9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ka=getelementptr inbounds i8,i8*%j1,i64 16
%kb=bitcast i8*%ka to i8**
store i8*%j9,i8**%kb,align 8
%kc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kd=getelementptr inbounds i8,i8*%j1,i64 24
%ke=bitcast i8*%kd to i8**
store i8*%kc,i8**%ke,align 8
%kf=getelementptr inbounds i8,i8*%j1,i64 32
%kg=bitcast i8*%kf to i32*
store i32 15,i32*%kg,align 4
%kh=call i8*@sml_alloc(i32 inreg 20)#0
%ki=getelementptr inbounds i8,i8*%kh,i64 -4
%kj=bitcast i8*%ki to i32*
store i32 1342177296,i32*%kj,align 4
store i8*%kh,i8**%b,align 8
%kk=getelementptr inbounds i8,i8*%kh,i64 4
%kl=bitcast i8*%kk to i32*
store i32 0,i32*%kl,align 1
%km=bitcast i8*%kh to i32*
store i32 17,i32*%km,align 4
%kn=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ko=getelementptr inbounds i8,i8*%kh,i64 8
%kp=bitcast i8*%ko to i8**
store i8*%kn,i8**%kp,align 8
%kq=getelementptr inbounds i8,i8*%kh,i64 16
%kr=bitcast i8*%kq to i32*
store i32 2,i32*%kr,align 4
%ks=call i8*@sml_alloc(i32 inreg 20)#0
%kt=getelementptr inbounds i8,i8*%ks,i64 -4
%ku=bitcast i8*%kt to i32*
store i32 1342177296,i32*%ku,align 4
%kv=load i8*,i8**%b,align 8
%kw=bitcast i8*%ks to i8**
store i8*%kv,i8**%kw,align 8
%kx=getelementptr inbounds i8,i8*%ks,i64 8
%ky=bitcast i8*%kx to i8**
store i8*null,i8**%ky,align 8
%kz=getelementptr inbounds i8,i8*%ks,i64 16
%kA=bitcast i8*%kz to i32*
store i32 3,i32*%kA,align 4
store i8*null,i8**%c,align 8
%kB=call i8*@sml_alloc(i32 inreg 20)#0
%kC=getelementptr inbounds i8,i8*%kB,i64 -4
%kD=bitcast i8*%kC to i32*
store i32 1342177296,i32*%kD,align 4
%kE=load i8*,i8**%b,align 8
%kF=bitcast i8*%kB to i8**
store i8*%kE,i8**%kF,align 8
%kG=load i8*,i8**%c,align 8
%kH=getelementptr inbounds i8,i8*%kB,i64 8
%kI=bitcast i8*%kH to i8**
store i8*%kG,i8**%kI,align 8
%kJ=getelementptr inbounds i8,i8*%kB,i64 16
%kK=bitcast i8*%kJ to i32*
store i32 3,i32*%kK,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
kL:
%kM=getelementptr inbounds i8,i8*%A,i64 8
%kN=bitcast i8*%kM to i8**
%kO=load i8*,i8**%kN,align 8
store i8*%kO,i8**%b,align 8
%kP=bitcast i8*%kO to i8**
%kQ=load i8*,i8**%kP,align 8
store i8*%kQ,i8**%c,align 8
%kR=getelementptr inbounds i8,i8*%kO,i64 16
%kS=bitcast i8*%kR to i8**
%kT=load i8*,i8**%kS,align 8
store i8*%kT,i8**%d,align 8
%kU=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%kV=getelementptr inbounds i8,i8*%kU,i64 16
%kW=bitcast i8*%kV to i8*(i8*,i8*)**
%kX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kW,align 8
%kY=bitcast i8*%kU to i8**
%kZ=load i8*,i8**%kY,align 8
%k0=call fastcc i8*%kX(i8*inreg%kZ,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*))
%k1=getelementptr inbounds i8,i8*%k0,i64 16
%k2=bitcast i8*%k1 to i8*(i8*,i8*)**
%k3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k2,align 8
%k4=bitcast i8*%k0 to i8**
%k5=load i8*,i8**%k4,align 8
%k6=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%k7=getelementptr inbounds i8,i8*%k6,i64 8
%k8=bitcast i8*%k7 to i8**
%k9=load i8*,i8**%k8,align 8
%la=call fastcc i8*%k3(i8*inreg%k5,i8*inreg%k9)
store i8*%la,i8**%b,align 8
%lb=call i8*@sml_alloc(i32 inreg 28)#0
%lc=getelementptr inbounds i8,i8*%lb,i64 -4
%ld=bitcast i8*%lc to i32*
store i32 1342177304,i32*%ld,align 4
store i8*%lb,i8**%e,align 8
%le=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lf=bitcast i8*%lb to i8**
store i8*%le,i8**%lf,align 8
%lg=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%lh=getelementptr inbounds i8,i8*%lb,i64 8
%li=bitcast i8*%lh to i8**
store i8*%lg,i8**%li,align 8
%lj=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%lk=getelementptr inbounds i8,i8*%lb,i64 16
%ll=bitcast i8*%lk to i8**
store i8*%lj,i8**%ll,align 8
%lm=getelementptr inbounds i8,i8*%lb,i64 24
%ln=bitcast i8*%lm to i32*
store i32 7,i32*%ln,align 4
%lo=call i8*@sml_alloc(i32 inreg 20)#0
%lp=getelementptr inbounds i8,i8*%lo,i64 -4
%lq=bitcast i8*%lp to i32*
store i32 1342177296,i32*%lq,align 4
store i8*%lo,i8**%b,align 8
%lr=getelementptr inbounds i8,i8*%lo,i64 4
%ls=bitcast i8*%lr to i32*
store i32 0,i32*%ls,align 1
%lt=bitcast i8*%lo to i32*
store i32 13,i32*%lt,align 4
%lu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lv=getelementptr inbounds i8,i8*%lo,i64 8
%lw=bitcast i8*%lv to i8**
store i8*%lu,i8**%lw,align 8
%lx=getelementptr inbounds i8,i8*%lo,i64 16
%ly=bitcast i8*%lx to i32*
store i32 2,i32*%ly,align 4
%lz=call i8*@sml_alloc(i32 inreg 20)#0
%lA=getelementptr inbounds i8,i8*%lz,i64 -4
%lB=bitcast i8*%lA to i32*
store i32 1342177296,i32*%lB,align 4
%lC=load i8*,i8**%b,align 8
%lD=bitcast i8*%lz to i8**
store i8*%lC,i8**%lD,align 8
%lE=getelementptr inbounds i8,i8*%lz,i64 8
%lF=bitcast i8*%lE to i8**
store i8*null,i8**%lF,align 8
%lG=getelementptr inbounds i8,i8*%lz,i64 16
%lH=bitcast i8*%lG to i32*
store i32 3,i32*%lH,align 4
store i8*null,i8**%c,align 8
%lI=call i8*@sml_alloc(i32 inreg 20)#0
%lJ=getelementptr inbounds i8,i8*%lI,i64 -4
%lK=bitcast i8*%lJ to i32*
store i32 1342177296,i32*%lK,align 4
%lL=load i8*,i8**%b,align 8
%lM=bitcast i8*%lI to i8**
store i8*%lL,i8**%lM,align 8
%lN=load i8*,i8**%c,align 8
%lO=getelementptr inbounds i8,i8*%lI,i64 8
%lP=bitcast i8*%lO to i8**
store i8*%lN,i8**%lP,align 8
%lQ=getelementptr inbounds i8,i8*%lI,i64 16
%lR=bitcast i8*%lQ to i32*
store i32 3,i32*%lR,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%p)
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)
br label%lS
lS:
%lT=phi i8*[%W,%V],[%ag,%af],[%aq,%ap],[%aA,%az],[%aK,%aJ],[%aU,%aT],[%a4,%a3],[%be,%bd],[%bo,%bn],[%by,%bx],[%bI,%bH],[%cI,%bR],[%fB,%cS],[%iD,%fW],[%jB,%iE],[%kB,%jL],[%lI,%kL]
ret i8*%lT
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_215(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i32@_SMLL11boundIDList_217(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32**
%c=load i32*,i32**%b,align 8
%d=load i32,i32*%c,align 4
ret i32%d
}
define internal fastcc i8*@_SMLL1g_219(i8*inreg%a)#2 gc"smlsharp"{
o:
%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
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
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
store i8*null,i8**%c,align 8
store i8*%n,i8**%d,align 8
%p=bitcast i8*%n to i8***
%q=load i8**,i8***%p,align 8
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%f,align 8
%s=bitcast i8*%n to i8**
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%g,align 8
%x=bitcast i8*%r to i32*
%y=load i32,i32*%x,align 4
%z=bitcast i8**%d to i8***
%A=load i8*,i8**%s,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*@_SMLFN12VALREC__Utils16getFreeIdsInRuleE(i8*inreg%D)
store i8*%E,i8**%c,align 8
%F=call fastcc i8*@_SMLFN5Graph7addNodeE(i32 inreg 1,i32 inreg 8)
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
%L=load i8*,i8**%d,align 8
%M=getelementptr inbounds i8,i8*%L,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=call fastcc i8*%I(i8*inreg%K,i8*inreg%O)
%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
store i8*%U,i8**%h,align 8
%V=load i8**,i8***%z,align 8
store i8*null,i8**%d,align 8
%W=load i8*,i8**%V,align 8
%X=getelementptr inbounds i8,i8*%W,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
%aa=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aa)
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%Z,i8**%b,align 8
%ab=load atomic i32,i32*@sml_check_flag unordered,align 4
%ac=icmp eq i32%ab,0
br i1%ac,label%ae,label%ad
ad:
call void@sml_check(i32 inreg%ab)
br label%ae
ae:
%af=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 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=call fastcc i8*%ai(i8*inreg%ak,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@E,i64 0,i32 2)to i8*))
%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=load i8*,i8**%b,align 8
%as=call fastcc i8*%ao(i8*inreg%aq,i8*inreg%ar)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aa)
store i8*%as,i8**%d,align 8
%at=call i8*@sml_alloc(i32 inreg 28)#0
%au=getelementptr inbounds i8,i8*%at,i64 -4
%av=bitcast i8*%au to i32*
store i32 1342177304,i32*%av,align 4
store i8*%at,i8**%e,align 8
%aw=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ax=bitcast i8*%at to i8**
store i8*%aw,i8**%ax,align 8
%ay=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%az=getelementptr inbounds i8,i8*%at,i64 8
%aA=bitcast i8*%az to i8**
store i8*%ay,i8**%aA,align 8
%aB=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aC=getelementptr inbounds i8,i8*%at,i64 16
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%at,i64 24
%aF=bitcast i8*%aE to i32*
store i32 7,i32*%aF,align 4
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
%aJ=getelementptr inbounds i8,i8*%aG,i64 20
%aK=bitcast i8*%aJ to i32*
store i32 0,i32*%aK,align 1
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aM=bitcast i8*%aG to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aO=getelementptr inbounds i8,i8*%aG,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aG,i64 16
%aR=bitcast i8*%aQ to i32*
store i32%y,i32*%aR,align 4
%aS=getelementptr inbounds i8,i8*%aG,i64 24
%aT=bitcast i8*%aS to i32*
store i32 3,i32*%aT,align 4
%aU=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aV=call fastcc i8*%S(i8*inreg%aU,i8*inreg%aG)
%aW=bitcast i8*%aV to i8**
%aX=load i8*,i8**%aW,align 8
ret i8*%aX
}
define internal fastcc i8*@_SMLL1g_221(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%h,label%k
h:
%i=bitcast i8*%a to i8**
%j=bitcast i8*%b to i8**
br label%p
k:
call void@sml_check(i32 inreg%f)
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
%n=bitcast i8**%d to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%k],[%i,%h]
%r=phi i8**[%m,%k],[%j,%h]
%s=load i8*,i8**%r,align 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%s,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=load i8*,i8**%q,align 8
store i8*%B,i8**%e,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**%e,align 8
store i8*null,i8**%e,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%A,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=call fastcc i32@_SMLFN5VarID3Set6memberE(i8*inreg%C)
%O=icmp eq i32%N,0
br i1%O,label%au,label%P
P:
%Q=call fastcc i8*@_SMLFN5Graph7addEdgeE(i32 inreg 1,i32 inreg 8)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=getelementptr inbounds i8,i8*%W,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
%aa=call fastcc i8*%T(i8*inreg%V,i8*inreg%Z)
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%c,align 8
%ag=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 8
%ai=bitcast i8*%ah to i32*
%aj=load i32,i32*%ai,align 4
%ak=call i8*@sml_alloc(i32 inreg 12)#0
%al=bitcast i8*%ak to i32*
%am=getelementptr inbounds i8,i8*%ak,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
store i32%aj,i32*%al,align 4
%ao=getelementptr inbounds i8,i8*%ak,i64 4
%ap=bitcast i8*%ao to i32*
store i32%u,i32*%ap,align 4
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i32*
store i32 0,i32*%ar,align 4
%as=load i8*,i8**%c,align 8
%at=tail call fastcc i8*%ad(i8*inreg%as,i8*inreg%ak)
ret i8*%at
au:
%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
ret i8*%ay
}
define internal fastcc i8*@_SMLL1g_222(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**%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%j,label%l
j:
%k=bitcast i8*%b to i8**
br label%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%l],[%k,%j]
%q=load i8*,i8**%p,align 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%q,i64 8
%u=bitcast i8*%t to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%d,align 8
%x=call fastcc i8*@_SMLFN4List5foldlE(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**%f,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
store i8*%D,i8**%g,align 8
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,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%s,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to i32*
store i32 1,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**%g,align 8
store i8*null,i8**%g,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_221 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*)*@_SMLL1g_221 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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=call fastcc i8*%A(i8*inreg%X,i8*inreg%M)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%ae,i64 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=call fastcc i8*%ab(i8*inreg%ad,i8*inreg%ah)
%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
%ao=bitcast i8**%e to i8***
%ap=load i8**,i8***%ao,align 8
%aq=load i8*,i8**%ap,align 8
%ar=tail call fastcc i8*%al(i8*inreg%an,i8*inreg%aq)
ret i8*%ar
}
define internal fastcc i8*@_SMLL16functionDeclList_225(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=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*@_SMLFN5Graph11getNodeInfoE(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=bitcast i8**%e to i8***
%w=load i8**,i8***%v,align 8
store i8*null,i8**%e,align 8
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*%s(i8*inreg%u,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%E=bitcast i8**%c to i32**
%F=load i32*,i32**%E,align 8
store i8*null,i8**%c,align 8
%G=load i32,i32*%F,align 4
%H=call i8*@sml_alloc(i32 inreg 4)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 4,i32*%K,align 4
store i32%G,i32*%I,align 4
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*%B(i8*inreg%L,i8*inreg%H)
%N=icmp eq i8*%M,null
br i1%N,label%O,label%ai
O:
store i8*null,i8**%d,align 8
%P=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%P,i8**%c,align 8
%Q=call i8*@sml_alloc(i32 inreg 28)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177304,i32*%S,align 4
store i8*%Q,i8**%d,align 8
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[85x i8]}>,<{[4x i8],i32,[85x i8]}>*@q,i64 0,i32 2,i64 0),i8**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@z,i64 0,i32 2,i64 0),i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%Q,i64 24
%aa=bitcast i8*%Z to i32*
store i32 7,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 60)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177336,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 56
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=load i8*,i8**%d,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
call void@sml_raise(i8*inreg%ab)#1
unreachable
ai:
%aj=bitcast i8*%M 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
store i8*%an,i8**%c,align 8
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177296,i32*%aq,align 4
%ar=load i8*,i8**%c,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=load i8*,i8**%d,align 8
%au=getelementptr inbounds i8,i8*%ao,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ao,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
ret i8*%ao
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_230(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%c,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%b,%o]
%p=icmp eq i8*%n,null
br i1%p,label%q,label%K
q:
store i8*null,i8**%e,align 8
%r=load i8*,i8**@_SMLZN3Bug3BugE,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
store i8*%s,i8**%d,align 8
%v=load i8*,i8**%c,align 8
store i8*null,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*getelementptr inbounds(<{[4x i8],i32,[85x i8]}>,<{[4x i8],i32,[85x i8]}>*@s,i64 0,i32 2,i64 0),i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@B,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%s,i64 24
%C=bitcast i8*%B to i32*
store i32 7,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 60)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177336,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%D,i64 56
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
%J=bitcast i8*%D to i8**
store i8*%I,i8**%J,align 8
call void@sml_raise(i8*inreg%D)#1
unreachable
K:
%L=getelementptr inbounds i8,i8*%n,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=icmp eq i8*%N,null
br i1%O,label%P,label%cv
P:
%Q=call fastcc i8*@_SMLFN5Graph11getNodeInfoE(i32 inreg 1,i32 inreg 8)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
%W=bitcast i8**%e to i8***
%X=load i8**,i8***%W,align 8
%Y=load i8*,i8**%X,align 8
%Z=call fastcc i8*%T(i8*inreg%V,i8*inreg%Y)
%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
store i8*%ae,i8**%d,align 8
%af=bitcast i8**%c to i32**
%ag=load i32*,i32**%af,align 8
store i8*null,i8**%c,align 8
%ah=load i32,i32*%ag,align 4
%ai=call i8*@sml_alloc(i32 inreg 4)#0
%aj=bitcast i8*%ai to i32*
%ak=getelementptr inbounds i8,i8*%ai,i64 -4
%al=bitcast i8*%ak to i32*
store i32 4,i32*%al,align 4
store i32%ah,i32*%aj,align 4
%am=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%an=call fastcc i8*%ac(i8*inreg%am,i8*inreg%ai)
%ao=icmp eq i8*%an,null
br i1%ao,label%ap,label%aJ
ap:
store i8*null,i8**%e,align 8
%aq=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%aq,i8**%c,align 8
%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
store i8*%ar,i8**%d,align 8
%au=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[85x i8]}>,<{[4x i8],i32,[85x i8]}>*@r,i64 0,i32 2,i64 0),i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 16
%az=bitcast i8*%ay to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@z,i64 0,i32 2,i64 0),i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%ar,i64 24
%aB=bitcast i8*%aA to i32*
store i32 7,i32*%aB,align 4
%aC=call i8*@sml_alloc(i32 inreg 60)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177336,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%aC,i64 56
%aG=bitcast i8*%aF to i32*
store i32 1,i32*%aG,align 4
%aH=load i8*,i8**%d,align 8
%aI=bitcast i8*%aC to i8**
store i8*%aH,i8**%aI,align 8
call void@sml_raise(i8*inreg%aC)#1
unreachable
aJ:
%aK=bitcast i8*%an to i8**
%aL=load i8*,i8**%aK,align 8
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i32*
%aO=load i32,i32*%aN,align 4
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
store i8*%aQ,i8**%c,align 8
%aR=getelementptr inbounds i8,i8*%aL,i64 8
%aS=bitcast i8*%aR to i8**
%aT=load i8*,i8**%aS,align 8
store i8*%aT,i8**%d,align 8
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
%aX=getelementptr inbounds i8,i8*%aU,i64 12
%aY=bitcast i8*%aX to i32*
store i32 0,i32*%aY,align 1
%aZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a0=bitcast i8*%aU to i8**
store i8*%aZ,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 8
%a2=bitcast i8*%a1 to i32*
store i32%aO,i32*%a2,align 4
%a3=getelementptr inbounds i8,i8*%aU,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 1,i32*%a4,align 4
%a5=call fastcc i32@_SMLFN5VarID3Set6memberE(i8*inreg%aU)
%a6=icmp eq i32%a5,0
br i1%a6,label%bM,label%a7
a7:
%a8=call i8*@sml_alloc(i32 inreg 20)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177296,i32*%ba,align 4
store i8*%a8,i8**%f,align 8
%bb=load i8*,i8**%d,align 8
%bc=bitcast i8*%a8 to i8**
store i8*%bb,i8**%bc,align 8
%bd=getelementptr inbounds i8,i8*%a8,i64 8
%be=bitcast i8*%bd to i8**
store i8*null,i8**%be,align 8
%bf=getelementptr inbounds i8,i8*%a8,i64 16
%bg=bitcast i8*%bf to i32*
store i32 3,i32*%bg,align 4
%bh=load i8*,i8**%e,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**%c,align 8
store i8*null,i8**%e,align 8
%bl=getelementptr inbounds i8,i8*%bh,i64 16
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
store i8*%bn,i8**%d,align 8
%bo=call i8*@sml_alloc(i32 inreg 28)#0
%bp=getelementptr inbounds i8,i8*%bo,i64 -4
%bq=bitcast i8*%bp to i32*
store i32 1342177304,i32*%bq,align 4
store i8*%bo,i8**%e,align 8
%br=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bs=bitcast i8*%bo to i8**
store i8*%br,i8**%bs,align 8
%bt=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bu=getelementptr inbounds i8,i8*%bo,i64 8
%bv=bitcast i8*%bu to i8**
store i8*%bt,i8**%bv,align 8
%bw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bx=getelementptr inbounds i8,i8*%bo,i64 16
%by=bitcast i8*%bx to i8**
store i8*%bw,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%bo,i64 24
%bA=bitcast i8*%bz to i32*
store i32 7,i32*%bA,align 4
%bB=call i8*@sml_alloc(i32 inreg 20)#0
%bC=bitcast i8*%bB to i32*
%bD=getelementptr inbounds i8,i8*%bB,i64 -4
%bE=bitcast i8*%bD to i32*
store i32 1342177296,i32*%bE,align 4
%bF=getelementptr inbounds i8,i8*%bB,i64 4
%bG=bitcast i8*%bF to i32*
store i32 0,i32*%bG,align 1
store i32 1,i32*%bC,align 4
%bH=load i8*,i8**%e,align 8
%bI=getelementptr inbounds i8,i8*%bB,i64 8
%bJ=bitcast i8*%bI to i8**
store i8*%bH,i8**%bJ,align 8
%bK=getelementptr inbounds i8,i8*%bB,i64 16
%bL=bitcast i8*%bK to i32*
store i32 2,i32*%bL,align 4
ret i8*%bB
bM:
%bN=bitcast i8**%d to i8***
%bO=load i8**,i8***%bN,align 8
%bP=load i8*,i8**%bO,align 8
store i8*%bP,i8**%c,align 8
%bQ=load i8*,i8**%e,align 8
%bR=getelementptr inbounds i8,i8*%bQ,i64 8
%bS=bitcast i8*%bR to i8**
%bT=load i8*,i8**%bS,align 8
store i8*%bT,i8**%f,align 8
%bU=getelementptr inbounds i8,i8*%bQ,i64 16
%bV=bitcast i8*%bU to i8**
%bW=load i8*,i8**%bV,align 8
store i8*%bW,i8**%e,align 8
%bX=getelementptr inbounds i8*,i8**%bO,i64 1
%bY=load i8*,i8**%bX,align 8
store i8*%bY,i8**%g,align 8
%bZ=getelementptr inbounds i8*,i8**%bO,i64 2
%b0=load i8*,i8**%bZ,align 8
store i8*%b0,i8**%d,align 8
%b1=call i8*@sml_alloc(i32 inreg 44)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177320,i32*%b3,align 4
store i8*%b1,i8**%h,align 8
%b4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b5=bitcast i8*%b1 to i8**
store i8*%b4,i8**%b5,align 8
%b6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b7=getelementptr inbounds i8,i8*%b1,i64 8
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ca=getelementptr inbounds i8,i8*%b1,i64 16
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cd=getelementptr inbounds i8,i8*%b1,i64 24
%ce=bitcast i8*%cd to i8**
store i8*%cc,i8**%ce,align 8
%cf=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cg=getelementptr inbounds i8,i8*%b1,i64 32
%ch=bitcast i8*%cg to i8**
store i8*%cf,i8**%ch,align 8
%ci=getelementptr inbounds i8,i8*%b1,i64 40
%cj=bitcast i8*%ci to i32*
store i32 31,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 10,i32*%cl,align 4
%cq=load i8*,i8**%h,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=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 0,i32 inreg 4,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
%cA=bitcast i8*%cw to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%f,align 8
%cC=bitcast i8**%e to i8***
%cD=load i8**,i8***%cC,align 8
%cE=load i8*,i8**%cD,align 8
store i8*%cE,i8**%d,align 8
%cF=call i8*@sml_alloc(i32 inreg 12)#0
%cG=getelementptr inbounds i8,i8*%cF,i64 -4
%cH=bitcast i8*%cG to i32*
store i32 1342177288,i32*%cH,align 4
store i8*%cF,i8**%g,align 8
%cI=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cJ=bitcast i8*%cF to i8**
store i8*%cI,i8**%cJ,align 8
%cK=getelementptr inbounds i8,i8*%cF,i64 8
%cL=bitcast i8*%cK to i32*
store i32 1,i32*%cL,align 4
%cM=call i8*@sml_alloc(i32 inreg 28)#0
%cN=getelementptr inbounds i8,i8*%cM,i64 -4
%cO=bitcast i8*%cN to i32*
store i32 1342177304,i32*%cO,align 4
%cP=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cQ=bitcast i8*%cM to i8**
store i8*%cP,i8**%cQ,align 8
%cR=getelementptr inbounds i8,i8*%cM,i64 8
%cS=bitcast i8*%cR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL16functionDeclList_225 to void(...)*),void(...)**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cM,i64 16
%cU=bitcast i8*%cT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL16functionDeclList_225 to void(...)*),void(...)**%cU,align 8
%cV=getelementptr inbounds i8,i8*%cM,i64 24
%cW=bitcast i8*%cV to i32*
store i32 -2147483647,i32*%cW,align 4
%cX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cY=call fastcc i8*%cz(i8*inreg%cX,i8*inreg%cM)
%cZ=getelementptr inbounds i8,i8*%cY,i64 16
%c0=bitcast i8*%cZ to i8*(i8*,i8*)**
%c1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c0,align 8
%c2=bitcast i8*%cY to i8**
%c3=load i8*,i8**%c2,align 8
%c4=call fastcc i8*%c1(i8*inreg%c3,i8*inreg null)
%c5=getelementptr inbounds i8,i8*%c4,i64 16
%c6=bitcast i8*%c5 to i8*(i8*,i8*)**
%c7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%c6,align 8
%c8=bitcast i8*%c4 to i8**
%c9=load i8*,i8**%c8,align 8
%da=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%db=call fastcc i8*%c7(i8*inreg%c9,i8*inreg%da)
store i8*%db,i8**%c,align 8
%dc=load i8*,i8**%e,align 8
%dd=getelementptr inbounds i8,i8*%dc,i64 8
%de=bitcast i8*%dd to i8**
%df=load i8*,i8**%de,align 8
store i8*%df,i8**%d,align 8
%dg=getelementptr inbounds i8,i8*%dc,i64 16
%dh=bitcast i8*%dg to i8**
%di=load i8*,i8**%dh,align 8
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
store i8*%dj,i8**%f,align 8
%dm=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dn=bitcast i8*%dj to i8**
store i8*%dm,i8**%dn,align 8
%do=load i8*,i8**%d,align 8
store i8*null,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
store i8*null,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
%dw=call i8*@sml_alloc(i32 inreg 20)#0
%dx=bitcast i8*%dw to i32*
%dy=getelementptr inbounds i8,i8*%dw,i64 -4
%dz=bitcast i8*%dy to i32*
store i32 1342177296,i32*%dz,align 4
%dA=getelementptr inbounds i8,i8*%dw,i64 4
%dB=bitcast i8*%dA to i32*
store i32 0,i32*%dB,align 1
store i32 1,i32*%dx,align 4
%dC=load i8*,i8**%f,align 8
%dD=getelementptr inbounds i8,i8*%dw,i64 8
%dE=bitcast i8*%dD to i8**
store i8*%dC,i8**%dE,align 8
%dF=getelementptr inbounds i8,i8*%dw,i64 16
%dG=bitcast i8*%dF to i32*
store i32 2,i32*%dG,align 4
ret i8*%dw
}
define internal fastcc i32@_SMLL11boundIDList_233(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i32**
%d=load i32*,i32**%c,align 8
%e=load i32,i32*%d,align 4
ret i32%e
}
define internal fastcc i8*@_SMLL1g_235(i8*inreg%a)#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%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
store i8*%a,i8**%b,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**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
store i8*null,i8**%b,align 8
store i8*%m,i8**%c,align 8
%o=bitcast i8*%m to i8**
%p=load i8*,i8**%o,align 8
%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**%e,align 8
%t=load i8*,i8**%o,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%f,align 8
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=bitcast i8**%c to i8****
%A=bitcast i8*%m to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLFN12VALREC__Utils15getFreeIdsInExpE(i8*inreg%C)
store i8*%D,i8**%b,align 8
%E=call fastcc i8*@_SMLFN5Graph7addNodeE(i32 inreg 1,i32 inreg 8)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%c,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%H(i8*inreg%J,i8*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
store i8*%T,i8**%g,align 8
%U=load i8***,i8****%z,align 8
store i8*null,i8**%c,align 8
%V=load i8**,i8***%U,align 8
%W=load i8*,i8**%V,align 8
%X=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%W)
store i8*%X,i8**%c,align 8
%Y=call i8*@sml_alloc(i32 inreg 28)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177304,i32*%aa,align 4
store i8*%Y,i8**%d,align 8
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ae=getelementptr inbounds i8,i8*%Y,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ah=getelementptr inbounds i8,i8*%Y,i64 16
%ai=bitcast i8*%ah to i8**
store i8*%ag,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%Y,i64 24
%ak=bitcast i8*%aj to i32*
store i32 7,i32*%ak,align 4
%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
%ao=getelementptr inbounds i8,i8*%al,i64 20
%ap=bitcast i8*%ao to i32*
store i32 0,i32*%ap,align 1
%aq=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ar=bitcast i8*%al to i8**
store i8*%aq,i8**%ar,align 8
%as=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%at=getelementptr inbounds i8,i8*%al,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%al,i64 16
%aw=bitcast i8*%av to i32*
store i32%y,i32*%aw,align 4
%ax=getelementptr inbounds i8,i8*%al,i64 24
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
%az=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aA=call fastcc i8*%R(i8*inreg%az,i8*inreg%al)
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
ret i8*%aC
}
define internal fastcc i8*@_SMLL1g_237(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%h,label%k
h:
%i=bitcast i8*%a to i8**
%j=bitcast i8*%b to i8**
br label%p
k:
call void@sml_check(i32 inreg%f)
%l=bitcast i8**%c to i8***
%m=load i8**,i8***%l,align 8
%n=bitcast i8**%d to i8***
%o=load i8**,i8***%n,align 8
br label%p
p:
%q=phi i8**[%o,%k],[%i,%h]
%r=phi i8**[%m,%k],[%j,%h]
%s=load i8*,i8**%r,align 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%s,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=load i8*,i8**%q,align 8
store i8*%B,i8**%e,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**%e,align 8
store i8*null,i8**%e,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%A,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=call fastcc i32@_SMLFN5VarID3Set6memberE(i8*inreg%C)
%O=icmp eq i32%N,0
br i1%O,label%au,label%P
P:
%Q=call fastcc i8*@_SMLFN5Graph7addEdgeE(i32 inreg 1,i32 inreg 8)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
%W=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%X=getelementptr inbounds i8,i8*%W,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
%aa=call fastcc i8*%T(i8*inreg%V,i8*inreg%Z)
%ab=getelementptr inbounds i8,i8*%aa,i64 16
%ac=bitcast i8*%ab to i8*(i8*,i8*)**
%ad=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ac,align 8
%ae=bitcast i8*%aa to i8**
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%c,align 8
%ag=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ah=getelementptr inbounds i8,i8*%ag,i64 8
%ai=bitcast i8*%ah to i32*
%aj=load i32,i32*%ai,align 4
%ak=call i8*@sml_alloc(i32 inreg 12)#0
%al=bitcast i8*%ak to i32*
%am=getelementptr inbounds i8,i8*%ak,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
store i32%aj,i32*%al,align 4
%ao=getelementptr inbounds i8,i8*%ak,i64 4
%ap=bitcast i8*%ao to i32*
store i32%u,i32*%ap,align 4
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i32*
store i32 0,i32*%ar,align 4
%as=load i8*,i8**%c,align 8
%at=tail call fastcc i8*%ad(i8*inreg%as,i8*inreg%ak)
ret i8*%at
au:
%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
ret i8*%ay
}
define internal fastcc i8*@_SMLL1g_238(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**%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%j,label%l
j:
%k=bitcast i8*%b to i8**
br label%o
l:
call void@sml_check(i32 inreg%h)
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%l],[%k,%j]
%q=load i8*,i8**%p,align 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%q,i64 8
%u=bitcast i8*%t to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%d,align 8
%x=call fastcc i8*@_SMLFN4List5foldlE(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**%f,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
store i8*%D,i8**%g,align 8
%G=load i8*,i8**%d,align 8
store i8*null,i8**%d,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%s,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to i32*
store i32 1,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**%g,align 8
store i8*null,i8**%g,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL1g_237 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*)*@_SMLL1g_237 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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Y=call fastcc i8*%A(i8*inreg%X,i8*inreg%M)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%ae,i64 8
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=call fastcc i8*%ab(i8*inreg%ad,i8*inreg%ah)
%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
%ao=bitcast i8**%e to i8***
%ap=load i8**,i8***%ao,align 8
%aq=load i8*,i8**%ap,align 8
%ar=tail call fastcc i8*%al(i8*inreg%an,i8*inreg%aq)
ret i8*%ar
}
define internal fastcc i8*@_SMLL16functionDeclList_241(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=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*@_SMLFN5Graph11getNodeInfoE(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=bitcast i8**%e to i8***
%w=load i8**,i8***%v,align 8
store i8*null,i8**%e,align 8
%x=load i8*,i8**%w,align 8
%y=call fastcc i8*%s(i8*inreg%u,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%E=bitcast i8**%c to i32**
%F=load i32*,i32**%E,align 8
store i8*null,i8**%c,align 8
%G=load i32,i32*%F,align 4
%H=call i8*@sml_alloc(i32 inreg 4)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 4,i32*%K,align 4
store i32%G,i32*%I,align 4
%L=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%M=call fastcc i8*%B(i8*inreg%L,i8*inreg%H)
%N=icmp eq i8*%M,null
br i1%N,label%O,label%ai
O:
store i8*null,i8**%d,align 8
%P=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%P,i8**%c,align 8
%Q=call i8*@sml_alloc(i32 inreg 28)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177304,i32*%S,align 4
store i8*%Q,i8**%d,align 8
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[86x i8]}>,<{[4x i8],i32,[86x i8]}>*@x,i64 0,i32 2,i64 0),i8**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@z,i64 0,i32 2,i64 0),i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%Q,i64 24
%aa=bitcast i8*%Z to i32*
store i32 7,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 60)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177336,i32*%ad,align 4
%ae=getelementptr inbounds i8,i8*%ab,i64 56
%af=bitcast i8*%ae to i32*
store i32 1,i32*%af,align 4
%ag=load i8*,i8**%d,align 8
%ah=bitcast i8*%ab to i8**
store i8*%ag,i8**%ah,align 8
call void@sml_raise(i8*inreg%ab)#1
unreachable
ai:
%aj=bitcast i8*%M 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
store i8*%an,i8**%c,align 8
%ao=call i8*@sml_alloc(i32 inreg 20)#0
%ap=getelementptr inbounds i8,i8*%ao,i64 -4
%aq=bitcast i8*%ap to i32*
store i32 1342177296,i32*%aq,align 4
%ar=load i8*,i8**%c,align 8
%as=bitcast i8*%ao to i8**
store i8*%ar,i8**%as,align 8
%at=load i8*,i8**%d,align 8
%au=getelementptr inbounds i8,i8*%ao,i64 8
%av=bitcast i8*%au to i8**
store i8*%at,i8**%av,align 8
%aw=getelementptr inbounds i8,i8*%ao,i64 16
%ax=bitcast i8*%aw to i32*
store i32 3,i32*%ax,align 4
ret i8*%ao
}
define internal fastcc i8*@_SMLL3pat_244(i8*inreg%a,i8*inreg%b)#4 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
%g=bitcast i8*%b to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%c,align 8
%i=getelementptr inbounds i8,i8*%b,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%d,align 8
%l=bitcast i8*%a to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%e,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
store i8*%n,i8**%f,align 8
%q=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%n,i64 16
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%n,i64 24
%z=bitcast i8*%y to i32*
store i32 7,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=bitcast i8*%A to i32*
%C=getelementptr inbounds i8,i8*%A,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=getelementptr inbounds i8,i8*%A,i64 4
%F=bitcast i8*%E to i32*
store i32 0,i32*%F,align 1
store i32 8,i32*%B,align 4
%G=load i8*,i8**%f,align 8
%H=getelementptr inbounds i8,i8*%A,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%A,i64 16
%K=bitcast i8*%J to i32*
store i32 2,i32*%K,align 4
ret i8*%A
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_247(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=icmp eq i8*%m,null
br i1%o,label%p,label%J
p:
store i8*null,i8**%e,align 8
%q=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
store i8*%r,i8**%d,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[86x i8]}>,<{[4x i8],i32,[86x i8]}>*@A,i64 0,i32 2,i64 0),i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@B,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 7,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*%m,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=icmp eq i8*%M,null
br i1%N,label%O,label%dE
O:
%P=call fastcc i8*@_SMLFN5Graph11getNodeInfoE(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=bitcast i8**%e to i8***
%W=load i8**,i8***%V,align 8
%X=load i8*,i8**%W,align 8
%Y=call fastcc i8*%S(i8*inreg%U,i8*inreg%X)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%d,align 8
%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 4)#0
%ai=bitcast i8*%ah to i32*
%aj=getelementptr inbounds i8,i8*%ah,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 4,i32*%ak,align 4
store i32%ag,i32*%ai,align 4
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=call fastcc i8*%ab(i8*inreg%al,i8*inreg%ah)
%an=icmp eq i8*%am,null
br i1%an,label%ao,label%aI
ao:
store i8*null,i8**%e,align 8
%ap=load i8*,i8**@_SMLZN3Bug3BugE,align 8
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
store i8*%aq,i8**%d,align 8
%at=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%aq,i64 8
%aw=bitcast i8*%av to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[86x i8]}>,<{[4x i8],i32,[86x i8]}>*@y,i64 0,i32 2,i64 0),i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%aq,i64 16
%ay=bitcast i8*%ax to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@z,i64 0,i32 2,i64 0),i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%aq,i64 24
%aA=bitcast i8*%az to i32*
store i32 7,i32*%aA,align 4
%aB=call i8*@sml_alloc(i32 inreg 60)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177336,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%aB,i64 56
%aF=bitcast i8*%aE to i32*
store i32 1,i32*%aF,align 4
%aG=load i8*,i8**%d,align 8
%aH=bitcast i8*%aB to i8**
store i8*%aG,i8**%aH,align 8
call void@sml_raise(i8*inreg%aB)#1
unreachable
aI:
%aJ=bitcast i8*%am to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=getelementptr inbounds i8,i8*%aK,i64 16
%aM=bitcast i8*%aL to i32*
%aN=load i32,i32*%aM,align 4
%aO=bitcast i8*%aK to i8**
%aP=load i8*,i8**%aO,align 8
store i8*%aP,i8**%c,align 8
%aQ=getelementptr inbounds i8,i8*%aK,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
store i8*%aS,i8**%d,align 8
%aT=call i8*@sml_alloc(i32 inreg 20)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177296,i32*%aV,align 4
%aW=getelementptr inbounds i8,i8*%aT,i64 12
%aX=bitcast i8*%aW to i32*
store i32 0,i32*%aX,align 1
%aY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aZ=bitcast i8*%aT to i8**
store i8*%aY,i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 8
%a1=bitcast i8*%a0 to i32*
store i32%aN,i32*%a1,align 4
%a2=getelementptr inbounds i8,i8*%aT,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 1,i32*%a3,align 4
%a4=call fastcc i32@_SMLFN5VarID3Set6memberE(i8*inreg%aT)
%a5=icmp eq i32%a4,0
br i1%a5,label%bL,label%a6
a6:
%a7=load i8*,i8**%e,align 8
%a8=getelementptr inbounds i8,i8*%a7,i64 8
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%c,align 8
%bb=getelementptr inbounds i8,i8*%a7,i64 16
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%e,align 8
%be=call i8*@sml_alloc(i32 inreg 20)#0
%bf=getelementptr inbounds i8,i8*%be,i64 -4
%bg=bitcast i8*%bf to i32*
store i32 1342177296,i32*%bg,align 4
store i8*%be,i8**%f,align 8
%bh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bi=bitcast i8*%be to i8**
store i8*%bh,i8**%bi,align 8
%bj=getelementptr inbounds i8,i8*%be,i64 8
%bk=bitcast i8*%bj to i8**
store i8*null,i8**%bk,align 8
%bl=getelementptr inbounds i8,i8*%be,i64 16
%bm=bitcast i8*%bl to i32*
store i32 3,i32*%bm,align 4
%bn=call i8*@sml_alloc(i32 inreg 28)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177304,i32*%bp,align 4
store i8*%bn,i8**%d,align 8
%bq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bt=getelementptr inbounds i8,i8*%bn,i64 8
%bu=bitcast i8*%bt to i8**
store i8*%bs,i8**%bu,align 8
%bv=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bw=getelementptr inbounds i8,i8*%bn,i64 16
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=getelementptr inbounds i8,i8*%bn,i64 24
%bz=bitcast i8*%by to i32*
store i32 7,i32*%bz,align 4
%bA=call i8*@sml_alloc(i32 inreg 20)#0
%bB=bitcast i8*%bA to i32*
%bC=getelementptr inbounds i8,i8*%bA,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=getelementptr inbounds i8,i8*%bA,i64 4
%bF=bitcast i8*%bE to i32*
store i32 0,i32*%bF,align 1
store i32 15,i32*%bB,align 4
%bG=load i8*,i8**%d,align 8
%bH=getelementptr inbounds i8,i8*%bA,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bA,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 2,i32*%bK,align 4
ret i8*%bA
bL:
%bM=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%bR,i8**%f,align 8
%bS=load i8*,i8**%e,align 8
%bT=getelementptr inbounds i8,i8*%bS,i64 16
%bU=bitcast i8*%bT to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%c,align 8
%bW=call i8*@sml_alloc(i32 inreg 12)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177288,i32*%bY,align 4
store i8*%bW,i8**%g,align 8
%bZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bW,i64 8
%b2=bitcast i8*%b1 to i32*
store i32 1,i32*%b2,align 4
%b3=call i8*@sml_alloc(i32 inreg 28)#0
%b4=getelementptr inbounds i8,i8*%b3,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177304,i32*%b5,align 4
%b6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%b7=bitcast i8*%b3 to i8**
store i8*%b6,i8**%b7,align 8
%b8=getelementptr inbounds i8,i8*%b3,i64 8
%b9=bitcast i8*%b8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3pat_244 to void(...)*),void(...)**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b3,i64 16
%cb=bitcast i8*%ca to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL3pat_244 to void(...)*),void(...)**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b3,i64 24
%cd=bitcast i8*%cc to i32*
store i32 -2147483647,i32*%cd,align 4
%ce=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cf=call fastcc i8*%bP(i8*inreg%ce,i8*inreg%b3)
%cg=getelementptr inbounds i8,i8*%cf,i64 16
%ch=bitcast i8*%cg to i8*(i8*,i8*)**
%ci=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ch,align 8
%cj=bitcast i8*%cf to i8**
%ck=load i8*,i8**%cj,align 8
store i8*%ck,i8**%f,align 8
%cl=load i8*,i8**%d,align 8
%cm=getelementptr inbounds i8,i8*%cl,i64 16
%cn=bitcast i8*%cm to i8**
%co=load i8*,i8**%cn,align 8
store i8*%co,i8**%c,align 8
%cp=call i8*@sml_alloc(i32 inreg 20)#0
%cq=bitcast i8*%cp to i32*
%cr=getelementptr inbounds i8,i8*%cp,i64 -4
%cs=bitcast i8*%cr to i32*
store i32 1342177296,i32*%cs,align 4
%ct=getelementptr inbounds i8,i8*%cp,i64 4
%cu=bitcast i8*%ct to i32*
store i32 0,i32*%cu,align 1
store i32 10,i32*%cq,align 4
%cv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cw=getelementptr inbounds i8,i8*%cp,i64 8
%cx=bitcast i8*%cw to i8**
store i8*%cv,i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cp,i64 16
%cz=bitcast i8*%cy to i32*
store i32 2,i32*%cz,align 4
%cA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cB=call fastcc i8*%ci(i8*inreg%cA,i8*inreg%cp)
%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
%cI=getelementptr inbounds i8,i8*%cH,i64 8
%cJ=bitcast i8*%cI to i8**
%cK=load i8*,i8**%cJ,align 8
%cL=call fastcc i8*%cE(i8*inreg%cG,i8*inreg%cK)
store i8*%cL,i8**%c,align 8
%cM=load i8*,i8**%e,align 8
%cN=getelementptr inbounds i8,i8*%cM,i64 8
%cO=bitcast i8*%cN to i8**
%cP=load i8*,i8**%cO,align 8
store i8*%cP,i8**%f,align 8
%cQ=bitcast i8**%d to i8***
%cR=load i8**,i8***%cQ,align 8
store i8*null,i8**%d,align 8
%cS=load i8*,i8**%cR,align 8
store i8*%cS,i8**%g,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
store i8*%cT,i8**%d,align 8
%cW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cX=bitcast i8*%cT to i8**
store i8*%cW,i8**%cX,align 8
%cY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%cZ=getelementptr inbounds i8,i8*%cT,i64 8
%c0=bitcast i8*%cZ to i8**
store i8*%cY,i8**%c0,align 8
%c1=getelementptr inbounds i8,i8*%cT,i64 16
%c2=bitcast i8*%c1 to i32*
store i32 3,i32*%c2,align 4
%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**%g,align 8
%c6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c7=bitcast i8*%c3 to i8**
store i8*%c6,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%c3,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*null,i8**%c9,align 8
%da=getelementptr inbounds i8,i8*%c3,i64 16
%db=bitcast i8*%da to i32*
store i32 3,i32*%db,align 4
%dc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dd=getelementptr inbounds i8,i8*%dc,i64 16
%de=bitcast i8*%dd to i8**
%df=load i8*,i8**%de,align 8
store i8*%df,i8**%c,align 8
%dg=call i8*@sml_alloc(i32 inreg 28)#0
%dh=getelementptr inbounds i8,i8*%dg,i64 -4
%di=bitcast i8*%dh to i32*
store i32 1342177304,i32*%di,align 4
store i8*%dg,i8**%d,align 8
%dj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dk=bitcast i8*%dg to i8**
store i8*%dj,i8**%dk,align 8
%dl=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dm=getelementptr inbounds i8,i8*%dg,i64 8
%dn=bitcast i8*%dm to i8**
store i8*%dl,i8**%dn,align 8
%do=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dp=getelementptr inbounds i8,i8*%dg,i64 16
%dq=bitcast i8*%dp to i8**
store i8*%do,i8**%dq,align 8
%dr=getelementptr inbounds i8,i8*%dg,i64 24
%ds=bitcast i8*%dr to i32*
store i32 7,i32*%ds,align 4
%dt=call i8*@sml_alloc(i32 inreg 20)#0
%du=bitcast i8*%dt to i32*
%dv=getelementptr inbounds i8,i8*%dt,i64 -4
%dw=bitcast i8*%dv to i32*
store i32 1342177296,i32*%dw,align 4
%dx=getelementptr inbounds i8,i8*%dt,i64 4
%dy=bitcast i8*%dx to i32*
store i32 0,i32*%dy,align 1
store i32 13,i32*%du,align 4
%dz=load i8*,i8**%d,align 8
%dA=getelementptr inbounds i8,i8*%dt,i64 8
%dB=bitcast i8*%dA to i8**
store i8*%dz,i8**%dB,align 8
%dC=getelementptr inbounds i8,i8*%dt,i64 16
%dD=bitcast i8*%dC to i32*
store i32 2,i32*%dD,align 4
ret i8*%dt
dE:
%dF=call fastcc i8*@_SMLFN4List5foldrE(i32 inreg 0,i32 inreg 4,i32 inreg 1,i32 inreg 8)
%dG=getelementptr inbounds i8,i8*%dF,i64 16
%dH=bitcast i8*%dG to i8*(i8*,i8*)**
%dI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dH,align 8
%dJ=bitcast i8*%dF to i8**
%dK=load i8*,i8**%dJ,align 8
store i8*%dK,i8**%f,align 8
%dL=bitcast i8**%e to i8***
%dM=load i8**,i8***%dL,align 8
%dN=load i8*,i8**%dM,align 8
store i8*%dN,i8**%d,align 8
%dO=call i8*@sml_alloc(i32 inreg 12)#0
%dP=getelementptr inbounds i8,i8*%dO,i64 -4
%dQ=bitcast i8*%dP to i32*
store i32 1342177288,i32*%dQ,align 4
store i8*%dO,i8**%g,align 8
%dR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dS=bitcast i8*%dO to i8**
store i8*%dR,i8**%dS,align 8
%dT=getelementptr inbounds i8,i8*%dO,i64 8
%dU=bitcast i8*%dT to i32*
store i32 1,i32*%dU,align 4
%dV=call i8*@sml_alloc(i32 inreg 28)#0
%dW=getelementptr inbounds i8,i8*%dV,i64 -4
%dX=bitcast i8*%dW to i32*
store i32 1342177304,i32*%dX,align 4
%dY=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dZ=bitcast i8*%dV to i8**
store i8*%dY,i8**%dZ,align 8
%d0=getelementptr inbounds i8,i8*%dV,i64 8
%d1=bitcast i8*%d0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL16functionDeclList_241 to void(...)*),void(...)**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dV,i64 16
%d3=bitcast i8*%d2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL16functionDeclList_241 to void(...)*),void(...)**%d3,align 8
%d4=getelementptr inbounds i8,i8*%dV,i64 24
%d5=bitcast i8*%d4 to i32*
store i32 -2147483647,i32*%d5,align 4
%d6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d7=call fastcc i8*%dI(i8*inreg%d6,i8*inreg%dV)
%d8=getelementptr inbounds i8,i8*%d7,i64 16
%d9=bitcast i8*%d8 to i8*(i8*,i8*)**
%ea=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d9,align 8
%eb=bitcast i8*%d7 to i8**
%ec=load i8*,i8**%eb,align 8
%ed=call fastcc i8*%ea(i8*inreg%ec,i8*inreg null)
%ee=getelementptr inbounds i8,i8*%ed,i64 16
%ef=bitcast i8*%ee to i8*(i8*,i8*)**
%eg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ef,align 8
%eh=bitcast i8*%ed to i8**
%ei=load i8*,i8**%eh,align 8
%ej=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ek=call fastcc i8*%eg(i8*inreg%ei,i8*inreg%ej)
store i8*%ek,i8**%c,align 8
%el=load i8*,i8**%e,align 8
%em=getelementptr inbounds i8,i8*%el,i64 8
%en=bitcast i8*%em to i8**
%eo=load i8*,i8**%en,align 8
store i8*%eo,i8**%d,align 8
%ep=getelementptr inbounds i8,i8*%el,i64 16
%eq=bitcast i8*%ep to i8**
%er=load i8*,i8**%eq,align 8
store i8*%er,i8**%e,align 8
%es=call i8*@sml_alloc(i32 inreg 28)#0
%et=getelementptr inbounds i8,i8*%es,i64 -4
%eu=bitcast i8*%et to i32*
store i32 1342177304,i32*%eu,align 4
store i8*%es,i8**%f,align 8
%ev=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ew=bitcast i8*%es to i8**
store i8*%ev,i8**%ew,align 8
%ex=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ey=getelementptr inbounds i8,i8*%es,i64 8
%ez=bitcast i8*%ey to i8**
store i8*%ex,i8**%ez,align 8
%eA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eB=getelementptr inbounds i8,i8*%es,i64 16
%eC=bitcast i8*%eB to i8**
store i8*%eA,i8**%eC,align 8
%eD=getelementptr inbounds i8,i8*%es,i64 24
%eE=bitcast i8*%eD to i32*
store i32 7,i32*%eE,align 4
%eF=call i8*@sml_alloc(i32 inreg 20)#0
%eG=bitcast i8*%eF to i32*
%eH=getelementptr inbounds i8,i8*%eF,i64 -4
%eI=bitcast i8*%eH to i32*
store i32 1342177296,i32*%eI,align 4
%eJ=getelementptr inbounds i8,i8*%eF,i64 4
%eK=bitcast i8*%eJ to i32*
store i32 0,i32*%eK,align 1
store i32 15,i32*%eG,align 4
%eL=load i8*,i8**%f,align 8
%eM=getelementptr inbounds i8,i8*%eF,i64 8
%eN=bitcast i8*%eM to i8**
store i8*%eL,i8**%eN,align 8
%eO=getelementptr inbounds i8,i8*%eF,i64 16
%eP=bitcast i8*%eO to i32*
store i32 2,i32*%eP,align 4
ret i8*%eF
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_248(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=getelementptr inbounds i8,i8*%j,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
store i8*%n,i8**%c,align 8
%o=getelementptr inbounds i8,i8*%j,i64 16
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%d,align 8
%r=bitcast i8*%j to i8**
%s=load i8*,i8**%r,align 8
%t=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%s)
store i8*%t,i8**%b,align 8
%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**%b,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=load i8*,i8**%c,align 8
%A=getelementptr inbounds i8,i8*%u,i64 8
%B=bitcast i8*%A to i8**
store i8*%z,i8**%B,align 8
%C=load i8*,i8**%d,align 8
%D=getelementptr inbounds i8,i8*%u,i64 16
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%u,i64 24
%G=bitcast i8*%F to i32*
store i32 7,i32*%G,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeRuleE_251(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
store i8*%l,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%o)
store i8*%p,i8**%b,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%c,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%b,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%a)unnamed_addr#2 gc"smlsharp"{
o:
%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
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**%d,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%d,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
%p=icmp eq i8*%n,null
br i1%p,label%L,label%q
q:
%r=bitcast i8*%n to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 12,label%L
i32 5,label%L
i32 36,label%L
i32 40,label%L
i32 17,label%L
i32 18,label%L
i32 2,label%L
i32 4,label%L
i32 15,label%L
i32 13,label%L
i32 16,label%L
i32 14,label%L
i32 27,label%L
i32 39,label%qB
i32 24,label%pU
i32 0,label%o7
i32 1,label%oi
i32 26,label%nF
i32 38,label%m4
i32 29,label%mm
i32 28,label%lR
i32 23,label%k2
i32 20,label%kk
i32 21,label%jJ
i32 22,label%i8
i32 3,label%hZ
i32 7,label%ha
i32 31,label%gl
i32 32,label%fI
i32 30,label%L
i32 34,label%e7
i32 35,label%ep
i32 19,label%c4
i32 37,label%ct
i32 25,label%bJ
i32 6,label%a8
i32 8,label%ax
i32 9,label%L
i32 10,label%L
i32 11,label%M
i32 33,label%L
]
t:
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,[82x i8]}>,<{[4x i8],i32,[82x i8]}>*@k,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:
ret i8*%n
M:
%N=getelementptr inbounds i8,i8*%n,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
%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**%e,align 8
%T=getelementptr inbounds i8,i8*%P,i64 16
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%f,align 8
%W=bitcast i8*%P to i8**
%X=load i8*,i8**%W,align 8
%Y=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%X)
store i8*%Y,i8**%d,align 8
%Z=call i8*@sml_alloc(i32 inreg 28)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177304,i32*%ab,align 4
store i8*%Z,i8**%g,align 8
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%Z,i64 24
%al=bitcast i8*%ak to i32*
store i32 7,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 20)#0
%an=bitcast i8*%am to i32*
%ao=getelementptr inbounds i8,i8*%am,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177296,i32*%ap,align 4
%aq=getelementptr inbounds i8,i8*%am,i64 4
%ar=bitcast i8*%aq to i32*
store i32 0,i32*%ar,align 1
store i32 11,i32*%an,align 4
%as=load i8*,i8**%g,align 8
%at=getelementptr inbounds i8,i8*%am,i64 8
%au=bitcast i8*%at to i8**
store i8*%as,i8**%au,align 8
%av=getelementptr inbounds i8,i8*%am,i64 16
%aw=bitcast i8*%av to i32*
store i32 2,i32*%aw,align 4
ret i8*%am
ax:
%ay=getelementptr inbounds i8,i8*%n,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=getelementptr inbounds i8,i8*%aA,i64 8
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%e,align 8
%aE=getelementptr inbounds i8,i8*%aA,i64 16
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
store i8*%aG,i8**%f,align 8
%aH=bitcast i8*%aA to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%aI)
store i8*%aJ,i8**%d,align 8
%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
store i8*%aK,i8**%g,align 8
%aN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aO=bitcast i8*%aK to i8**
store i8*%aN,i8**%aO,align 8
%aP=load i8*,i8**%e,align 8
store i8*null,i8**%e,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**%f,align 8
store i8*null,i8**%f,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
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=bitcast i8*%aX to i32*
%aZ=getelementptr inbounds i8,i8*%aX,i64 -4
%a0=bitcast i8*%aZ to i32*
store i32 1342177296,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aX,i64 4
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 1
store i32 8,i32*%aY,align 4
%a3=load i8*,i8**%g,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 8
%a5=bitcast i8*%a4 to i8**
store i8*%a3,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aX,i64 16
%a7=bitcast i8*%a6 to i32*
store i32 2,i32*%a7,align 4
ret i8*%aX
a8:
%a9=getelementptr inbounds i8,i8*%n,i64 8
%ba=bitcast i8*%a9 to i8**
%bb=load i8*,i8**%ba,align 8
%bc=getelementptr inbounds i8,i8*%bb,i64 8
%bd=bitcast i8*%bc to i8**
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%e,align 8
%bf=getelementptr inbounds i8,i8*%bb,i64 16
%bg=bitcast i8*%bf to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%f,align 8
%bi=bitcast i8*%bb to i8**
%bj=load i8*,i8**%bi,align 8
%bk=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%bj)
store i8*%bk,i8**%d,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
store i8*%bl,i8**%g,align 8
%bo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bp=bitcast i8*%bl to i8**
store i8*%bo,i8**%bp,align 8
%bq=load i8*,i8**%e,align 8
store i8*null,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**%f,align 8
store i8*null,i8**%f,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
%by=call i8*@sml_alloc(i32 inreg 20)#0
%bz=bitcast i8*%by to i32*
%bA=getelementptr inbounds i8,i8*%by,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
%bC=getelementptr inbounds i8,i8*%by,i64 4
%bD=bitcast i8*%bC to i32*
store i32 0,i32*%bD,align 1
store i32 6,i32*%bz,align 4
%bE=load i8*,i8**%g,align 8
%bF=getelementptr inbounds i8,i8*%by,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%by,i64 16
%bI=bitcast i8*%bH to i32*
store i32 2,i32*%bI,align 4
ret i8*%by
bJ:
%bK=getelementptr inbounds i8,i8*%n,i64 8
%bL=bitcast i8*%bK to i8**
%bM=load i8*,i8**%bL,align 8
store i8*%bM,i8**%e,align 8
%bN=bitcast i8*%bM to i32*
%bO=load i32,i32*%bN,align 4
%bP=getelementptr inbounds i8,i8*%bM,i64 24
%bQ=bitcast i8*%bP to i8**
%bR=load i8*,i8**%bQ,align 8
store i8*%bR,i8**%f,align 8
%bS=getelementptr inbounds i8,i8*%bM,i64 8
%bT=bitcast i8*%bS to i8**
%bU=load i8*,i8**%bT,align 8
%bV=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%bU)
store i8*%bV,i8**%d,align 8
%bW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bX=getelementptr inbounds i8,i8*%bW,i64 16
%bY=bitcast i8*%bX to i8**
%bZ=load i8*,i8**%bY,align 8
%b0=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%bZ)
store i8*%b0,i8**%e,align 8
%b1=call i8*@sml_alloc(i32 inreg 36)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177312,i32*%b3,align 4
store i8*%b1,i8**%g,align 8
%b4=getelementptr inbounds i8,i8*%b1,i64 4
%b5=bitcast i8*%b4 to i32*
store i32 0,i32*%b5,align 1
%b6=bitcast i8*%b1 to i32*
store i32%bO,i32*%b6,align 4
%b7=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b8=getelementptr inbounds i8,i8*%b1,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cb=getelementptr inbounds i8,i8*%b1,i64 16
%cc=bitcast i8*%cb to i8**
store i8*%ca,i8**%cc,align 8
%cd=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ce=getelementptr inbounds i8,i8*%b1,i64 24
%cf=bitcast i8*%ce to i8**
store i8*%cd,i8**%cf,align 8
%cg=getelementptr inbounds i8,i8*%b1,i64 32
%ch=bitcast i8*%cg to i32*
store i32 14,i32*%ch,align 4
%ci=call i8*@sml_alloc(i32 inreg 20)#0
%cj=bitcast i8*%ci to i32*
%ck=getelementptr inbounds i8,i8*%ci,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177296,i32*%cl,align 4
%cm=getelementptr inbounds i8,i8*%ci,i64 4
%cn=bitcast i8*%cm to i32*
store i32 0,i32*%cn,align 1
store i32 25,i32*%cj,align 4
%co=load i8*,i8**%g,align 8
%cp=getelementptr inbounds i8,i8*%ci,i64 8
%cq=bitcast i8*%cp to i8**
store i8*%co,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%ci,i64 16
%cs=bitcast i8*%cr to i32*
store i32 2,i32*%cs,align 4
ret i8*%ci
ct:
%cu=getelementptr inbounds i8,i8*%n,i64 8
%cv=bitcast i8*%cu to i8**
%cw=load i8*,i8**%cv,align 8
%cx=bitcast i8*%cw to i8**
%cy=load i8*,i8**%cx,align 8
store i8*%cy,i8**%e,align 8
%cz=getelementptr inbounds i8,i8*%cw,i64 8
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%f,align 8
%cC=getelementptr inbounds i8,i8*%cw,i64 16
%cD=bitcast i8*%cC to i8**
%cE=load i8*,i8**%cD,align 8
%cF=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%cE)
store i8*%cF,i8**%d,align 8
%cG=call i8*@sml_alloc(i32 inreg 28)#0
%cH=getelementptr inbounds i8,i8*%cG,i64 -4
%cI=bitcast i8*%cH to i32*
store i32 1342177304,i32*%cI,align 4
store i8*%cG,i8**%g,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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cM=getelementptr inbounds i8,i8*%cG,i64 8
%cN=bitcast i8*%cM to i8**
store i8*%cL,i8**%cN,align 8
%cO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cP=getelementptr inbounds i8,i8*%cG,i64 16
%cQ=bitcast i8*%cP to i8**
store i8*%cO,i8**%cQ,align 8
%cR=getelementptr inbounds i8,i8*%cG,i64 24
%cS=bitcast i8*%cR to i32*
store i32 7,i32*%cS,align 4
%cT=call i8*@sml_alloc(i32 inreg 20)#0
%cU=bitcast i8*%cT to i32*
%cV=getelementptr inbounds i8,i8*%cT,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177296,i32*%cW,align 4
%cX=getelementptr inbounds i8,i8*%cT,i64 4
%cY=bitcast i8*%cX to i32*
store i32 0,i32*%cY,align 1
store i32 37,i32*%cU,align 4
%cZ=load i8*,i8**%g,align 8
%c0=getelementptr inbounds i8,i8*%cT,i64 8
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cT,i64 16
%c3=bitcast i8*%c2 to i32*
store i32 2,i32*%c3,align 4
ret i8*%cT
c4:
%c5=getelementptr inbounds i8,i8*%n,i64 8
%c6=bitcast i8*%c5 to i8**
%c7=load i8*,i8**%c6,align 8
%c8=getelementptr inbounds i8,i8*%c7,i64 8
%c9=bitcast i8*%c8 to i8**
%da=load i8*,i8**%c9,align 8
store i8*%da,i8**%e,align 8
%db=getelementptr inbounds i8,i8*%c7,i64 16
%dc=bitcast i8*%db to i8**
%dd=load i8*,i8**%dc,align 8
store i8*%dd,i8**%f,align 8
%de=bitcast i8*%c7 to i8**
%df=load i8*,i8**%de,align 8
%dg=bitcast i8**%b to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dg)
%dh=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dh)
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%df,i8**%b,align 8
%di=load atomic i32,i32*@sml_check_flag unordered,align 4
%dj=icmp eq i32%di,0
br i1%dj,label%dm,label%dk
dk:
call void@sml_check(i32 inreg%di)
%dl=load i8*,i8**%b,align 8
br label%dm
dm:
%dn=phi i8*[%dl,%dk],[%df,%c4]
%do=bitcast i8*%dn to i32*
%dp=load i32,i32*%do,align 4
switch i32%dp,label%dq[
i32 1,label%dJ
i32 0,label%dI
]
dq:
call void@sml_matchcomp_bug()
%dr=load i8*,i8**@_SMLZ5Match,align 8
store i8*%dr,i8**%b,align 8
%ds=call i8*@sml_alloc(i32 inreg 20)#0
%dt=getelementptr inbounds i8,i8*%ds,i64 -4
%du=bitcast i8*%dt to i32*
store i32 1342177296,i32*%du,align 4
store i8*%ds,i8**%c,align 8
%dv=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dw=bitcast i8*%ds to i8**
store i8*%dv,i8**%dw,align 8
%dx=getelementptr inbounds i8,i8*%ds,i64 8
%dy=bitcast i8*%dx to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[84x i8]}>,<{[4x i8],i32,[84x i8]}>*@l,i64 0,i32 2,i64 0),i8**%dy,align 8
%dz=getelementptr inbounds i8,i8*%ds,i64 16
%dA=bitcast i8*%dz to i32*
store i32 3,i32*%dA,align 4
%dB=call i8*@sml_alloc(i32 inreg 60)#0
%dC=getelementptr inbounds i8,i8*%dB,i64 -4
%dD=bitcast i8*%dC to i32*
store i32 1342177336,i32*%dD,align 4
%dE=getelementptr inbounds i8,i8*%dB,i64 56
%dF=bitcast i8*%dE to i32*
store i32 1,i32*%dF,align 4
%dG=load i8*,i8**%c,align 8
%dH=bitcast i8*%dB to i8**
store i8*%dG,i8**%dH,align 8
call void@sml_raise(i8*inreg%dB)#1
unreachable
dI:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dg)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dh)
br label%dZ
dJ:
%dK=getelementptr inbounds i8,i8*%dn,i64 8
%dL=bitcast i8*%dK to i8**
%dM=load i8*,i8**%dL,align 8
%dN=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%dM)
store i8*%dN,i8**%b,align 8
%dO=call i8*@sml_alloc(i32 inreg 20)#0
%dP=bitcast i8*%dO to i32*
%dQ=getelementptr inbounds i8,i8*%dO,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177296,i32*%dR,align 4
%dS=getelementptr inbounds i8,i8*%dO,i64 4
%dT=bitcast i8*%dS to i32*
store i32 0,i32*%dT,align 1
store i32 1,i32*%dP,align 4
%dU=load i8*,i8**%b,align 8
%dV=getelementptr inbounds i8,i8*%dO,i64 8
%dW=bitcast i8*%dV to i8**
store i8*%dU,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dO,i64 16
%dY=bitcast i8*%dX to i32*
store i32 2,i32*%dY,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dg)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dh)
br label%dZ
dZ:
%d0=phi i8*[%dn,%dI],[%dO,%dJ]
store i8*%d0,i8**%d,align 8
%d1=call i8*@sml_alloc(i32 inreg 28)#0
%d2=getelementptr inbounds i8,i8*%d1,i64 -4
%d3=bitcast i8*%d2 to i32*
store i32 1342177304,i32*%d3,align 4
store i8*%d1,i8**%g,align 8
%d4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%d5=bitcast i8*%d1 to i8**
store i8*%d4,i8**%d5,align 8
%d6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%d7=getelementptr inbounds i8,i8*%d1,i64 8
%d8=bitcast i8*%d7 to i8**
store i8*%d6,i8**%d8,align 8
%d9=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ea=getelementptr inbounds i8,i8*%d1,i64 16
%eb=bitcast i8*%ea to i8**
store i8*%d9,i8**%eb,align 8
%ec=getelementptr inbounds i8,i8*%d1,i64 24
%ed=bitcast i8*%ec to i32*
store i32 7,i32*%ed,align 4
%ee=call i8*@sml_alloc(i32 inreg 20)#0
%ef=bitcast i8*%ee to i32*
%eg=getelementptr inbounds i8,i8*%ee,i64 -4
%eh=bitcast i8*%eg to i32*
store i32 1342177296,i32*%eh,align 4
%ei=getelementptr inbounds i8,i8*%ee,i64 4
%ej=bitcast i8*%ei to i32*
store i32 0,i32*%ej,align 1
store i32 19,i32*%ef,align 4
%ek=load i8*,i8**%g,align 8
%el=getelementptr inbounds i8,i8*%ee,i64 8
%em=bitcast i8*%el to i8**
store i8*%ek,i8**%em,align 8
%en=getelementptr inbounds i8,i8*%ee,i64 16
%eo=bitcast i8*%en to i32*
store i32 2,i32*%eo,align 4
ret i8*%ee
ep:
%eq=getelementptr inbounds i8,i8*%n,i64 8
%er=bitcast i8*%eq to i8**
%es=load i8*,i8**%er,align 8
store i8*%es,i8**%d,align 8
%et=getelementptr inbounds i8,i8*%es,i64 8
%eu=bitcast i8*%et to i8**
%ev=load i8*,i8**%eu,align 8
store i8*%ev,i8**%e,align 8
%ew=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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
%eA=bitcast i8*%ew to i8**
%eB=load i8*,i8**%eA,align 8
%eC=call fastcc i8*%ez(i8*inreg%eB,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*))
%eD=getelementptr inbounds i8,i8*%eC,i64 16
%eE=bitcast i8*%eD to i8*(i8*,i8*)**
%eF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eE,align 8
%eG=bitcast i8*%eC to i8**
%eH=load i8*,i8**%eG,align 8
%eI=bitcast i8**%d to i8***
%eJ=load i8**,i8***%eI,align 8
store i8*null,i8**%d,align 8
%eK=load i8*,i8**%eJ,align 8
%eL=call fastcc i8*%eF(i8*inreg%eH,i8*inreg%eK)
store i8*%eL,i8**%d,align 8
%eM=call i8*@sml_alloc(i32 inreg 20)#0
%eN=getelementptr inbounds i8,i8*%eM,i64 -4
%eO=bitcast i8*%eN to i32*
store i32 1342177296,i32*%eO,align 4
store i8*%eM,i8**%f,align 8
%eP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eQ=bitcast i8*%eM to i8**
store i8*%eP,i8**%eQ,align 8
%eR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eS=getelementptr inbounds i8,i8*%eM,i64 8
%eT=bitcast i8*%eS to i8**
store i8*%eR,i8**%eT,align 8
%eU=getelementptr inbounds i8,i8*%eM,i64 16
%eV=bitcast i8*%eU to i32*
store i32 3,i32*%eV,align 4
%eW=call i8*@sml_alloc(i32 inreg 20)#0
%eX=bitcast i8*%eW to i32*
%eY=getelementptr inbounds i8,i8*%eW,i64 -4
%eZ=bitcast i8*%eY to i32*
store i32 1342177296,i32*%eZ,align 4
%e0=getelementptr inbounds i8,i8*%eW,i64 4
%e1=bitcast i8*%e0 to i32*
store i32 0,i32*%e1,align 1
store i32 35,i32*%eX,align 4
%e2=load i8*,i8**%f,align 8
%e3=getelementptr inbounds i8,i8*%eW,i64 8
%e4=bitcast i8*%e3 to i8**
store i8*%e2,i8**%e4,align 8
%e5=getelementptr inbounds i8,i8*%eW,i64 16
%e6=bitcast i8*%e5 to i32*
store i32 2,i32*%e6,align 4
ret i8*%eW
e7:
%e8=getelementptr inbounds i8,i8*%n,i64 8
%e9=bitcast i8*%e8 to i8**
%fa=load i8*,i8**%e9,align 8
%fb=bitcast i8*%fa to i8**
%fc=load i8*,i8**%fb,align 8
store i8*%fc,i8**%e,align 8
%fd=getelementptr inbounds i8,i8*%fa,i64 16
%fe=bitcast i8*%fd to i8**
%ff=load i8*,i8**%fe,align 8
store i8*%ff,i8**%f,align 8
%fg=getelementptr inbounds i8,i8*%fa,i64 8
%fh=bitcast i8*%fg to i8**
%fi=load i8*,i8**%fh,align 8
%fj=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%fi)
store i8*%fj,i8**%d,align 8
%fk=call i8*@sml_alloc(i32 inreg 28)#0
%fl=getelementptr inbounds i8,i8*%fk,i64 -4
%fm=bitcast i8*%fl to i32*
store i32 1342177304,i32*%fm,align 4
store i8*%fk,i8**%g,align 8
%fn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fo=bitcast i8*%fk to i8**
store i8*%fn,i8**%fo,align 8
%fp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fq=getelementptr inbounds i8,i8*%fk,i64 8
%fr=bitcast i8*%fq to i8**
store i8*%fp,i8**%fr,align 8
%fs=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ft=getelementptr inbounds i8,i8*%fk,i64 16
%fu=bitcast i8*%ft to i8**
store i8*%fs,i8**%fu,align 8
%fv=getelementptr inbounds i8,i8*%fk,i64 24
%fw=bitcast i8*%fv to i32*
store i32 7,i32*%fw,align 4
%fx=call i8*@sml_alloc(i32 inreg 20)#0
%fy=bitcast i8*%fx to i32*
%fz=getelementptr inbounds i8,i8*%fx,i64 -4
%fA=bitcast i8*%fz to i32*
store i32 1342177296,i32*%fA,align 4
%fB=getelementptr inbounds i8,i8*%fx,i64 4
%fC=bitcast i8*%fB to i32*
store i32 0,i32*%fC,align 1
store i32 34,i32*%fy,align 4
%fD=load i8*,i8**%g,align 8
%fE=getelementptr inbounds i8,i8*%fx,i64 8
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=getelementptr inbounds i8,i8*%fx,i64 16
%fH=bitcast i8*%fG to i32*
store i32 2,i32*%fH,align 4
ret i8*%fx
fI:
%fJ=getelementptr inbounds i8,i8*%n,i64 8
%fK=bitcast i8*%fJ to i8**
%fL=load i8*,i8**%fK,align 8
store i8*%fL,i8**%e,align 8
%fM=getelementptr inbounds i8,i8*%fL,i64 16
%fN=bitcast i8*%fM to i8**
%fO=load i8*,i8**%fN,align 8
store i8*%fO,i8**%f,align 8
%fP=bitcast i8*%fL to i8**
%fQ=load i8*,i8**%fP,align 8
%fR=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%fQ)
store i8*%fR,i8**%d,align 8
%fS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fT=getelementptr inbounds i8,i8*%fS,i64 8
%fU=bitcast i8*%fT to i8**
%fV=load i8*,i8**%fU,align 8
%fW=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%fV)
store i8*%fW,i8**%e,align 8
%fX=call i8*@sml_alloc(i32 inreg 28)#0
%fY=getelementptr inbounds i8,i8*%fX,i64 -4
%fZ=bitcast i8*%fY to i32*
store i32 1342177304,i32*%fZ,align 4
store i8*%fX,i8**%g,align 8
%f0=load i8*,i8**%d,align 8
store i8*null,i8**%d,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=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%f6=getelementptr inbounds i8,i8*%fX,i64 16
%f7=bitcast i8*%f6 to i8**
store i8*%f5,i8**%f7,align 8
%f8=getelementptr inbounds i8,i8*%fX,i64 24
%f9=bitcast i8*%f8 to i32*
store i32 7,i32*%f9,align 4
%ga=call i8*@sml_alloc(i32 inreg 20)#0
%gb=bitcast i8*%ga to i32*
%gc=getelementptr inbounds i8,i8*%ga,i64 -4
%gd=bitcast i8*%gc to i32*
store i32 1342177296,i32*%gd,align 4
%ge=getelementptr inbounds i8,i8*%ga,i64 4
%gf=bitcast i8*%ge to i32*
store i32 0,i32*%gf,align 1
store i32 32,i32*%gb,align 4
%gg=load i8*,i8**%g,align 8
%gh=getelementptr inbounds i8,i8*%ga,i64 8
%gi=bitcast i8*%gh to i8**
store i8*%gg,i8**%gi,align 8
%gj=getelementptr inbounds i8,i8*%ga,i64 16
%gk=bitcast i8*%gj to i32*
store i32 2,i32*%gk,align 4
ret i8*%ga
gl:
%gm=getelementptr inbounds i8,i8*%n,i64 8
%gn=bitcast i8*%gm to i8**
%go=load i8*,i8**%gn,align 8
store i8*%go,i8**%e,align 8
%gp=getelementptr inbounds i8,i8*%go,i64 16
%gq=bitcast i8*%gp to i8**
%gr=load i8*,i8**%gq,align 8
store i8*%gr,i8**%f,align 8
%gs=bitcast i8*%go to i8**
%gt=load i8*,i8**%gs,align 8
%gu=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%gt)
store i8*%gu,i8**%d,align 8
%gv=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gw=getelementptr inbounds i8,i8*%gv,i64 16
%gx=bitcast i8*%gw to i8*(i8*,i8*)**
%gy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gx,align 8
%gz=bitcast i8*%gv to i8**
%gA=load i8*,i8**%gz,align 8
%gB=call fastcc i8*%gy(i8*inreg%gA,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%gC=getelementptr inbounds i8,i8*%gB,i64 16
%gD=bitcast i8*%gC to i8*(i8*,i8*)**
%gE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gD,align 8
%gF=bitcast i8*%gB to i8**
%gG=load i8*,i8**%gF,align 8
%gH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gI=getelementptr inbounds i8,i8*%gH,i64 8
%gJ=bitcast i8*%gI to i8**
%gK=load i8*,i8**%gJ,align 8
%gL=call fastcc i8*%gE(i8*inreg%gG,i8*inreg%gK)
store i8*%gL,i8**%e,align 8
%gM=call i8*@sml_alloc(i32 inreg 28)#0
%gN=getelementptr inbounds i8,i8*%gM,i64 -4
%gO=bitcast i8*%gN to i32*
store i32 1342177304,i32*%gO,align 4
store i8*%gM,i8**%g,align 8
%gP=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gQ=bitcast i8*%gM to i8**
store i8*%gP,i8**%gQ,align 8
%gR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gS=getelementptr inbounds i8,i8*%gM,i64 8
%gT=bitcast i8*%gS to i8**
store i8*%gR,i8**%gT,align 8
%gU=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gV=getelementptr inbounds i8,i8*%gM,i64 16
%gW=bitcast i8*%gV to i8**
store i8*%gU,i8**%gW,align 8
%gX=getelementptr inbounds i8,i8*%gM,i64 24
%gY=bitcast i8*%gX to i32*
store i32 7,i32*%gY,align 4
%gZ=call i8*@sml_alloc(i32 inreg 20)#0
%g0=bitcast i8*%gZ to i32*
%g1=getelementptr inbounds i8,i8*%gZ,i64 -4
%g2=bitcast i8*%g1 to i32*
store i32 1342177296,i32*%g2,align 4
%g3=getelementptr inbounds i8,i8*%gZ,i64 4
%g4=bitcast i8*%g3 to i32*
store i32 0,i32*%g4,align 1
store i32 31,i32*%g0,align 4
%g5=load i8*,i8**%g,align 8
%g6=getelementptr inbounds i8,i8*%gZ,i64 8
%g7=bitcast i8*%g6 to i8**
store i8*%g5,i8**%g7,align 8
%g8=getelementptr inbounds i8,i8*%gZ,i64 16
%g9=bitcast i8*%g8 to i32*
store i32 2,i32*%g9,align 4
ret i8*%gZ
ha:
%hb=getelementptr inbounds i8,i8*%n,i64 8
%hc=bitcast i8*%hb to i8**
%hd=load i8*,i8**%hc,align 8
store i8*%hd,i8**%e,align 8
%he=getelementptr inbounds i8,i8*%hd,i64 16
%hf=bitcast i8*%he to i8**
%hg=load i8*,i8**%hf,align 8
store i8*%hg,i8**%f,align 8
%hh=bitcast i8*%hd to i8**
%hi=load i8*,i8**%hh,align 8
%hj=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%hi)
store i8*%hj,i8**%d,align 8
%hk=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%hl=getelementptr inbounds i8,i8*%hk,i64 16
%hm=bitcast i8*%hl to i8*(i8*,i8*)**
%hn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hm,align 8
%ho=bitcast i8*%hk to i8**
%hp=load i8*,i8**%ho,align 8
%hq=call fastcc i8*%hn(i8*inreg%hp,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*))
%hr=getelementptr inbounds i8,i8*%hq,i64 16
%hs=bitcast i8*%hr to i8*(i8*,i8*)**
%ht=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hs,align 8
%hu=bitcast i8*%hq to i8**
%hv=load i8*,i8**%hu,align 8
%hw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hx=getelementptr inbounds i8,i8*%hw,i64 8
%hy=bitcast i8*%hx to i8**
%hz=load i8*,i8**%hy,align 8
%hA=call fastcc i8*%ht(i8*inreg%hv,i8*inreg%hz)
store i8*%hA,i8**%e,align 8
%hB=call i8*@sml_alloc(i32 inreg 28)#0
%hC=getelementptr inbounds i8,i8*%hB,i64 -4
%hD=bitcast i8*%hC to i32*
store i32 1342177304,i32*%hD,align 4
store i8*%hB,i8**%g,align 8
%hE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hF=bitcast i8*%hB to i8**
store i8*%hE,i8**%hF,align 8
%hG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hH=getelementptr inbounds i8,i8*%hB,i64 8
%hI=bitcast i8*%hH to i8**
store i8*%hG,i8**%hI,align 8
%hJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hK=getelementptr inbounds i8,i8*%hB,i64 16
%hL=bitcast i8*%hK to i8**
store i8*%hJ,i8**%hL,align 8
%hM=getelementptr inbounds i8,i8*%hB,i64 24
%hN=bitcast i8*%hM to i32*
store i32 7,i32*%hN,align 4
%hO=call i8*@sml_alloc(i32 inreg 20)#0
%hP=bitcast i8*%hO to i32*
%hQ=getelementptr inbounds i8,i8*%hO,i64 -4
%hR=bitcast i8*%hQ to i32*
store i32 1342177296,i32*%hR,align 4
%hS=getelementptr inbounds i8,i8*%hO,i64 4
%hT=bitcast i8*%hS to i32*
store i32 0,i32*%hT,align 1
store i32 7,i32*%hP,align 4
%hU=load i8*,i8**%g,align 8
%hV=getelementptr inbounds i8,i8*%hO,i64 8
%hW=bitcast i8*%hV to i8**
store i8*%hU,i8**%hW,align 8
%hX=getelementptr inbounds i8,i8*%hO,i64 16
%hY=bitcast i8*%hX to i32*
store i32 2,i32*%hY,align 4
ret i8*%hO
hZ:
%h0=getelementptr inbounds i8,i8*%n,i64 8
%h1=bitcast i8*%h0 to i8**
%h2=load i8*,i8**%h1,align 8
store i8*%h2,i8**%e,align 8
%h3=getelementptr inbounds i8,i8*%h2,i64 16
%h4=bitcast i8*%h3 to i32*
%h5=load i32,i32*%h4,align 4
%h6=getelementptr inbounds i8,i8*%h2,i64 24
%h7=bitcast i8*%h6 to i8**
%h8=load i8*,i8**%h7,align 8
store i8*%h8,i8**%f,align 8
%h9=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ia=getelementptr inbounds i8,i8*%h9,i64 16
%ib=bitcast i8*%ia to i8*(i8*,i8*)**
%ic=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ib,align 8
%id=bitcast i8*%h9 to i8**
%ie=load i8*,i8**%id,align 8
%if=call fastcc i8*%ic(i8*inreg%ie,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*))
%ig=getelementptr inbounds i8,i8*%if,i64 16
%ih=bitcast i8*%ig to i8*(i8*,i8*)**
%ii=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ih,align 8
%ij=bitcast i8*%if to i8**
%ik=load i8*,i8**%ij,align 8
%il=bitcast i8**%e to i8***
%im=load i8**,i8***%il,align 8
%in=load i8*,i8**%im,align 8
%io=call fastcc i8*%ii(i8*inreg%ik,i8*inreg%in)
store i8*%io,i8**%d,align 8
%ip=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%iq=getelementptr inbounds i8,i8*%ip,i64 16
%ir=bitcast i8*%iq to i8*(i8*,i8*)**
%is=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ir,align 8
%it=bitcast i8*%ip to i8**
%iu=load i8*,i8**%it,align 8
%iv=call fastcc i8*%is(i8*inreg%iu,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@g,i64 0,i32 2)to i8*))
%iw=getelementptr inbounds i8,i8*%iv,i64 16
%ix=bitcast i8*%iw to i8*(i8*,i8*)**
%iy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ix,align 8
%iz=bitcast i8*%iv to i8**
%iA=load i8*,i8**%iz,align 8
%iB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iC=getelementptr inbounds i8,i8*%iB,i64 8
%iD=bitcast i8*%iC to i8**
%iE=load i8*,i8**%iD,align 8
%iF=call fastcc i8*%iy(i8*inreg%iA,i8*inreg%iE)
store i8*%iF,i8**%e,align 8
%iG=call i8*@sml_alloc(i32 inreg 36)#0
%iH=getelementptr inbounds i8,i8*%iG,i64 -4
%iI=bitcast i8*%iH to i32*
store i32 1342177312,i32*%iI,align 4
store i8*%iG,i8**%g,align 8
%iJ=getelementptr inbounds i8,i8*%iG,i64 20
%iK=bitcast i8*%iJ to i32*
store i32 0,i32*%iK,align 1
%iL=load i8*,i8**%d,align 8
%iM=bitcast i8*%iG to i8**
store i8*null,i8**%d,align 8
store i8*%iL,i8**%iM,align 8
%iN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%iO=getelementptr inbounds i8,i8*%iG,i64 8
%iP=bitcast i8*%iO to i8**
store i8*%iN,i8**%iP,align 8
%iQ=getelementptr inbounds i8,i8*%iG,i64 16
%iR=bitcast i8*%iQ to i32*
store i32%h5,i32*%iR,align 4
%iS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iT=getelementptr inbounds i8,i8*%iG,i64 24
%iU=bitcast i8*%iT to i8**
store i8*%iS,i8**%iU,align 8
%iV=getelementptr inbounds i8,i8*%iG,i64 32
%iW=bitcast i8*%iV to i32*
store i32 11,i32*%iW,align 4
%iX=call i8*@sml_alloc(i32 inreg 20)#0
%iY=bitcast i8*%iX to i32*
%iZ=getelementptr inbounds i8,i8*%iX,i64 -4
%i0=bitcast i8*%iZ to i32*
store i32 1342177296,i32*%i0,align 4
%i1=getelementptr inbounds i8,i8*%iX,i64 4
%i2=bitcast i8*%i1 to i32*
store i32 0,i32*%i2,align 1
store i32 3,i32*%iY,align 4
%i3=load i8*,i8**%g,align 8
%i4=getelementptr inbounds i8,i8*%iX,i64 8
%i5=bitcast i8*%i4 to i8**
store i8*%i3,i8**%i5,align 8
%i6=getelementptr inbounds i8,i8*%iX,i64 16
%i7=bitcast i8*%i6 to i32*
store i32 2,i32*%i7,align 4
ret i8*%iX
i8:
%i9=getelementptr inbounds i8,i8*%n,i64 8
%ja=bitcast i8*%i9 to i8**
%jb=load i8*,i8**%ja,align 8
%jc=bitcast i8*%jb to i8**
%jd=load i8*,i8**%jc,align 8
store i8*%jd,i8**%e,align 8
%je=getelementptr inbounds i8,i8*%jb,i64 16
%jf=bitcast i8*%je to i8**
%jg=load i8*,i8**%jf,align 8
store i8*%jg,i8**%f,align 8
%jh=getelementptr inbounds i8,i8*%jb,i64 8
%ji=bitcast i8*%jh to i8**
%jj=load i8*,i8**%ji,align 8
%jk=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%jj)
store i8*%jk,i8**%d,align 8
%jl=call i8*@sml_alloc(i32 inreg 28)#0
%jm=getelementptr inbounds i8,i8*%jl,i64 -4
%jn=bitcast i8*%jm to i32*
store i32 1342177304,i32*%jn,align 4
store i8*%jl,i8**%g,align 8
%jo=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jp=bitcast i8*%jl to i8**
store i8*%jo,i8**%jp,align 8
%jq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jr=getelementptr inbounds i8,i8*%jl,i64 8
%js=bitcast i8*%jr to i8**
store i8*%jq,i8**%js,align 8
%jt=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ju=getelementptr inbounds i8,i8*%jl,i64 16
%jv=bitcast i8*%ju to i8**
store i8*%jt,i8**%jv,align 8
%jw=getelementptr inbounds i8,i8*%jl,i64 24
%jx=bitcast i8*%jw to i32*
store i32 7,i32*%jx,align 4
%jy=call i8*@sml_alloc(i32 inreg 20)#0
%jz=bitcast i8*%jy to i32*
%jA=getelementptr inbounds i8,i8*%jy,i64 -4
%jB=bitcast i8*%jA to i32*
store i32 1342177296,i32*%jB,align 4
%jC=getelementptr inbounds i8,i8*%jy,i64 4
%jD=bitcast i8*%jC to i32*
store i32 0,i32*%jD,align 1
store i32 22,i32*%jz,align 4
%jE=load i8*,i8**%g,align 8
%jF=getelementptr inbounds i8,i8*%jy,i64 8
%jG=bitcast i8*%jF to i8**
store i8*%jE,i8**%jG,align 8
%jH=getelementptr inbounds i8,i8*%jy,i64 16
%jI=bitcast i8*%jH to i32*
store i32 2,i32*%jI,align 4
ret i8*%jy
jJ:
%jK=getelementptr inbounds i8,i8*%n,i64 8
%jL=bitcast i8*%jK to i8**
%jM=load i8*,i8**%jL,align 8
%jN=bitcast i8*%jM to i8**
%jO=load i8*,i8**%jN,align 8
store i8*%jO,i8**%e,align 8
%jP=getelementptr inbounds i8,i8*%jM,i64 16
%jQ=bitcast i8*%jP to i8**
%jR=load i8*,i8**%jQ,align 8
store i8*%jR,i8**%f,align 8
%jS=getelementptr inbounds i8,i8*%jM,i64 8
%jT=bitcast i8*%jS to i8**
%jU=load i8*,i8**%jT,align 8
%jV=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%jU)
store i8*%jV,i8**%d,align 8
%jW=call i8*@sml_alloc(i32 inreg 28)#0
%jX=getelementptr inbounds i8,i8*%jW,i64 -4
%jY=bitcast i8*%jX to i32*
store i32 1342177304,i32*%jY,align 4
store i8*%jW,i8**%g,align 8
%jZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%j0=bitcast i8*%jW to i8**
store i8*%jZ,i8**%j0,align 8
%j1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%j2=getelementptr inbounds i8,i8*%jW,i64 8
%j3=bitcast i8*%j2 to i8**
store i8*%j1,i8**%j3,align 8
%j4=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%j5=getelementptr inbounds i8,i8*%jW,i64 16
%j6=bitcast i8*%j5 to i8**
store i8*%j4,i8**%j6,align 8
%j7=getelementptr inbounds i8,i8*%jW,i64 24
%j8=bitcast i8*%j7 to i32*
store i32 7,i32*%j8,align 4
%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 21,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
kk:
%kl=getelementptr inbounds i8,i8*%n,i64 8
%km=bitcast i8*%kl to i8**
%kn=load i8*,i8**%km,align 8
store i8*%kn,i8**%d,align 8
%ko=getelementptr inbounds i8,i8*%kn,i64 8
%kp=bitcast i8*%ko to i8**
%kq=load i8*,i8**%kp,align 8
store i8*%kq,i8**%e,align 8
%kr=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ks=getelementptr inbounds i8,i8*%kr,i64 16
%kt=bitcast i8*%ks to i8*(i8*,i8*)**
%ku=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kt,align 8
%kv=bitcast i8*%kr to i8**
%kw=load i8*,i8**%kv,align 8
%kx=call fastcc i8*%ku(i8*inreg%kw,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*))
%ky=getelementptr inbounds i8,i8*%kx,i64 16
%kz=bitcast i8*%ky to i8*(i8*,i8*)**
%kA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kz,align 8
%kB=bitcast i8*%kx to i8**
%kC=load i8*,i8**%kB,align 8
%kD=bitcast i8**%d to i8***
%kE=load i8**,i8***%kD,align 8
store i8*null,i8**%d,align 8
%kF=load i8*,i8**%kE,align 8
%kG=call fastcc i8*%kA(i8*inreg%kC,i8*inreg%kF)
store i8*%kG,i8**%d,align 8
%kH=call i8*@sml_alloc(i32 inreg 20)#0
%kI=getelementptr inbounds i8,i8*%kH,i64 -4
%kJ=bitcast i8*%kI to i32*
store i32 1342177296,i32*%kJ,align 4
store i8*%kH,i8**%f,align 8
%kK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kL=bitcast i8*%kH to i8**
store i8*%kK,i8**%kL,align 8
%kM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kN=getelementptr inbounds i8,i8*%kH,i64 8
%kO=bitcast i8*%kN to i8**
store i8*%kM,i8**%kO,align 8
%kP=getelementptr inbounds i8,i8*%kH,i64 16
%kQ=bitcast i8*%kP to i32*
store i32 3,i32*%kQ,align 4
%kR=call i8*@sml_alloc(i32 inreg 20)#0
%kS=bitcast i8*%kR to i32*
%kT=getelementptr inbounds i8,i8*%kR,i64 -4
%kU=bitcast i8*%kT to i32*
store i32 1342177296,i32*%kU,align 4
%kV=getelementptr inbounds i8,i8*%kR,i64 4
%kW=bitcast i8*%kV to i32*
store i32 0,i32*%kW,align 1
store i32 20,i32*%kS,align 4
%kX=load i8*,i8**%f,align 8
%kY=getelementptr inbounds i8,i8*%kR,i64 8
%kZ=bitcast i8*%kY to i8**
store i8*%kX,i8**%kZ,align 8
%k0=getelementptr inbounds i8,i8*%kR,i64 16
%k1=bitcast i8*%k0 to i32*
store i32 2,i32*%k1,align 4
ret i8*%kR
k2:
%k3=getelementptr inbounds i8,i8*%n,i64 8
%k4=bitcast i8*%k3 to i8**
%k5=load i8*,i8**%k4,align 8
store i8*%k5,i8**%e,align 8
%k6=getelementptr inbounds i8,i8*%k5,i64 16
%k7=bitcast i8*%k6 to i8**
%k8=load i8*,i8**%k7,align 8
store i8*%k8,i8**%f,align 8
%k9=bitcast i8*%k5 to i8**
%la=load i8*,i8**%k9,align 8
%lb=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%la)
store i8*%lb,i8**%d,align 8
%lc=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ld=getelementptr inbounds i8,i8*%lc,i64 16
%le=bitcast i8*%ld to i8*(i8*,i8*)**
%lf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%le,align 8
%lg=bitcast i8*%lc to i8**
%lh=load i8*,i8**%lg,align 8
%li=call fastcc i8*%lf(i8*inreg%lh,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@d,i64 0,i32 2)to i8*))
%lj=getelementptr inbounds i8,i8*%li,i64 16
%lk=bitcast i8*%lj to i8*(i8*,i8*)**
%ll=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lk,align 8
%lm=bitcast i8*%li to i8**
%ln=load i8*,i8**%lm,align 8
%lo=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lp=getelementptr inbounds i8,i8*%lo,i64 8
%lq=bitcast i8*%lp to i8**
%lr=load i8*,i8**%lq,align 8
%ls=call fastcc i8*%ll(i8*inreg%ln,i8*inreg%lr)
store i8*%ls,i8**%e,align 8
%lt=call i8*@sml_alloc(i32 inreg 28)#0
%lu=getelementptr inbounds i8,i8*%lt,i64 -4
%lv=bitcast i8*%lu to i32*
store i32 1342177304,i32*%lv,align 4
store i8*%lt,i8**%g,align 8
%lw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%lx=bitcast i8*%lt to i8**
store i8*%lw,i8**%lx,align 8
%ly=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lz=getelementptr inbounds i8,i8*%lt,i64 8
%lA=bitcast i8*%lz to i8**
store i8*%ly,i8**%lA,align 8
%lB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lC=getelementptr inbounds i8,i8*%lt,i64 16
%lD=bitcast i8*%lC to i8**
store i8*%lB,i8**%lD,align 8
%lE=getelementptr inbounds i8,i8*%lt,i64 24
%lF=bitcast i8*%lE to i32*
store i32 7,i32*%lF,align 4
%lG=call i8*@sml_alloc(i32 inreg 20)#0
%lH=bitcast i8*%lG to i32*
%lI=getelementptr inbounds i8,i8*%lG,i64 -4
%lJ=bitcast i8*%lI to i32*
store i32 1342177296,i32*%lJ,align 4
%lK=getelementptr inbounds i8,i8*%lG,i64 4
%lL=bitcast i8*%lK to i32*
store i32 0,i32*%lL,align 1
store i32 23,i32*%lH,align 4
%lM=load i8*,i8**%g,align 8
%lN=getelementptr inbounds i8,i8*%lG,i64 8
%lO=bitcast i8*%lN to i8**
store i8*%lM,i8**%lO,align 8
%lP=getelementptr inbounds i8,i8*%lG,i64 16
%lQ=bitcast i8*%lP to i32*
store i32 2,i32*%lQ,align 4
ret i8*%lG
lR:
%lS=getelementptr inbounds i8,i8*%n,i64 8
%lT=bitcast i8*%lS to i8**
%lU=load i8*,i8**%lT,align 8
%lV=getelementptr inbounds i8,i8*%lU,i64 8
%lW=bitcast i8*%lV to i8**
%lX=load i8*,i8**%lW,align 8
store i8*%lX,i8**%e,align 8
%lY=bitcast i8*%lU to i8**
%lZ=load i8*,i8**%lY,align 8
%l0=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%lZ)
store i8*%l0,i8**%d,align 8
%l1=call i8*@sml_alloc(i32 inreg 20)#0
%l2=getelementptr inbounds i8,i8*%l1,i64 -4
%l3=bitcast i8*%l2 to i32*
store i32 1342177296,i32*%l3,align 4
store i8*%l1,i8**%f,align 8
%l4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l5=bitcast i8*%l1 to i8**
store i8*%l4,i8**%l5,align 8
%l6=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%l7=getelementptr inbounds i8,i8*%l1,i64 8
%l8=bitcast i8*%l7 to i8**
store i8*%l6,i8**%l8,align 8
%l9=getelementptr inbounds i8,i8*%l1,i64 16
%ma=bitcast i8*%l9 to i32*
store i32 3,i32*%ma,align 4
%mb=call i8*@sml_alloc(i32 inreg 20)#0
%mc=bitcast i8*%mb to i32*
%md=getelementptr inbounds i8,i8*%mb,i64 -4
%me=bitcast i8*%md to i32*
store i32 1342177296,i32*%me,align 4
%mf=getelementptr inbounds i8,i8*%mb,i64 4
%mg=bitcast i8*%mf to i32*
store i32 0,i32*%mg,align 1
store i32 28,i32*%mc,align 4
%mh=load i8*,i8**%f,align 8
%mi=getelementptr inbounds i8,i8*%mb,i64 8
%mj=bitcast i8*%mi to i8**
store i8*%mh,i8**%mj,align 8
%mk=getelementptr inbounds i8,i8*%mb,i64 16
%ml=bitcast i8*%mk to i32*
store i32 2,i32*%ml,align 4
ret i8*%mb
mm:
%mn=getelementptr inbounds i8,i8*%n,i64 8
%mo=bitcast i8*%mn to i8**
%mp=load i8*,i8**%mo,align 8
store i8*%mp,i8**%d,align 8
%mq=getelementptr inbounds i8,i8*%mp,i64 8
%mr=bitcast i8*%mq to i8**
%ms=load i8*,i8**%mr,align 8
store i8*%ms,i8**%e,align 8
%mt=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%mu=getelementptr inbounds i8,i8*%mt,i64 16
%mv=bitcast i8*%mu to i8*(i8*,i8*)**
%mw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mv,align 8
%mx=bitcast i8*%mt to i8**
%my=load i8*,i8**%mx,align 8
%mz=call fastcc i8*%mw(i8*inreg%my,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@c,i64 0,i32 2)to i8*))
%mA=getelementptr inbounds i8,i8*%mz,i64 16
%mB=bitcast i8*%mA to i8*(i8*,i8*)**
%mC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mB,align 8
%mD=bitcast i8*%mz to i8**
%mE=load i8*,i8**%mD,align 8
%mF=bitcast i8**%d to i8***
%mG=load i8**,i8***%mF,align 8
store i8*null,i8**%d,align 8
%mH=load i8*,i8**%mG,align 8
%mI=call fastcc i8*%mC(i8*inreg%mE,i8*inreg%mH)
store i8*%mI,i8**%d,align 8
%mJ=call i8*@sml_alloc(i32 inreg 20)#0
%mK=getelementptr inbounds i8,i8*%mJ,i64 -4
%mL=bitcast i8*%mK to i32*
store i32 1342177296,i32*%mL,align 4
store i8*%mJ,i8**%f,align 8
%mM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%mN=bitcast i8*%mJ to i8**
store i8*%mM,i8**%mN,align 8
%mO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%mP=getelementptr inbounds i8,i8*%mJ,i64 8
%mQ=bitcast i8*%mP to i8**
store i8*%mO,i8**%mQ,align 8
%mR=getelementptr inbounds i8,i8*%mJ,i64 16
%mS=bitcast i8*%mR to i32*
store i32 3,i32*%mS,align 4
%mT=call i8*@sml_alloc(i32 inreg 20)#0
%mU=bitcast i8*%mT to i32*
%mV=getelementptr inbounds i8,i8*%mT,i64 -4
%mW=bitcast i8*%mV to i32*
store i32 1342177296,i32*%mW,align 4
%mX=getelementptr inbounds i8,i8*%mT,i64 4
%mY=bitcast i8*%mX to i32*
store i32 0,i32*%mY,align 1
store i32 29,i32*%mU,align 4
%mZ=load i8*,i8**%f,align 8
%m0=getelementptr inbounds i8,i8*%mT,i64 8
%m1=bitcast i8*%m0 to i8**
store i8*%mZ,i8**%m1,align 8
%m2=getelementptr inbounds i8,i8*%mT,i64 16
%m3=bitcast i8*%m2 to i32*
store i32 2,i32*%m3,align 4
ret i8*%mT
m4:
%m5=getelementptr inbounds i8,i8*%n,i64 8
%m6=bitcast i8*%m5 to i8**
%m7=load i8*,i8**%m6,align 8
%m8=bitcast i8*%m7 to i8**
%m9=load i8*,i8**%m8,align 8
store i8*%m9,i8**%e,align 8
%na=getelementptr inbounds i8,i8*%m7,i64 16
%nb=bitcast i8*%na to i8**
%nc=load i8*,i8**%nb,align 8
store i8*%nc,i8**%f,align 8
%nd=getelementptr inbounds i8,i8*%m7,i64 8
%ne=bitcast i8*%nd to i8**
%nf=load i8*,i8**%ne,align 8
%ng=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%nf)
store i8*%ng,i8**%d,align 8
%nh=call i8*@sml_alloc(i32 inreg 28)#0
%ni=getelementptr inbounds i8,i8*%nh,i64 -4
%nj=bitcast i8*%ni to i32*
store i32 1342177304,i32*%nj,align 4
store i8*%nh,i8**%g,align 8
%nk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%nl=bitcast i8*%nh to i8**
store i8*%nk,i8**%nl,align 8
%nm=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%nn=getelementptr inbounds i8,i8*%nh,i64 8
%no=bitcast i8*%nn to i8**
store i8*%nm,i8**%no,align 8
%np=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%nq=getelementptr inbounds i8,i8*%nh,i64 16
%nr=bitcast i8*%nq to i8**
store i8*%np,i8**%nr,align 8
%ns=getelementptr inbounds i8,i8*%nh,i64 24
%nt=bitcast i8*%ns to i32*
store i32 7,i32*%nt,align 4
%nu=call i8*@sml_alloc(i32 inreg 20)#0
%nv=bitcast i8*%nu to i32*
%nw=getelementptr inbounds i8,i8*%nu,i64 -4
%nx=bitcast i8*%nw to i32*
store i32 1342177296,i32*%nx,align 4
%ny=getelementptr inbounds i8,i8*%nu,i64 4
%nz=bitcast i8*%ny to i32*
store i32 0,i32*%nz,align 1
store i32 38,i32*%nv,align 4
%nA=load i8*,i8**%g,align 8
%nB=getelementptr inbounds i8,i8*%nu,i64 8
%nC=bitcast i8*%nB to i8**
store i8*%nA,i8**%nC,align 8
%nD=getelementptr inbounds i8,i8*%nu,i64 16
%nE=bitcast i8*%nD to i32*
store i32 2,i32*%nE,align 4
ret i8*%nu
nF:
%nG=getelementptr inbounds i8,i8*%n,i64 8
%nH=bitcast i8*%nG to i8**
%nI=load i8*,i8**%nH,align 8
store i8*%nI,i8**%e,align 8
%nJ=getelementptr inbounds i8,i8*%nI,i64 16
%nK=bitcast i8*%nJ to i8**
%nL=load i8*,i8**%nK,align 8
store i8*%nL,i8**%f,align 8
%nM=bitcast i8*%nI to i8**
%nN=load i8*,i8**%nM,align 8
%nO=call fastcc i8*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_137(i8*inreg%nN)
store i8*%nO,i8**%d,align 8
%nP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%nQ=getelementptr inbounds i8,i8*%nP,i64 8
%nR=bitcast i8*%nQ to i8**
%nS=load i8*,i8**%nR,align 8
%nT=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%nS)
store i8*%nT,i8**%e,align 8
%nU=call i8*@sml_alloc(i32 inreg 28)#0
%nV=getelementptr inbounds i8,i8*%nU,i64 -4
%nW=bitcast i8*%nV to i32*
store i32 1342177304,i32*%nW,align 4
store i8*%nU,i8**%g,align 8
%nX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%nY=bitcast i8*%nU to i8**
store i8*%nX,i8**%nY,align 8
%nZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%n0=getelementptr inbounds i8,i8*%nU,i64 8
%n1=bitcast i8*%n0 to i8**
store i8*%nZ,i8**%n1,align 8
%n2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%n3=getelementptr inbounds i8,i8*%nU,i64 16
%n4=bitcast i8*%n3 to i8**
store i8*%n2,i8**%n4,align 8
%n5=getelementptr inbounds i8,i8*%nU,i64 24
%n6=bitcast i8*%n5 to i32*
store i32 7,i32*%n6,align 4
%n7=call i8*@sml_alloc(i32 inreg 20)#0
%n8=bitcast i8*%n7 to i32*
%n9=getelementptr inbounds i8,i8*%n7,i64 -4
%oa=bitcast i8*%n9 to i32*
store i32 1342177296,i32*%oa,align 4
%ob=getelementptr inbounds i8,i8*%n7,i64 4
%oc=bitcast i8*%ob to i32*
store i32 0,i32*%oc,align 1
store i32 26,i32*%n8,align 4
%od=load i8*,i8**%g,align 8
%oe=getelementptr inbounds i8,i8*%n7,i64 8
%of=bitcast i8*%oe to i8**
store i8*%od,i8**%of,align 8
%og=getelementptr inbounds i8,i8*%n7,i64 16
%oh=bitcast i8*%og to i32*
store i32 2,i32*%oh,align 4
ret i8*%n7
oi:
%oj=getelementptr inbounds i8,i8*%n,i64 8
%ok=bitcast i8*%oj to i8**
%ol=load i8*,i8**%ok,align 8
store i8*%ol,i8**%e,align 8
%om=getelementptr inbounds i8,i8*%ol,i64 16
%on=bitcast i8*%om to i8**
%oo=load i8*,i8**%on,align 8
store i8*%oo,i8**%f,align 8
%op=bitcast i8*%ol to i8**
%oq=load i8*,i8**%op,align 8
%or=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%oq)
store i8*%or,i8**%d,align 8
%os=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ot=getelementptr inbounds i8,i8*%os,i64 16
%ou=bitcast i8*%ot to i8*(i8*,i8*)**
%ov=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ou,align 8
%ow=bitcast i8*%os to i8**
%ox=load i8*,i8**%ow,align 8
%oy=call fastcc i8*%ov(i8*inreg%ox,i8*inreg 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*))
%oz=getelementptr inbounds i8,i8*%oy,i64 16
%oA=bitcast i8*%oz to i8*(i8*,i8*)**
%oB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oA,align 8
%oC=bitcast i8*%oy to i8**
%oD=load i8*,i8**%oC,align 8
%oE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%oF=getelementptr inbounds i8,i8*%oE,i64 8
%oG=bitcast i8*%oF to i8**
%oH=load i8*,i8**%oG,align 8
%oI=call fastcc i8*%oB(i8*inreg%oD,i8*inreg%oH)
store i8*%oI,i8**%e,align 8
%oJ=call i8*@sml_alloc(i32 inreg 28)#0
%oK=getelementptr inbounds i8,i8*%oJ,i64 -4
%oL=bitcast i8*%oK to i32*
store i32 1342177304,i32*%oL,align 4
store i8*%oJ,i8**%g,align 8
%oM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%oN=bitcast i8*%oJ to i8**
store i8*%oM,i8**%oN,align 8
%oO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%oP=getelementptr inbounds i8,i8*%oJ,i64 8
%oQ=bitcast i8*%oP to i8**
store i8*%oO,i8**%oQ,align 8
%oR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%oS=getelementptr inbounds i8,i8*%oJ,i64 16
%oT=bitcast i8*%oS to i8**
store i8*%oR,i8**%oT,align 8
%oU=getelementptr inbounds i8,i8*%oJ,i64 24
%oV=bitcast i8*%oU to i32*
store i32 7,i32*%oV,align 4
%oW=call i8*@sml_alloc(i32 inreg 20)#0
%oX=bitcast i8*%oW to i32*
%oY=getelementptr inbounds i8,i8*%oW,i64 -4
%oZ=bitcast i8*%oY to i32*
store i32 1342177296,i32*%oZ,align 4
%o0=getelementptr inbounds i8,i8*%oW,i64 4
%o1=bitcast i8*%o0 to i32*
store i32 0,i32*%o1,align 1
store i32 1,i32*%oX,align 4
%o2=load i8*,i8**%g,align 8
%o3=getelementptr inbounds i8,i8*%oW,i64 8
%o4=bitcast i8*%o3 to i8**
store i8*%o2,i8**%o4,align 8
%o5=getelementptr inbounds i8,i8*%oW,i64 16
%o6=bitcast i8*%o5 to i32*
store i32 2,i32*%o6,align 4
ret i8*%oW
o7:
%o8=getelementptr inbounds i8,i8*%n,i64 8
%o9=bitcast i8*%o8 to i8**
%pa=load i8*,i8**%o9,align 8
store i8*%pa,i8**%e,align 8
%pb=getelementptr inbounds i8,i8*%pa,i64 16
%pc=bitcast i8*%pb to i8**
%pd=load i8*,i8**%pc,align 8
store i8*%pd,i8**%f,align 8
%pe=bitcast i8*%pa to i8**
%pf=load i8*,i8**%pe,align 8
%pg=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%pf)
store i8*%pg,i8**%d,align 8
%ph=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%pi=getelementptr inbounds i8,i8*%ph,i64 16
%pj=bitcast i8*%pi to i8*(i8*,i8*)**
%pk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pj,align 8
%pl=bitcast i8*%ph to i8**
%pm=load i8*,i8**%pl,align 8
%pn=call fastcc i8*%pk(i8*inreg%pm,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*))
%po=getelementptr inbounds i8,i8*%pn,i64 16
%pp=bitcast i8*%po to i8*(i8*,i8*)**
%pq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pp,align 8
%pr=bitcast i8*%pn to i8**
%ps=load i8*,i8**%pr,align 8
%pt=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pu=getelementptr inbounds i8,i8*%pt,i64 8
%pv=bitcast i8*%pu to i8**
%pw=load i8*,i8**%pv,align 8
%px=call fastcc i8*%pq(i8*inreg%ps,i8*inreg%pw)
store i8*%px,i8**%e,align 8
%py=call i8*@sml_alloc(i32 inreg 28)#0
%pz=getelementptr inbounds i8,i8*%py,i64 -4
%pA=bitcast i8*%pz to i32*
store i32 1342177304,i32*%pA,align 4
store i8*%py,i8**%g,align 8
%pB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%pC=bitcast i8*%py to i8**
store i8*%pB,i8**%pC,align 8
%pD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pE=getelementptr inbounds i8,i8*%py,i64 8
%pF=bitcast i8*%pE to i8**
store i8*%pD,i8**%pF,align 8
%pG=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pH=getelementptr inbounds i8,i8*%py,i64 16
%pI=bitcast i8*%pH to i8**
store i8*%pG,i8**%pI,align 8
%pJ=getelementptr inbounds i8,i8*%py,i64 24
%pK=bitcast i8*%pJ to i32*
store i32 7,i32*%pK,align 4
%pL=call i8*@sml_alloc(i32 inreg 20)#0
%pM=getelementptr inbounds i8,i8*%pL,i64 -4
%pN=bitcast i8*%pM to i32*
store i32 1342177296,i32*%pN,align 4
%pO=bitcast i8*%pL to i64*
store i64 0,i64*%pO,align 4
%pP=load i8*,i8**%g,align 8
%pQ=getelementptr inbounds i8,i8*%pL,i64 8
%pR=bitcast i8*%pQ to i8**
store i8*%pP,i8**%pR,align 8
%pS=getelementptr inbounds i8,i8*%pL,i64 16
%pT=bitcast i8*%pS to i32*
store i32 2,i32*%pT,align 4
ret i8*%pL
pU:
%pV=getelementptr inbounds i8,i8*%n,i64 8
%pW=bitcast i8*%pV to i8**
%pX=load i8*,i8**%pW,align 8
%pY=getelementptr inbounds i8,i8*%pX,i64 8
%pZ=bitcast i8*%pY to i8**
%p0=load i8*,i8**%pZ,align 8
store i8*%p0,i8**%e,align 8
%p1=getelementptr inbounds i8,i8*%pX,i64 16
%p2=bitcast i8*%p1 to i8**
%p3=load i8*,i8**%p2,align 8
store i8*%p3,i8**%f,align 8
%p4=getelementptr inbounds i8,i8*%pX,i64 24
%p5=bitcast i8*%p4 to i8**
%p6=load i8*,i8**%p5,align 8
store i8*%p6,i8**%g,align 8
%p7=bitcast i8*%pX to i8**
%p8=load i8*,i8**%p7,align 8
%p9=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%p8)
store i8*%p9,i8**%d,align 8
%qa=call i8*@sml_alloc(i32 inreg 36)#0
%qb=getelementptr inbounds i8,i8*%qa,i64 -4
%qc=bitcast i8*%qb to i32*
store i32 1342177312,i32*%qc,align 4
store i8*%qa,i8**%h,align 8
%qd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%qe=bitcast i8*%qa to i8**
store i8*%qd,i8**%qe,align 8
%qf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qg=getelementptr inbounds i8,i8*%qa,i64 8
%qh=bitcast i8*%qg to i8**
store i8*%qf,i8**%qh,align 8
%qi=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qj=getelementptr inbounds i8,i8*%qa,i64 16
%qk=bitcast i8*%qj to i8**
store i8*%qi,i8**%qk,align 8
%ql=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%qm=getelementptr inbounds i8,i8*%qa,i64 24
%qn=bitcast i8*%qm to i8**
store i8*%ql,i8**%qn,align 8
%qo=getelementptr inbounds i8,i8*%qa,i64 32
%qp=bitcast i8*%qo to i32*
store i32 15,i32*%qp,align 4
%qq=call i8*@sml_alloc(i32 inreg 20)#0
%qr=bitcast i8*%qq to i32*
%qs=getelementptr inbounds i8,i8*%qq,i64 -4
%qt=bitcast i8*%qs to i32*
store i32 1342177296,i32*%qt,align 4
%qu=getelementptr inbounds i8,i8*%qq,i64 4
%qv=bitcast i8*%qu to i32*
store i32 0,i32*%qv,align 1
store i32 24,i32*%qr,align 4
%qw=load i8*,i8**%h,align 8
%qx=getelementptr inbounds i8,i8*%qq,i64 8
%qy=bitcast i8*%qx to i8**
store i8*%qw,i8**%qy,align 8
%qz=getelementptr inbounds i8,i8*%qq,i64 16
%qA=bitcast i8*%qz to i32*
store i32 2,i32*%qA,align 4
ret i8*%qq
qB:
%qC=getelementptr inbounds i8,i8*%n,i64 8
%qD=bitcast i8*%qC to i8**
%qE=load i8*,i8**%qD,align 8
%qF=getelementptr inbounds i8,i8*%qE,i64 8
%qG=bitcast i8*%qF to i8**
%qH=load i8*,i8**%qG,align 8
store i8*%qH,i8**%e,align 8
%qI=getelementptr inbounds i8,i8*%qE,i64 16
%qJ=bitcast i8*%qI to i8**
%qK=load i8*,i8**%qJ,align 8
store i8*%qK,i8**%f,align 8
%qL=bitcast i8*%qE to i8**
%qM=load i8*,i8**%qL,align 8
%qN=call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_135(i8*inreg%qM)
store i8*%qN,i8**%d,align 8
%qO=call i8*@sml_alloc(i32 inreg 28)#0
%qP=getelementptr inbounds i8,i8*%qO,i64 -4
%qQ=bitcast i8*%qP to i32*
store i32 1342177304,i32*%qQ,align 4
store i8*%qO,i8**%g,align 8
%qR=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%qS=bitcast i8*%qO to i8**
store i8*%qR,i8**%qS,align 8
%qT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qU=getelementptr inbounds i8,i8*%qO,i64 8
%qV=bitcast i8*%qU to i8**
store i8*%qT,i8**%qV,align 8
%qW=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qX=getelementptr inbounds i8,i8*%qO,i64 16
%qY=bitcast i8*%qX to i8**
store i8*%qW,i8**%qY,align 8
%qZ=getelementptr inbounds i8,i8*%qO,i64 24
%q0=bitcast i8*%qZ to i32*
store i32 7,i32*%q0,align 4
%q1=call i8*@sml_alloc(i32 inreg 20)#0
%q2=bitcast i8*%q1 to i32*
%q3=getelementptr inbounds i8,i8*%q1,i64 -4
%q4=bitcast i8*%q3 to i32*
store i32 1342177296,i32*%q4,align 4
%q5=getelementptr inbounds i8,i8*%q1,i64 4
%q6=bitcast i8*%q5 to i32*
store i32 0,i32*%q6,align 1
store i32 39,i32*%q2,align 4
%q7=load i8*,i8**%g,align 8
%q8=getelementptr inbounds i8,i8*%q1,i64 8
%q9=bitcast i8*%q8 to i8**
store i8*%q7,i8**%q9,align 8
%ra=getelementptr inbounds i8,i8*%q1,i64 16
%rb=bitcast i8*%ra to i32*
store i32 2,i32*%rb,align 4
ret i8*%q1
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_137(i8*inreg%a)unnamed_addr#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
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call fastcc i8*@_SMLFN4List6concatE(i32 inreg 1,i32 inreg 8)
%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
store i8*%m,i8**%c,align 8
%n=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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
%t=call fastcc i8*%q(i8*inreg%s,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*))
%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**%b,align 8
store i8*null,i8**%b,align 8
%A=call fastcc i8*%w(i8*inreg%y,i8*inreg%z)
%B=load i8*,i8**%c,align 8
%C=tail call fastcc i8*%k(i8*inreg%B,i8*inreg%A)
ret i8*%C
}
define fastcc i8*@_SMLFN16VALREC__Optimizer8optimizeE(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*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_137(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_255(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_191(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_256(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_193(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_257(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_195(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_258(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_197(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_259(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_199(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_260(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_201(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_261(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_203(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_262(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_205(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_263(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_207(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_264(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer11optimizeExpE_209(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_265(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer16optimizeDeclListE_213(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_266(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_215(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL11boundIDList_267(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32**
%d=load i32*,i32**%c,align 8
%e=load i32,i32*%d,align 4
%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*@_SMLL1g_268(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL1g_219(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL11boundIDList_269(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i32**
%e=load i32*,i32**%d,align 8
%f=load i32,i32*%e,align 4
%g=tail call i8*@sml_alloc(i32 inreg 4)#0
%h=bitcast i8*%g to i32*
%i=getelementptr inbounds i8,i8*%g,i64 -4
%j=bitcast i8*%i to i32*
store i32 4,i32*%j,align 4
store i32%f,i32*%h,align 4
ret i8*%g
}
define internal fastcc i8*@_SMLL1g_270(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL1g_235(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_271(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeDeclE_248(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeRuleE_272(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16VALREC__Optimizer12optimizeRuleE_251(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16VALREC__Optimizer8optimizeE_278(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN16VALREC__Optimizer8optimizeE(i8*inreg%b)
ret i8*%c
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
