@sml_check_flag=external local_unnamed_addr global i32
@_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*)*@_SMLFN12RecordCalcFv7fvValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv7fvValueE_198 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*)*@_SMLFN12RecordCalcFv5fvExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_227 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*)*@_SMLFN12RecordCalcFv6fvDeclE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv6fvDeclE_228 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*)*@_SMLLLN12RecordCalcFv5fvExpE_129 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_199 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_131 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_200 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*)*@_SMLLLN12RecordCalcFv5fvExpE_133 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_201 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_135 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_202 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_137 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_203 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_139 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_204 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_141 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_205 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_143 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_206 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_147 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_207 to void(...)*),i32 -2147483647}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_149 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_208 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_151 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_209 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*)*@_SMLLLN12RecordCalcFv5fvExpE_155 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_210 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_159 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_211 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_161 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_212 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_163 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_213 to void(...)*),i32 -2147483647}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_165 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_214 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_167 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_215 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_169 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_216 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_171 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_217 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_173 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_218 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_175 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_219 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_177 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_220 to void(...)*),i32 -2147483647}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcFv.sml:22.6(523)\00"}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_180 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_221 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(i32(i8*)*@_SMLLLN12RecordCalcFv5fvExpE_182 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv5fvExpE_222 to void(...)*),i32 -2147483647}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,[68x i8]}><{[4x i8]zeroinitializer,i32 -2147483580,[68x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcFv.sml:27.6(661)\00"}>,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*)*@_SMLLL4vars_185 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL4vars_223 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*)*@_SMLLLN12RecordCalcFv6fvDeclE_187 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv6fvDeclE_224 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(i32(i8*)*@_SMLLLN12RecordCalcFv6fvDeclE_189 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv6fvDeclE_225 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*)*@_SMLLLN12RecordCalcFv6fvDeclE_191 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv6fvDeclE_226 to void(...)*),i32 -2147483647}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[69x i8]}><{[4x i8]zeroinitializer,i32 -2147483579,[69x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcFv.sml:84.6(3276)\00"}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLLN12RecordCalcFv9fvExpListE_194 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv9fvExpListE_229 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*)*@_SMLFN12RecordCalcFv9fvExpListE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN12RecordCalcFv9fvExpListE_230 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN12RecordCalcFv7fvValueE=local_unnamed_addr constant i8*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*)
@_SMLZN12RecordCalcFv5fvExpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@b,i64 0,i32 2)to i8*)
@_SMLZN12RecordCalcFv6fvDeclE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@c,i64 0,i32 2)to i8*)
@_SMLZN12RecordCalcFv9fvExpListE=local_unnamed_addr constant i8*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*)
@_SML_ftab22bee215d45a17a3_RecordCalcFv=external global i8
@K=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*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List5foldlE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map6removeE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5VarID3Map8inDomainE(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 void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina142c315f12317c0_RecordLabel()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_loada142c315f12317c0_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_load22c101bff228a4a9_LocalID(i8*)local_unnamed_addr
define private void@_SML_tabb22bee215d45a17a3_RecordCalcFv()#3{
unreachable
}
define void@_SML_load22bee215d45a17a3_RecordCalcFv(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@K,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@K,align 1
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_loada142c315f12317c0_RecordLabel(i8*%a)#0
tail call void@_SML_load22c101bff228a4a9_LocalID(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb22bee215d45a17a3_RecordCalcFv,i8*@_SML_ftab22bee215d45a17a3_RecordCalcFv,i8*null)#0
ret void
}
define void@_SML_main22bee215d45a17a3_RecordCalcFv()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@K,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*@K,align 1
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_maina142c315f12317c0_RecordLabel()#2
tail call void@_SML_main22c101bff228a4a9_LocalID()#2
br label%d
}
define fastcc i8*@_SMLFN12RecordCalcFv7fvValueE(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 i32*
%l=load i32,i32*%k,align 4
switch i32%l,label%m[
i32 0,label%Z
i32 1,label%E
]
m:
call void@sml_matchcomp_bug()
%n=load i8*,i8**@_SMLZ5Match,align 8
store i8*%n,i8**%b,align 8
%o=call i8*@sml_alloc(i32 inreg 20)#0
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
store i32 1342177296,i32*%q,align 4
store i8*%o,i8**%c,align 8
%r=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%s=bitcast i8*%o to i8**
store i8*%r,i8**%s,align 8
%t=getelementptr inbounds i8,i8*%o,i64 8
%u=bitcast i8*%t to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%u,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i32*
store i32 3,i32*%w,align 4
%x=call i8*@sml_alloc(i32 inreg 60)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177336,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%x,i64 56
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
%C=load i8*,i8**%c,align 8
%D=bitcast i8*%x to i8**
store i8*%C,i8**%D,align 8
call void@sml_raise(i8*inreg%x)#1
unreachable
E:
%F=getelementptr inbounds i8,i8*%i,i64 8
%G=bitcast i8*%F to i32**
%H=load i32*,i32**%G,align 8
%I=load i32,i32*%H,align 4
%J=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%b,align 8
%P=call i8*@sml_alloc(i32 inreg 12)#0
%Q=bitcast i8*%P to i32*
%R=getelementptr inbounds i8,i8*%P,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177288,i32*%S,align 4
store i32%I,i32*%Q,align 4
%T=getelementptr inbounds i8,i8*%P,i64 4
%U=bitcast i8*%T to i32*
store i32 1,i32*%U,align 4
%V=getelementptr inbounds i8,i8*%P,i64 8
%W=bitcast i8*%V to i32*
store i32 0,i32*%W,align 4
%X=load i8*,i8**%b,align 8
%Y=tail call fastcc i8*%M(i8*inreg%X,i8*inreg%P)
ret i8*%Y
Z:
%aa=tail call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
ret i8*%aa
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_129(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32**
%l=load i32*,i32**%k,align 8
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 0,i32 inreg 4)
%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
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 12
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 1
%B=load i8*,i8**%b,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 8
%E=bitcast i8*%D to i32*
store i32%m,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=call fastcc i8*%t(i8*inreg%H,i8*inreg%w)
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=icmp eq i32%K,0
br i1%L,label%ai,label%M
M:
%N=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 0,i32 inreg 4)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%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
%W=getelementptr inbounds i8,i8*%T,i64 12
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 8
%ab=bitcast i8*%aa to i32*
store i32%m,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=call fastcc i8*%Q(i8*inreg%ae,i8*inreg%T)
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
ret i8*%ah
ai:
%aj=load i8*,i8**%b,align 8
ret i8*%aj
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_131(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_133(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%e,label%g
e:
%f=bitcast i8*%a to i8**
br label%j
g:
call void@sml_check(i32 inreg%c)
%h=bitcast i8**%b to i8***
%i=load i8**,i8***%h,align 8
br label%j
j:
%k=phi i8**[%i,%g],[%f,%e]
%l=load i8*,i8**%k,align 8
%m=tail call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%l)
ret i8*%m
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_135(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_137(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_139(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_141(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_143(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_147(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_149(i8*inreg%a)#2 gc"smlsharp"{
l:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%b,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%j,label%h
h:
call void@sml_check(i32 inreg%f)
%i=load i8*,i8**%b,align 8
br label%j
j:
%k=phi i8*[%i,%h],[%a,%l]
%m=bitcast i8*%k to i8**
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%k,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
store i8*%q,i8**%b,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%n)
store i8*%u,i8**%d,align 8
%v=load i8*,i8**%b,align 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
switch i32%x,label%y[
i32 0,label%al
i32 1,label%Q
]
y:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%z=load i8*,i8**@_SMLZ5Match,align 8
store i8*%z,i8**%b,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
store i8*%A,i8**%c,align 8
%D=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%E=bitcast i8*%A to i8**
store i8*%D,i8**%E,align 8
%F=getelementptr inbounds i8,i8*%A,i64 8
%G=bitcast i8*%F to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 16
%I=bitcast i8*%H to i32*
store i32 3,i32*%I,align 4
%J=call i8*@sml_alloc(i32 inreg 60)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177336,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%J,i64 56
%N=bitcast i8*%M to i32*
store i32 1,i32*%N,align 4
%O=load i8*,i8**%c,align 8
%P=bitcast i8*%J to i8**
store i8*%O,i8**%P,align 8
call void@sml_raise(i8*inreg%J)#1
unreachable
Q:
store i8*null,i8**%b,align 8
%R=getelementptr inbounds i8,i8*%v,i64 8
%S=bitcast i8*%R to i32**
%T=load i32*,i32**%S,align 8
%U=load i32,i32*%T,align 4
%V=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%b,align 8
%ab=call i8*@sml_alloc(i32 inreg 12)#0
%ac=bitcast i8*%ab to i32*
%ad=getelementptr inbounds i8,i8*%ab,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177288,i32*%ae,align 4
store i32%U,i32*%ac,align 4
%af=getelementptr inbounds i8,i8*%ab,i64 4
%ag=bitcast i8*%af to i32*
store i32 1,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%ab,i64 8
%ai=bitcast i8*%ah to i32*
store i32 0,i32*%ai,align 4
%aj=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ak=call fastcc i8*%Y(i8*inreg%aj,i8*inreg%ab)
br label%an
al:
store i8*null,i8**%b,align 8
%am=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
br label%an
an:
%ao=phi i8*[%am,%al],[%ak,%Q]
store i8*%ao,i8**%b,align 8
%ap=load i8*,i8**%c,align 8
%aq=bitcast i8*%ap to i32*
%ar=load i32,i32*%aq,align 4
switch i32%ar,label%as[
i32 0,label%a5
i32 1,label%aK
]
as:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
call void@sml_matchcomp_bug()
%at=load i8*,i8**@_SMLZ5Match,align 8
store i8*%at,i8**%b,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
store i8*%au,i8**%c,align 8
%ax=load i8*,i8**%b,align 8
store i8*null,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
%aA=bitcast i8*%az to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 16
%aC=bitcast i8*%aB to i32*
store i32 3,i32*%aC,align 4
%aD=call i8*@sml_alloc(i32 inreg 60)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177336,i32*%aF,align 4
%aG=getelementptr inbounds i8,i8*%aD,i64 56
%aH=bitcast i8*%aG to i32*
store i32 1,i32*%aH,align 4
%aI=load i8*,i8**%c,align 8
%aJ=bitcast i8*%aD to i8**
store i8*%aI,i8**%aJ,align 8
call void@sml_raise(i8*inreg%aD)#1
unreachable
aK:
store i8*null,i8**%c,align 8
%aL=getelementptr inbounds i8,i8*%ap,i64 8
%aM=bitcast i8*%aL to i32**
%aN=load i32*,i32**%aM,align 8
%aO=load i32,i32*%aN,align 4
%aP=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%aQ=getelementptr inbounds i8,i8*%aP,i64 16
%aR=bitcast i8*%aQ to i8*(i8*,i8*)**
%aS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aR,align 8
%aT=bitcast i8*%aP to i8**
%aU=load i8*,i8**%aT,align 8
store i8*%aU,i8**%c,align 8
%aV=call i8*@sml_alloc(i32 inreg 12)#0
%aW=bitcast i8*%aV to i32*
%aX=getelementptr inbounds i8,i8*%aV,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177288,i32*%aY,align 4
store i32%aO,i32*%aW,align 4
%aZ=getelementptr inbounds i8,i8*%aV,i64 4
%a0=bitcast i8*%aZ to i32*
store i32 1,i32*%a0,align 4
%a1=getelementptr inbounds i8,i8*%aV,i64 8
%a2=bitcast i8*%a1 to i32*
store i32 0,i32*%a2,align 4
%a3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a4=call fastcc i8*%aS(i8*inreg%a3,i8*inreg%aV)
br label%a7
a5:
store i8*null,i8**%c,align 8
%a6=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
br label%a7
a7:
%a8=phi i8*[%a6,%a5],[%a4,%aK]
store i8*%a8,i8**%c,align 8
%a9=call i8*@sml_alloc(i32 inreg 20)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177296,i32*%bb,align 4
store i8*%a9,i8**%e,align 8
%bc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a9,i64 8
%bf=bitcast i8*%be to i8**
store i8*null,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a9,i64 16
%bh=bitcast i8*%bg to i32*
store i32 3,i32*%bh,align 4
%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
store i8*%bi,i8**%c,align 8
%bl=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bm=bitcast i8*%bi to i8**
store i8*%bl,i8**%bm,align 8
%bn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bo=getelementptr inbounds i8,i8*%bi,i64 8
%bp=bitcast i8*%bo to i8**
store i8*%bn,i8**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bi,i64 16
%br=bitcast i8*%bq to i32*
store i32 3,i32*%br,align 4
%bs=call i8*@sml_alloc(i32 inreg 20)#0
%bt=getelementptr inbounds i8,i8*%bs,i64 -4
%bu=bitcast i8*%bt to i32*
store i32 1342177296,i32*%bu,align 4
store i8*%bs,i8**%b,align 8
%bv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bw=bitcast i8*%bs to i8**
store i8*%bv,i8**%bw,align 8
%bx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%by=getelementptr inbounds i8,i8*%bs,i64 8
%bz=bitcast i8*%by to i8**
store i8*%bx,i8**%bz,align 8
%bA=getelementptr inbounds i8,i8*%bs,i64 16
%bB=bitcast i8*%bA to i32*
store i32 3,i32*%bB,align 4
%bC=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bD=getelementptr inbounds i8,i8*%bC,i64 16
%bE=bitcast i8*%bD to i8*(i8*,i8*)**
%bF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bE,align 8
%bG=bitcast i8*%bC to i8**
%bH=load i8*,i8**%bG,align 8
store i8*%bH,i8**%c,align 8
%bI=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%bJ=getelementptr inbounds i8,i8*%bI,i64 16
%bK=bitcast i8*%bJ to i8*(i8*,i8*)**
%bL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bK,align 8
%bM=bitcast i8*%bI to i8**
%bN=load i8*,i8**%bM,align 8
%bO=call fastcc i8*%bL(i8*inreg%bN,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@l,i64 0,i32 2)to i8*))
%bP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bQ=call fastcc i8*%bF(i8*inreg%bP,i8*inreg%bO)
%bR=getelementptr inbounds i8,i8*%bQ,i64 16
%bS=bitcast i8*%bR to i8*(i8*,i8*)**
%bT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bS,align 8
%bU=bitcast i8*%bQ to i8**
%bV=load i8*,i8**%bU,align 8
store i8*%bV,i8**%c,align 8
%bW=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%bX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bY=call fastcc i8*%bT(i8*inreg%bX,i8*inreg%bW)
%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=load i8*,i8**%b,align 8
%b5=tail call fastcc i8*%b1(i8*inreg%b3,i8*inreg%b4)
ret i8*%b5
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_151(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_155(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_159(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_161(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32**
%l=load i32*,i32**%k,align 8
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 0,i32 inreg 4)
%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
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 12
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 1
%B=load i8*,i8**%b,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 8
%E=bitcast i8*%D to i32*
store i32%m,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=call fastcc i8*%t(i8*inreg%H,i8*inreg%w)
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=icmp eq i32%K,0
br i1%L,label%ai,label%M
M:
%N=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 0,i32 inreg 4)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%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
%W=getelementptr inbounds i8,i8*%T,i64 12
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 8
%ab=bitcast i8*%aa to i32*
store i32%m,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=call fastcc i8*%Q(i8*inreg%ae,i8*inreg%T)
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
ret i8*%ah
ai:
%aj=load i8*,i8**%b,align 8
ret i8*%aj
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_163(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_165(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32**
%l=load i32*,i32**%k,align 8
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 0,i32 inreg 4)
%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
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 12
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 1
%B=load i8*,i8**%b,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 8
%E=bitcast i8*%D to i32*
store i32%m,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=call fastcc i8*%t(i8*inreg%H,i8*inreg%w)
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=icmp eq i32%K,0
br i1%L,label%ai,label%M
M:
%N=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 0,i32 inreg 4)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%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
%W=getelementptr inbounds i8,i8*%T,i64 12
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 8
%ab=bitcast i8*%aa to i32*
store i32%m,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=call fastcc i8*%Q(i8*inreg%ae,i8*inreg%T)
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
ret i8*%ah
ai:
%aj=load i8*,i8**%b,align 8
ret i8*%aj
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_167(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_169(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_171(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=getelementptr inbounds i8,i8*%h,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
%m=tail call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%l)
ret i8*%m
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_173(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_175(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_177(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32**
%l=load i32*,i32**%k,align 8
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 0,i32 inreg 4)
%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
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 12
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 1
%B=load i8*,i8**%b,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 8
%E=bitcast i8*%D to i32*
store i32%m,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=call fastcc i8*%t(i8*inreg%H,i8*inreg%w)
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=icmp eq i32%K,0
br i1%L,label%ai,label%M
M:
%N=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 0,i32 inreg 4)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%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
%W=getelementptr inbounds i8,i8*%T,i64 12
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 8
%ab=bitcast i8*%aa to i32*
store i32%m,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=call fastcc i8*%Q(i8*inreg%ae,i8*inreg%T)
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
ret i8*%ah
ai:
%aj=load i8*,i8**%b,align 8
ret i8*%aj
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_180(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
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%f,label%h
f:
%g=bitcast i8*%a to i8**
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%b to i8***
%j=load i8**,i8***%i,align 8
br label%k
k:
%l=phi i8**[%j,%h],[%g,%f]
store i8*null,i8**%b,align 8
%m=load i8*,i8**%l,align 8
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
switch i32%o,label%p[
i32 0,label%ac
i32 1,label%H
]
p:
call void@sml_matchcomp_bug()
%q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%q,i8**%b,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%c,align 8
%u=load i8*,i8**%b,align 8
store i8*null,i8**%b,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,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 60)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177336,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 56
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
call void@sml_raise(i8*inreg%A)#1
unreachable
H:
%I=getelementptr inbounds i8,i8*%m,i64 8
%J=bitcast i8*%I to i32**
%K=load i32*,i32**%J,align 8
%L=load i32,i32*%K,align 4
%M=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%b,align 8
%S=call i8*@sml_alloc(i32 inreg 12)#0
%T=bitcast i8*%S to i32*
%U=getelementptr inbounds i8,i8*%S,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177288,i32*%V,align 4
store i32%L,i32*%T,align 4
%W=getelementptr inbounds i8,i8*%S,i64 4
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=getelementptr inbounds i8,i8*%S,i64 8
%Z=bitcast i8*%Y to i32*
store i32 0,i32*%Z,align 4
%aa=load i8*,i8**%b,align 8
%ab=tail call fastcc i8*%P(i8*inreg%aa,i8*inreg%S)
ret i8*%ab
ac:
%ad=tail call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
ret i8*%ad
}
define internal fastcc i32@_SMLLLN12RecordCalcFv5fvExpE_182(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLL4vars_185(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*@_SMLLLN12RecordCalcFv6fvDeclE_187(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%e,label%g
e:
%f=bitcast i8*%a to i8**
br label%j
g:
call void@sml_check(i32 inreg%c)
%h=bitcast i8**%b to i8***
%i=load i8**,i8***%h,align 8
br label%j
j:
%k=phi i8**[%i,%g],[%f,%e]
%l=load i8*,i8**%k,align 8
%m=tail call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%l)
ret i8*%m
}
define internal fastcc i32@_SMLLLN12RecordCalcFv6fvDeclE_189(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv6fvDeclE_191(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32**
%l=load i32*,i32**%k,align 8
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 0,i32 inreg 4)
%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
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 12
%A=bitcast i8*%z to i32*
store i32 0,i32*%A,align 1
%B=load i8*,i8**%b,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 8
%E=bitcast i8*%D to i32*
store i32%m,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%w,i64 16
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%I=call fastcc i8*%t(i8*inreg%H,i8*inreg%w)
%J=bitcast i8*%I to i32*
%K=load i32,i32*%J,align 4
%L=icmp eq i32%K,0
br i1%L,label%ai,label%M
M:
%N=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 0,i32 inreg 4)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%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
%W=getelementptr inbounds i8,i8*%T,i64 12
%X=bitcast i8*%W to i32*
store i32 0,i32*%X,align 1
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=bitcast i8*%T to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%T,i64 8
%ab=bitcast i8*%aa to i32*
store i32%m,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%T,i64 16
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=call fastcc i8*%Q(i8*inreg%ae,i8*inreg%T)
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
ret i8*%ah
ai:
%aj=load i8*,i8**%b,align 8
ret i8*%aj
}
define fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%a)#2 gc"smlsharp"{
j:
%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
br label%h
h:
%i=phi i8*[%aX,%aV],[%a,%j]
store i8*%i,i8**%b,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%b,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%i,%h]
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
switch i32%r,label%s[
i32 18,label%up
i32 15,label%un
i32 4,label%ul
i32 5,label%tQ
i32 0,label%sO
i32 16,label%rx
i32 11,label%og
i32 13,label%nl
i32 14,label%ks
i32 10,label%hk
i32 9,label%fV
i32 12,label%fR
i32 7,label%el
i32 17,label%dy
i32 3,label%cv
i32 6,label%bt
i32 1,label%aY
i32 2,label%aP
i32 8,label%K
]
s:
call void@sml_matchcomp_bug()
%t=load i8*,i8**@_SMLZ5Match,align 8
store i8*%t,i8**%b,align 8
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
store i8*%u,i8**%c,align 8
%x=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@C,i64 0,i32 2,i64 0),i8**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to i32*
store i32 3,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**%c,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*%p,i64 8
%M=bitcast i8*%L to i8***
%N=load i8**,i8***%M,align 8
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%b,align 8
%P=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
%V=call fastcc i8*%S(i8*inreg%U,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*))
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%c,align 8
%ab=call fastcc i8*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg 1,i32 inreg 8)
%ac=getelementptr inbounds i8,i8*%ab,i64 16
%ad=bitcast i8*%ac to i8*(i8*,i8*)**
%ae=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ad,align 8
%af=bitcast i8*%ab to i8**
%ag=load i8*,i8**%af,align 8
%ah=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ai=call fastcc i8*%ae(i8*inreg%ag,i8*inreg%ah)
%aj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ak=call fastcc i8*%Y(i8*inreg%aj,i8*inreg%ai)
store i8*%ak,i8**%b,align 8
%al=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%am=getelementptr inbounds i8,i8*%al,i64 16
%an=bitcast i8*%am to i8*(i8*,i8*)**
%ao=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%an,align 8
%ap=bitcast i8*%al to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%c,align 8
%ar=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%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=call fastcc i8*%au(i8*inreg%aw,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*))
%ay=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%az=call fastcc i8*%ao(i8*inreg%ay,i8*inreg%ax)
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8*(i8*,i8*)**
%aC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aB,align 8
%aD=bitcast i8*%az to i8**
%aE=load i8*,i8**%aD,align 8
store i8*%aE,i8**%c,align 8
%aF=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%aG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aH=call fastcc i8*%aC(i8*inreg%aG,i8*inreg%aF)
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
%aN=load i8*,i8**%b,align 8
%aO=tail call fastcc i8*%aK(i8*inreg%aM,i8*inreg%aN)
ret i8*%aO
aP:
store i8*null,i8**%b,align 8
%aQ=getelementptr inbounds i8,i8*%p,i64 8
%aR=bitcast i8*%aQ to i8**
%aS=load i8*,i8**%aR,align 8
%aT=getelementptr inbounds i8,i8*%aS,i64 8
%aU=bitcast i8*%aT to i8**
br label%aV
aV:
%aW=phi i8**[%aU,%aP],[%fU,%fR]
%aX=load i8*,i8**%aW,align 8
br label%h
aY:
%aZ=getelementptr inbounds i8,i8*%p,i64 8
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
%a2=bitcast i8*%a1 to i8**
%a3=load i8*,i8**%a2,align 8
store i8*%a3,i8**%b,align 8
%a4=getelementptr inbounds i8,i8*%a1,i64 16
%a5=bitcast i8*%a4 to i8**
%a6=load i8*,i8**%a5,align 8
%a7=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%a6)
store i8*%a7,i8**%c,align 8
%a8=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a9=getelementptr inbounds i8,i8*%a8,i64 16
%ba=bitcast i8*%a9 to i8*(i8*,i8*)**
%bb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ba,align 8
%bc=bitcast i8*%a8 to i8**
%bd=load i8*,i8**%bc,align 8
%be=call fastcc i8*%bb(i8*inreg%bd,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*))
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
%bk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bl=call fastcc i8*%bh(i8*inreg%bj,i8*inreg%bk)
%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**%b,align 8
%bs=tail call fastcc i8*%bo(i8*inreg%bq,i8*inreg%br)
ret i8*%bs
bt:
%bu=getelementptr inbounds i8,i8*%p,i64 8
%bv=bitcast i8*%bu to i8**
%bw=load i8*,i8**%bv,align 8
%bx=bitcast i8*%bw to i8**
%by=load i8*,i8**%bx,align 8
store i8*%by,i8**%b,align 8
%bz=getelementptr inbounds i8,i8*%bw,i64 16
%bA=bitcast i8*%bz to i8**
%bB=load i8*,i8**%bA,align 8
%bC=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%bB)
store i8*%bC,i8**%c,align 8
%bD=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bE=getelementptr inbounds i8,i8*%bD,i64 16
%bF=bitcast i8*%bE to i8*(i8*,i8*)**
%bG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bF,align 8
%bH=bitcast i8*%bD to i8**
%bI=load i8*,i8**%bH,align 8
%bJ=call fastcc i8*%bG(i8*inreg%bI,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*))
%bK=getelementptr inbounds i8,i8*%bJ,i64 16
%bL=bitcast i8*%bK to i8*(i8*,i8*)**
%bM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bL,align 8
%bN=bitcast i8*%bJ to i8**
%bO=load i8*,i8**%bN,align 8
%bP=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bQ=call fastcc i8*%bM(i8*inreg%bO,i8*inreg%bP)
store i8*%bQ,i8**%d,align 8
%bR=call i8*@sml_alloc(i32 inreg 20)#0
%bS=getelementptr inbounds i8,i8*%bR,i64 -4
%bT=bitcast i8*%bS to i32*
store i32 1342177296,i32*%bT,align 4
store i8*%bR,i8**%b,align 8
%bU=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bV=bitcast i8*%bR to i8**
store i8*%bU,i8**%bV,align 8
%bW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bX=getelementptr inbounds i8,i8*%bR,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bR,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 3,i32*%b0,align 4
%b1=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%b2=getelementptr inbounds i8,i8*%b1,i64 16
%b3=bitcast i8*%b2 to i8*(i8*,i8*)**
%b4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b3,align 8
%b5=bitcast i8*%b1 to i8**
%b6=load i8*,i8**%b5,align 8
store i8*%b6,i8**%c,align 8
%b7=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%b8=getelementptr inbounds i8,i8*%b7,i64 16
%b9=bitcast i8*%b8 to i8*(i8*,i8*)**
%ca=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b9,align 8
%cb=bitcast i8*%b7 to i8**
%cc=load i8*,i8**%cb,align 8
%cd=call fastcc i8*%ca(i8*inreg%cc,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@x,i64 0,i32 2)to i8*))
%ce=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cf=call fastcc i8*%b4(i8*inreg%ce,i8*inreg%cd)
%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**%c,align 8
%cl=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%cm=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cn=call fastcc i8*%ci(i8*inreg%cm,i8*inreg%cl)
%co=getelementptr inbounds i8,i8*%cn,i64 16
%cp=bitcast i8*%co to i8*(i8*,i8*)**
%cq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cp,align 8
%cr=bitcast i8*%cn to i8**
%cs=load i8*,i8**%cr,align 8
%ct=load i8*,i8**%b,align 8
%cu=tail call fastcc i8*%cq(i8*inreg%cs,i8*inreg%ct)
ret i8*%cu
cv:
%cw=getelementptr inbounds i8,i8*%p,i64 8
%cx=bitcast i8*%cw to i8**
%cy=load i8*,i8**%cx,align 8
%cz=getelementptr inbounds i8,i8*%cy,i64 24
%cA=bitcast i8*%cz to i8**
%cB=load i8*,i8**%cA,align 8
store i8*%cB,i8**%b,align 8
%cC=getelementptr inbounds i8,i8*%cy,i64 32
%cD=bitcast i8*%cC to i8**
%cE=load i8*,i8**%cD,align 8
%cF=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%cE)
store i8*%cF,i8**%c,align 8
%cG=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cH=getelementptr inbounds i8,i8*%cG,i64 16
%cI=bitcast i8*%cH to i8*(i8*,i8*)**
%cJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cI,align 8
%cK=bitcast i8*%cG to i8**
%cL=load i8*,i8**%cK,align 8
%cM=call fastcc i8*%cJ(i8*inreg%cL,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*))
%cN=getelementptr inbounds i8,i8*%cM,i64 16
%cO=bitcast i8*%cN to i8*(i8*,i8*)**
%cP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cO,align 8
%cQ=bitcast i8*%cM to i8**
%cR=load i8*,i8**%cQ,align 8
%cS=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cT=call fastcc i8*%cP(i8*inreg%cR,i8*inreg%cS)
store i8*%cT,i8**%d,align 8
%cU=call i8*@sml_alloc(i32 inreg 20)#0
%cV=getelementptr inbounds i8,i8*%cU,i64 -4
%cW=bitcast i8*%cV to i32*
store i32 1342177296,i32*%cW,align 4
store i8*%cU,i8**%b,align 8
%cX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cY=bitcast i8*%cU to i8**
store i8*%cX,i8**%cY,align 8
%cZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c0=getelementptr inbounds i8,i8*%cU,i64 8
%c1=bitcast i8*%c0 to i8**
store i8*%cZ,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cU,i64 16
%c3=bitcast i8*%c2 to i32*
store i32 3,i32*%c3,align 4
%c4=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%c9,i8**%c,align 8
%da=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%db=getelementptr inbounds i8,i8*%da,i64 16
%dc=bitcast i8*%db to i8*(i8*,i8*)**
%dd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dc,align 8
%de=bitcast i8*%da to i8**
%df=load i8*,i8**%de,align 8
%dg=call fastcc i8*%dd(i8*inreg%df,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*))
%dh=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%di=call fastcc i8*%c7(i8*inreg%dh,i8*inreg%dg)
%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
store i8*%dn,i8**%c,align 8
%do=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%dp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dq=call fastcc i8*%dl(i8*inreg%dp,i8*inreg%do)
%dr=getelementptr inbounds i8,i8*%dq,i64 16
%ds=bitcast i8*%dr to i8*(i8*,i8*)**
%dt=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ds,align 8
%du=bitcast i8*%dq to i8**
%dv=load i8*,i8**%du,align 8
%dw=load i8*,i8**%b,align 8
%dx=tail call fastcc i8*%dt(i8*inreg%dv,i8*inreg%dw)
ret i8*%dx
dy:
%dz=getelementptr inbounds i8,i8*%p,i64 8
%dA=bitcast i8*%dz to i8***
%dB=load i8**,i8***%dA,align 8
%dC=load i8*,i8**%dB,align 8
store i8*%dC,i8**%b,align 8
%dD=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%dE=getelementptr inbounds i8,i8*%dD,i64 16
%dF=bitcast i8*%dE to i8*(i8*,i8*)**
%dG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dF,align 8
%dH=bitcast i8*%dD to i8**
%dI=load i8*,i8**%dH,align 8
%dJ=call fastcc i8*%dG(i8*inreg%dI,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*))
%dK=getelementptr inbounds i8,i8*%dJ,i64 16
%dL=bitcast i8*%dK to i8*(i8*,i8*)**
%dM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dL,align 8
%dN=bitcast i8*%dJ to i8**
%dO=load i8*,i8**%dN,align 8
%dP=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dQ=call fastcc i8*%dM(i8*inreg%dO,i8*inreg%dP)
store i8*%dQ,i8**%b,align 8
%dR=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%dW,i8**%c,align 8
%dX=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%dY=getelementptr inbounds i8,i8*%dX,i64 16
%dZ=bitcast i8*%dY to i8*(i8*,i8*)**
%d0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dZ,align 8
%d1=bitcast i8*%dX to i8**
%d2=load i8*,i8**%d1,align 8
%d3=call fastcc i8*%d0(i8*inreg%d2,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*))
%d4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d5=call fastcc i8*%dU(i8*inreg%d4,i8*inreg%d3)
%d6=getelementptr inbounds i8,i8*%d5,i64 16
%d7=bitcast i8*%d6 to i8*(i8*,i8*)**
%d8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%d7,align 8
%d9=bitcast i8*%d5 to i8**
%ea=load i8*,i8**%d9,align 8
store i8*%ea,i8**%c,align 8
%eb=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%ec=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ed=call fastcc i8*%d8(i8*inreg%ec,i8*inreg%eb)
%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**%b,align 8
%ek=tail call fastcc i8*%eg(i8*inreg%ei,i8*inreg%ej)
ret i8*%ek
el:
%em=getelementptr inbounds i8,i8*%p,i64 8
%en=bitcast i8*%em to i8**
%eo=load i8*,i8**%en,align 8
%ep=bitcast i8*%eo to i8**
%eq=load i8*,i8**%ep,align 8
store i8*%eq,i8**%b,align 8
%er=getelementptr inbounds i8,i8*%eo,i64 8
%es=bitcast i8*%er to i8**
%et=load i8*,i8**%es,align 8
%eu=getelementptr inbounds i8,i8*%eo,i64 16
%ev=bitcast i8*%eu to i8**
%ew=load i8*,i8**%ev,align 8
store i8*%ew,i8**%c,align 8
%ex=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%et)
store i8*%ex,i8**%d,align 8
%ey=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ez=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%ey)
store i8*%ez,i8**%c,align 8
%eA=call i8*@sml_alloc(i32 inreg 20)#0
%eB=getelementptr inbounds i8,i8*%eA,i64 -4
%eC=bitcast i8*%eB to i32*
store i32 1342177296,i32*%eC,align 4
store i8*%eA,i8**%e,align 8
%eD=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eE=bitcast i8*%eA to i8**
store i8*%eD,i8**%eE,align 8
%eF=getelementptr inbounds i8,i8*%eA,i64 8
%eG=bitcast i8*%eF to i8**
store i8*null,i8**%eG,align 8
%eH=getelementptr inbounds i8,i8*%eA,i64 16
%eI=bitcast i8*%eH to i32*
store i32 3,i32*%eI,align 4
%eJ=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,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
%eP=call fastcc i8*%eM(i8*inreg%eO,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*))
%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=getelementptr inbounds i8,i8*%eW,i64 16
%eY=bitcast i8*%eX to i8*(i8*,i8*)**
%eZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eY,align 8
%e0=bitcast i8*%eW to i8**
%e1=load i8*,i8**%e0,align 8
%e2=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%e3=call fastcc i8*%eZ(i8*inreg%e1,i8*inreg%e2)
store i8*%e3,i8**%b,align 8
%e4=call i8*@sml_alloc(i32 inreg 20)#0
%e5=getelementptr inbounds i8,i8*%e4,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177296,i32*%e6,align 4
store i8*%e4,i8**%c,align 8
%e7=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%e8=bitcast i8*%e4 to i8**
store i8*%e7,i8**%e8,align 8
%e9=getelementptr inbounds i8,i8*%e4,i64 8
%fa=bitcast i8*%e9 to i8**
store i8*null,i8**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e4,i64 16
%fc=bitcast i8*%fb to i32*
store i32 3,i32*%fc,align 4
%fd=call i8*@sml_alloc(i32 inreg 20)#0
%fe=getelementptr inbounds i8,i8*%fd,i64 -4
%ff=bitcast i8*%fe to i32*
store i32 1342177296,i32*%ff,align 4
store i8*%fd,i8**%b,align 8
%fg=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fh=bitcast i8*%fd to i8**
store i8*%fg,i8**%fh,align 8
%fi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fj=getelementptr inbounds i8,i8*%fd,i64 8
%fk=bitcast i8*%fj to i8**
store i8*%fi,i8**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fd,i64 16
%fm=bitcast i8*%fl to i32*
store i32 3,i32*%fm,align 4
%fn=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%fo=getelementptr inbounds i8,i8*%fn,i64 16
%fp=bitcast i8*%fo to i8*(i8*,i8*)**
%fq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fp,align 8
%fr=bitcast i8*%fn to i8**
%fs=load i8*,i8**%fr,align 8
store i8*%fs,i8**%c,align 8
%ft=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%fu=getelementptr inbounds i8,i8*%ft,i64 16
%fv=bitcast i8*%fu to i8*(i8*,i8*)**
%fw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fv,align 8
%fx=bitcast i8*%ft to i8**
%fy=load i8*,i8**%fx,align 8
%fz=call fastcc i8*%fw(i8*inreg%fy,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*))
%fA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fB=call fastcc i8*%fq(i8*inreg%fA,i8*inreg%fz)
%fC=getelementptr inbounds i8,i8*%fB,i64 16
%fD=bitcast i8*%fC to i8*(i8*,i8*)**
%fE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fD,align 8
%fF=bitcast i8*%fB to i8**
%fG=load i8*,i8**%fF,align 8
store i8*%fG,i8**%c,align 8
%fH=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%fI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fJ=call fastcc i8*%fE(i8*inreg%fI,i8*inreg%fH)
%fK=getelementptr inbounds i8,i8*%fJ,i64 16
%fL=bitcast i8*%fK to i8*(i8*,i8*)**
%fM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fL,align 8
%fN=bitcast i8*%fJ to i8**
%fO=load i8*,i8**%fN,align 8
%fP=load i8*,i8**%b,align 8
%fQ=tail call fastcc i8*%fM(i8*inreg%fO,i8*inreg%fP)
ret i8*%fQ
fR:
store i8*null,i8**%b,align 8
%fS=getelementptr inbounds i8,i8*%p,i64 8
%fT=bitcast i8*%fS to i8***
%fU=load i8**,i8***%fT,align 8
br label%aV
fV:
%fW=getelementptr inbounds i8,i8*%p,i64 8
%fX=bitcast i8*%fW to i8**
%fY=load i8*,i8**%fX,align 8
%fZ=bitcast i8*%fY to i8**
%f0=load i8*,i8**%fZ,align 8
store i8*%f0,i8**%b,align 8
%f1=getelementptr inbounds i8,i8*%fY,i64 8
%f2=bitcast i8*%f1 to i8**
%f3=load i8*,i8**%f2,align 8
%f4=call fastcc i8*@_SMLFN12RecordCalcFv6fvDeclE(i8*inreg%f3)
%f5=bitcast i8*%f4 to i8**
%f6=load i8*,i8**%f5,align 8
store i8*%f6,i8**%c,align 8
%f7=getelementptr inbounds i8,i8*%f4,i64 8
%f8=bitcast i8*%f7 to i8**
%f9=load i8*,i8**%f8,align 8
store i8*%f9,i8**%d,align 8
%ga=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gb=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%ga)
store i8*%gb,i8**%b,align 8
%gc=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%gf(i8*inreg%gh,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@q,i64 0,i32 2)to i8*))
%gj=getelementptr inbounds i8,i8*%gi,i64 16
%gk=bitcast i8*%gj to i8*(i8*,i8*)**
%gl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gk,align 8
%gm=bitcast i8*%gi to i8**
%gn=load i8*,i8**%gm,align 8
%go=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gp=call fastcc i8*%gl(i8*inreg%gn,i8*inreg%go)
%gq=getelementptr inbounds i8,i8*%gp,i64 16
%gr=bitcast i8*%gq to i8*(i8*,i8*)**
%gs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gr,align 8
%gt=bitcast i8*%gp to i8**
%gu=load i8*,i8**%gt,align 8
%gv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gw=call fastcc i8*%gs(i8*inreg%gu,i8*inreg%gv)
store i8*%gw,i8**%b,align 8
%gx=call i8*@sml_alloc(i32 inreg 20)#0
%gy=getelementptr inbounds i8,i8*%gx,i64 -4
%gz=bitcast i8*%gy to i32*
store i32 1342177296,i32*%gz,align 4
store i8*%gx,i8**%d,align 8
%gA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gB=bitcast i8*%gx to i8**
store i8*%gA,i8**%gB,align 8
%gC=getelementptr inbounds i8,i8*%gx,i64 8
%gD=bitcast i8*%gC to i8**
store i8*null,i8**%gD,align 8
%gE=getelementptr inbounds i8,i8*%gx,i64 16
%gF=bitcast i8*%gE to i32*
store i32 3,i32*%gF,align 4
%gG=call i8*@sml_alloc(i32 inreg 20)#0
%gH=getelementptr inbounds i8,i8*%gG,i64 -4
%gI=bitcast i8*%gH to i32*
store i32 1342177296,i32*%gI,align 4
store i8*%gG,i8**%b,align 8
%gJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gK=bitcast i8*%gG to i8**
store i8*%gJ,i8**%gK,align 8
%gL=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%gM=getelementptr inbounds i8,i8*%gG,i64 8
%gN=bitcast i8*%gM to i8**
store i8*%gL,i8**%gN,align 8
%gO=getelementptr inbounds i8,i8*%gG,i64 16
%gP=bitcast i8*%gO to i32*
store i32 3,i32*%gP,align 4
%gQ=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gR=getelementptr inbounds i8,i8*%gQ,i64 16
%gS=bitcast i8*%gR to i8*(i8*,i8*)**
%gT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gS,align 8
%gU=bitcast i8*%gQ to i8**
%gV=load i8*,i8**%gU,align 8
store i8*%gV,i8**%c,align 8
%gW=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%gX=getelementptr inbounds i8,i8*%gW,i64 16
%gY=bitcast i8*%gX to i8*(i8*,i8*)**
%gZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gY,align 8
%g0=bitcast i8*%gW to i8**
%g1=load i8*,i8**%g0,align 8
%g2=call fastcc i8*%gZ(i8*inreg%g1,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@r,i64 0,i32 2)to i8*))
%g3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%g4=call fastcc i8*%gT(i8*inreg%g3,i8*inreg%g2)
%g5=getelementptr inbounds i8,i8*%g4,i64 16
%g6=bitcast i8*%g5 to i8*(i8*,i8*)**
%g7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%g6,align 8
%g8=bitcast i8*%g4 to i8**
%g9=load i8*,i8**%g8,align 8
store i8*%g9,i8**%c,align 8
%ha=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%hb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hc=call fastcc i8*%g7(i8*inreg%hb,i8*inreg%ha)
%hd=getelementptr inbounds i8,i8*%hc,i64 16
%he=bitcast i8*%hd to i8*(i8*,i8*)**
%hf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%he,align 8
%hg=bitcast i8*%hc to i8**
%hh=load i8*,i8**%hg,align 8
%hi=load i8*,i8**%b,align 8
%hj=tail call fastcc i8*%hf(i8*inreg%hh,i8*inreg%hi)
ret i8*%hj
hk:
%hl=getelementptr inbounds i8,i8*%p,i64 8
%hm=bitcast i8*%hl to i8**
%hn=load i8*,i8**%hm,align 8
%ho=bitcast i8*%hn to i8**
%hp=load i8*,i8**%ho,align 8
store i8*%hp,i8**%b,align 8
%hq=getelementptr inbounds i8,i8*%hn,i64 8
%hr=bitcast i8*%hq to i8**
%hs=load i8*,i8**%hr,align 8
store i8*%hs,i8**%c,align 8
%ht=getelementptr inbounds i8,i8*%hn,i64 16
%hu=bitcast i8*%ht to i8**
%hv=load i8*,i8**%hu,align 8
store i8*%hv,i8**%d,align 8
%hw=getelementptr inbounds i8,i8*%hn,i64 32
%hx=bitcast i8*%hw to i8**
%hy=load i8*,i8**%hx,align 8
%hz=getelementptr inbounds i8,i8*%hn,i64 56
%hA=bitcast i8*%hz to i8**
%hB=load i8*,i8**%hA,align 8
store i8*%hB,i8**%e,align 8
%hC=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%hy)
store i8*%hC,i8**%f,align 8
%hD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%hE=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%hD)
store i8*%hE,i8**%e,align 8
%hF=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%hG=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%hF)
store i8*%hG,i8**%b,align 8
%hH=load i8*,i8**%c,align 8
%hI=bitcast i8*%hH to i32*
%hJ=load i32,i32*%hI,align 4
switch i32%hJ,label%hK[
i32 0,label%in
i32 1,label%h2
]
hK:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%hL=load i8*,i8**@_SMLZ5Match,align 8
store i8*%hL,i8**%b,align 8
%hM=call i8*@sml_alloc(i32 inreg 20)#0
%hN=getelementptr inbounds i8,i8*%hM,i64 -4
%hO=bitcast i8*%hN to i32*
store i32 1342177296,i32*%hO,align 4
store i8*%hM,i8**%c,align 8
%hP=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%hQ=bitcast i8*%hM to i8**
store i8*%hP,i8**%hQ,align 8
%hR=getelementptr inbounds i8,i8*%hM,i64 8
%hS=bitcast i8*%hR to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%hS,align 8
%hT=getelementptr inbounds i8,i8*%hM,i64 16
%hU=bitcast i8*%hT to i32*
store i32 3,i32*%hU,align 4
%hV=call i8*@sml_alloc(i32 inreg 60)#0
%hW=getelementptr inbounds i8,i8*%hV,i64 -4
%hX=bitcast i8*%hW to i32*
store i32 1342177336,i32*%hX,align 4
%hY=getelementptr inbounds i8,i8*%hV,i64 56
%hZ=bitcast i8*%hY to i32*
store i32 1,i32*%hZ,align 4
%h0=load i8*,i8**%c,align 8
%h1=bitcast i8*%hV to i8**
store i8*%h0,i8**%h1,align 8
call void@sml_raise(i8*inreg%hV)#1
unreachable
h2:
store i8*null,i8**%c,align 8
%h3=getelementptr inbounds i8,i8*%hH,i64 8
%h4=bitcast i8*%h3 to i32**
%h5=load i32*,i32**%h4,align 8
%h6=load i32,i32*%h5,align 4
%h7=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%h8=getelementptr inbounds i8,i8*%h7,i64 16
%h9=bitcast i8*%h8 to i8*(i8*,i8*)**
%ia=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h9,align 8
%ib=bitcast i8*%h7 to i8**
%ic=load i8*,i8**%ib,align 8
store i8*%ic,i8**%c,align 8
%id=call i8*@sml_alloc(i32 inreg 12)#0
%ie=bitcast i8*%id to i32*
%if=getelementptr inbounds i8,i8*%id,i64 -4
%ig=bitcast i8*%if to i32*
store i32 1342177288,i32*%ig,align 4
store i32%h6,i32*%ie,align 4
%ih=getelementptr inbounds i8,i8*%id,i64 4
%ii=bitcast i8*%ih to i32*
store i32 1,i32*%ii,align 4
%ij=getelementptr inbounds i8,i8*%id,i64 8
%ik=bitcast i8*%ij to i32*
store i32 0,i32*%ik,align 4
%il=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%im=call fastcc i8*%ia(i8*inreg%il,i8*inreg%id)
br label%ip
in:
store i8*null,i8**%c,align 8
%io=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
br label%ip
ip:
%iq=phi i8*[%io,%in],[%im,%h2]
store i8*%iq,i8**%c,align 8
%ir=load i8*,i8**%d,align 8
%is=bitcast i8*%ir to i32*
%it=load i32,i32*%is,align 4
switch i32%it,label%iu[
i32 0,label%i7
i32 1,label%iM
]
iu:
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%c,align 8
call void@sml_matchcomp_bug()
%iv=load i8*,i8**@_SMLZ5Match,align 8
store i8*%iv,i8**%b,align 8
%iw=call i8*@sml_alloc(i32 inreg 20)#0
%ix=getelementptr inbounds i8,i8*%iw,i64 -4
%iy=bitcast i8*%ix to i32*
store i32 1342177296,i32*%iy,align 4
store i8*%iw,i8**%c,align 8
%iz=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%iA=bitcast i8*%iw to i8**
store i8*%iz,i8**%iA,align 8
%iB=getelementptr inbounds i8,i8*%iw,i64 8
%iC=bitcast i8*%iB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%iC,align 8
%iD=getelementptr inbounds i8,i8*%iw,i64 16
%iE=bitcast i8*%iD to i32*
store i32 3,i32*%iE,align 4
%iF=call i8*@sml_alloc(i32 inreg 60)#0
%iG=getelementptr inbounds i8,i8*%iF,i64 -4
%iH=bitcast i8*%iG to i32*
store i32 1342177336,i32*%iH,align 4
%iI=getelementptr inbounds i8,i8*%iF,i64 56
%iJ=bitcast i8*%iI to i32*
store i32 1,i32*%iJ,align 4
%iK=load i8*,i8**%c,align 8
%iL=bitcast i8*%iF to i8**
store i8*%iK,i8**%iL,align 8
call void@sml_raise(i8*inreg%iF)#1
unreachable
iM:
store i8*null,i8**%d,align 8
%iN=getelementptr inbounds i8,i8*%ir,i64 8
%iO=bitcast i8*%iN to i32**
%iP=load i32*,i32**%iO,align 8
%iQ=load i32,i32*%iP,align 4
%iR=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%iS=getelementptr inbounds i8,i8*%iR,i64 16
%iT=bitcast i8*%iS to i8*(i8*,i8*)**
%iU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iT,align 8
%iV=bitcast i8*%iR to i8**
%iW=load i8*,i8**%iV,align 8
store i8*%iW,i8**%d,align 8
%iX=call i8*@sml_alloc(i32 inreg 12)#0
%iY=bitcast i8*%iX to i32*
%iZ=getelementptr inbounds i8,i8*%iX,i64 -4
%i0=bitcast i8*%iZ to i32*
store i32 1342177288,i32*%i0,align 4
store i32%iQ,i32*%iY,align 4
%i1=getelementptr inbounds i8,i8*%iX,i64 4
%i2=bitcast i8*%i1 to i32*
store i32 1,i32*%i2,align 4
%i3=getelementptr inbounds i8,i8*%iX,i64 8
%i4=bitcast i8*%i3 to i32*
store i32 0,i32*%i4,align 4
%i5=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%i6=call fastcc i8*%iU(i8*inreg%i5,i8*inreg%iX)
br label%i9
i7:
store i8*null,i8**%d,align 8
%i8=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
br label%i9
i9:
%ja=phi i8*[%i8,%i7],[%i6,%iM]
store i8*%ja,i8**%d,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
store i8*%jb,i8**%g,align 8
%je=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jf=bitcast i8*%jb to i8**
store i8*%je,i8**%jf,align 8
%jg=getelementptr inbounds i8,i8*%jb,i64 8
%jh=bitcast i8*%jg to i8**
store i8*null,i8**%jh,align 8
%ji=getelementptr inbounds i8,i8*%jb,i64 16
%jj=bitcast i8*%ji to i32*
store i32 3,i32*%jj,align 4
%jk=call i8*@sml_alloc(i32 inreg 20)#0
%jl=getelementptr inbounds i8,i8*%jk,i64 -4
%jm=bitcast i8*%jl to i32*
store i32 1342177296,i32*%jm,align 4
store i8*%jk,i8**%d,align 8
%jn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jo=bitcast i8*%jk to i8**
store i8*%jn,i8**%jo,align 8
%jp=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%jq=getelementptr inbounds i8,i8*%jk,i64 8
%jr=bitcast i8*%jq to i8**
store i8*%jp,i8**%jr,align 8
%js=getelementptr inbounds i8,i8*%jk,i64 16
%jt=bitcast i8*%js to i32*
store i32 3,i32*%jt,align 4
%ju=call i8*@sml_alloc(i32 inreg 20)#0
%jv=getelementptr inbounds i8,i8*%ju,i64 -4
%jw=bitcast i8*%jv to i32*
store i32 1342177296,i32*%jw,align 4
store i8*%ju,i8**%c,align 8
%jx=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%jy=bitcast i8*%ju to i8**
store i8*%jx,i8**%jy,align 8
%jz=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jA=getelementptr inbounds i8,i8*%ju,i64 8
%jB=bitcast i8*%jA to i8**
store i8*%jz,i8**%jB,align 8
%jC=getelementptr inbounds i8,i8*%ju,i64 16
%jD=bitcast i8*%jC to i32*
store i32 3,i32*%jD,align 4
%jE=call i8*@sml_alloc(i32 inreg 20)#0
%jF=getelementptr inbounds i8,i8*%jE,i64 -4
%jG=bitcast i8*%jF to i32*
store i32 1342177296,i32*%jG,align 4
store i8*%jE,i8**%d,align 8
%jH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%jI=bitcast i8*%jE to i8**
store i8*%jH,i8**%jI,align 8
%jJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%jK=getelementptr inbounds i8,i8*%jE,i64 8
%jL=bitcast i8*%jK to i8**
store i8*%jJ,i8**%jL,align 8
%jM=getelementptr inbounds i8,i8*%jE,i64 16
%jN=bitcast i8*%jM to i32*
store i32 3,i32*%jN,align 4
%jO=call i8*@sml_alloc(i32 inreg 20)#0
%jP=getelementptr inbounds i8,i8*%jO,i64 -4
%jQ=bitcast i8*%jP to i32*
store i32 1342177296,i32*%jQ,align 4
store i8*%jO,i8**%b,align 8
%jR=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%jS=bitcast i8*%jO to i8**
store i8*%jR,i8**%jS,align 8
%jT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jU=getelementptr inbounds i8,i8*%jO,i64 8
%jV=bitcast i8*%jU to i8**
store i8*%jT,i8**%jV,align 8
%jW=getelementptr inbounds i8,i8*%jO,i64 16
%jX=bitcast i8*%jW to i32*
store i32 3,i32*%jX,align 4
%jY=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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
store i8*%j3,i8**%c,align 8
%j4=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%j5=getelementptr inbounds i8,i8*%j4,i64 16
%j6=bitcast i8*%j5 to i8*(i8*,i8*)**
%j7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%j6,align 8
%j8=bitcast i8*%j4 to i8**
%j9=load i8*,i8**%j8,align 8
%ka=call fastcc i8*%j7(i8*inreg%j9,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*))
%kb=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kc=call fastcc i8*%j1(i8*inreg%kb,i8*inreg%ka)
%kd=getelementptr inbounds i8,i8*%kc,i64 16
%ke=bitcast i8*%kd to i8*(i8*,i8*)**
%kf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ke,align 8
%kg=bitcast i8*%kc to i8**
%kh=load i8*,i8**%kg,align 8
store i8*%kh,i8**%c,align 8
%ki=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%kj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kk=call fastcc i8*%kf(i8*inreg%kj,i8*inreg%ki)
%kl=getelementptr inbounds i8,i8*%kk,i64 16
%km=bitcast i8*%kl to i8*(i8*,i8*)**
%kn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%km,align 8
%ko=bitcast i8*%kk to i8**
%kp=load i8*,i8**%ko,align 8
%kq=load i8*,i8**%b,align 8
%kr=tail call fastcc i8*%kn(i8*inreg%kp,i8*inreg%kq)
ret i8*%kr
ks:
%kt=getelementptr inbounds i8,i8*%p,i64 8
%ku=bitcast i8*%kt to i8**
%kv=load i8*,i8**%ku,align 8
%kw=bitcast i8*%kv to i8**
%kx=load i8*,i8**%kw,align 8
%ky=getelementptr inbounds i8,i8*%kv,i64 24
%kz=bitcast i8*%ky to i8**
%kA=load i8*,i8**%kz,align 8
store i8*%kA,i8**%b,align 8
%kB=getelementptr inbounds i8,i8*%kv,i64 40
%kC=bitcast i8*%kB to i8**
%kD=load i8*,i8**%kC,align 8
store i8*%kD,i8**%c,align 8
%kE=getelementptr inbounds i8,i8*%kv,i64 48
%kF=bitcast i8*%kE to i8**
%kG=load i8*,i8**%kF,align 8
store i8*%kG,i8**%d,align 8
%kH=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%kx)
store i8*%kH,i8**%e,align 8
%kI=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%kJ=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%kI)
store i8*%kJ,i8**%b,align 8
%kK=load i8*,i8**%c,align 8
%kL=bitcast i8*%kK to i32*
%kM=load i32,i32*%kL,align 4
switch i32%kM,label%kN[
i32 0,label%lq
i32 1,label%k5
]
kN:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%kO=load i8*,i8**@_SMLZ5Match,align 8
store i8*%kO,i8**%b,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
store i8*%kP,i8**%c,align 8
%kS=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%kT=bitcast i8*%kP to i8**
store i8*%kS,i8**%kT,align 8
%kU=getelementptr inbounds i8,i8*%kP,i64 8
%kV=bitcast i8*%kU to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%kV,align 8
%kW=getelementptr inbounds i8,i8*%kP,i64 16
%kX=bitcast i8*%kW to i32*
store i32 3,i32*%kX,align 4
%kY=call i8*@sml_alloc(i32 inreg 60)#0
%kZ=getelementptr inbounds i8,i8*%kY,i64 -4
%k0=bitcast i8*%kZ to i32*
store i32 1342177336,i32*%k0,align 4
%k1=getelementptr inbounds i8,i8*%kY,i64 56
%k2=bitcast i8*%k1 to i32*
store i32 1,i32*%k2,align 4
%k3=load i8*,i8**%c,align 8
%k4=bitcast i8*%kY to i8**
store i8*%k3,i8**%k4,align 8
call void@sml_raise(i8*inreg%kY)#1
unreachable
k5:
store i8*null,i8**%c,align 8
%k6=getelementptr inbounds i8,i8*%kK,i64 8
%k7=bitcast i8*%k6 to i32**
%k8=load i32*,i32**%k7,align 8
%k9=load i32,i32*%k8,align 4
%la=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%lb=getelementptr inbounds i8,i8*%la,i64 16
%lc=bitcast i8*%lb to i8*(i8*,i8*)**
%ld=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lc,align 8
%le=bitcast i8*%la to i8**
%lf=load i8*,i8**%le,align 8
store i8*%lf,i8**%c,align 8
%lg=call i8*@sml_alloc(i32 inreg 12)#0
%lh=bitcast i8*%lg to i32*
%li=getelementptr inbounds i8,i8*%lg,i64 -4
%lj=bitcast i8*%li to i32*
store i32 1342177288,i32*%lj,align 4
store i32%k9,i32*%lh,align 4
%lk=getelementptr inbounds i8,i8*%lg,i64 4
%ll=bitcast i8*%lk to i32*
store i32 1,i32*%ll,align 4
%lm=getelementptr inbounds i8,i8*%lg,i64 8
%ln=bitcast i8*%lm to i32*
store i32 0,i32*%ln,align 4
%lo=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lp=call fastcc i8*%ld(i8*inreg%lo,i8*inreg%lg)
br label%ls
lq:
store i8*null,i8**%c,align 8
%lr=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
br label%ls
ls:
%lt=phi i8*[%lr,%lq],[%lp,%k5]
store i8*%lt,i8**%c,align 8
%lu=load i8*,i8**%d,align 8
%lv=bitcast i8*%lu to i32*
%lw=load i32,i32*%lv,align 4
switch i32%lw,label%lx[
i32 0,label%ma
i32 1,label%lP
]
lx:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%c,align 8
call void@sml_matchcomp_bug()
%ly=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ly,i8**%b,align 8
%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
store i8*%lz,i8**%c,align 8
%lC=load i8*,i8**%b,align 8
store i8*null,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*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),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
%lI=call i8*@sml_alloc(i32 inreg 60)#0
%lJ=getelementptr inbounds i8,i8*%lI,i64 -4
%lK=bitcast i8*%lJ to i32*
store i32 1342177336,i32*%lK,align 4
%lL=getelementptr inbounds i8,i8*%lI,i64 56
%lM=bitcast i8*%lL to i32*
store i32 1,i32*%lM,align 4
%lN=load i8*,i8**%c,align 8
%lO=bitcast i8*%lI to i8**
store i8*%lN,i8**%lO,align 8
call void@sml_raise(i8*inreg%lI)#1
unreachable
lP:
store i8*null,i8**%d,align 8
%lQ=getelementptr inbounds i8,i8*%lu,i64 8
%lR=bitcast i8*%lQ to i32**
%lS=load i32*,i32**%lR,align 8
%lT=load i32,i32*%lS,align 4
%lU=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%lV=getelementptr inbounds i8,i8*%lU,i64 16
%lW=bitcast i8*%lV to i8*(i8*,i8*)**
%lX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lW,align 8
%lY=bitcast i8*%lU to i8**
%lZ=load i8*,i8**%lY,align 8
store i8*%lZ,i8**%d,align 8
%l0=call i8*@sml_alloc(i32 inreg 12)#0
%l1=bitcast i8*%l0 to i32*
%l2=getelementptr inbounds i8,i8*%l0,i64 -4
%l3=bitcast i8*%l2 to i32*
store i32 1342177288,i32*%l3,align 4
store i32%lT,i32*%l1,align 4
%l4=getelementptr inbounds i8,i8*%l0,i64 4
%l5=bitcast i8*%l4 to i32*
store i32 1,i32*%l5,align 4
%l6=getelementptr inbounds i8,i8*%l0,i64 8
%l7=bitcast i8*%l6 to i32*
store i32 0,i32*%l7,align 4
%l8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l9=call fastcc i8*%lX(i8*inreg%l8,i8*inreg%l0)
br label%mc
ma:
store i8*null,i8**%d,align 8
%mb=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
br label%mc
mc:
%md=phi i8*[%mb,%ma],[%l9,%lP]
store i8*%md,i8**%d,align 8
%me=call i8*@sml_alloc(i32 inreg 20)#0
%mf=getelementptr inbounds i8,i8*%me,i64 -4
%mg=bitcast i8*%mf to i32*
store i32 1342177296,i32*%mg,align 4
store i8*%me,i8**%f,align 8
%mh=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%mi=bitcast i8*%me to i8**
store i8*%mh,i8**%mi,align 8
%mj=getelementptr inbounds i8,i8*%me,i64 8
%mk=bitcast i8*%mj to i8**
store i8*null,i8**%mk,align 8
%ml=getelementptr inbounds i8,i8*%me,i64 16
%mm=bitcast i8*%ml to i32*
store i32 3,i32*%mm,align 4
%mn=call i8*@sml_alloc(i32 inreg 20)#0
%mo=getelementptr inbounds i8,i8*%mn,i64 -4
%mp=bitcast i8*%mo to i32*
store i32 1342177296,i32*%mp,align 4
store i8*%mn,i8**%d,align 8
%mq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%mr=bitcast i8*%mn to i8**
store i8*%mq,i8**%mr,align 8
%ms=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%mt=getelementptr inbounds i8,i8*%mn,i64 8
%mu=bitcast i8*%mt to i8**
store i8*%ms,i8**%mu,align 8
%mv=getelementptr inbounds i8,i8*%mn,i64 16
%mw=bitcast i8*%mv to i32*
store i32 3,i32*%mw,align 4
%mx=call i8*@sml_alloc(i32 inreg 20)#0
%my=getelementptr inbounds i8,i8*%mx,i64 -4
%mz=bitcast i8*%my to i32*
store i32 1342177296,i32*%mz,align 4
store i8*%mx,i8**%c,align 8
%mA=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%mB=bitcast i8*%mx to i8**
store i8*%mA,i8**%mB,align 8
%mC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%mD=getelementptr inbounds i8,i8*%mx,i64 8
%mE=bitcast i8*%mD to i8**
store i8*%mC,i8**%mE,align 8
%mF=getelementptr inbounds i8,i8*%mx,i64 16
%mG=bitcast i8*%mF to i32*
store i32 3,i32*%mG,align 4
%mH=call i8*@sml_alloc(i32 inreg 20)#0
%mI=getelementptr inbounds i8,i8*%mH,i64 -4
%mJ=bitcast i8*%mI to i32*
store i32 1342177296,i32*%mJ,align 4
store i8*%mH,i8**%b,align 8
%mK=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%mL=bitcast i8*%mH to i8**
store i8*%mK,i8**%mL,align 8
%mM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%mN=getelementptr inbounds i8,i8*%mH,i64 8
%mO=bitcast i8*%mN to i8**
store i8*%mM,i8**%mO,align 8
%mP=getelementptr inbounds i8,i8*%mH,i64 16
%mQ=bitcast i8*%mP to i32*
store i32 3,i32*%mQ,align 4
%mR=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%mS=getelementptr inbounds i8,i8*%mR,i64 16
%mT=bitcast i8*%mS to i8*(i8*,i8*)**
%mU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mT,align 8
%mV=bitcast i8*%mR to i8**
%mW=load i8*,i8**%mV,align 8
store i8*%mW,i8**%c,align 8
%mX=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%mY=getelementptr inbounds i8,i8*%mX,i64 16
%mZ=bitcast i8*%mY to i8*(i8*,i8*)**
%m0=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%mZ,align 8
%m1=bitcast i8*%mX to i8**
%m2=load i8*,i8**%m1,align 8
%m3=call fastcc i8*%m0(i8*inreg%m2,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*))
%m4=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%m5=call fastcc i8*%mU(i8*inreg%m4,i8*inreg%m3)
%m6=getelementptr inbounds i8,i8*%m5,i64 16
%m7=bitcast i8*%m6 to i8*(i8*,i8*)**
%m8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m7,align 8
%m9=bitcast i8*%m5 to i8**
%na=load i8*,i8**%m9,align 8
store i8*%na,i8**%c,align 8
%nb=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%nc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%nd=call fastcc i8*%m8(i8*inreg%nc,i8*inreg%nb)
%ne=getelementptr inbounds i8,i8*%nd,i64 16
%nf=bitcast i8*%ne to i8*(i8*,i8*)**
%ng=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nf,align 8
%nh=bitcast i8*%nd to i8**
%ni=load i8*,i8**%nh,align 8
%nj=load i8*,i8**%b,align 8
%nk=tail call fastcc i8*%ng(i8*inreg%ni,i8*inreg%nj)
ret i8*%nk
nl:
%nm=getelementptr inbounds i8,i8*%p,i64 8
%nn=bitcast i8*%nm to i8***
%no=load i8**,i8***%nn,align 8
%np=load i8*,i8**%no,align 8
store i8*%np,i8**%b,align 8
%nq=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%nr=getelementptr inbounds i8,i8*%nq,i64 16
%ns=bitcast i8*%nr to i8*(i8*,i8*)**
%nt=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ns,align 8
%nu=bitcast i8*%nq to i8**
%nv=load i8*,i8**%nu,align 8
%nw=call fastcc i8*%nt(i8*inreg%nv,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*))
%nx=getelementptr inbounds i8,i8*%nw,i64 16
%ny=bitcast i8*%nx to i8*(i8*,i8*)**
%nz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ny,align 8
%nA=bitcast i8*%nw to i8**
%nB=load i8*,i8**%nA,align 8
store i8*%nB,i8**%c,align 8
%nC=call fastcc i8*@_SMLFN11RecordLabel3Map9listItemsE(i32 inreg 1,i32 inreg 8)
%nD=getelementptr inbounds i8,i8*%nC,i64 16
%nE=bitcast i8*%nD to i8*(i8*,i8*)**
%nF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nE,align 8
%nG=bitcast i8*%nC to i8**
%nH=load i8*,i8**%nG,align 8
%nI=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%nJ=call fastcc i8*%nF(i8*inreg%nH,i8*inreg%nI)
%nK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%nL=call fastcc i8*%nz(i8*inreg%nK,i8*inreg%nJ)
store i8*%nL,i8**%b,align 8
%nM=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%nN=getelementptr inbounds i8,i8*%nM,i64 16
%nO=bitcast i8*%nN to i8*(i8*,i8*)**
%nP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nO,align 8
%nQ=bitcast i8*%nM to i8**
%nR=load i8*,i8**%nQ,align 8
store i8*%nR,i8**%c,align 8
%nS=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%nT=getelementptr inbounds i8,i8*%nS,i64 16
%nU=bitcast i8*%nT to i8*(i8*,i8*)**
%nV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nU,align 8
%nW=bitcast i8*%nS to i8**
%nX=load i8*,i8**%nW,align 8
%nY=call fastcc i8*%nV(i8*inreg%nX,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*))
%nZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n0=call fastcc i8*%nP(i8*inreg%nZ,i8*inreg%nY)
%n1=getelementptr inbounds i8,i8*%n0,i64 16
%n2=bitcast i8*%n1 to i8*(i8*,i8*)**
%n3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n2,align 8
%n4=bitcast i8*%n0 to i8**
%n5=load i8*,i8**%n4,align 8
store i8*%n5,i8**%c,align 8
%n6=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%n7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n8=call fastcc i8*%n3(i8*inreg%n7,i8*inreg%n6)
%n9=getelementptr inbounds i8,i8*%n8,i64 16
%oa=bitcast i8*%n9 to i8*(i8*,i8*)**
%ob=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oa,align 8
%oc=bitcast i8*%n8 to i8**
%od=load i8*,i8**%oc,align 8
%oe=load i8*,i8**%b,align 8
%of=tail call fastcc i8*%ob(i8*inreg%od,i8*inreg%oe)
ret i8*%of
og:
%oh=getelementptr inbounds i8,i8*%p,i64 8
%oi=bitcast i8*%oh to i8**
%oj=load i8*,i8**%oi,align 8
%ok=bitcast i8*%oj to i8**
%ol=load i8*,i8**%ok,align 8
store i8*%ol,i8**%b,align 8
%om=getelementptr inbounds i8,i8*%oj,i64 8
%on=bitcast i8*%om to i8**
%oo=load i8*,i8**%on,align 8
store i8*%oo,i8**%c,align 8
%op=getelementptr inbounds i8,i8*%oj,i64 16
%oq=bitcast i8*%op to i8**
%or=load i8*,i8**%oq,align 8
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}>*@a,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**%c,align 8
store i8*null,i8**%c,align 8
%oF=call fastcc i8*%oB(i8*inreg%oD,i8*inreg%oE)
store i8*%oF,i8**%c,align 8
%oG=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%oH=getelementptr inbounds i8,i8*%oG,i64 16
%oI=bitcast i8*%oH to i8*(i8*,i8*)**
%oJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oI,align 8
%oK=bitcast i8*%oG to i8**
%oL=load i8*,i8**%oK,align 8
store i8*%oL,i8**%e,align 8
%oM=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%oN=getelementptr inbounds i8,i8*%oM,i64 16
%oO=bitcast i8*%oN to i8*(i8*,i8*)**
%oP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oO,align 8
%oQ=bitcast i8*%oM to i8**
%oR=load i8*,i8**%oQ,align 8
%oS=call fastcc i8*%oP(i8*inreg%oR,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*))
%oT=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%oU=call fastcc i8*%oJ(i8*inreg%oT,i8*inreg%oS)
%oV=getelementptr inbounds i8,i8*%oU,i64 16
%oW=bitcast i8*%oV to i8*(i8*,i8*)**
%oX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oW,align 8
%oY=bitcast i8*%oU to i8**
%oZ=load i8*,i8**%oY,align 8
store i8*%oZ,i8**%e,align 8
%o0=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%o1=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%o2=call fastcc i8*%oX(i8*inreg%o1,i8*inreg%o0)
%o3=getelementptr inbounds i8,i8*%o2,i64 16
%o4=bitcast i8*%o3 to i8*(i8*,i8*)**
%o5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o4,align 8
%o6=bitcast i8*%o2 to i8**
%o7=load i8*,i8**%o6,align 8
%o8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%o9=call fastcc i8*%o5(i8*inreg%o7,i8*inreg%o8)
store i8*%o9,i8**%c,align 8
%pa=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%pb=getelementptr inbounds i8,i8*%pa,i64 16
%pc=bitcast i8*%pb to i8*(i8*,i8*)**
%pd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pc,align 8
%pe=bitcast i8*%pa to i8**
%pf=load i8*,i8**%pe,align 8
%pg=call fastcc i8*%pd(i8*inreg%pf,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*))
%ph=getelementptr inbounds i8,i8*%pg,i64 16
%pi=bitcast i8*%ph to i8*(i8*,i8*)**
%pj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pi,align 8
%pk=bitcast i8*%pg to i8**
%pl=load i8*,i8**%pk,align 8
%pm=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%pn=call fastcc i8*%pj(i8*inreg%pl,i8*inreg%pm)
store i8*%pn,i8**%d,align 8
%po=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%pp=getelementptr inbounds i8,i8*%po,i64 16
%pq=bitcast i8*%pp to i8*(i8*,i8*)**
%pr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pq,align 8
%ps=bitcast i8*%po to i8**
%pt=load i8*,i8**%ps,align 8
store i8*%pt,i8**%e,align 8
%pu=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%pv=getelementptr inbounds i8,i8*%pu,i64 16
%pw=bitcast i8*%pv to i8*(i8*,i8*)**
%px=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pw,align 8
%py=bitcast i8*%pu to i8**
%pz=load i8*,i8**%py,align 8
%pA=call fastcc i8*%px(i8*inreg%pz,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*))
%pB=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pC=call fastcc i8*%pr(i8*inreg%pB,i8*inreg%pA)
%pD=getelementptr inbounds i8,i8*%pC,i64 16
%pE=bitcast i8*%pD to i8*(i8*,i8*)**
%pF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pE,align 8
%pG=bitcast i8*%pC to i8**
%pH=load i8*,i8**%pG,align 8
store i8*%pH,i8**%e,align 8
%pI=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%pJ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pK=call fastcc i8*%pF(i8*inreg%pJ,i8*inreg%pI)
%pL=getelementptr inbounds i8,i8*%pK,i64 16
%pM=bitcast i8*%pL to i8*(i8*,i8*)**
%pN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pM,align 8
%pO=bitcast i8*%pK to i8**
%pP=load i8*,i8**%pO,align 8
%pQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%pR=call fastcc i8*%pN(i8*inreg%pP,i8*inreg%pQ)
store i8*%pR,i8**%d,align 8
%pS=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%pT=getelementptr inbounds i8,i8*%pS,i64 16
%pU=bitcast i8*%pT to i8*(i8*,i8*)**
%pV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pU,align 8
%pW=bitcast i8*%pS to i8**
%pX=load i8*,i8**%pW,align 8
%pY=call fastcc i8*%pV(i8*inreg%pX,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*))
%pZ=getelementptr inbounds i8,i8*%pY,i64 16
%p0=bitcast i8*%pZ to i8*(i8*,i8*)**
%p1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p0,align 8
%p2=bitcast i8*%pY to i8**
%p3=load i8*,i8**%p2,align 8
%p4=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%p5=call fastcc i8*%p1(i8*inreg%p3,i8*inreg%p4)
store i8*%p5,i8**%b,align 8
%p6=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%p7=getelementptr inbounds i8,i8*%p6,i64 16
%p8=bitcast i8*%p7 to i8*(i8*,i8*)**
%p9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p8,align 8
%qa=bitcast i8*%p6 to i8**
%qb=load i8*,i8**%qa,align 8
store i8*%qb,i8**%e,align 8
%qc=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%qd=getelementptr inbounds i8,i8*%qc,i64 16
%qe=bitcast i8*%qd to i8*(i8*,i8*)**
%qf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qe,align 8
%qg=bitcast i8*%qc to i8**
%qh=load i8*,i8**%qg,align 8
%qi=call fastcc i8*%qf(i8*inreg%qh,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*))
%qj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qk=call fastcc i8*%p9(i8*inreg%qj,i8*inreg%qi)
%ql=getelementptr inbounds i8,i8*%qk,i64 16
%qm=bitcast i8*%ql to i8*(i8*,i8*)**
%qn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qm,align 8
%qo=bitcast i8*%qk to i8**
%qp=load i8*,i8**%qo,align 8
store i8*%qp,i8**%e,align 8
%qq=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%qr=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qs=call fastcc i8*%qn(i8*inreg%qr,i8*inreg%qq)
%qt=getelementptr inbounds i8,i8*%qs,i64 16
%qu=bitcast i8*%qt to i8*(i8*,i8*)**
%qv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qu,align 8
%qw=bitcast i8*%qs to i8**
%qx=load i8*,i8**%qw,align 8
%qy=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%qz=call fastcc i8*%qv(i8*inreg%qx,i8*inreg%qy)
store i8*%qz,i8**%b,align 8
%qA=call i8*@sml_alloc(i32 inreg 20)#0
%qB=getelementptr inbounds i8,i8*%qA,i64 -4
%qC=bitcast i8*%qB to i32*
store i32 1342177296,i32*%qC,align 4
store i8*%qA,i8**%e,align 8
%qD=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%qE=bitcast i8*%qA to i8**
store i8*%qD,i8**%qE,align 8
%qF=getelementptr inbounds i8,i8*%qA,i64 8
%qG=bitcast i8*%qF to i8**
store i8*null,i8**%qG,align 8
%qH=getelementptr inbounds i8,i8*%qA,i64 16
%qI=bitcast i8*%qH to i32*
store i32 3,i32*%qI,align 4
%qJ=call i8*@sml_alloc(i32 inreg 20)#0
%qK=getelementptr inbounds i8,i8*%qJ,i64 -4
%qL=bitcast i8*%qK to i32*
store i32 1342177296,i32*%qL,align 4
store i8*%qJ,i8**%f,align 8
%qM=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%qN=bitcast i8*%qJ to i8**
store i8*%qM,i8**%qN,align 8
%qO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qP=getelementptr inbounds i8,i8*%qJ,i64 8
%qQ=bitcast i8*%qP to i8**
store i8*%qO,i8**%qQ,align 8
%qR=getelementptr inbounds i8,i8*%qJ,i64 16
%qS=bitcast i8*%qR to i32*
store i32 3,i32*%qS,align 4
%qT=call i8*@sml_alloc(i32 inreg 20)#0
%qU=getelementptr inbounds i8,i8*%qT,i64 -4
%qV=bitcast i8*%qU to i32*
store i32 1342177296,i32*%qV,align 4
store i8*%qT,i8**%b,align 8
%qW=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%qX=bitcast i8*%qT to i8**
store i8*%qW,i8**%qX,align 8
%qY=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qZ=getelementptr inbounds i8,i8*%qT,i64 8
%q0=bitcast i8*%qZ to i8**
store i8*%qY,i8**%q0,align 8
%q1=getelementptr inbounds i8,i8*%qT,i64 16
%q2=bitcast i8*%q1 to i32*
store i32 3,i32*%q2,align 4
%q3=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%q4=getelementptr inbounds i8,i8*%q3,i64 16
%q5=bitcast i8*%q4 to i8*(i8*,i8*)**
%q6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q5,align 8
%q7=bitcast i8*%q3 to i8**
%q8=load i8*,i8**%q7,align 8
store i8*%q8,i8**%c,align 8
%q9=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%ra=getelementptr inbounds i8,i8*%q9,i64 16
%rb=bitcast i8*%ra to i8*(i8*,i8*)**
%rc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rb,align 8
%rd=bitcast i8*%q9 to i8**
%re=load i8*,i8**%rd,align 8
%rf=call fastcc i8*%rc(i8*inreg%re,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*))
%rg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%rh=call fastcc i8*%q6(i8*inreg%rg,i8*inreg%rf)
%ri=getelementptr inbounds i8,i8*%rh,i64 16
%rj=bitcast i8*%ri to i8*(i8*,i8*)**
%rk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rj,align 8
%rl=bitcast i8*%rh to i8**
%rm=load i8*,i8**%rl,align 8
store i8*%rm,i8**%c,align 8
%rn=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%ro=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%rp=call fastcc i8*%rk(i8*inreg%ro,i8*inreg%rn)
%rq=getelementptr inbounds i8,i8*%rp,i64 16
%rr=bitcast i8*%rq to i8*(i8*,i8*)**
%rs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rr,align 8
%rt=bitcast i8*%rp to i8**
%ru=load i8*,i8**%rt,align 8
%rv=load i8*,i8**%b,align 8
%rw=tail call fastcc i8*%rs(i8*inreg%ru,i8*inreg%rv)
ret i8*%rw
rx:
%ry=getelementptr inbounds i8,i8*%p,i64 8
%rz=bitcast i8*%ry to i8**
%rA=load i8*,i8**%rz,align 8
%rB=bitcast i8*%rA to i8**
%rC=load i8*,i8**%rB,align 8
store i8*%rC,i8**%b,align 8
%rD=getelementptr inbounds i8,i8*%rA,i64 8
%rE=bitcast i8*%rD to i8**
%rF=load i8*,i8**%rE,align 8
store i8*%rF,i8**%c,align 8
%rG=getelementptr inbounds i8,i8*%rA,i64 16
%rH=bitcast i8*%rG to i8**
%rI=load i8*,i8**%rH,align 8
%rJ=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%rI)
store i8*%rJ,i8**%d,align 8
%rK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%rL=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%rK)
store i8*%rL,i8**%c,align 8
%rM=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%rN=getelementptr inbounds i8,i8*%rM,i64 16
%rO=bitcast i8*%rN to i8*(i8*,i8*)**
%rP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rO,align 8
%rQ=bitcast i8*%rM to i8**
%rR=load i8*,i8**%rQ,align 8
%rS=call fastcc i8*%rP(i8*inreg%rR,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*))
%rT=getelementptr inbounds i8,i8*%rS,i64 16
%rU=bitcast i8*%rT to i8*(i8*,i8*)**
%rV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rU,align 8
%rW=bitcast i8*%rS to i8**
%rX=load i8*,i8**%rW,align 8
%rY=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%rZ=call fastcc i8*%rV(i8*inreg%rX,i8*inreg%rY)
store i8*%rZ,i8**%b,align 8
%r0=call i8*@sml_alloc(i32 inreg 20)#0
%r1=getelementptr inbounds i8,i8*%r0,i64 -4
%r2=bitcast i8*%r1 to i32*
store i32 1342177296,i32*%r2,align 4
store i8*%r0,i8**%e,align 8
%r3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%r4=bitcast i8*%r0 to i8**
store i8*%r3,i8**%r4,align 8
%r5=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r6=getelementptr inbounds i8,i8*%r0,i64 8
%r7=bitcast i8*%r6 to i8**
store i8*%r5,i8**%r7,align 8
%r8=getelementptr inbounds i8,i8*%r0,i64 16
%r9=bitcast i8*%r8 to i32*
store i32 3,i32*%r9,align 4
%sa=call i8*@sml_alloc(i32 inreg 20)#0
%sb=getelementptr inbounds i8,i8*%sa,i64 -4
%sc=bitcast i8*%sb to i32*
store i32 1342177296,i32*%sc,align 4
store i8*%sa,i8**%b,align 8
%sd=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%se=bitcast i8*%sa to i8**
store i8*%sd,i8**%se,align 8
%sf=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%sg=getelementptr inbounds i8,i8*%sa,i64 8
%sh=bitcast i8*%sg to i8**
store i8*%sf,i8**%sh,align 8
%si=getelementptr inbounds i8,i8*%sa,i64 16
%sj=bitcast i8*%si to i32*
store i32 3,i32*%sj,align 4
%sk=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%sl=getelementptr inbounds i8,i8*%sk,i64 16
%sm=bitcast i8*%sl to i8*(i8*,i8*)**
%sn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%sm,align 8
%so=bitcast i8*%sk to i8**
%sp=load i8*,i8**%so,align 8
store i8*%sp,i8**%c,align 8
%sq=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%sr=getelementptr inbounds i8,i8*%sq,i64 16
%ss=bitcast i8*%sr to i8*(i8*,i8*)**
%st=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ss,align 8
%su=bitcast i8*%sq to i8**
%sv=load i8*,i8**%su,align 8
%sw=call fastcc i8*%st(i8*inreg%sv,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*))
%sx=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%sy=call fastcc i8*%sn(i8*inreg%sx,i8*inreg%sw)
%sz=getelementptr inbounds i8,i8*%sy,i64 16
%sA=bitcast i8*%sz to i8*(i8*,i8*)**
%sB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%sA,align 8
%sC=bitcast i8*%sy to i8**
%sD=load i8*,i8**%sC,align 8
store i8*%sD,i8**%c,align 8
%sE=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%sF=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%sG=call fastcc i8*%sB(i8*inreg%sF,i8*inreg%sE)
%sH=getelementptr inbounds i8,i8*%sG,i64 16
%sI=bitcast i8*%sH to i8*(i8*,i8*)**
%sJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%sI,align 8
%sK=bitcast i8*%sG to i8**
%sL=load i8*,i8**%sK,align 8
%sM=load i8*,i8**%b,align 8
%sN=tail call fastcc i8*%sJ(i8*inreg%sL,i8*inreg%sM)
ret i8*%sN
sO:
%sP=getelementptr inbounds i8,i8*%p,i64 8
%sQ=bitcast i8*%sP to i8**
%sR=load i8*,i8**%sQ,align 8
%sS=bitcast i8*%sR to i8**
%sT=load i8*,i8**%sS,align 8
store i8*%sT,i8**%b,align 8
%sU=getelementptr inbounds i8,i8*%sR,i64 8
%sV=bitcast i8*%sU to i8**
%sW=load i8*,i8**%sV,align 8
%sX=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%sW)
store i8*%sX,i8**%c,align 8
%sY=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%sZ=getelementptr inbounds i8,i8*%sY,i64 16
%s0=bitcast i8*%sZ to i8*(i8*,i8*)**
%s1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s0,align 8
%s2=bitcast i8*%sY to i8**
%s3=load i8*,i8**%s2,align 8
%s4=call fastcc i8*%s1(i8*inreg%s3,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*))
%s5=getelementptr inbounds i8,i8*%s4,i64 16
%s6=bitcast i8*%s5 to i8*(i8*,i8*)**
%s7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s6,align 8
%s8=bitcast i8*%s4 to i8**
%s9=load i8*,i8**%s8,align 8
%ta=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%tb=call fastcc i8*%s7(i8*inreg%s9,i8*inreg%ta)
store i8*%tb,i8**%d,align 8
%tc=call i8*@sml_alloc(i32 inreg 20)#0
%td=getelementptr inbounds i8,i8*%tc,i64 -4
%te=bitcast i8*%td to i32*
store i32 1342177296,i32*%te,align 4
store i8*%tc,i8**%b,align 8
%tf=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%tg=bitcast i8*%tc to i8**
store i8*%tf,i8**%tg,align 8
%th=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ti=getelementptr inbounds i8,i8*%tc,i64 8
%tj=bitcast i8*%ti to i8**
store i8*%th,i8**%tj,align 8
%tk=getelementptr inbounds i8,i8*%tc,i64 16
%tl=bitcast i8*%tk to i32*
store i32 3,i32*%tl,align 4
%tm=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%tn=getelementptr inbounds i8,i8*%tm,i64 16
%to=bitcast i8*%tn to i8*(i8*,i8*)**
%tp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%to,align 8
%tq=bitcast i8*%tm to i8**
%tr=load i8*,i8**%tq,align 8
store i8*%tr,i8**%c,align 8
%ts=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%tt=getelementptr inbounds i8,i8*%ts,i64 16
%tu=bitcast i8*%tt to i8*(i8*,i8*)**
%tv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tu,align 8
%tw=bitcast i8*%ts to i8**
%tx=load i8*,i8**%tw,align 8
%ty=call fastcc i8*%tv(i8*inreg%tx,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*))
%tz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%tA=call fastcc i8*%tp(i8*inreg%tz,i8*inreg%ty)
%tB=getelementptr inbounds i8,i8*%tA,i64 16
%tC=bitcast i8*%tB to i8*(i8*,i8*)**
%tD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tC,align 8
%tE=bitcast i8*%tA to i8**
%tF=load i8*,i8**%tE,align 8
store i8*%tF,i8**%c,align 8
%tG=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%tH=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%tI=call fastcc i8*%tD(i8*inreg%tH,i8*inreg%tG)
%tJ=getelementptr inbounds i8,i8*%tI,i64 16
%tK=bitcast i8*%tJ to i8*(i8*,i8*)**
%tL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tK,align 8
%tM=bitcast i8*%tI to i8**
%tN=load i8*,i8**%tM,align 8
%tO=load i8*,i8**%b,align 8
%tP=tail call fastcc i8*%tL(i8*inreg%tN,i8*inreg%tO)
ret i8*%tP
tQ:
%tR=getelementptr inbounds i8,i8*%p,i64 8
%tS=bitcast i8*%tR to i8**
%tT=load i8*,i8**%tS,align 8
%tU=bitcast i8*%tT to i8**
%tV=load i8*,i8**%tU,align 8
store i8*%tV,i8**%b,align 8
%tW=getelementptr inbounds i8,i8*%tT,i64 8
%tX=bitcast i8*%tW to i8**
%tY=load i8*,i8**%tX,align 8
%tZ=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%tY)
store i8*%tZ,i8**%c,align 8
%t0=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%t1=getelementptr inbounds i8,i8*%t0,i64 16
%t2=bitcast i8*%t1 to i8*(i8*,i8*)**
%t3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t2,align 8
%t4=bitcast i8*%t0 to i8**
%t5=load i8*,i8**%t4,align 8
%t6=call fastcc i8*%t3(i8*inreg%t5,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*))
%t7=getelementptr inbounds i8,i8*%t6,i64 16
%t8=bitcast i8*%t7 to i8*(i8*,i8*)**
%t9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t8,align 8
%ua=bitcast i8*%t6 to i8**
%ub=load i8*,i8**%ua,align 8
%uc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ud=call fastcc i8*%t9(i8*inreg%ub,i8*inreg%uc)
%ue=getelementptr inbounds i8,i8*%ud,i64 16
%uf=bitcast i8*%ue to i8*(i8*,i8*)**
%ug=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uf,align 8
%uh=bitcast i8*%ud to i8**
%ui=load i8*,i8**%uh,align 8
%uj=load i8*,i8**%b,align 8
%uk=tail call fastcc i8*%ug(i8*inreg%ui,i8*inreg%uj)
ret i8*%uk
ul:
%um=tail call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
ret i8*%um
un:
%uo=tail call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
ret i8*%uo
up:
store i8*null,i8**%b,align 8
%uq=getelementptr inbounds i8,i8*%p,i64 8
%ur=bitcast i8*%uq to i8***
%us=load i8**,i8***%ur,align 8
%ut=load i8*,i8**%us,align 8
%uu=bitcast i8*%ut to i32*
%uv=load i32,i32*%uu,align 4
switch i32%uv,label%uw[
i32 0,label%u9
i32 1,label%uO
]
uw:
call void@sml_matchcomp_bug()
%ux=load i8*,i8**@_SMLZ5Match,align 8
store i8*%ux,i8**%b,align 8
%uy=call i8*@sml_alloc(i32 inreg 20)#0
%uz=getelementptr inbounds i8,i8*%uy,i64 -4
%uA=bitcast i8*%uz to i32*
store i32 1342177296,i32*%uA,align 4
store i8*%uy,i8**%c,align 8
%uB=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%uC=bitcast i8*%uy to i8**
store i8*%uB,i8**%uC,align 8
%uD=getelementptr inbounds i8,i8*%uy,i64 8
%uE=bitcast i8*%uD to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[68x i8]}>,<{[4x i8],i32,[68x i8]}>*@z,i64 0,i32 2,i64 0),i8**%uE,align 8
%uF=getelementptr inbounds i8,i8*%uy,i64 16
%uG=bitcast i8*%uF to i32*
store i32 3,i32*%uG,align 4
%uH=call i8*@sml_alloc(i32 inreg 60)#0
%uI=getelementptr inbounds i8,i8*%uH,i64 -4
%uJ=bitcast i8*%uI to i32*
store i32 1342177336,i32*%uJ,align 4
%uK=getelementptr inbounds i8,i8*%uH,i64 56
%uL=bitcast i8*%uK to i32*
store i32 1,i32*%uL,align 4
%uM=load i8*,i8**%c,align 8
%uN=bitcast i8*%uH to i8**
store i8*%uM,i8**%uN,align 8
call void@sml_raise(i8*inreg%uH)#1
unreachable
uO:
%uP=getelementptr inbounds i8,i8*%ut,i64 8
%uQ=bitcast i8*%uP to i32**
%uR=load i32*,i32**%uQ,align 8
%uS=load i32,i32*%uR,align 4
%uT=call fastcc i8*@_SMLFN5VarID3Map9singletonE(i32 inreg 0,i32 inreg 4)
%uU=getelementptr inbounds i8,i8*%uT,i64 16
%uV=bitcast i8*%uU to i8*(i8*,i8*)**
%uW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uV,align 8
%uX=bitcast i8*%uT to i8**
%uY=load i8*,i8**%uX,align 8
store i8*%uY,i8**%b,align 8
%uZ=call i8*@sml_alloc(i32 inreg 12)#0
%u0=bitcast i8*%uZ to i32*
%u1=getelementptr inbounds i8,i8*%uZ,i64 -4
%u2=bitcast i8*%u1 to i32*
store i32 1342177288,i32*%u2,align 4
store i32%uS,i32*%u0,align 4
%u3=getelementptr inbounds i8,i8*%uZ,i64 4
%u4=bitcast i8*%u3 to i32*
store i32 1,i32*%u4,align 4
%u5=getelementptr inbounds i8,i8*%uZ,i64 8
%u6=bitcast i8*%u5 to i32*
store i32 0,i32*%u6,align 4
%u7=load i8*,i8**%b,align 8
%u8=tail call fastcc i8*%uW(i8*inreg%u7,i8*inreg%uZ)
ret i8*%u8
u9:
%va=tail call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
ret i8*%va
}
define fastcc i8*@_SMLFN12RecordCalcFv6fvDeclE(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 i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 2,label%b0
i32 3,label%au
i32 0,label%Q
i32 1,label%F
]
n:
call void@sml_matchcomp_bug()
%o=load i8*,i8**@_SMLZ5Match,align 8
store i8*%o,i8**%b,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
store i8*%p,i8**%c,align 8
%s=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[69x i8]}>,<{[4x i8],i32,[69x i8]}>*@H,i64 0,i32 2,i64 0),i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 60)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177336,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%y,i64 56
%C=bitcast i8*%B to i32*
store i32 1,i32*%C,align 4
%D=load i8*,i8**%c,align 8
%E=bitcast i8*%y to i8**
store i8*%D,i8**%E,align 8
call void@sml_raise(i8*inreg%y)#1
unreachable
F:
%G=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
store i8*%G,i8**%b,align 8
%H=call i8*@sml_alloc(i32 inreg 20)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177296,i32*%J,align 4
%K=load i8*,i8**%b,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i8**
store i8*null,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%H,i64 16
%P=bitcast i8*%O to i32*
store i32 3,i32*%P,align 4
ret i8*%H
Q:
%R=getelementptr inbounds i8,i8*%j,i64 8
%S=bitcast i8*%R to i8***
%T=load i8**,i8***%S,align 8
%U=load i8*,i8**%T,align 8
%V=icmp eq i8*%U,null
br i1%V,label%W,label%ah
W:
%X=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
store i8*%X,i8**%b,align 8
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
%ab=load i8*,i8**%b,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i8**
store i8*null,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
ret i8*%Y
ah:
%ai=bitcast i8*%U to i8**
%aj=load i8*,i8**%ai,align 8
%ak=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%aj)
store i8*%ak,i8**%b,align 8
%al=call i8*@sml_alloc(i32 inreg 20)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177296,i32*%an,align 4
%ao=load i8*,i8**%b,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to i8**
store i8*null,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%al,i64 16
%at=bitcast i8*%as to i32*
store i32 3,i32*%at,align 4
ret i8*%al
au:
%av=getelementptr inbounds i8,i8*%j,i64 8
%aw=bitcast i8*%av to i8***
%ax=load i8**,i8***%aw,align 8
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%b,align 8
%az=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aA=getelementptr inbounds i8,i8*%az,i64 16
%aB=bitcast i8*%aA to i8*(i8*,i8*)**
%aC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aB,align 8
%aD=bitcast i8*%az to i8**
%aE=load i8*,i8**%aD,align 8
%aF=call fastcc i8*%aC(i8*inreg%aE,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@D,i64 0,i32 2)to i8*))
%aG=getelementptr inbounds i8,i8*%aF,i64 16
%aH=bitcast i8*%aG to i8*(i8*,i8*)**
%aI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aH,align 8
%aJ=bitcast i8*%aF to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=load i8*,i8**%b,align 8
%aM=call fastcc i8*%aI(i8*inreg%aK,i8*inreg%aL)
store i8*%aM,i8**%c,align 8
%aN=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aO=getelementptr inbounds i8,i8*%aN,i64 16
%aP=bitcast i8*%aO to i8*(i8*,i8*)**
%aQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aP,align 8
%aR=bitcast i8*%aN to i8**
%aS=load i8*,i8**%aR,align 8
%aT=call fastcc i8*%aQ(i8*inreg%aS,i8*inreg 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*))
%aU=getelementptr inbounds i8,i8*%aT,i64 16
%aV=bitcast i8*%aU to i8*(i8*,i8*)**
%aW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aV,align 8
%aX=bitcast i8*%aT to i8**
%aY=load i8*,i8**%aX,align 8
%aZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a0=call fastcc i8*%aW(i8*inreg%aY,i8*inreg%aZ)
store i8*%a0,i8**%b,align 8
%a1=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%d,align 8
%a7=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%a8=getelementptr inbounds i8,i8*%a7,i64 16
%a9=bitcast i8*%a8 to i8*(i8*,i8*)**
%ba=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a9,align 8
%bb=bitcast i8*%a7 to i8**
%bc=load i8*,i8**%bb,align 8
%bd=call fastcc i8*%ba(i8*inreg%bc,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*))
%be=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bf=call fastcc i8*%a4(i8*inreg%be,i8*inreg%bd)
%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
store i8*%bk,i8**%d,align 8
%bl=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%bm=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bn=call fastcc i8*%bi(i8*inreg%bm,i8*inreg%bl)
%bo=getelementptr inbounds i8,i8*%bn,i64 16
%bp=bitcast i8*%bo to i8*(i8*,i8*)**
%bq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bp,align 8
%br=bitcast i8*%bn to i8**
%bs=load i8*,i8**%br,align 8
%bt=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bu=call fastcc i8*%bq(i8*inreg%bs,i8*inreg%bt)
store i8*%bu,i8**%b,align 8
%bv=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bw=getelementptr inbounds i8,i8*%bv,i64 16
%bx=bitcast i8*%bw to i8*(i8*,i8*)**
%by=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bx,align 8
%bz=bitcast i8*%bv to i8**
%bA=load i8*,i8**%bz,align 8
%bB=call fastcc i8*%by(i8*inreg%bA,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*))
%bC=getelementptr inbounds i8,i8*%bB,i64 16
%bD=bitcast i8*%bC to i8*(i8*,i8*)**
%bE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bD,align 8
%bF=bitcast i8*%bB to i8**
%bG=load i8*,i8**%bF,align 8
%bH=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bI=call fastcc i8*%bE(i8*inreg%bG,i8*inreg%bH)
%bJ=getelementptr inbounds i8,i8*%bI,i64 16
%bK=bitcast i8*%bJ to i8*(i8*,i8*)**
%bL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bK,align 8
%bM=bitcast i8*%bI to i8**
%bN=load i8*,i8**%bM,align 8
%bO=load i8*,i8**%c,align 8
%bP=call fastcc i8*%bL(i8*inreg%bN,i8*inreg%bO)
store i8*%bP,i8**%b,align 8
%bQ=call i8*@sml_alloc(i32 inreg 20)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177296,i32*%bS,align 4
%bT=load i8*,i8**%b,align 8
%bU=bitcast i8*%bQ to i8**
store i8*%bT,i8**%bU,align 8
%bV=load i8*,i8**%c,align 8
%bW=getelementptr inbounds i8,i8*%bQ,i64 8
%bX=bitcast i8*%bW to i8**
store i8*%bV,i8**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bQ,i64 16
%bZ=bitcast i8*%bY to i32*
store i32 3,i32*%bZ,align 4
ret i8*%bQ
b0:
%b1=getelementptr inbounds i8,i8*%j,i64 8
%b2=bitcast i8*%b1 to i8**
%b3=load i8*,i8**%b2,align 8
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=getelementptr inbounds i8,i8*%b3,i64 16
%b7=bitcast i8*%b6 to i8**
%b8=load i8*,i8**%b7,align 8
store i8*%b8,i8**%b,align 8
%b9=call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%b5)
store i8*%b9,i8**%c,align 8
%ca=call i8*@sml_alloc(i32 inreg 20)#0
%cb=getelementptr inbounds i8,i8*%ca,i64 -4
%cc=bitcast i8*%cb to i32*
store i32 1342177296,i32*%cc,align 4
store i8*%ca,i8**%d,align 8
%cd=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ce=bitcast i8*%ca to i8**
store i8*%cd,i8**%ce,align 8
%cf=getelementptr inbounds i8,i8*%ca,i64 8
%cg=bitcast i8*%cf to i8**
store i8*null,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%ca,i64 16
%ci=bitcast i8*%ch to i32*
store i32 3,i32*%ci,align 4
%cj=call i8*@sml_alloc(i32 inreg 20)#0
%ck=getelementptr inbounds i8,i8*%cj,i64 -4
%cl=bitcast i8*%ck to i32*
store i32 1342177296,i32*%cl,align 4
%cm=load i8*,i8**%c,align 8
%cn=bitcast i8*%cj to i8**
store i8*%cm,i8**%cn,align 8
%co=load i8*,i8**%d,align 8
%cp=getelementptr inbounds i8,i8*%cj,i64 8
%cq=bitcast i8*%cp to i8**
store i8*%co,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%cj,i64 16
%cs=bitcast i8*%cr to i32*
store i32 3,i32*%cs,align 4
ret i8*%cj
}
define internal fastcc i32@_SMLLLN12RecordCalcFv9fvExpListE_194(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 4
%e=bitcast i8*%d to i32*
%f=load i32,i32*%e,align 4
%g=add nsw i32%f,%c
ret i32%g
}
define fastcc i8*@_SMLFN12RecordCalcFv9fvExpListE(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
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*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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
%n=call fastcc i8*%k(i8*inreg%m,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*))
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
%t=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%u=call fastcc i8*%q(i8*inreg%s,i8*inreg%t)
store i8*%u,i8**%b,align 8
%v=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%c,align 8
%B=call fastcc i8*@_SMLFN5VarID3Map9unionWithE(i32 inreg 0,i32 inreg 4)
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*%E(i8*inreg%G,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@I,i64 0,i32 2)to i8*))
%I=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%J=call fastcc i8*%y(i8*inreg%I,i8*inreg%H)
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%c,align 8
%P=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 0,i32 inreg 4)
%Q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%R=call fastcc i8*%M(i8*inreg%Q,i8*inreg%P)
%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**%b,align 8
%Y=tail call fastcc i8*%U(i8*inreg%W,i8*inreg%X)
ret i8*%Y
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv7fvValueE_198(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12RecordCalcFv7fvValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_199(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_129(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_200(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_201(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_133(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_202(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_203(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_204(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_205(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_206(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_207(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_208(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_149(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_209(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_210(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_211(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_212(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_161(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_213(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_214(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_165(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_215(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_216(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_217(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_171(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_218(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_219(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_220(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_177(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_221(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_180(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_222(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLL4vars_223(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*@_SMLLLN12RecordCalcFv6fvDeclE_224(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv6fvDeclE_187(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv6fvDeclE_225(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv6fvDeclE_226(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN12RecordCalcFv6fvDeclE_191(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv5fvExpE_227(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12RecordCalcFv5fvExpE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv6fvDeclE_228(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12RecordCalcFv6fvDeclE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv9fvExpListE_229(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=getelementptr inbounds i8,i8*%b,i64 4
%f=bitcast i8*%e to i32*
%g=load i32,i32*%f,align 4
%h=add nsw i32%g,%d
%i=tail call i8*@sml_alloc(i32 inreg 4)#0
%j=bitcast i8*%i to i32*
%k=getelementptr inbounds i8,i8*%i,i64 -4
%l=bitcast i8*%k to i32*
store i32 4,i32*%l,align 4
store i32%h,i32*%j,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLLN12RecordCalcFv9fvExpListE_230(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN12RecordCalcFv9fvExpListE(i8*inreg%b)
ret i8*%c
}
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
