@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*)*@_SMLLLN9TCAnalyse8countAddE_98 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8countAddE_129 to void(...)*),i32 -2147483647}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,[4x i8]zeroinitializer,i32 0}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN9TCAnalyse8visitExpE_104 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_130 to void(...)*),i32 -2147483647}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[80x i8]}><{[4x i8]zeroinitializer,i32 -2147483568,[80x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCAnalyse.sml:52.10(1375)\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*)*@_SMLLLN9TCAnalyse8visitExpE_111 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_134 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[78x i8]}><{[4x i8]zeroinitializer,i32 -2147483570,[78x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCAnalyse.sml:36.6(877)\00"}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,[25x i8]}><{[4x i8]zeroinitializer,i32 -2147483623,[25x i8]c"TPFUNDECL not eliminated\00"}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@j,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[25x i8]}>,<{[4x i8],i32,[25x i8]}>*@g,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[79x i8]}><{[4x i8]zeroinitializer,i32 -2147483569,[79x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCAnalyse.sml:11.14(211)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"TypedCalcSize: \00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[29x i8]}><{[4x i8]zeroinitializer,i32 -2147483619,[29x i8]c"TPPOLYFUNDECL not eliminated\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@j,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[29x i8]}>,<{[4x i8],i32,[29x i8]}>*@k,i32 0,i32 0,i32 0),i32 8),i32 3}>,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*)*@_SMLLLN9TCAnalyse9visitDeclE_122 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse9visitDeclE_135 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*)*@_SMLLLN9TCAnalyse9visitDeclE_124 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse9visitDeclE_136 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[80x i8]}><{[4x i8]zeroinitializer,i32 -2147483568,[80x i8]c"src/compiler/compilePhases/typedcalcoptimization/main/TCAnalyse.sml:172.6(5740)\00"}>,align 8
@_SML_gvarb5e28a97db1d05ce_TCAnalyse=private global<{[4x i8],i32,[1x i8*]}><{[4x i8]zeroinitializer,i32 -1342177272,[1x i8*]zeroinitializer}>,align 8
@p=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarb5e28a97db1d05ce_TCAnalyse,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@p to i64))]
@_SML_ftabb5e28a97db1d05ce_TCAnalyse=external global i8
@q=private unnamed_addr global i8 0
@_SMLZN9TCAnalyse15analyseDeclListE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarb5e28a97db1d05ce_TCAnalyse,i32 0,i32 2,i32 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_end()local_unnamed_addr#0
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare void@sml_matchcomp_bug()local_unnamed_addr
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_save_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN11RecordLabel3Map3appE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3appE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map9singletonE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina142c315f12317c0_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main22c101bff228a4a9_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_loada142c315f12317c0_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load22c101bff228a4a9_LocalID(i8*)local_unnamed_addr
define private void@_SML_tabbb5e28a97db1d05ce_TCAnalyse()#3{
unreachable
}
define void@_SML_loadb5e28a97db1d05ce_TCAnalyse(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@q,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@q,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_loada142c315f12317c0_RecordLabel(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load22c101bff228a4a9_LocalID(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbb5e28a97db1d05ce_TCAnalyse,i8*@_SML_ftabb5e28a97db1d05ce_TCAnalyse,i8*bitcast([2x i64]*@p to i8*))#0
ret void
}
define void@_SML_mainb5e28a97db1d05ce_TCAnalyse()local_unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=load i8,i8*@q,align 1
%f=and i8%e,2
%g=icmp eq i8%f,0
br i1%g,label%i,label%h
h:
ret void
i:
store i8 3,i8*@q,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_maina142c315f12317c0_RecordLabel()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main22c101bff228a4a9_LocalID()#2
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
%j=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%j)#0
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%n,label%m
m:
invoke void@sml_check(i32 inreg%k)
to label%n unwind label%aF
n:
%o=call i8*@sml_alloc(i32 inreg 8)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 805306376,i32*%q,align 4
store i8*%o,i8**%b,align 8
%r=bitcast i8*%o to i64*
store i64 0,i64*%r,align 1
%s=invoke fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
to label%t unwind label%aF
t:
%u=load i8*,i8**%b,align 8
%v=bitcast i8*%u to i8**
call void@sml_write(i8*inreg%u,i8**inreg%v,i8*inreg%s)#0
%w=call i8*@sml_alloc(i32 inreg 12)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177288,i32*%y,align 4
store i8*%w,i8**%c,align 8
%z=load i8*,i8**%b,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i32*
store i32 1,i32*%C,align 4
%D=call i8*@sml_alloc(i32 inreg 28)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177304,i32*%F,align 4
%G=load i8*,i8**%c,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%D,i64 16
%L=bitcast i8*%K to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%L,align 8
%M=getelementptr inbounds i8,i8*%D,i64 24
%N=bitcast i8*%M to i32*
store i32 -2147483647,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 28)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177304,i32*%Q,align 4
%R=load i8*,i8**%c,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%O,i64 8
%U=bitcast i8*%T to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse16visitRecordFieldE_101 to void(...)*),void(...)**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 16
%W=bitcast i8*%V to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse16visitRecordFieldE_138 to void(...)*),void(...)**%W,align 8
%X=getelementptr inbounds i8,i8*%O,i64 24
%Y=bitcast i8*%X to i32*
store i32 -2147483647,i32*%Y,align 4
%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**%d,align 8
%ac=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%Z,i64 8
%af=bitcast i8*%ae to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse9visitDeclE_102 to void(...)*),void(...)**%af,align 8
%ag=getelementptr inbounds i8,i8*%Z,i64 16
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse9visitDeclE_139 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 24
%aj=bitcast i8*%ai to i32*
store i32 -2147483647,i32*%aj,align 4
%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
store i8*%ak,i8**%c,align 8
%an=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aq=getelementptr inbounds i8,i8*%ak,i64 8
%ar=bitcast i8*%aq to i8**
store i8*%ap,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%ak,i64 16
%at=bitcast i8*%as to i32*
store i32 3,i32*%at,align 4
%au=call i8*@sml_alloc(i32 inreg 28)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177304,i32*%aw,align 4
%ax=load i8*,i8**%c,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%au,i64 8
%aA=bitcast i8*%az to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse15analyseDeclListE_127 to void(...)*),void(...)**%aA,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 16
%aC=bitcast i8*%aB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse15analyseDeclListE_127 to void(...)*),void(...)**%aC,align 8
%aD=getelementptr inbounds i8,i8*%au,i64 24
%aE=bitcast i8*%aD to i32*
store i32 -2147483647,i32*%aE,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarb5e28a97db1d05ce_TCAnalyse,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarb5e28a97db1d05ce_TCAnalyse,i64 0,i32 2,i64 0),i8*inreg%au)#0
call void@sml_end()#0
ret void
aF:
%aG=landingpad{i8*,i8*}
cleanup
%aH=extractvalue{i8*,i8*}%aG,1
call void@sml_save_exn(i8*inreg%aH)#0
call void@sml_end()#0
resume{i8*,i8*}%aG
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8countAddE_98(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
%d=icmp eq i8*%c,null
br i1%d,label%j,label%e
e:
%f=getelementptr inbounds i8,i8*%a,i64 8
%g=bitcast i8*%f to i8**
%h=load i8*,i8**%g,align 8
%i=icmp eq i8*%h,null
br i1%i,label%j,label%k
j:
ret i8*null
k:
%l=bitcast i8*%c to i32*
%m=load i32,i32*%l,align 4
%n=bitcast i8*%h to i32*
%o=load i32,i32*%n,align 4
%p=add nsw i32%o,%m
%q=tail call i8*@sml_alloc(i32 inreg 12)#0
%r=bitcast i8*%q to i32*
%s=getelementptr inbounds i8,i8*%q,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177288,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%q,i64 4
%v=bitcast i8*%u to i32*
store i32 0,i32*%v,align 1
store i32%p,i32*%r,align 4
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 4
ret i8*%q
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_104(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc void@_SMLLLN9TCAnalyse8visitExpE_106(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%j
g:
%h=bitcast i8*%a to i8**
%i=bitcast i8*%b to i8**
br label%o
j:
call void@sml_check(i32 inreg%e)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
%m=bitcast i8**%c to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%j],[%h,%g]
%q=phi i8**[%l,%j],[%i,%g]
%r=load i8*,i8**%p,align 8
%s=load i8*,i8**%q,align 8
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%r,i8*inreg%s)
ret void
}
define internal fastcc void@_SMLLLN9TCAnalyse8visitExpE_107(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%p,i8*inreg%s)
ret void
}
define internal fastcc void@_SMLLLN9TCAnalyse8visitExpE_108(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%p,i8*inreg%s)
ret void
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_111(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 8
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN9TCAnalyse9visitDeclE_122(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLLN9TCAnalyse9visitDeclE_124(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(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
br label%h
h:
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**%c,align 8
%n=icmp eq i8*%m,null
br i1%n,label%J,label%o
o:
%p=bitcast i8*%m to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 0,label%jx
i32 2,label%ij
i32 37,label%fX
i32 3,label%fR
i32 5,label%J
i32 6,label%fI
i32 8,label%fy
i32 9,label%fo
i32 14,label%J
i32 16,label%ff
i32 17,label%J
i32 15,label%J
i32 18,label%J
i32 19,label%eJ
i32 22,label%J
i32 21,label%d9
i32 1,label%d2
i32 20,label%dV
i32 23,label%dK
i32 4,label%dz
i32 39,label%c4
i32 25,label%cu
i32 26,label%ck
i32 27,label%bw
i32 28,label%br
i32 29,label%bk
i32 30,label%bf
i32 31,label%ba
i32 32,label%a6
i32 33,label%aB
i32 35,label%aw
i32 36,label%J
i32 38,label%ar
i32 40,label%aq
i32 24,label%af
i32 7,label%Y
i32 10,label%R
i32 11,label%J
i32 12,label%J
i32 13,label%K
i32 34,label%J
]
r:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%d,align 8
%w=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@f,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%d,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
ret void
K:
%L=getelementptr inbounds i8,i8*%m,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%c,align 8
br label%g6
R:
%S=getelementptr inbounds i8,i8*%m,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8**
%X=load i8*,i8**%W,align 8
store i8*%X,i8**%c,align 8
br label%g6
Y:
%Z=getelementptr inbounds i8,i8*%m,i64 8
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%c,align 8
br label%g6
af:
%ag=getelementptr inbounds i8,i8*%m,i64 8
%ah=bitcast i8*%ag to i8***
%ai=load i8**,i8***%ah,align 8
%aj=load i8*,i8**%ai,align 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=getelementptr inbounds i8,i8*%aj,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%c,align 8
%ap=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%ap,i8*inreg%al)
br label%g6
aq:
store i8*null,i8**%c,align 8
br label%j7
ar:
store i8*null,i8**%c,align 8
%as=getelementptr inbounds i8,i8*%m,i64 8
%at=bitcast i8*%as to i8***
%au=load i8**,i8***%at,align 8
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%c,align 8
br label%g6
aw:
store i8*null,i8**%c,align 8
%ax=getelementptr inbounds i8,i8*%m,i64 8
%ay=bitcast i8*%ax to i8***
%az=load i8**,i8***%ay,align 8
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%c,align 8
br label%g6
aB:
%aC=getelementptr inbounds i8,i8*%m,i64 8
%aD=bitcast i8*%aC to i8***
%aE=load i8**,i8***%aD,align 8
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%c,align 8
%aG=call fastcc i8*@_SMLFN11RecordLabel3Map3appE(i32 inreg 1,i32 inreg 8)
%aH=getelementptr inbounds i8,i8*%aG,i64 16
%aI=bitcast i8*%aH to i8*(i8*,i8*)**
%aJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aI,align 8
%aK=bitcast i8*%aG to i8**
%aL=load i8*,i8**%aK,align 8
store i8*%aL,i8**%d,align 8
%aM=call i8*@sml_alloc(i32 inreg 28)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177304,i32*%aO,align 4
%aP=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aQ=bitcast i8*%aM to i8**
store i8*%aP,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aM,i64 8
%aS=bitcast i8*%aR to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse16visitRecordFieldE_101 to void(...)*),void(...)**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse16visitRecordFieldE_138 to void(...)*),void(...)**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aM,i64 24
%aW=bitcast i8*%aV to i32*
store i32 -2147483647,i32*%aW,align 4
%aX=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aY=call fastcc i8*%aJ(i8*inreg%aX,i8*inreg%aM)
%aZ=getelementptr inbounds i8,i8*%aY,i64 16
%a0=bitcast i8*%aZ to i8*(i8*,i8*)**
%a1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a0,align 8
%a2=bitcast i8*%aY to i8**
%a3=load i8*,i8**%a2,align 8
%a4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a5=call fastcc i8*%a1(i8*inreg%a3,i8*inreg%a4)
ret void
a6:
store i8*null,i8**%c,align 8
%a7=getelementptr inbounds i8,i8*%m,i64 8
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
br label%j7
ba:
store i8*null,i8**%c,align 8
%bb=getelementptr inbounds i8,i8*%m,i64 8
%bc=bitcast i8*%bb to i8***
%bd=load i8**,i8***%bc,align 8
%be=load i8*,i8**%bd,align 8
store i8*%be,i8**%c,align 8
br label%g6
bf:
store i8*null,i8**%c,align 8
%bg=getelementptr inbounds i8,i8*%m,i64 8
%bh=bitcast i8*%bg to i8***
%bi=load i8**,i8***%bh,align 8
%bj=load i8*,i8**%bi,align 8
store i8*%bj,i8**%c,align 8
br label%g6
bk:
%bl=getelementptr inbounds i8,i8*%m,i64 8
%bm=bitcast i8*%bl to i8**
%bn=load i8*,i8**%bm,align 8
%bo=getelementptr inbounds i8,i8*%bn,i64 16
%bp=bitcast i8*%bo to i8**
%bq=load i8*,i8**%bp,align 8
store i8*%bq,i8**%c,align 8
br label%g6
br:
store i8*null,i8**%c,align 8
%bs=getelementptr inbounds i8,i8*%m,i64 8
%bt=bitcast i8*%bs to i8***
%bu=load i8**,i8***%bt,align 8
%bv=load i8*,i8**%bu,align 8
store i8*%bv,i8**%c,align 8
br label%g6
bw:
%bx=getelementptr inbounds i8,i8*%m,i64 8
%by=bitcast i8*%bx to i8**
%bz=load i8*,i8**%by,align 8
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
store i8*%bB,i8**%c,align 8
%bC=getelementptr inbounds i8,i8*%bz,i64 8
%bD=bitcast i8*%bC to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%d,align 8
%bF=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bG=getelementptr inbounds i8,i8*%bF,i64 16
%bH=bitcast i8*%bG to i8*(i8*,i8*)**
%bI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bH,align 8
%bJ=bitcast i8*%bF to i8**
%bK=load i8*,i8**%bJ,align 8
%bL=call fastcc i8*%bI(i8*inreg%bK,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*))
%bM=getelementptr inbounds i8,i8*%bL,i64 16
%bN=bitcast i8*%bM to i8*(i8*,i8*)**
%bO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bN,align 8
%bP=bitcast i8*%bL to i8**
%bQ=load i8*,i8**%bP,align 8
%bR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bS=call fastcc i8*%bO(i8*inreg%bQ,i8*inreg%bR)
store i8*%bS,i8**%c,align 8
%bT=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%bU=getelementptr inbounds i8,i8*%bT,i64 16
%bV=bitcast i8*%bU to i8*(i8*,i8*)**
%bW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bV,align 8
%bX=bitcast i8*%bT to i8**
%bY=load i8*,i8**%bX,align 8
store i8*%bY,i8**%f,align 8
%bZ=call i8*@sml_alloc(i32 inreg 28)#0
%b0=getelementptr inbounds i8,i8*%bZ,i64 -4
%b1=bitcast i8*%b0 to i32*
store i32 1342177304,i32*%b1,align 4
%b2=load i8*,i8**%e,align 8
%b3=bitcast i8*%bZ to i8**
store i8*%b2,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bZ,i64 8
%b5=bitcast i8*%b4 to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%b5,align 8
%b6=getelementptr inbounds i8,i8*%bZ,i64 16
%b7=bitcast i8*%b6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%b7,align 8
%b8=getelementptr inbounds i8,i8*%bZ,i64 24
%b9=bitcast i8*%b8 to i32*
store i32 -2147483647,i32*%b9,align 4
%ca=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cb=call fastcc i8*%bW(i8*inreg%ca,i8*inreg%bZ)
%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**%c,align 8
store i8*null,i8**%c,align 8
%ci=call fastcc i8*%ce(i8*inreg%cg,i8*inreg%ch)
%cj=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
store i8*%cj,i8**%c,align 8
br label%g6
ck:
%cl=getelementptr inbounds i8,i8*%m,i64 8
%cm=bitcast i8*%cl to i8**
%cn=load i8*,i8**%cm,align 8
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,align 8
%cq=getelementptr inbounds i8,i8*%cn,i64 32
%cr=bitcast i8*%cq to i8**
%cs=load i8*,i8**%cr,align 8
store i8*%cs,i8**%c,align 8
%ct=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%ct,i8*inreg%cp)
br label%g6
cu:
%cv=getelementptr inbounds i8,i8*%m,i64 8
%cw=bitcast i8*%cv to i8**
%cx=load i8*,i8**%cw,align 8
%cy=bitcast i8*%cx to i8**
%cz=load i8*,i8**%cy,align 8
%cA=getelementptr inbounds i8,i8*%cx,i64 8
%cB=bitcast i8*%cA to i8**
%cC=load i8*,i8**%cB,align 8
store i8*%cC,i8**%c,align 8
%cD=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%cD,i8*inreg%cz)
%cE=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%cF=getelementptr inbounds i8,i8*%cE,i64 16
%cG=bitcast i8*%cF to i8*(i8*,i8*)**
%cH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cG,align 8
%cI=bitcast i8*%cE to i8**
%cJ=load i8*,i8**%cI,align 8
store i8*%cJ,i8**%d,align 8
%cK=call i8*@sml_alloc(i32 inreg 28)#0
%cL=getelementptr inbounds i8,i8*%cK,i64 -4
%cM=bitcast i8*%cL to i32*
store i32 1342177304,i32*%cM,align 4
%cN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cO=bitcast i8*%cK to i8**
store i8*%cN,i8**%cO,align 8
%cP=getelementptr inbounds i8,i8*%cK,i64 8
%cQ=bitcast i8*%cP to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse9visitDeclE_102 to void(...)*),void(...)**%cQ,align 8
%cR=getelementptr inbounds i8,i8*%cK,i64 16
%cS=bitcast i8*%cR to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse9visitDeclE_139 to void(...)*),void(...)**%cS,align 8
%cT=getelementptr inbounds i8,i8*%cK,i64 24
%cU=bitcast i8*%cT to i32*
store i32 -2147483647,i32*%cU,align 4
%cV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cW=call fastcc i8*%cH(i8*inreg%cV,i8*inreg%cK)
%cX=getelementptr inbounds i8,i8*%cW,i64 16
%cY=bitcast i8*%cX to i8*(i8*,i8*)**
%cZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cY,align 8
%c0=bitcast i8*%cW to i8**
%c1=load i8*,i8**%c0,align 8
%c2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c3=call fastcc i8*%cZ(i8*inreg%c1,i8*inreg%c2)
ret void
c4:
%c5=getelementptr inbounds i8,i8*%m,i64 8
%c6=bitcast i8*%c5 to i8***
%c7=load i8**,i8***%c6,align 8
%c8=load i8*,i8**%c7,align 8
store i8*%c8,i8**%c,align 8
%c9=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%da=getelementptr inbounds i8,i8*%c9,i64 16
%db=bitcast i8*%da to i8*(i8*,i8*)**
%dc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%db,align 8
%dd=bitcast i8*%c9 to i8**
%de=load i8*,i8**%dd,align 8
store i8*%de,i8**%d,align 8
%df=call i8*@sml_alloc(i32 inreg 28)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177304,i32*%dh,align 4
%di=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dj=bitcast i8*%df to i8**
store i8*%di,i8**%dj,align 8
%dk=getelementptr inbounds i8,i8*%df,i64 8
%dl=bitcast i8*%dk to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%dl,align 8
%dm=getelementptr inbounds i8,i8*%df,i64 16
%dn=bitcast i8*%dm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%dn,align 8
%do=getelementptr inbounds i8,i8*%df,i64 24
%dp=bitcast i8*%do to i32*
store i32 -2147483647,i32*%dp,align 4
%dq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dr=call fastcc i8*%dc(i8*inreg%dq,i8*inreg%df)
%ds=getelementptr inbounds i8,i8*%dr,i64 16
%dt=bitcast i8*%ds to i8*(i8*,i8*)**
%du=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dt,align 8
%dv=bitcast i8*%dr to i8**
%dw=load i8*,i8**%dv,align 8
%dx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dy=call fastcc i8*%du(i8*inreg%dw,i8*inreg%dx)
ret void
dz:
%dA=getelementptr inbounds i8,i8*%m,i64 8
%dB=bitcast i8*%dA to i8**
%dC=load i8*,i8**%dB,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**%c,align 8
%dG=getelementptr inbounds i8,i8*%dC,i64 40
%dH=bitcast i8*%dG to i8**
%dI=load i8*,i8**%dH,align 8
%dJ=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%dJ,i8*inreg%dI)
br label%g6
dK:
%dL=getelementptr inbounds i8,i8*%m,i64 8
%dM=bitcast i8*%dL to i8**
%dN=load i8*,i8**%dM,align 8
%dO=getelementptr inbounds i8,i8*%dN,i64 8
%dP=bitcast i8*%dO to i8**
%dQ=load i8*,i8**%dP,align 8
%dR=getelementptr inbounds i8,i8*%dN,i64 16
%dS=bitcast i8*%dR to i8**
%dT=load i8*,i8**%dS,align 8
store i8*%dT,i8**%c,align 8
%dU=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%dU,i8*inreg%dQ)
br label%g6
dV:
%dW=getelementptr inbounds i8,i8*%m,i64 8
%dX=bitcast i8*%dW to i8**
%dY=load i8*,i8**%dX,align 8
%dZ=getelementptr inbounds i8,i8*%dY,i64 8
%d0=bitcast i8*%dZ to i8**
%d1=load i8*,i8**%d0,align 8
store i8*%d1,i8**%c,align 8
br label%g6
d2:
%d3=getelementptr inbounds i8,i8*%m,i64 8
%d4=bitcast i8*%d3 to i8**
%d5=load i8*,i8**%d4,align 8
%d6=getelementptr inbounds i8,i8*%d5,i64 16
%d7=bitcast i8*%d6 to i8**
%d8=load i8*,i8**%d7,align 8
store i8*%d8,i8**%c,align 8
br label%g6
d9:
%ea=getelementptr inbounds i8,i8*%m,i64 8
%eb=bitcast i8*%ea to i8**
%ec=load i8*,i8**%eb,align 8
%ed=bitcast i8*%ec to i8**
%ee=load i8*,i8**%ed,align 8
store i8*%ee,i8**%c,align 8
%ef=getelementptr inbounds i8,i8*%ec,i64 16
%eg=bitcast i8*%ef to i8**
%eh=load i8*,i8**%eg,align 8
%ei=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%ei,i8*inreg%eh)
%ej=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%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**%d,align 8
%ep=call i8*@sml_alloc(i32 inreg 28)#0
%eq=getelementptr inbounds i8,i8*%ep,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177304,i32*%er,align 4
%es=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%et=bitcast i8*%ep to i8**
store i8*%es,i8**%et,align 8
%eu=getelementptr inbounds i8,i8*%ep,i64 8
%ev=bitcast i8*%eu to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%ev,align 8
%ew=getelementptr inbounds i8,i8*%ep,i64 16
%ex=bitcast i8*%ew to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%ex,align 8
%ey=getelementptr inbounds i8,i8*%ep,i64 24
%ez=bitcast i8*%ey to i32*
store i32 -2147483647,i32*%ez,align 4
%eA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eB=call fastcc i8*%em(i8*inreg%eA,i8*inreg%ep)
%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
%eH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eI=call fastcc i8*%eE(i8*inreg%eG,i8*inreg%eH)
ret void
eJ:
store i8*null,i8**%c,align 8
%eK=getelementptr inbounds i8,i8*%m,i64 8
%eL=bitcast i8*%eK to i8**
%eM=load i8*,i8**%eL,align 8
%eN=getelementptr inbounds i8,i8*%eM,i64 8
%eO=bitcast i8*%eN to i8**
%eP=load i8*,i8**%eO,align 8
%eQ=bitcast i8*%eP to i32*
%eR=load i32,i32*%eQ,align 4
switch i32%eR,label%eS[
i32 1,label%fa
i32 0,label%J
]
eS:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%eT=load i8*,i8**@_SMLZ5Match,align 8
store i8*%eT,i8**%c,align 8
%eU=call i8*@sml_alloc(i32 inreg 20)#0
%eV=getelementptr inbounds i8,i8*%eU,i64 -4
%eW=bitcast i8*%eV to i32*
store i32 1342177296,i32*%eW,align 4
store i8*%eU,i8**%d,align 8
%eX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eY=bitcast i8*%eU to i8**
store i8*%eX,i8**%eY,align 8
%eZ=getelementptr inbounds i8,i8*%eU,i64 8
%e0=bitcast i8*%eZ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[78x i8]}>,<{[4x i8],i32,[78x i8]}>*@f,i64 0,i32 2,i64 0),i8**%e0,align 8
%e1=getelementptr inbounds i8,i8*%eU,i64 16
%e2=bitcast i8*%e1 to i32*
store i32 3,i32*%e2,align 4
%e3=call i8*@sml_alloc(i32 inreg 60)#0
%e4=getelementptr inbounds i8,i8*%e3,i64 -4
%e5=bitcast i8*%e4 to i32*
store i32 1342177336,i32*%e5,align 4
%e6=getelementptr inbounds i8,i8*%e3,i64 56
%e7=bitcast i8*%e6 to i32*
store i32 1,i32*%e7,align 4
%e8=load i8*,i8**%d,align 8
%e9=bitcast i8*%e3 to i8**
store i8*%e8,i8**%e9,align 8
call void@sml_raise(i8*inreg%e3)#1
unreachable
fa:
%fb=getelementptr inbounds i8,i8*%eP,i64 8
%fc=bitcast i8*%fb to i8***
%fd=load i8**,i8***%fc,align 8
%fe=load i8*,i8**%fd,align 8
store i8*%fe,i8**%c,align 8
br label%g6
ff:
store i8*null,i8**%c,align 8
%fg=getelementptr inbounds i8,i8*%m,i64 8
%fh=bitcast i8*%fg to i8***
%fi=load i8**,i8***%fh,align 8
%fj=load i8*,i8**%fi,align 8
%fk=icmp eq i8*%fj,null
br i1%fk,label%J,label%fl
fl:
%fm=bitcast i8*%fj to i8**
%fn=load i8*,i8**%fm,align 8
store i8*%fn,i8**%c,align 8
br label%g6
fo:
%fp=getelementptr inbounds i8,i8*%m,i64 8
%fq=bitcast i8*%fp to i8**
%fr=load i8*,i8**%fq,align 8
%fs=bitcast i8*%fr to i8**
%ft=load i8*,i8**%fs,align 8
%fu=getelementptr inbounds i8,i8*%fr,i64 8
%fv=bitcast i8*%fu to i8**
%fw=load i8*,i8**%fv,align 8
store i8*%fw,i8**%c,align 8
%fx=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%fx,i8*inreg%ft)
br label%g6
fy:
%fz=getelementptr inbounds i8,i8*%m,i64 8
%fA=bitcast i8*%fz to i8**
%fB=load i8*,i8**%fA,align 8
%fC=bitcast i8*%fB to i8**
%fD=load i8*,i8**%fC,align 8
store i8*%fD,i8**%c,align 8
%fE=getelementptr inbounds i8,i8*%fB,i64 24
%fF=bitcast i8*%fE to i8**
%fG=load i8*,i8**%fF,align 8
%fH=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%fH,i8*inreg%fG)
br label%g6
fI:
store i8*null,i8**%c,align 8
%fJ=getelementptr inbounds i8,i8*%m,i64 8
%fK=bitcast i8*%fJ to i8***
%fL=load i8**,i8***%fK,align 8
%fM=load i8*,i8**%fL,align 8
%fN=icmp eq i8*%fM,null
br i1%fN,label%J,label%fO
fO:
%fP=bitcast i8*%fM to i8**
%fQ=load i8*,i8**%fP,align 8
store i8*%fQ,i8**%c,align 8
br label%g6
fR:
store i8*null,i8**%c,align 8
%fS=getelementptr inbounds i8,i8*%m,i64 8
%fT=bitcast i8*%fS to i8****
%fU=load i8***,i8****%fT,align 8
%fV=load i8**,i8***%fU,align 8
%fW=load i8*,i8**%fV,align 8
store i8*%fW,i8**%c,align 8
br label%g6
fX:
%fY=getelementptr inbounds i8,i8*%m,i64 8
%fZ=bitcast i8*%fY to i8**
%f0=load i8*,i8**%fZ,align 8
%f1=bitcast i8*%f0 to i8**
%f2=load i8*,i8**%f1,align 8
store i8*%f2,i8**%c,align 8
%f3=getelementptr inbounds i8,i8*%f0,i64 8
%f4=bitcast i8*%f3 to i8**
%f5=load i8*,i8**%f4,align 8
%f6=getelementptr inbounds i8,i8*%f0,i64 40
%f7=bitcast i8*%f6 to i8**
%f8=load i8*,i8**%f7,align 8
store i8*%f8,i8**%d,align 8
%f9=load i8*,i8**%e,align 8
call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%f9,i8*inreg%f5)
%ga=load i8*,i8**%d,align 8
%gb=bitcast i8*%ga to i32*
%gc=load i32,i32*%gb,align 4
switch i32%gc,label%gd[
i32 1,label%hI
i32 0,label%g7
i32 2,label%gv
]
gd:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%ge=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ge,i8**%c,align 8
%gf=call i8*@sml_alloc(i32 inreg 20)#0
%gg=getelementptr inbounds i8,i8*%gf,i64 -4
%gh=bitcast i8*%gg to i32*
store i32 1342177296,i32*%gh,align 4
store i8*%gf,i8**%d,align 8
%gi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gj=bitcast i8*%gf to i8**
store i8*%gi,i8**%gj,align 8
%gk=getelementptr inbounds i8,i8*%gf,i64 8
%gl=bitcast i8*%gk to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[80x i8]}>,<{[4x i8],i32,[80x i8]}>*@d,i64 0,i32 2,i64 0),i8**%gl,align 8
%gm=getelementptr inbounds i8,i8*%gf,i64 16
%gn=bitcast i8*%gm to i32*
store i32 3,i32*%gn,align 4
%go=call i8*@sml_alloc(i32 inreg 60)#0
%gp=getelementptr inbounds i8,i8*%go,i64 -4
%gq=bitcast i8*%gp to i32*
store i32 1342177336,i32*%gq,align 4
%gr=getelementptr inbounds i8,i8*%go,i64 56
%gs=bitcast i8*%gr to i32*
store i32 1,i32*%gs,align 4
%gt=load i8*,i8**%d,align 8
%gu=bitcast i8*%go to i8**
store i8*%gt,i8**%gu,align 8
call void@sml_raise(i8*inreg%go)#1
unreachable
gv:
%gw=getelementptr inbounds i8,i8*%ga,i64 8
%gx=bitcast i8*%gw to i8**
%gy=load i8*,i8**%gx,align 8
store i8*%gy,i8**%d,align 8
%gz=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%gA=getelementptr inbounds i8,i8*%gz,i64 16
%gB=bitcast i8*%gA to i8*(i8*,i8*)**
%gC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gB,align 8
%gD=bitcast i8*%gz to i8**
%gE=load i8*,i8**%gD,align 8
store i8*%gE,i8**%f,align 8
%gF=call i8*@sml_alloc(i32 inreg 12)#0
%gG=getelementptr inbounds i8,i8*%gF,i64 -4
%gH=bitcast i8*%gG to i32*
store i32 1342177288,i32*%gH,align 4
store i8*%gF,i8**%g,align 8
%gI=load i8*,i8**%e,align 8
%gJ=bitcast i8*%gF to i8**
store i8*%gI,i8**%gJ,align 8
%gK=getelementptr inbounds i8,i8*%gF,i64 8
%gL=bitcast i8*%gK to i32*
store i32 1,i32*%gL,align 4
%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
%gP=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%gQ=bitcast i8*%gM to i8**
store i8*%gP,i8**%gQ,align 8
%gR=getelementptr inbounds i8,i8*%gM,i64 8
%gS=bitcast i8*%gR to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_108 to void(...)*),void(...)**%gS,align 8
%gT=getelementptr inbounds i8,i8*%gM,i64 16
%gU=bitcast i8*%gT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_133 to void(...)*),void(...)**%gU,align 8
%gV=getelementptr inbounds i8,i8*%gM,i64 24
%gW=bitcast i8*%gV to i32*
store i32 -2147483647,i32*%gW,align 4
%gX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gY=call fastcc i8*%gC(i8*inreg%gX,i8*inreg%gM)
%gZ=getelementptr inbounds i8,i8*%gY,i64 16
%g0=bitcast i8*%gZ to i8*(i8*,i8*)**
%g1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g0,align 8
%g2=bitcast i8*%gY to i8**
%g3=load i8*,i8**%g2,align 8
%g4=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%g5=call fastcc i8*%g1(i8*inreg%g3,i8*inreg%g4)
br label%g6
g6:
br label%h
g7:
%g8=getelementptr inbounds i8,i8*%ga,i64 8
%g9=bitcast i8*%g8 to i8**
%ha=load i8*,i8**%g9,align 8
store i8*%ha,i8**%d,align 8
%hb=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%hc=getelementptr inbounds i8,i8*%hb,i64 16
%hd=bitcast i8*%hc to i8*(i8*,i8*)**
%he=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hd,align 8
%hf=bitcast i8*%hb to i8**
%hg=load i8*,i8**%hf,align 8
store i8*%hg,i8**%f,align 8
%hh=call i8*@sml_alloc(i32 inreg 12)#0
%hi=getelementptr inbounds i8,i8*%hh,i64 -4
%hj=bitcast i8*%hi to i32*
store i32 1342177288,i32*%hj,align 4
store i8*%hh,i8**%g,align 8
%hk=load i8*,i8**%e,align 8
%hl=bitcast i8*%hh to i8**
store i8*%hk,i8**%hl,align 8
%hm=getelementptr inbounds i8,i8*%hh,i64 8
%hn=bitcast i8*%hm to i32*
store i32 1,i32*%hn,align 4
%ho=call i8*@sml_alloc(i32 inreg 28)#0
%hp=getelementptr inbounds i8,i8*%ho,i64 -4
%hq=bitcast i8*%hp to i32*
store i32 1342177304,i32*%hq,align 4
%hr=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%hs=bitcast i8*%ho to i8**
store i8*%hr,i8**%hs,align 8
%ht=getelementptr inbounds i8,i8*%ho,i64 8
%hu=bitcast i8*%ht to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_107 to void(...)*),void(...)**%hu,align 8
%hv=getelementptr inbounds i8,i8*%ho,i64 16
%hw=bitcast i8*%hv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_132 to void(...)*),void(...)**%hw,align 8
%hx=getelementptr inbounds i8,i8*%ho,i64 24
%hy=bitcast i8*%hx to i32*
store i32 -2147483647,i32*%hy,align 4
%hz=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hA=call fastcc i8*%he(i8*inreg%hz,i8*inreg%ho)
%hB=getelementptr inbounds i8,i8*%hA,i64 16
%hC=bitcast i8*%hB to i8*(i8*,i8*)**
%hD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hC,align 8
%hE=bitcast i8*%hA to i8**
%hF=load i8*,i8**%hE,align 8
%hG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hH=call fastcc i8*%hD(i8*inreg%hF,i8*inreg%hG)
br label%g6
hI:
%hJ=getelementptr inbounds i8,i8*%ga,i64 8
%hK=bitcast i8*%hJ to i8**
%hL=load i8*,i8**%hK,align 8
store i8*%hL,i8**%d,align 8
%hM=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%hN=getelementptr inbounds i8,i8*%hM,i64 16
%hO=bitcast i8*%hN to i8*(i8*,i8*)**
%hP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hO,align 8
%hQ=bitcast i8*%hM to i8**
%hR=load i8*,i8**%hQ,align 8
store i8*%hR,i8**%f,align 8
%hS=call i8*@sml_alloc(i32 inreg 12)#0
%hT=getelementptr inbounds i8,i8*%hS,i64 -4
%hU=bitcast i8*%hT to i32*
store i32 1342177288,i32*%hU,align 4
store i8*%hS,i8**%g,align 8
%hV=load i8*,i8**%e,align 8
%hW=bitcast i8*%hS to i8**
store i8*%hV,i8**%hW,align 8
%hX=getelementptr inbounds i8,i8*%hS,i64 8
%hY=bitcast i8*%hX to i32*
store i32 1,i32*%hY,align 4
%hZ=call i8*@sml_alloc(i32 inreg 28)#0
%h0=getelementptr inbounds i8,i8*%hZ,i64 -4
%h1=bitcast i8*%h0 to i32*
store i32 1342177304,i32*%h1,align 4
%h2=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%h3=bitcast i8*%hZ to i8**
store i8*%h2,i8**%h3,align 8
%h4=getelementptr inbounds i8,i8*%hZ,i64 8
%h5=bitcast i8*%h4 to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_106 to void(...)*),void(...)**%h5,align 8
%h6=getelementptr inbounds i8,i8*%hZ,i64 16
%h7=bitcast i8*%h6 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_131 to void(...)*),void(...)**%h7,align 8
%h8=getelementptr inbounds i8,i8*%hZ,i64 24
%h9=bitcast i8*%h8 to i32*
store i32 -2147483647,i32*%h9,align 4
%ia=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ib=call fastcc i8*%hP(i8*inreg%ia,i8*inreg%hZ)
%ic=getelementptr inbounds i8,i8*%ib,i64 16
%id=bitcast i8*%ic to i8*(i8*,i8*)**
%ie=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%id,align 8
%if=bitcast i8*%ib to i8**
%ig=load i8*,i8**%if,align 8
%ih=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ii=call fastcc i8*%ie(i8*inreg%ig,i8*inreg%ih)
br label%g6
ij:
%ik=getelementptr inbounds i8,i8*%m,i64 8
%il=bitcast i8*%ik to i8**
%im=load i8*,i8**%il,align 8
%in=getelementptr inbounds i8,i8*%im,i64 8
%io=bitcast i8*%in to i8**
%ip=load i8*,i8**%io,align 8
store i8*%ip,i8**%c,align 8
%iq=getelementptr inbounds i8,i8*%im,i64 40
%ir=bitcast i8*%iq to i8**
%is=load i8*,i8**%ir,align 8
store i8*%is,i8**%d,align 8
%it=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%iu=getelementptr inbounds i8,i8*%it,i64 16
%iv=bitcast i8*%iu to i8*(i8*,i8*)**
%iw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iv,align 8
%ix=bitcast i8*%it to i8**
%iy=load i8*,i8**%ix,align 8
store i8*%iy,i8**%f,align 8
%iz=call i8*@sml_alloc(i32 inreg 28)#0
%iA=getelementptr inbounds i8,i8*%iz,i64 -4
%iB=bitcast i8*%iA to i32*
store i32 1342177304,i32*%iB,align 4
%iC=load i8*,i8**%e,align 8
%iD=bitcast i8*%iz to i8**
store i8*%iC,i8**%iD,align 8
%iE=getelementptr inbounds i8,i8*%iz,i64 8
%iF=bitcast i8*%iE to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%iF,align 8
%iG=getelementptr inbounds i8,i8*%iz,i64 16
%iH=bitcast i8*%iG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%iH,align 8
%iI=getelementptr inbounds i8,i8*%iz,i64 24
%iJ=bitcast i8*%iI to i32*
store i32 -2147483647,i32*%iJ,align 4
%iK=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%iL=call fastcc i8*%iw(i8*inreg%iK,i8*inreg%iz)
%iM=getelementptr inbounds i8,i8*%iL,i64 16
%iN=bitcast i8*%iM to i8*(i8*,i8*)**
%iO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iN,align 8
%iP=bitcast i8*%iL to i8**
%iQ=load i8*,i8**%iP,align 8
%iR=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iS=call fastcc i8*%iO(i8*inreg%iQ,i8*inreg%iR)
%iT=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%iU=getelementptr inbounds i8,i8*%iT,i64 16
%iV=bitcast i8*%iU to i8*(i8*,i8*)**
%iW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iV,align 8
%iX=bitcast i8*%iT to i8**
%iY=load i8*,i8**%iX,align 8
%iZ=call fastcc i8*%iW(i8*inreg%iY,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*))
%i0=getelementptr inbounds i8,i8*%iZ,i64 16
%i1=bitcast i8*%i0 to i8*(i8*,i8*)**
%i2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i1,align 8
%i3=bitcast i8*%iZ to i8**
%i4=load i8*,i8**%i3,align 8
%i5=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%i6=call fastcc i8*%i2(i8*inreg%i4,i8*inreg%i5)
store i8*%i6,i8**%c,align 8
%i7=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%i8=getelementptr inbounds i8,i8*%i7,i64 16
%i9=bitcast i8*%i8 to i8*(i8*,i8*)**
%ja=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i9,align 8
%jb=bitcast i8*%i7 to i8**
%jc=load i8*,i8**%jb,align 8
store i8*%jc,i8**%d,align 8
%jd=call i8*@sml_alloc(i32 inreg 28)#0
%je=getelementptr inbounds i8,i8*%jd,i64 -4
%jf=bitcast i8*%je to i32*
store i32 1342177304,i32*%jf,align 4
%jg=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jh=bitcast i8*%jd to i8**
store i8*%jg,i8**%jh,align 8
%ji=getelementptr inbounds i8,i8*%jd,i64 8
%jj=bitcast i8*%ji to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%jj,align 8
%jk=getelementptr inbounds i8,i8*%jd,i64 16
%jl=bitcast i8*%jk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%jl,align 8
%jm=getelementptr inbounds i8,i8*%jd,i64 24
%jn=bitcast i8*%jm to i32*
store i32 -2147483647,i32*%jn,align 4
%jo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jp=call fastcc i8*%ja(i8*inreg%jo,i8*inreg%jd)
%jq=getelementptr inbounds i8,i8*%jp,i64 16
%jr=bitcast i8*%jq to i8*(i8*,i8*)**
%js=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jr,align 8
%jt=bitcast i8*%jp to i8**
%ju=load i8*,i8**%jt,align 8
%jv=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jw=call fastcc i8*%js(i8*inreg%ju,i8*inreg%jv)
ret void
jx:
%jy=getelementptr inbounds i8,i8*%m,i64 8
%jz=bitcast i8*%jy to i8**
%jA=load i8*,i8**%jz,align 8
%jB=bitcast i8*%jA to i8**
%jC=load i8*,i8**%jB,align 8
store i8*%jC,i8**%c,align 8
%jD=getelementptr inbounds i8,i8*%jA,i64 8
%jE=bitcast i8*%jD to i8**
%jF=load i8*,i8**%jE,align 8
store i8*%jF,i8**%d,align 8
%jG=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%jH=getelementptr inbounds i8,i8*%jG,i64 16
%jI=bitcast i8*%jH to i8*(i8*,i8*)**
%jJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jI,align 8
%jK=bitcast i8*%jG to i8**
%jL=load i8*,i8**%jK,align 8
store i8*%jL,i8**%f,align 8
%jM=call i8*@sml_alloc(i32 inreg 28)#0
%jN=getelementptr inbounds i8,i8*%jM,i64 -4
%jO=bitcast i8*%jN to i32*
store i32 1342177304,i32*%jO,align 4
%jP=load i8*,i8**%e,align 8
%jQ=bitcast i8*%jM to i8**
store i8*%jP,i8**%jQ,align 8
%jR=getelementptr inbounds i8,i8*%jM,i64 8
%jS=bitcast i8*%jR to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%jS,align 8
%jT=getelementptr inbounds i8,i8*%jM,i64 16
%jU=bitcast i8*%jT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%jU,align 8
%jV=getelementptr inbounds i8,i8*%jM,i64 24
%jW=bitcast i8*%jV to i32*
store i32 -2147483647,i32*%jW,align 4
%jX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jY=call fastcc i8*%jJ(i8*inreg%jX,i8*inreg%jM)
%jZ=getelementptr inbounds i8,i8*%jY,i64 16
%j0=bitcast i8*%jZ to i8*(i8*,i8*)**
%j1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j0,align 8
%j2=bitcast i8*%jY to i8**
%j3=load i8*,i8**%j2,align 8
%j4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%j5=call fastcc i8*%j1(i8*inreg%j3,i8*inreg%j4)
%j6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
store i8*%j6,i8**%c,align 8
br label%g6
j7:
%j8=phi i8*[%m,%aq],[%a9,%a6]
%j9=getelementptr inbounds i8,i8*%j8,i64 8
%ka=bitcast i8*%j9 to i32**
%kb=load i32*,i32**%ka,align 8
%kc=load i32,i32*%kb,align 4
%kd=load atomic i32,i32*@sml_check_flag unordered,align 4
%ke=icmp eq i32%kd,0
br i1%ke,label%kg,label%kf
kf:
call void@sml_check(i32 inreg%kd)
br label%kg
kg:
%kh=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 1,i32 inreg 8)
%ki=getelementptr inbounds i8,i8*%kh,i64 16
%kj=bitcast i8*%ki to i8*(i8*,i8*)**
%kk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kj,align 8
%kl=bitcast i8*%kh to i8**
%km=load i8*,i8**%kl,align 8
%kn=call fastcc i8*%kk(i8*inreg%km,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*))
%ko=getelementptr inbounds i8,i8*%kn,i64 16
%kp=bitcast i8*%ko to i8*(i8*,i8*)**
%kq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kp,align 8
%kr=bitcast i8*%kn to i8**
%ks=load i8*,i8**%kr,align 8
store i8*%ks,i8**%f,align 8
%kt=bitcast i8**%e to i8****
%ku=load i8***,i8****%kt,align 8
%kv=load i8**,i8***%ku,align 8
%kw=load i8*,i8**%kv,align 8
store i8*%kw,i8**%c,align 8
%kx=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 1,i32 inreg 8)
%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
store i8*%kC,i8**%d,align 8
%kD=call i8*@sml_alloc(i32 inreg 20)#0
%kE=bitcast i8*%kD to i32*
%kF=getelementptr inbounds i8,i8*%kD,i64 -4
%kG=bitcast i8*%kF to i32*
store i32 1342177296,i32*%kG,align 4
%kH=getelementptr inbounds i8,i8*%kD,i64 4
%kI=bitcast i8*%kH to i32*
store i32 0,i32*%kI,align 1
store i32%kc,i32*%kE,align 4
%kJ=getelementptr inbounds i8,i8*%kD,i64 8
%kK=bitcast i8*%kJ to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@b,i64 0,i32 2)to i8*),i8**%kK,align 8
%kL=getelementptr inbounds i8,i8*%kD,i64 16
%kM=bitcast i8*%kL to i32*
store i32 2,i32*%kM,align 4
%kN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kO=call fastcc i8*%kA(i8*inreg%kN,i8*inreg%kD)
store i8*%kO,i8**%d,align 8
%kP=call i8*@sml_alloc(i32 inreg 20)#0
%kQ=getelementptr inbounds i8,i8*%kP,i64 -4
%kR=bitcast i8*%kQ to i32*
store i32 1342177296,i32*%kR,align 4
%kS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kT=bitcast i8*%kP to i8**
store i8*%kS,i8**%kT,align 8
%kU=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kV=getelementptr inbounds i8,i8*%kP,i64 8
%kW=bitcast i8*%kV to i8**
store i8*%kU,i8**%kW,align 8
%kX=getelementptr inbounds i8,i8*%kP,i64 16
%kY=bitcast i8*%kX to i32*
store i32 3,i32*%kY,align 4
%kZ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%k0=call fastcc i8*%kq(i8*inreg%kZ,i8*inreg%kP)
%k1=bitcast i8**%e to i8***
%k2=load i8**,i8***%k1,align 8
%k3=load i8*,i8**%k2,align 8
%k4=bitcast i8*%k3 to i8**
call void@sml_write(i8*inreg%k3,i8**inreg%k4,i8*inreg%k0)#0
ret void
}
define internal fastcc void@_SMLLLN9TCAnalyse16visitRecordFieldE_101(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
i:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%f,align 8
br label%g
g:
%h=phi i8*[%F,%A],[%b,%i]
store i8*%h,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%p=icmp eq i8*%o,null
br i1%p,label%t,label%q
q:
%r=bitcast i8*%o to i32*
%s=load i32,i32*%r,align 4
switch i32%s,label%t[
i32 3,label%A
i32 32,label%w
i32 40,label%v
]
t:
%u=load i8*,i8**%f,align 8
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%u,i8*inreg%o)
ret void
v:
store i8*null,i8**%c,align 8
br label%G
w:
store i8*null,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%o,i64 8
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
br label%G
A:
store i8*null,i8**%c,align 8
%B=getelementptr inbounds i8,i8*%o,i64 8
%C=bitcast i8*%B to i8****
%D=load i8***,i8****%C,align 8
%E=load i8**,i8***%D,align 8
%F=load i8*,i8**%E,align 8
br label%g
G:
%H=phi i8*[%o,%v],[%z,%w]
%I=getelementptr inbounds i8,i8*%H,i64 8
%J=bitcast i8*%I to i32**
%K=load i32*,i32**%J,align 8
%L=load i32,i32*%K,align 4
%M=load atomic i32,i32*@sml_check_flag unordered,align 4
%N=icmp eq i32%M,0
br i1%N,label%P,label%O
O:
call void@sml_check(i32 inreg%M)
br label%P
P:
%Q=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(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=call fastcc i8*%T(i8*inreg%V,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*))
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%e,align 8
%ac=bitcast i8**%f to i8****
%ad=load i8***,i8****%ac,align 8
%ae=load i8**,i8***%ad,align 8
%af=load i8*,i8**%ae,align 8
store i8*%af,i8**%c,align 8
%ag=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 1,i32 inreg 8)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
store i8*%al,i8**%d,align 8
%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%L,i32*%an,align 4
%as=getelementptr inbounds i8,i8*%am,i64 8
%at=bitcast i8*%as to i8**
store i8*null,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%am,i64 16
%av=bitcast i8*%au to i32*
store i32 2,i32*%av,align 4
%aw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ax=call fastcc i8*%aj(i8*inreg%aw,i8*inreg%am)
store i8*%ax,i8**%d,align 8
%ay=call i8*@sml_alloc(i32 inreg 20)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177296,i32*%aA,align 4
%aB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%ay,i64 16
%aH=bitcast i8*%aG to i32*
store i32 3,i32*%aH,align 4
%aI=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aJ=call fastcc i8*%Z(i8*inreg%aI,i8*inreg%ay)
%aK=bitcast i8**%f to i8***
%aL=load i8**,i8***%aK,align 8
%aM=load i8*,i8**%aL,align 8
%aN=bitcast i8*%aM to i8**
call void@sml_write(i8*inreg%aM,i8**inreg%aN,i8*inreg%aJ)#0
ret void
}
define internal fastcc void@_SMLLLN9TCAnalyse9visitDeclE_102(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*%b,i8**%c,align 8
store i8*%a,i8**%e,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%c,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%b,%l]
%m=bitcast i8*%k to i32*
%n=load i32,i32*%m,align 4
switch i32%n,label%o[
i32 1,label%cb
i32 2,label%cb
i32 3,label%cb
i32 4,label%cc
i32 5,label%cb
i32 0,label%cb
i32 6,label%cb
i32 7,label%bP
i32 8,label%bt
i32 9,label%bk
i32 10,label%az
i32 11,label%G
]
o:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%p=load i8*,i8**@_SMLZ5Match,align 8
store i8*%p,i8**%c,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
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,[80x i8]}>,<{[4x i8],i32,[80x i8]}>*@o,i64 0,i32 2,i64 0),i8**%w,align 8
%x=getelementptr inbounds i8,i8*%q,i64 16
%y=bitcast i8*%x to i32*
store i32 3,i32*%y,align 4
%z=call i8*@sml_alloc(i32 inreg 60)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177336,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%z,i64 56
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=load i8*,i8**%d,align 8
%F=bitcast i8*%z to i8**
store i8*%E,i8**%F,align 8
call void@sml_raise(i8*inreg%z)#1
unreachable
G:
%H=getelementptr inbounds i8,i8*%k,i64 8
%I=bitcast i8*%H to i8***
%J=load i8**,i8***%I,align 8
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%c,align 8
%L=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
%R=call fastcc i8*%O(i8*inreg%Q,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*))
%S=getelementptr inbounds i8,i8*%R,i64 16
%T=bitcast i8*%S to i8*(i8*,i8*)**
%U=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%T,align 8
%V=bitcast i8*%R to i8**
%W=load i8*,i8**%V,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%U(i8*inreg%W,i8*inreg%X)
store i8*%Y,i8**%c,align 8
%Z=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%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=call i8*@sml_alloc(i32 inreg 28)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177304,i32*%ah,align 4
%ai=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%al,align 8
%am=getelementptr inbounds i8,i8*%af,i64 16
%an=bitcast i8*%am to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%an,align 8
%ao=getelementptr inbounds i8,i8*%af,i64 24
%ap=bitcast i8*%ao to i32*
store i32 -2147483647,i32*%ap,align 4
%aq=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ar=call fastcc i8*%ac(i8*inreg%aq,i8*inreg%af)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ay=call fastcc i8*%au(i8*inreg%aw,i8*inreg%ax)
ret void
az:
%aA=getelementptr inbounds i8,i8*%k,i64 8
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64 24
%aE=bitcast i8*%aD to i8**
%aF=load i8*,i8**%aE,align 8
store i8*%aF,i8**%c,align 8
%aG=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aH=getelementptr inbounds i8,i8*%aG,i64 16
%aI=bitcast i8*%aH to i8*(i8*,i8*)**
%aJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aI,align 8
%aK=bitcast i8*%aG to i8**
%aL=load i8*,i8**%aK,align 8
%aM=call fastcc i8*%aJ(i8*inreg%aL,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*))
%aN=getelementptr inbounds i8,i8*%aM,i64 16
%aO=bitcast i8*%aN to i8*(i8*,i8*)**
%aP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aO,align 8
%aQ=bitcast i8*%aM to i8**
%aR=load i8*,i8**%aQ,align 8
%aS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aT=call fastcc i8*%aP(i8*inreg%aR,i8*inreg%aS)
store i8*%aT,i8**%c,align 8
%aU=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%aV=getelementptr inbounds i8,i8*%aU,i64 16
%aW=bitcast i8*%aV to i8*(i8*,i8*)**
%aX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aW,align 8
%aY=bitcast i8*%aU to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%d,align 8
%a0=call i8*@sml_alloc(i32 inreg 28)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177304,i32*%a2,align 4
%a3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%a0,i64 8
%a6=bitcast i8*%a5 to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_100 to void(...)*),void(...)**%a6,align 8
%a7=getelementptr inbounds i8,i8*%a0,i64 16
%a8=bitcast i8*%a7 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN9TCAnalyse8visitExpE_137 to void(...)*),void(...)**%a8,align 8
%a9=getelementptr inbounds i8,i8*%a0,i64 24
%ba=bitcast i8*%a9 to i32*
store i32 -2147483647,i32*%ba,align 4
%bb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bc=call fastcc i8*%aX(i8*inreg%bb,i8*inreg%a0)
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8*(i8*,i8*)**
%bf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%be,align 8
%bg=bitcast i8*%bc to i8**
%bh=load i8*,i8**%bg,align 8
%bi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bj=call fastcc i8*%bf(i8*inreg%bh,i8*inreg%bi)
ret void
bk:
%bl=getelementptr inbounds i8,i8*%k,i64 8
%bm=bitcast i8*%bl to i8***
%bn=load i8**,i8***%bm,align 8
%bo=load i8*,i8**%bn,align 8
%bp=getelementptr inbounds i8,i8*%bo,i64 8
%bq=bitcast i8*%bp to i8**
%br=load i8*,i8**%bq,align 8
%bs=load i8*,i8**%e,align 8
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%bs,i8*inreg%br)
ret void
bt:
store i8*null,i8**%e,align 8
%bu=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bu,i8**%c,align 8
%bv=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@l,i64 0,i32 2)to i8*))
store i8*%bv,i8**%d,align 8
%bw=call i8*@sml_alloc(i32 inreg 28)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177304,i32*%by,align 4
store i8*%bw,i8**%e,align 8
%bz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bA=bitcast i8*%bw to i8**
store i8*%bz,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bw,i64 8
%bC=bitcast i8*%bB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@i,i64 0,i32 2,i64 0),i8**%bC,align 8
%bD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bE=getelementptr inbounds i8,i8*%bw,i64 16
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%bw,i64 24
%bH=bitcast i8*%bG to i32*
store i32 7,i32*%bH,align 4
%bI=call i8*@sml_alloc(i32 inreg 60)#0
%bJ=getelementptr inbounds i8,i8*%bI,i64 -4
%bK=bitcast i8*%bJ to i32*
store i32 1342177336,i32*%bK,align 4
%bL=getelementptr inbounds i8,i8*%bI,i64 56
%bM=bitcast i8*%bL to i32*
store i32 1,i32*%bM,align 4
%bN=load i8*,i8**%e,align 8
%bO=bitcast i8*%bI to i8**
store i8*%bN,i8**%bO,align 8
call void@sml_raise(i8*inreg%bI)#1
unreachable
bP:
store i8*null,i8**%e,align 8
%bQ=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%bQ,i8**%c,align 8
%bR=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@h,i64 0,i32 2)to i8*))
store i8*%bR,i8**%d,align 8
%bS=call i8*@sml_alloc(i32 inreg 28)#0
%bT=getelementptr inbounds i8,i8*%bS,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177304,i32*%bU,align 4
store i8*%bS,i8**%e,align 8
%bV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bW=bitcast i8*%bS to i8**
store i8*%bV,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bS,i64 8
%bY=bitcast i8*%bX to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[79x i8]}>,<{[4x i8],i32,[79x i8]}>*@i,i64 0,i32 2,i64 0),i8**%bY,align 8
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=getelementptr inbounds i8,i8*%bS,i64 16
%b1=bitcast i8*%b0 to i8**
store i8*%bZ,i8**%b1,align 8
%b2=getelementptr inbounds i8,i8*%bS,i64 24
%b3=bitcast i8*%b2 to i32*
store i32 7,i32*%b3,align 4
%b4=call i8*@sml_alloc(i32 inreg 60)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177336,i32*%b6,align 4
%b7=getelementptr inbounds i8,i8*%b4,i64 56
%b8=bitcast i8*%b7 to i32*
store i32 1,i32*%b8,align 4
%b9=load i8*,i8**%e,align 8
%ca=bitcast i8*%b4 to i8**
store i8*%b9,i8**%ca,align 8
call void@sml_raise(i8*inreg%b4)#1
unreachable
cb:
ret void
cc:
%cd=getelementptr inbounds i8,i8*%k,i64 8
%ce=bitcast i8*%cd to i8***
%cf=load i8**,i8***%ce,align 8
%cg=load i8*,i8**%cf,align 8
%ch=load i8*,i8**%e,align 8
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%ch,i8*inreg%cg)
ret void
}
define internal fastcc i8*@_SMLLLN9TCAnalyse15analyseDeclListE_127(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%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
%q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%r=bitcast i8*%q to i8**
call void@sml_write(i8*inreg%q,i8**inreg%r,i8*inreg%p)#0
%s=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%t=getelementptr inbounds i8,i8*%s,i64 16
%u=bitcast i8*%t to i8*(i8*,i8*)**
%v=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u,align 8
%w=bitcast i8*%s to i8**
%x=load i8*,i8**%w,align 8
%y=load i8*,i8**%d,align 8
%z=getelementptr inbounds i8,i8*%y,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=call fastcc i8*%v(i8*inreg%x,i8*inreg%B)
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=call fastcc i8*%F(i8*inreg%H,i8*inreg%I)
%K=bitcast i8**%d to i8****
%L=load i8***,i8****%K,align 8
%M=load i8**,i8***%L,align 8
%N=load i8*,i8**%M,align 8
ret i8*%N
}
define fastcc i8*@_SMLFN9TCAnalyse15analyseDeclListE(i8*inreg%a)local_unnamed_addr#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=load i8**,i8***bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[1x i8*]}>,<{[4x i8],i32,[1x i8*]}>*@_SML_gvarb5e28a97db1d05ce_TCAnalyse,i64 0,i32 2,i64 0)to i8***),align 8
%k=load i8*,i8**%j,align 8
%l=tail call fastcc i8*@_SMLLLN9TCAnalyse15analyseDeclListE_127(i8*inreg%k,i8*inreg%h)
ret i8*%l
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8countAddE_129(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN9TCAnalyse8countAddE_98(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_130(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_131(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_106(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_132(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_107(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_133(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_108(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_134(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 8
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN9TCAnalyse9visitDeclE_135(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN9TCAnalyse9visitDeclE_136(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN9TCAnalyse8visitExpE_137(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN9TCAnalyse8visitExpE_100(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN9TCAnalyse16visitRecordFieldE_138(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN9TCAnalyse16visitRecordFieldE_101(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN9TCAnalyse9visitDeclE_139(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLLN9TCAnalyse9visitDeclE_102(i8*inreg%a,i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
