@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN12BuiltinTypes6charTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes6int8TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes6unitTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes7boxedTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes7int16TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes7int32TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes7int64TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes7word8TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8contagTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8intInfTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8ptrTyConE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8real32TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8real64TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8stringTyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8word16TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8word32TyE=external local_unnamed_addr global i8*
@_SMLZN12BuiltinTypes8word64TyE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14RecordCalcType9typeOfIntE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType9typeOfIntE_245 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*)*@_SMLFN14RecordCalcType13typeOfTlconstE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType13typeOfTlconstE_246 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:13.6(222)\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:26.6(583)\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[70x i8]}><{[4x i8]zeroinitializer,i32 -2147483578,[70x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:35.6(876)\00"}>,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*)*@_SMLFN14RecordCalcType11typeOfConstE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType11typeOfConstE_247 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*)*@_SMLFN14RecordCalcType12typeOfStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType12typeOfStringE_248 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14RecordCalcType11typeOfValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType11typeOfValueE_249 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:47.6(1225)\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:42.6(1111)\00"}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_156 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_250 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(i8*(i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_158 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_251 to void(...)*),i32 -2147483647}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:69.22(2244)\00"}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:65.22(2018)\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"typeOfExp: RCAPPM\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_164 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_252 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*)*@_SMLLLN14RecordCalcType9typeOfExpE_166 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_253 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(i8*(i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_168 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_254 to void(...)*),i32 -2147483647}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[71x i8]}><{[4x i8]zeroinitializer,i32 -2147483577,[71x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:52.6(1348)\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14RecordCalcType9typeOfExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType9typeOfExpE_255 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14RecordCalcType14instantiateVarE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType14instantiateVarE_256 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:112.6(4062)\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:122.6(4378)\00"}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:129.6(4689)\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:154.27(5680)\00"}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"RCFNM\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*)*@_SMLLL5subst_213 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL5subst_259 to void(...)*),i32 -2147483647}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[73x i8]}><{[4x i8]zeroinitializer,i32 -2147483575,[73x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:331.6(12747)\00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLLN14RecordCalcType8substExpE_226 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_260 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*)*@_SMLLL7bodyExp_231 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7bodyExp_261 to void(...)*),i32 -2147483647}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[72x i8]}><{[4x i8]zeroinitializer,i32 -2147483576,[72x i8]c"src/compiler/compilerIRs/recordcalc/main/RecordCalcType.sml:141.6(5065)\00"}>,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*)*@_SMLFN14RecordCalcType8substExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_263 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*)*@_SMLFN14RecordCalcType16instantiateValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType16instantiateValueE_264 to void(...)*),i32 -2147483647}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN14RecordCalcType14instantiateExpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType14instantiateExpE_265 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN14RecordCalcType9typeOfIntE=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*)
@_SMLZN14RecordCalcType13typeOfTlconstE=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*)
@_SMLZN14RecordCalcType11typeOfConstE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*)
@_SMLZN14RecordCalcType12typeOfStringE=local_unnamed_addr constant i8*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*)
@_SMLZN14RecordCalcType11typeOfValueE=local_unnamed_addr constant i8*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*)
@_SMLZN14RecordCalcType9typeOfExpE=local_unnamed_addr constant i8*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*)
@_SMLZN14RecordCalcType8substExpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@F,i64 0,i32 2)to i8*)
@_SMLZN14RecordCalcType14instantiateVarE=local_unnamed_addr constant i8*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*)
@_SMLZN14RecordCalcType16instantiateValueE=local_unnamed_addr constant i8*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*)
@_SMLZN14RecordCalcType14instantiateExpE=local_unnamed_addr constant i8*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*)
@_SML_ftab851c5dc6cd0dd543_RecordCalcType=external global i8
@I=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*@_SMLFN11RecordLabel3Map3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11TypesBasics11tpappPrimTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11TypesBasics7tpappTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11TypesBasics8revealTyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map7filteriE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map7isEmptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14BoundTypeVarID3Map8inDomainE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Bool3notE(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*@_SMLFN4List4nullE(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*@_SMLFN5VarID3Map4findE(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*@_SMLFN6Option3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3a60343781315c1e_Option()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main22c101bff228a4a9_LocalID()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina142c315f12317c0_RecordLabel()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainda6ffe0fd6b6ac21_BuiltinTypes()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7833b15b41d4b824_TypesBasics()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_loaddaa180c1799f3810_Bool(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load3a60343781315c1e_Option(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load22c101bff228a4a9_LocalID(i8*)local_unnamed_addr
declare void@_SML_loada142c315f12317c0_RecordLabel(i8*)local_unnamed_addr
declare void@_SML_loadda6ffe0fd6b6ac21_BuiltinTypes(i8*)local_unnamed_addr
declare void@_SML_load7833b15b41d4b824_TypesBasics(i8*)local_unnamed_addr
define private void@_SML_tabb851c5dc6cd0dd543_RecordCalcType()#3{
unreachable
}
define void@_SML_load851c5dc6cd0dd543_RecordCalcType(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@I,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@I,align 1
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load3a60343781315c1e_Option(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load22c101bff228a4a9_LocalID(i8*%a)#0
tail call void@_SML_loada142c315f12317c0_RecordLabel(i8*%a)#0
tail call void@_SML_loadda6ffe0fd6b6ac21_BuiltinTypes(i8*%a)#0
tail call void@_SML_load7833b15b41d4b824_TypesBasics(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb851c5dc6cd0dd543_RecordCalcType,i8*@_SML_ftab851c5dc6cd0dd543_RecordCalcType,i8*null)#0
ret void
}
define void@_SML_main851c5dc6cd0dd543_RecordCalcType()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@I,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*@I,align 1
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main3a60343781315c1e_Option()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_main22c101bff228a4a9_LocalID()#2
tail call void@_SML_maina142c315f12317c0_RecordLabel()#2
tail call void@_SML_mainda6ffe0fd6b6ac21_BuiltinTypes()#2
tail call void@_SML_main7833b15b41d4b824_TypesBasics()#2
br label%d
}
define fastcc i8*@_SMLFN14RecordCalcType9typeOfIntE(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 i32*
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%b to i32**
%j=load i32*,i32**%i,align 8
br label%k
k:
%l=phi i32*[%j,%h],[%g,%f]
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 5,label%X
i32 2,label%V
i32 3,label%T
i32 4,label%R
i32 9,label%P
i32 6,label%N
i32 7,label%L
i32 8,label%J
i32 1,label%H
i32 0,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,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@c,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=load i8*,i8**@_SMLZN12BuiltinTypes6charTyE,align 8
ret i8*%G
H:
%I=load i8*,i8**@_SMLZN12BuiltinTypes8contagTyE,align 8
ret i8*%I
J:
%K=load i8*,i8**@_SMLZN12BuiltinTypes8word64TyE,align 8
ret i8*%K
L:
%M=load i8*,i8**@_SMLZN12BuiltinTypes8word32TyE,align 8
ret i8*%M
N:
%O=load i8*,i8**@_SMLZN12BuiltinTypes8word16TyE,align 8
ret i8*%O
P:
%Q=load i8*,i8**@_SMLZN12BuiltinTypes7word8TyE,align 8
ret i8*%Q
R:
%S=load i8*,i8**@_SMLZN12BuiltinTypes7int64TyE,align 8
ret i8*%S
T:
%U=load i8*,i8**@_SMLZN12BuiltinTypes7int32TyE,align 8
ret i8*%U
V:
%W=load i8*,i8**@_SMLZN12BuiltinTypes7int16TyE,align 8
ret i8*%W
X:
%Y=load i8*,i8**@_SMLZN12BuiltinTypes6int8TyE,align 8
ret i8*%Y
}
define fastcc i8*@_SMLFN14RecordCalcType13typeOfTlconstE(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 4,label%az
i32 3,label%ax
i32 5,label%av
i32 2,label%O
i32 1,label%M
i32 0,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,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@d,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=getelementptr inbounds i8,i8*%j,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=getelementptr inbounds i8,i8*%I,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
ret i8*%L
M:
%N=load i8*,i8**@_SMLZN12BuiltinTypes7boxedTyE,align 8
ret i8*%N
O:
%P=load i8*,i8**@_SMLZN12BuiltinTypes6unitTyE,align 8
store i8*%P,i8**%b,align 8
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
store i8*%Q,i8**%d,align 8
%T=load i8*,i8**%b,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i8**
store i8*null,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to i32*
store i32 3,i32*%Y,align 4
%Z=load i8*,i8**@_SMLZN12BuiltinTypes8ptrTyConE,align 8
store i8*%Z,i8**%b,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
store i8*%aa,i8**%c,align 8
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=bitcast i8*%aa to i8**
store i8*%ad,i8**%ae,align 8
%af=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ag=getelementptr inbounds i8,i8*%aa,i64 8
%ah=bitcast i8*%ag to i8**
store i8*%af,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%aa,i64 16
%aj=bitcast i8*%ai to i32*
store i32 3,i32*%aj,align 4
%ak=call i8*@sml_alloc(i32 inreg 20)#0
%al=bitcast i8*%ak to i32*
%am=getelementptr inbounds i8,i8*%ak,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177296,i32*%an,align 4
%ao=getelementptr inbounds i8,i8*%ak,i64 4
%ap=bitcast i8*%ao to i32*
store i32 0,i32*%ap,align 1
store i32 2,i32*%al,align 4
%aq=load i8*,i8**%c,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 8
%as=bitcast i8*%ar to i8**
store i8*%aq,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 16
%au=bitcast i8*%at to i32*
store i32 2,i32*%au,align 4
ret i8*%ak
av:
%aw=load i8*,i8**@_SMLZN12BuiltinTypes6unitTyE,align 8
ret i8*%aw
ax:
%ay=load i8*,i8**@_SMLZN12BuiltinTypes8real32TyE,align 8
ret i8*%ay
az:
%aA=load i8*,i8**@_SMLZN12BuiltinTypes8real64TyE,align 8
ret i8*%aA
}
define fastcc i8*@_SMLFN14RecordCalcType11typeOfConstE(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32*
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 1,label%bV
i32 0,label%aL
i32 2,label%ai
i32 3,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,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@e,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=getelementptr inbounds i8,i8*%j,i64 8
%H=bitcast i8*%G to i8**
%I=load i8*,i8**%H,align 8
%J=getelementptr inbounds i8,i8*%I,i64 8
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%b,align 8
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
store i8*%M,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%M,i64 4
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 1
%R=bitcast i8*%M to i32*
store i32 4,i32*%R,align 4
%S=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%T=getelementptr inbounds i8,i8*%M,i64 8
%U=bitcast i8*%T to i8**
store i8*%S,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%M,i64 16
%W=bitcast i8*%V to i32*
store i32 2,i32*%W,align 4
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=bitcast i8*%X to i32*
%Z=getelementptr inbounds i8,i8*%X,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
%ab=getelementptr inbounds i8,i8*%X,i64 4
%ac=bitcast i8*%ab to i32*
store i32 0,i32*%ac,align 1
store i32 9,i32*%Y,align 4
%ad=load i8*,i8**%c,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 8
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%X,i64 16
%ah=bitcast i8*%ag to i32*
store i32 2,i32*%ah,align 4
ret i8*%X
ai:
%aj=getelementptr inbounds i8,i8*%j,i64 8
%ak=bitcast i8*%aj to i8**
%al=load i8*,i8**%ak,align 8
%am=getelementptr inbounds i8,i8*%al,i64 8
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%b,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
store i8*%ap,i8**%c,align 8
%as=getelementptr inbounds i8,i8*%ap,i64 4
%at=bitcast i8*%as to i32*
store i32 0,i32*%at,align 1
%au=bitcast i8*%ap to i32*
store i32 3,i32*%au,align 4
%av=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ap,i64 16
%az=bitcast i8*%ay to i32*
store i32 2,i32*%az,align 4
%aA=call i8*@sml_alloc(i32 inreg 20)#0
%aB=bitcast i8*%aA to i32*
%aC=getelementptr inbounds i8,i8*%aA,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
%aE=getelementptr inbounds i8,i8*%aA,i64 4
%aF=bitcast i8*%aE to i32*
store i32 0,i32*%aF,align 1
store i32 9,i32*%aB,align 4
%aG=load i8*,i8**%c,align 8
%aH=getelementptr inbounds i8,i8*%aA,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aA,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 2,i32*%aK,align 4
ret i8*%aA
aL:
%aM=getelementptr inbounds i8,i8*%j,i64 8
%aN=bitcast i8*%aM to i8**
%aO=load i8*,i8**%aN,align 8
%aP=bitcast i8*%aO to i32*
%aQ=load i32,i32*%aP,align 4
switch i32%aQ,label%aR[
i32 4,label%bT
i32 3,label%bR
i32 5,label%bP
i32 2,label%bi
i32 1,label%bg
i32 0,label%a9
]
aR:
call void@sml_matchcomp_bug()
%aS=load i8*,i8**@_SMLZ5Match,align 8
store i8*%aS,i8**%b,align 8
%aT=call i8*@sml_alloc(i32 inreg 20)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177296,i32*%aV,align 4
store i8*%aT,i8**%c,align 8
%aW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aT,i64 8
%aZ=bitcast i8*%aY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@d,i64 0,i32 2,i64 0),i8**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 16
%a1=bitcast i8*%a0 to i32*
store i32 3,i32*%a1,align 4
%a2=call i8*@sml_alloc(i32 inreg 60)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177336,i32*%a4,align 4
%a5=getelementptr inbounds i8,i8*%a2,i64 56
%a6=bitcast i8*%a5 to i32*
store i32 1,i32*%a6,align 4
%a7=load i8*,i8**%c,align 8
%a8=bitcast i8*%a2 to i8**
store i8*%a7,i8**%a8,align 8
call void@sml_raise(i8*inreg%a2)#1
unreachable
a9:
%ba=getelementptr inbounds i8,i8*%aO,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64 8
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
ret i8*%bf
bg:
%bh=load i8*,i8**@_SMLZN12BuiltinTypes7boxedTyE,align 8
ret i8*%bh
bi:
%bj=load i8*,i8**@_SMLZN12BuiltinTypes6unitTyE,align 8
store i8*%bj,i8**%b,align 8
%bk=call i8*@sml_alloc(i32 inreg 20)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177296,i32*%bm,align 4
store i8*%bk,i8**%d,align 8
%bn=load i8*,i8**%b,align 8
%bo=bitcast i8*%bk to i8**
store i8*%bn,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bk,i64 8
%bq=bitcast i8*%bp to i8**
store i8*null,i8**%bq,align 8
%br=getelementptr inbounds i8,i8*%bk,i64 16
%bs=bitcast i8*%br to i32*
store i32 3,i32*%bs,align 4
%bt=load i8*,i8**@_SMLZN12BuiltinTypes8ptrTyConE,align 8
store i8*%bt,i8**%b,align 8
%bu=call i8*@sml_alloc(i32 inreg 20)#0
%bv=getelementptr inbounds i8,i8*%bu,i64 -4
%bw=bitcast i8*%bv to i32*
store i32 1342177296,i32*%bw,align 4
store i8*%bu,i8**%c,align 8
%bx=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%by=bitcast i8*%bu to i8**
store i8*%bx,i8**%by,align 8
%bz=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bA=getelementptr inbounds i8,i8*%bu,i64 8
%bB=bitcast i8*%bA to i8**
store i8*%bz,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bu,i64 16
%bD=bitcast i8*%bC to i32*
store i32 3,i32*%bD,align 4
%bE=call i8*@sml_alloc(i32 inreg 20)#0
%bF=bitcast i8*%bE to i32*
%bG=getelementptr inbounds i8,i8*%bE,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177296,i32*%bH,align 4
%bI=getelementptr inbounds i8,i8*%bE,i64 4
%bJ=bitcast i8*%bI to i32*
store i32 0,i32*%bJ,align 1
store i32 2,i32*%bF,align 4
%bK=load i8*,i8**%c,align 8
%bL=getelementptr inbounds i8,i8*%bE,i64 8
%bM=bitcast i8*%bL to i8**
store i8*%bK,i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bE,i64 16
%bO=bitcast i8*%bN to i32*
store i32 2,i32*%bO,align 4
ret i8*%bE
bP:
%bQ=load i8*,i8**@_SMLZN12BuiltinTypes6unitTyE,align 8
ret i8*%bQ
bR:
%bS=load i8*,i8**@_SMLZN12BuiltinTypes8real32TyE,align 8
ret i8*%bS
bT:
%bU=load i8*,i8**@_SMLZN12BuiltinTypes8real64TyE,align 8
ret i8*%bU
bV:
%bW=getelementptr inbounds i8,i8*%j,i64 8
%bX=bitcast i8*%bW to i32**
%bY=load i32*,i32**%bX,align 8
%bZ=load i32,i32*%bY,align 4
switch i32%bZ,label%b0[
i32 5,label%cA
i32 2,label%cy
i32 3,label%cw
i32 4,label%cu
i32 9,label%cs
i32 6,label%cq
i32 7,label%co
i32 8,label%cm
i32 1,label%ck
i32 0,label%ci
]
b0:
call void@sml_matchcomp_bug()
%b1=load i8*,i8**@_SMLZ5Match,align 8
store i8*%b1,i8**%b,align 8
%b2=call i8*@sml_alloc(i32 inreg 20)#0
%b3=getelementptr inbounds i8,i8*%b2,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177296,i32*%b4,align 4
store i8*%b2,i8**%c,align 8
%b5=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=getelementptr inbounds i8,i8*%b2,i64 8
%b8=bitcast i8*%b7 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[70x i8]}>,<{[4x i8],i32,[70x i8]}>*@c,i64 0,i32 2,i64 0),i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b2,i64 16
%ca=bitcast i8*%b9 to i32*
store i32 3,i32*%ca,align 4
%cb=call i8*@sml_alloc(i32 inreg 60)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177336,i32*%cd,align 4
%ce=getelementptr inbounds i8,i8*%cb,i64 56
%cf=bitcast i8*%ce to i32*
store i32 1,i32*%cf,align 4
%cg=load i8*,i8**%c,align 8
%ch=bitcast i8*%cb to i8**
store i8*%cg,i8**%ch,align 8
call void@sml_raise(i8*inreg%cb)#1
unreachable
ci:
%cj=load i8*,i8**@_SMLZN12BuiltinTypes6charTyE,align 8
ret i8*%cj
ck:
%cl=load i8*,i8**@_SMLZN12BuiltinTypes8contagTyE,align 8
ret i8*%cl
cm:
%cn=load i8*,i8**@_SMLZN12BuiltinTypes8word64TyE,align 8
ret i8*%cn
co:
%cp=load i8*,i8**@_SMLZN12BuiltinTypes8word32TyE,align 8
ret i8*%cp
cq:
%cr=load i8*,i8**@_SMLZN12BuiltinTypes8word16TyE,align 8
ret i8*%cr
cs:
%ct=load i8*,i8**@_SMLZN12BuiltinTypes7word8TyE,align 8
ret i8*%ct
cu:
%cv=load i8*,i8**@_SMLZN12BuiltinTypes7int64TyE,align 8
ret i8*%cv
cw:
%cx=load i8*,i8**@_SMLZN12BuiltinTypes7int32TyE,align 8
ret i8*%cx
cy:
%cz=load i8*,i8**@_SMLZN12BuiltinTypes7int16TyE,align 8
ret i8*%cz
cA:
%cB=load i8*,i8**@_SMLZN12BuiltinTypes6int8TyE,align 8
ret i8*%cB
}
define fastcc i8*@_SMLFN14RecordCalcType12typeOfStringE(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 i32*
br label%k
h:
call void@sml_check(i32 inreg%d)
%i=bitcast i8**%b to i32**
%j=load i32*,i32**%i,align 8
br label%k
k:
%l=phi i32*[%j,%h],[%g,%f]
%m=load i32,i32*%l,align 4
switch i32%m,label%n[
i32 1,label%H
i32 0,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,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@j,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=load i8*,i8**@_SMLZN12BuiltinTypes8intInfTyE,align 8
ret i8*%G
H:
%I=load i8*,i8**@_SMLZN12BuiltinTypes8stringTyE,align 8
ret i8*%I
}
define fastcc i8*@_SMLFN14RecordCalcType11typeOfValueE(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 4
switch i32%l,label%m[
i32 0,label%L
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,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@i,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 i8**
%H=load i8*,i8**%G,align 8
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
ret i8*%K
L:
%M=getelementptr inbounds i8,i8*%i,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=tail call fastcc i8*@_SMLFN14RecordCalcType11typeOfConstE(i8*inreg%O)
ret i8*%P
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_156(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_158(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_164(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 24
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_166(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_168(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 fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
br label%g
g:
%h=phi i8*[%cK,%cG],[%a,%i]
store i8*%h,i8**%b,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%b,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%h,%g]
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
switch i32%q,label%r[
i32 18,label%id
i32 15,label%hL
i32 4,label%hD
i32 5,label%ft
i32 0,label%d1
i32 16,label%dU
i32 11,label%dt
i32 13,label%cZ
i32 14,label%cS
i32 10,label%cL
i32 9,label%cG
i32 12,label%cz
i32 7,label%cs
i32 17,label%cl
i32 3,label%ce
i32 6,label%b1
i32 1,label%a2
i32 2,label%aV
i32 8,label%J
]
r:
call void@sml_matchcomp_bug()
%s=load i8*,i8**@_SMLZ5Match,align 8
store i8*%s,i8**%b,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
store i8*%t,i8**%c,align 8
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@s,i64 0,i32 2,i64 0),i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 3,i32*%B,align 4
%C=call i8*@sml_alloc(i32 inreg 60)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177336,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%C,i64 56
%G=bitcast i8*%F to i32*
store i32 1,i32*%G,align 4
%H=load i8*,i8**%c,align 8
%I=bitcast i8*%C to i8**
store i8*%H,i8**%I,align 8
call void@sml_raise(i8*inreg%C)#1
unreachable
J:
%K=getelementptr inbounds i8,i8*%o,i64 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%b,align 8
%P=getelementptr inbounds i8,i8*%M,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%S to i8**
%X=load i8*,i8**%W,align 8
%Y=call fastcc i8*%V(i8*inreg%X,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@r,i64 0,i32 2)to i8*))
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
%ae=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%af=call fastcc i8*%ab(i8*inreg%ad,i8*inreg%ae)
store i8*%af,i8**%b,align 8
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
store i8*%ag,i8**%d,align 8
%aj=getelementptr inbounds i8,i8*%ag,i64 4
%ak=bitcast i8*%aj to i32*
store i32 0,i32*%ak,align 1
%al=bitcast i8*%ag to i32*
store i32 8,i32*%al,align 4
%am=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 8
%ao=bitcast i8*%an to i8**
store i8*%am,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 16
%aq=bitcast i8*%ap to i32*
store i32 2,i32*%aq,align 4
%ar=call i8*@sml_alloc(i32 inreg 20)#0
%as=getelementptr inbounds i8,i8*%ar,i64 -4
%at=bitcast i8*%as to i32*
store i32 1342177296,i32*%at,align 4
store i8*%ar,i8**%b,align 8
%au=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%av=bitcast i8*%ar to i8**
store i8*%au,i8**%av,align 8
%aw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ax=getelementptr inbounds i8,i8*%ar,i64 8
%ay=bitcast i8*%ax to i8**
store i8*%aw,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%ar,i64 16
%aA=bitcast i8*%az to i32*
store i32 3,i32*%aA,align 4
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
store i8*%aB,i8**%c,align 8
%aE=bitcast i8*%aB to i64*
store i64 0,i64*%aE,align 4
%aF=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to i8**
store i8*%aF,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to i32*
store i32 2,i32*%aJ,align 4
%aK=call i8*@sml_alloc(i32 inreg 20)#0
%aL=bitcast i8*%aK to i32*
%aM=getelementptr inbounds i8,i8*%aK,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
%aO=getelementptr inbounds i8,i8*%aK,i64 4
%aP=bitcast i8*%aO to i32*
store i32 0,i32*%aP,align 1
store i32 9,i32*%aL,align 4
%aQ=load i8*,i8**%c,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aK,i64 16
%aU=bitcast i8*%aT to i32*
store i32 2,i32*%aU,align 4
ret i8*%aK
aV:
%aW=getelementptr inbounds i8,i8*%o,i64 8
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
%aZ=getelementptr inbounds i8,i8*%aY,i64 32
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
ret i8*%a1
a2:
%a3=getelementptr inbounds i8,i8*%o,i64 8
%a4=bitcast i8*%a3 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%b,align 8
%a8=getelementptr inbounds i8,i8*%a5,i64 8
%a9=bitcast i8*%a8 to i8**
%ba=load i8*,i8**%a9,align 8
store i8*%ba,i8**%c,align 8
%bb=getelementptr inbounds i8,i8*%a5,i64 32
%bc=bitcast i8*%bb to i8**
%bd=load i8*,i8**%bc,align 8
store i8*%bd,i8**%d,align 8
%be=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
%bk=call fastcc i8*%bh(i8*inreg%bj,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*))
%bl=getelementptr inbounds i8,i8*%bk,i64 16
%bm=bitcast i8*%bl to i8*(i8*,i8*)**
%bn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bm,align 8
%bo=bitcast i8*%bk to i8**
%bp=load i8*,i8**%bo,align 8
%bq=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%br=call fastcc i8*%bn(i8*inreg%bp,i8*inreg%bq)
store i8*%br,i8**%b,align 8
%bs=call i8*@sml_alloc(i32 inreg 36)#0
%bt=getelementptr inbounds i8,i8*%bs,i64 -4
%bu=bitcast i8*%bt to i32*
store i32 1342177312,i32*%bu,align 4
store i8*%bs,i8**%e,align 8
%bv=load i8*,i8**%b,align 8
store i8*null,i8**%b,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bB=getelementptr inbounds i8,i8*%bs,i64 16
%bC=bitcast i8*%bB to i8**
store i8*%bA,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bs,i64 24
%bE=bitcast i8*%bD to i8**
store i8*null,i8**%bE,align 8
%bF=getelementptr inbounds i8,i8*%bs,i64 32
%bG=bitcast i8*%bF to i32*
store i32 15,i32*%bG,align 4
%bH=call i8*@sml_alloc(i32 inreg 20)#0
%bI=getelementptr inbounds i8,i8*%bH,i64 -4
%bJ=bitcast i8*%bI to i32*
store i32 1342177296,i32*%bJ,align 4
store i8*%bH,i8**%b,align 8
%bK=getelementptr inbounds i8,i8*%bH,i64 4
%bL=bitcast i8*%bK to i32*
store i32 0,i32*%bL,align 1
%bM=bitcast i8*%bH to i32*
store i32 2,i32*%bM,align 4
%bN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bO=getelementptr inbounds i8,i8*%bH,i64 8
%bP=bitcast i8*%bO to i8**
store i8*%bN,i8**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bH,i64 16
%bR=bitcast i8*%bQ to i32*
store i32 2,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
%bV=bitcast i8*%bS to i64*
store i64 0,i64*%bV,align 4
%bW=load i8*,i8**%b,align 8
%bX=getelementptr inbounds i8,i8*%bS,i64 8
%bY=bitcast i8*%bX to i8**
store i8*%bW,i8**%bY,align 8
%bZ=getelementptr inbounds i8,i8*%bS,i64 16
%b0=bitcast i8*%bZ to i32*
store i32 2,i32*%b0,align 4
ret i8*%bS
b1:
%b2=getelementptr inbounds i8,i8*%o,i64 8
%b3=bitcast i8*%b2 to i8**
%b4=load i8*,i8**%b3,align 8
%b5=getelementptr inbounds i8,i8*%b4,i64 32
%b6=bitcast i8*%b5 to i8**
%b7=load i8*,i8**%b6,align 8
%b8=icmp eq i8*%b7,null
br i1%b8,label%b9,label%cb
b9:
%ca=load i8*,i8**@_SMLZN12BuiltinTypes6unitTyE,align 8
ret i8*%ca
cb:
%cc=bitcast i8*%b7 to i8**
%cd=load i8*,i8**%cc,align 8
ret i8*%cd
ce:
%cf=getelementptr inbounds i8,i8*%o,i64 8
%cg=bitcast i8*%cf to i8**
%ch=load i8*,i8**%cg,align 8
%ci=getelementptr inbounds i8,i8*%ch,i64 16
%cj=bitcast i8*%ci to i8**
%ck=load i8*,i8**%cj,align 8
ret i8*%ck
cl:
%cm=getelementptr inbounds i8,i8*%o,i64 8
%cn=bitcast i8*%cm to i8**
%co=load i8*,i8**%cn,align 8
%cp=getelementptr inbounds i8,i8*%co,i64 24
%cq=bitcast i8*%cp to i8**
%cr=load i8*,i8**%cq,align 8
ret i8*%cr
cs:
%ct=getelementptr inbounds i8,i8*%o,i64 8
%cu=bitcast i8*%ct to i8**
%cv=load i8*,i8**%cu,align 8
%cw=getelementptr inbounds i8,i8*%cv,i64 32
%cx=bitcast i8*%cw to i8**
%cy=load i8*,i8**%cx,align 8
ret i8*%cy
cz:
%cA=getelementptr inbounds i8,i8*%o,i64 8
%cB=bitcast i8*%cA to i8**
%cC=load i8*,i8**%cB,align 8
%cD=getelementptr inbounds i8,i8*%cC,i64 16
%cE=bitcast i8*%cD to i8**
%cF=load i8*,i8**%cE,align 8
ret i8*%cF
cG:
store i8*null,i8**%b,align 8
%cH=getelementptr inbounds i8,i8*%o,i64 8
%cI=bitcast i8*%cH to i8***
%cJ=load i8**,i8***%cI,align 8
%cK=load i8*,i8**%cJ,align 8
br label%g
cL:
%cM=getelementptr inbounds i8,i8*%o,i64 8
%cN=bitcast i8*%cM to i8**
%cO=load i8*,i8**%cN,align 8
%cP=getelementptr inbounds i8,i8*%cO,i64 64
%cQ=bitcast i8*%cP to i8**
%cR=load i8*,i8**%cQ,align 8
ret i8*%cR
cS:
%cT=getelementptr inbounds i8,i8*%o,i64 8
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
%cW=getelementptr inbounds i8,i8*%cV,i64 56
%cX=bitcast i8*%cW to i8**
%cY=load i8*,i8**%cX,align 8
ret i8*%cY
cZ:
%c0=getelementptr inbounds i8,i8*%o,i64 8
%c1=bitcast i8*%c0 to i8***
%c2=load i8**,i8***%c1,align 8
%c3=load i8*,i8**%c2,align 8
store i8*%c3,i8**%b,align 8
%c4=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(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
%da=call fastcc i8*%c7(i8*inreg%c9,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*))
%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=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dh=call fastcc i8*%dd(i8*inreg%df,i8*inreg%dg)
store i8*%dh,i8**%b,align 8
%di=call i8*@sml_alloc(i32 inreg 20)#0
%dj=bitcast i8*%di to i32*
%dk=getelementptr inbounds i8,i8*%di,i64 -4
%dl=bitcast i8*%dk to i32*
store i32 1342177296,i32*%dl,align 4
%dm=getelementptr inbounds i8,i8*%di,i64 4
%dn=bitcast i8*%dm to i32*
store i32 0,i32*%dn,align 1
store i32 8,i32*%dj,align 4
%do=load i8*,i8**%b,align 8
%dp=getelementptr inbounds i8,i8*%di,i64 8
%dq=bitcast i8*%dp to i8**
store i8*%do,i8**%dq,align 8
%dr=getelementptr inbounds i8,i8*%di,i64 16
%ds=bitcast i8*%dr to i32*
store i32 2,i32*%ds,align 4
ret i8*%di
dt:
%du=getelementptr inbounds i8,i8*%o,i64 8
%dv=bitcast i8*%du to i8**
%dw=load i8*,i8**%dv,align 8
%dx=getelementptr inbounds i8,i8*%dw,i64 24
%dy=bitcast i8*%dx to i8**
%dz=load i8*,i8**%dy,align 8
store i8*%dz,i8**%b,align 8
%dA=getelementptr inbounds i8,i8*%dw,i64 40
%dB=bitcast i8*%dA to i8**
%dC=load i8*,i8**%dB,align 8
%dD=getelementptr inbounds i8,i8*%dC,i64 8
%dE=bitcast i8*%dD to i8**
%dF=load i8*,i8**%dE,align 8
store i8*%dF,i8**%c,align 8
%dG=call i8*@sml_alloc(i32 inreg 20)#0
%dH=getelementptr inbounds i8,i8*%dG,i64 -4
%dI=bitcast i8*%dH to i32*
store i32 1342177296,i32*%dI,align 4
%dJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dK=bitcast i8*%dG to i8**
store i8*%dJ,i8**%dK,align 8
%dL=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dM=getelementptr inbounds i8,i8*%dG,i64 8
%dN=bitcast i8*%dM to i8**
store i8*%dL,i8**%dN,align 8
%dO=getelementptr inbounds i8,i8*%dG,i64 16
%dP=bitcast i8*%dO to i32*
store i32 3,i32*%dP,align 4
%dQ=call fastcc i8*@_SMLFN11TypesBasics11tpappPrimTyE(i8*inreg%dG)
%dR=getelementptr inbounds i8,i8*%dQ,i64 8
%dS=bitcast i8*%dR to i8**
%dT=load i8*,i8**%dS,align 8
ret i8*%dT
dU:
%dV=getelementptr inbounds i8,i8*%o,i64 8
%dW=bitcast i8*%dV to i8**
%dX=load i8*,i8**%dW,align 8
%dY=getelementptr inbounds i8,i8*%dX,i64 40
%dZ=bitcast i8*%dY to i8**
%d0=load i8*,i8**%dZ,align 8
ret i8*%d0
d1:
%d2=getelementptr inbounds i8,i8*%o,i64 8
%d3=bitcast i8*%d2 to i8**
%d4=load i8*,i8**%d3,align 8
%d5=getelementptr inbounds i8,i8*%d4,i64 16
%d6=bitcast i8*%d5 to i8**
%d7=load i8*,i8**%d6,align 8
store i8*%d7,i8**%b,align 8
%d8=getelementptr inbounds i8,i8*%d4,i64 24
%d9=bitcast i8*%d8 to i8**
%ea=load i8*,i8**%d9,align 8
store i8*%ea,i8**%c,align 8
%eb=icmp eq i8*%ea,null
br i1%eb,label%ec,label%eK
ec:
store i8*null,i8**%c,align 8
store i8*null,i8**%b,align 8
%ed=call fastcc i8*@_SMLFN11TypesBasics8revealTyE(i8*inreg%d7)
%ee=icmp eq i8*%ed,null
br i1%ee,label%ej,label%ef
ef:
%eg=bitcast i8*%ed to i32*
%eh=load i32,i32*%eg,align 4
%ei=icmp eq i32%eh,6
br i1%ei,label%eD,label%ej
ej:
%ek=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%ek,i8**%b,align 8
%el=call i8*@sml_alloc(i32 inreg 28)#0
%em=getelementptr inbounds i8,i8*%el,i64 -4
%en=bitcast i8*%em to i32*
store i32 1342177304,i32*%en,align 4
store i8*%el,i8**%c,align 8
%eo=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ep=bitcast i8*%el to i8**
store i8*%eo,i8**%ep,align 8
%eq=getelementptr inbounds i8,i8*%el,i64 8
%er=bitcast i8*%eq to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@n,i64 0,i32 2,i64 0),i8**%er,align 8
%es=getelementptr inbounds i8,i8*%el,i64 16
%et=bitcast i8*%es to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@o,i64 0,i32 2,i64 0),i8**%et,align 8
%eu=getelementptr inbounds i8,i8*%el,i64 24
%ev=bitcast i8*%eu to i32*
store i32 7,i32*%ev,align 4
%ew=call i8*@sml_alloc(i32 inreg 60)#0
%ex=getelementptr inbounds i8,i8*%ew,i64 -4
%ey=bitcast i8*%ex to i32*
store i32 1342177336,i32*%ey,align 4
%ez=getelementptr inbounds i8,i8*%ew,i64 56
%eA=bitcast i8*%ez to i32*
store i32 1,i32*%eA,align 4
%eB=load i8*,i8**%c,align 8
%eC=bitcast i8*%ew to i8**
store i8*%eB,i8**%eC,align 8
call void@sml_raise(i8*inreg%ew)#1
unreachable
eD:
%eE=getelementptr inbounds i8,i8*%ed,i64 8
%eF=bitcast i8*%eE to i8**
%eG=load i8*,i8**%eF,align 8
%eH=getelementptr inbounds i8,i8*%eG,i64 8
%eI=bitcast i8*%eH to i8**
%eJ=load i8*,i8**%eI,align 8
ret i8*%eJ
eK:
%eL=call i8*@sml_alloc(i32 inreg 20)#0
%eM=getelementptr inbounds i8,i8*%eL,i64 -4
%eN=bitcast i8*%eM to i32*
store i32 1342177296,i32*%eN,align 4
%eO=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eP=bitcast i8*%eL to i8**
store i8*%eO,i8**%eP,align 8
%eQ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eR=getelementptr inbounds i8,i8*%eL,i64 8
%eS=bitcast i8*%eR to i8**
store i8*%eQ,i8**%eS,align 8
%eT=getelementptr inbounds i8,i8*%eL,i64 16
%eU=bitcast i8*%eT to i32*
store i32 3,i32*%eU,align 4
%eV=call fastcc i8*@_SMLFN11TypesBasics7tpappTyE(i8*inreg%eL)
%eW=call fastcc i8*@_SMLFN11TypesBasics8revealTyE(i8*inreg%eV)
%eX=icmp eq i8*%eW,null
br i1%eX,label%e2,label%eY
eY:
%eZ=bitcast i8*%eW to i32*
%e0=load i32,i32*%eZ,align 4
%e1=icmp eq i32%e0,6
br i1%e1,label%fm,label%e2
e2:
%e3=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%e3,i8**%b,align 8
%e4=call i8*@sml_alloc(i32 inreg 28)#0
%e5=getelementptr inbounds i8,i8*%e4,i64 -4
%e6=bitcast i8*%e5 to i32*
store i32 1342177304,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*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@m,i64 0,i32 2,i64 0),i8**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e4,i64 16
%fc=bitcast i8*%fb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@o,i64 0,i32 2,i64 0),i8**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e4,i64 24
%fe=bitcast i8*%fd to i32*
store i32 7,i32*%fe,align 4
%ff=call i8*@sml_alloc(i32 inreg 60)#0
%fg=getelementptr inbounds i8,i8*%ff,i64 -4
%fh=bitcast i8*%fg to i32*
store i32 1342177336,i32*%fh,align 4
%fi=getelementptr inbounds i8,i8*%ff,i64 56
%fj=bitcast i8*%fi to i32*
store i32 1,i32*%fj,align 4
%fk=load i8*,i8**%c,align 8
%fl=bitcast i8*%ff to i8**
store i8*%fk,i8**%fl,align 8
call void@sml_raise(i8*inreg%ff)#1
unreachable
fm:
%fn=getelementptr inbounds i8,i8*%eW,i64 8
%fo=bitcast i8*%fn to i8**
%fp=load i8*,i8**%fo,align 8
%fq=getelementptr inbounds i8,i8*%fp,i64 8
%fr=bitcast i8*%fq to i8**
%fs=load i8*,i8**%fr,align 8
ret i8*%fs
ft:
%fu=getelementptr inbounds i8,i8*%o,i64 8
%fv=bitcast i8*%fu to i8**
%fw=load i8*,i8**%fv,align 8
%fx=bitcast i8*%fw to i8**
%fy=load i8*,i8**%fx,align 8
store i8*%fy,i8**%b,align 8
%fz=getelementptr inbounds i8,i8*%fw,i64 16
%fA=bitcast i8*%fz to i8**
%fB=load i8*,i8**%fA,align 8
store i8*%fB,i8**%c,align 8
%fC=getelementptr inbounds i8,i8*%fw,i64 24
%fD=bitcast i8*%fC to i8**
%fE=load i8*,i8**%fD,align 8
store i8*%fE,i8**%d,align 8
%fF=getelementptr inbounds i8,i8*%fw,i64 32
%fG=bitcast i8*%fF to i8**
%fH=load i8*,i8**%fG,align 8
store i8*%fH,i8**%e,align 8
%fI=call fastcc i8*@_SMLFN14BoundTypeVarID3Map7isEmptyE(i32 inreg 1,i32 inreg 8)
%fJ=getelementptr inbounds i8,i8*%fI,i64 16
%fK=bitcast i8*%fJ to i8*(i8*,i8*)**
%fL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fK,align 8
%fM=bitcast i8*%fI to i8**
%fN=load i8*,i8**%fM,align 8
%fO=load i8*,i8**%d,align 8
%fP=call fastcc i8*%fL(i8*inreg%fN,i8*inreg%fO)
%fQ=bitcast i8*%fP to i32*
%fR=load i32,i32*%fQ,align 4
%fS=icmp eq i32%fR,0
br i1%fS,label%gF,label%fT
fT:
%fU=call fastcc i8*@_SMLFN4List4nullE(i32 inreg 1,i32 inreg 8)
%fV=getelementptr inbounds i8,i8*%fU,i64 16
%fW=bitcast i8*%fV to i8*(i8*,i8*)**
%fX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fW,align 8
%fY=bitcast i8*%fU to i8**
%fZ=load i8*,i8**%fY,align 8
%f0=load i8*,i8**%e,align 8
%f1=call fastcc i8*%fX(i8*inreg%fZ,i8*inreg%f0)
%f2=bitcast i8*%f1 to i32*
%f3=load i32,i32*%f2,align 4
%f4=icmp eq i32%f3,0
br i1%f4,label%gF,label%f5
f5:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%f6=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%f7=getelementptr inbounds i8,i8*%f6,i64 16
%f8=bitcast i8*%f7 to i8*(i8*,i8*)**
%f9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%f8,align 8
%ga=bitcast i8*%f6 to i8**
%gb=load i8*,i8**%ga,align 8
%gc=call fastcc i8*%f9(i8*inreg%gb,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@l,i64 0,i32 2)to i8*))
%gd=getelementptr inbounds i8,i8*%gc,i64 16
%ge=bitcast i8*%gd to i8*(i8*,i8*)**
%gf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ge,align 8
%gg=bitcast i8*%gc to i8**
%gh=load i8*,i8**%gg,align 8
%gi=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gj=call fastcc i8*%gf(i8*inreg%gh,i8*inreg%gi)
store i8*%gj,i8**%b,align 8
%gk=call i8*@sml_alloc(i32 inreg 20)#0
%gl=getelementptr inbounds i8,i8*%gk,i64 -4
%gm=bitcast i8*%gl to i32*
store i32 1342177296,i32*%gm,align 4
store i8*%gk,i8**%d,align 8
%gn=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%go=bitcast i8*%gk to i8**
store i8*%gn,i8**%go,align 8
%gp=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%gq=getelementptr inbounds i8,i8*%gk,i64 8
%gr=bitcast i8*%gq to i8**
store i8*%gp,i8**%gr,align 8
%gs=getelementptr inbounds i8,i8*%gk,i64 16
%gt=bitcast i8*%gs to i32*
store i32 3,i32*%gt,align 4
%gu=call i8*@sml_alloc(i32 inreg 20)#0
%gv=bitcast i8*%gu to i32*
%gw=getelementptr inbounds i8,i8*%gu,i64 -4
%gx=bitcast i8*%gw to i32*
store i32 1342177296,i32*%gx,align 4
%gy=getelementptr inbounds i8,i8*%gu,i64 4
%gz=bitcast i8*%gy to i32*
store i32 0,i32*%gz,align 1
store i32 6,i32*%gv,align 4
%gA=load i8*,i8**%d,align 8
%gB=getelementptr inbounds i8,i8*%gu,i64 8
%gC=bitcast i8*%gB to i8**
store i8*%gA,i8**%gC,align 8
%gD=getelementptr inbounds i8,i8*%gu,i64 16
%gE=bitcast i8*%gD to i32*
store i32 2,i32*%gE,align 4
ret i8*%gu
gF:
%gG=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gH=getelementptr inbounds i8,i8*%gG,i64 16
%gI=bitcast i8*%gH to i8*(i8*,i8*)**
%gJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gI,align 8
%gK=bitcast i8*%gG to i8**
%gL=load i8*,i8**%gK,align 8
%gM=call fastcc i8*%gJ(i8*inreg%gL,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*))
%gN=getelementptr inbounds i8,i8*%gM,i64 16
%gO=bitcast i8*%gN to i8*(i8*,i8*)**
%gP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gO,align 8
%gQ=bitcast i8*%gM to i8**
%gR=load i8*,i8**%gQ,align 8
%gS=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gT=call fastcc i8*%gP(i8*inreg%gR,i8*inreg%gS)
store i8*%gT,i8**%b,align 8
%gU=call i8*@sml_alloc(i32 inreg 20)#0
%gV=getelementptr inbounds i8,i8*%gU,i64 -4
%gW=bitcast i8*%gV to i32*
store i32 1342177296,i32*%gW,align 4
store i8*%gU,i8**%f,align 8
%gX=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gY=bitcast i8*%gU to i8**
store i8*%gX,i8**%gY,align 8
%gZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%g0=getelementptr inbounds i8,i8*%gU,i64 8
%g1=bitcast i8*%g0 to i8**
store i8*%gZ,i8**%g1,align 8
%g2=getelementptr inbounds i8,i8*%gU,i64 16
%g3=bitcast i8*%g2 to i32*
store i32 3,i32*%g3,align 4
%g4=call i8*@sml_alloc(i32 inreg 20)#0
%g5=getelementptr inbounds i8,i8*%g4,i64 -4
%g6=bitcast i8*%g5 to i32*
store i32 1342177296,i32*%g6,align 4
store i8*%g4,i8**%c,align 8
%g7=getelementptr inbounds i8,i8*%g4,i64 4
%g8=bitcast i8*%g7 to i32*
store i32 0,i32*%g8,align 1
%g9=bitcast i8*%g4 to i32*
store i32 6,i32*%g9,align 4
%ha=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%hb=getelementptr inbounds i8,i8*%g4,i64 8
%hc=bitcast i8*%hb to i8**
store i8*%ha,i8**%hc,align 8
%hd=getelementptr inbounds i8,i8*%g4,i64 16
%he=bitcast i8*%hd to i32*
store i32 2,i32*%he,align 4
%hf=call i8*@sml_alloc(i32 inreg 28)#0
%hg=getelementptr inbounds i8,i8*%hf,i64 -4
%hh=bitcast i8*%hg to i32*
store i32 1342177304,i32*%hh,align 4
store i8*%hf,i8**%b,align 8
%hi=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%hj=bitcast i8*%hf to i8**
store i8*%hi,i8**%hj,align 8
%hk=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%hl=getelementptr inbounds i8,i8*%hf,i64 8
%hm=bitcast i8*%hl to i8**
store i8*%hk,i8**%hm,align 8
%hn=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ho=getelementptr inbounds i8,i8*%hf,i64 16
%hp=bitcast i8*%ho to i8**
store i8*%hn,i8**%hp,align 8
%hq=getelementptr inbounds i8,i8*%hf,i64 24
%hr=bitcast i8*%hq to i32*
store i32 7,i32*%hr,align 4
%hs=call i8*@sml_alloc(i32 inreg 20)#0
%ht=bitcast i8*%hs to i32*
%hu=getelementptr inbounds i8,i8*%hs,i64 -4
%hv=bitcast i8*%hu to i32*
store i32 1342177296,i32*%hv,align 4
%hw=getelementptr inbounds i8,i8*%hs,i64 4
%hx=bitcast i8*%hw to i32*
store i32 0,i32*%hx,align 1
store i32 7,i32*%ht,align 4
%hy=load i8*,i8**%b,align 8
%hz=getelementptr inbounds i8,i8*%hs,i64 8
%hA=bitcast i8*%hz to i8**
store i8*%hy,i8**%hA,align 8
%hB=getelementptr inbounds i8,i8*%hs,i64 16
%hC=bitcast i8*%hB to i32*
store i32 2,i32*%hC,align 4
ret i8*%hs
hD:
%hE=getelementptr inbounds i8,i8*%o,i64 8
%hF=bitcast i8*%hE to i8***
%hG=load i8**,i8***%hF,align 8
%hH=load i8*,i8**%hG,align 8
%hI=getelementptr inbounds i8,i8*%hH,i64 8
%hJ=bitcast i8*%hI to i8**
%hK=load i8*,i8**%hJ,align 8
ret i8*%hK
hL:
%hM=getelementptr inbounds i8,i8*%o,i64 8
%hN=bitcast i8*%hM to i32***
%hO=load i32**,i32***%hN,align 8
%hP=load i32*,i32**%hO,align 8
%hQ=load i32,i32*%hP,align 4
switch i32%hQ,label%hR[
i32 1,label%ib
i32 0,label%h9
]
hR:
call void@sml_matchcomp_bug()
%hS=load i8*,i8**@_SMLZ5Match,align 8
store i8*%hS,i8**%b,align 8
%hT=call i8*@sml_alloc(i32 inreg 20)#0
%hU=getelementptr inbounds i8,i8*%hT,i64 -4
%hV=bitcast i8*%hU to i32*
store i32 1342177296,i32*%hV,align 4
store i8*%hT,i8**%c,align 8
%hW=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%hX=bitcast i8*%hT to i8**
store i8*%hW,i8**%hX,align 8
%hY=getelementptr inbounds i8,i8*%hT,i64 8
%hZ=bitcast i8*%hY to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@j,i64 0,i32 2,i64 0),i8**%hZ,align 8
%h0=getelementptr inbounds i8,i8*%hT,i64 16
%h1=bitcast i8*%h0 to i32*
store i32 3,i32*%h1,align 4
%h2=call i8*@sml_alloc(i32 inreg 60)#0
%h3=getelementptr inbounds i8,i8*%h2,i64 -4
%h4=bitcast i8*%h3 to i32*
store i32 1342177336,i32*%h4,align 4
%h5=getelementptr inbounds i8,i8*%h2,i64 56
%h6=bitcast i8*%h5 to i32*
store i32 1,i32*%h6,align 4
%h7=load i8*,i8**%c,align 8
%h8=bitcast i8*%h2 to i8**
store i8*%h7,i8**%h8,align 8
call void@sml_raise(i8*inreg%h2)#1
unreachable
h9:
%ia=load i8*,i8**@_SMLZN12BuiltinTypes8intInfTyE,align 8
ret i8*%ia
ib:
%ic=load i8*,i8**@_SMLZN12BuiltinTypes8stringTyE,align 8
ret i8*%ic
id:
%ie=getelementptr inbounds i8,i8*%o,i64 8
%if=bitcast i8*%ie to i8***
%ig=load i8**,i8***%if,align 8
%ih=load i8*,i8**%ig,align 8
%ii=bitcast i8*%ih to i32*
%ij=load i32,i32*%ii,align 4
switch i32%ij,label%ik[
i32 0,label%iJ
i32 1,label%iC
]
ik:
call void@sml_matchcomp_bug()
%il=load i8*,i8**@_SMLZ5Match,align 8
store i8*%il,i8**%b,align 8
%im=call i8*@sml_alloc(i32 inreg 20)#0
%in=getelementptr inbounds i8,i8*%im,i64 -4
%io=bitcast i8*%in to i32*
store i32 1342177296,i32*%io,align 4
store i8*%im,i8**%c,align 8
%ip=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%iq=bitcast i8*%im to i8**
store i8*%ip,i8**%iq,align 8
%ir=getelementptr inbounds i8,i8*%im,i64 8
%is=bitcast i8*%ir to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[71x i8]}>,<{[4x i8],i32,[71x i8]}>*@i,i64 0,i32 2,i64 0),i8**%is,align 8
%it=getelementptr inbounds i8,i8*%im,i64 16
%iu=bitcast i8*%it to i32*
store i32 3,i32*%iu,align 4
%iv=call i8*@sml_alloc(i32 inreg 60)#0
%iw=getelementptr inbounds i8,i8*%iv,i64 -4
%ix=bitcast i8*%iw to i32*
store i32 1342177336,i32*%ix,align 4
%iy=getelementptr inbounds i8,i8*%iv,i64 56
%iz=bitcast i8*%iy to i32*
store i32 1,i32*%iz,align 4
%iA=load i8*,i8**%c,align 8
%iB=bitcast i8*%iv to i8**
store i8*%iA,i8**%iB,align 8
call void@sml_raise(i8*inreg%iv)#1
unreachable
iC:
%iD=getelementptr inbounds i8,i8*%ih,i64 8
%iE=bitcast i8*%iD to i8**
%iF=load i8*,i8**%iE,align 8
%iG=getelementptr inbounds i8,i8*%iF,i64 16
%iH=bitcast i8*%iG to i8**
%iI=load i8*,i8**%iH,align 8
ret i8*%iI
iJ:
%iK=getelementptr inbounds i8,i8*%ih,i64 8
%iL=bitcast i8*%iK to i8**
%iM=load i8*,i8**%iL,align 8
%iN=tail call fastcc i8*@_SMLFN14RecordCalcType11typeOfConstE(i8*inreg%iM)
ret i8*%iN
}
define internal fastcc i8*@_SMLLLN14RecordCalcType14instantiateVarE_173(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%c,align 8
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=bitcast i8*%p to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
store i8*null,i8**%d,align 8
%y=load i8*,i8**%o,align 8
%z=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=call fastcc i8*%C(i8*inreg%E,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%H,i64 4
%M=bitcast i8*%L to i32*
store i32 0,i32*%M,align 1
store i32%u,i32*%I,align 4
%N=load i8*,i8**%e,align 8
%O=getelementptr inbounds i8,i8*%H,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%H,i64 16
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%H,i64 24
%U=bitcast i8*%T to i32*
store i32 6,i32*%U,align 4
ret i8*%H
}
define fastcc i8*@_SMLFN14RecordCalcType14instantiateVarE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType14instantiateVarE_173 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType14instantiateVarE_173 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLLN14RecordCalcType10substValueE_179(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*null,i8**%c,align 8
%n=bitcast i8*%l to i32*
%o=load i32,i32*%n,align 4
switch i32%o,label%p[
i32 0,label%a9
i32 1,label%H
]
p:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%q,i8**%c,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%d,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@x,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**%d,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
call void@sml_raise(i8*inreg%A)#1
unreachable
H:
%I=getelementptr inbounds i8,i8*%l,i64 8
%J=bitcast i8*%I to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%c,align 8
%L=call fastcc i8*@_SMLFN5VarID3Map4findE(i32 inreg 1,i32 inreg 8)
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%f,align 8
%R=load i8*,i8**%e,align 8
%S=getelementptr inbounds i8,i8*%R,i64 8
%T=bitcast i8*%S to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%d,align 8
%V=bitcast i8**%c to i32**
%W=load i32*,i32**%V,align 8
%X=load i32,i32*%W,align 4
%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=getelementptr inbounds i8,i8*%Y,i64 12
%ac=bitcast i8*%ab to i32*
store i32 0,i32*%ac,align 1
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=bitcast i8*%Y to i8**
store i8*%ad,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 8
%ag=bitcast i8*%af to i32*
store i32%X,i32*%ag,align 4
%ah=getelementptr inbounds i8,i8*%Y,i64 16
%ai=bitcast i8*%ah to i32*
store i32 1,i32*%ai,align 4
%aj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ak=call fastcc i8*%O(i8*inreg%aj,i8*inreg%Y)
%al=icmp eq i8*%ak,null
br i1%al,label%am,label%a6
am:
%an=load i8*,i8**%c,align 8
%ao=getelementptr inbounds i8,i8*%an,i64 16
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
store i8*%aq,i8**%d,align 8
%ar=bitcast i8*%an to i32*
%as=load i32,i32*%ar,align 4
%at=getelementptr inbounds i8,i8*%an,i64 8
%au=bitcast i8*%at to i8**
%av=load i8*,i8**%au,align 8
store i8*%av,i8**%c,align 8
%aw=bitcast i8**%e to i8***
%ax=load i8**,i8***%aw,align 8
store i8*null,i8**%e,align 8
%ay=load i8*,i8**%ax,align 8
%az=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%ay)
%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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aG=call fastcc i8*%aC(i8*inreg%aE,i8*inreg%aF)
store i8*%aG,i8**%d,align 8
%aH=call i8*@sml_alloc(i32 inreg 28)#0
%aI=getelementptr inbounds i8,i8*%aH,i64 -4
%aJ=bitcast i8*%aI to i32*
store i32 1342177304,i32*%aJ,align 4
store i8*%aH,i8**%e,align 8
%aK=getelementptr inbounds i8,i8*%aH,i64 4
%aL=bitcast i8*%aK to i32*
store i32 0,i32*%aL,align 1
%aM=bitcast i8*%aH to i32*
store i32%as,i32*%aM,align 4
%aN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aO=getelementptr inbounds i8,i8*%aH,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aR=getelementptr inbounds i8,i8*%aH,i64 16
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aH,i64 24
%aU=bitcast i8*%aT to i32*
store i32 6,i32*%aU,align 4
%aV=call i8*@sml_alloc(i32 inreg 20)#0
%aW=bitcast i8*%aV to i32*
%aX=getelementptr inbounds i8,i8*%aV,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177296,i32*%aY,align 4
%aZ=getelementptr inbounds i8,i8*%aV,i64 4
%a0=bitcast i8*%aZ to i32*
store i32 0,i32*%a0,align 1
store i32 1,i32*%aW,align 4
%a1=load i8*,i8**%e,align 8
%a2=getelementptr inbounds i8,i8*%aV,i64 8
%a3=bitcast i8*%a2 to i8**
store i8*%a1,i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aV,i64 16
%a5=bitcast i8*%a4 to i32*
store i32 2,i32*%a5,align 4
ret i8*%aV
a6:
%a7=bitcast i8*%ak to i8**
%a8=load i8*,i8**%a7,align 8
ret i8*%a8
a9:
%ba=getelementptr inbounds i8,i8*%l,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
%bd=bitcast i8*%bc to i32*
%be=load i32,i32*%bd,align 4
switch i32%be,label%bf[
i32 1,label%d8
i32 0,label%cS
i32 2,label%cd
i32 3,label%bx
]
bf:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%bg=load i8*,i8**@_SMLZ5Match,align 8
store i8*%bg,i8**%c,align 8
%bh=call i8*@sml_alloc(i32 inreg 20)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177296,i32*%bj,align 4
store i8*%bh,i8**%d,align 8
%bk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=getelementptr inbounds i8,i8*%bh,i64 8
%bn=bitcast i8*%bm to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@w,i64 0,i32 2,i64 0),i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bh,i64 16
%bp=bitcast i8*%bo to i32*
store i32 3,i32*%bp,align 4
%bq=call i8*@sml_alloc(i32 inreg 60)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177336,i32*%bs,align 4
%bt=getelementptr inbounds i8,i8*%bq,i64 56
%bu=bitcast i8*%bt to i32*
store i32 1,i32*%bu,align 4
%bv=load i8*,i8**%d,align 8
%bw=bitcast i8*%bq to i8**
store i8*%bv,i8**%bw,align 8
call void@sml_raise(i8*inreg%bq)#1
unreachable
bx:
%by=getelementptr inbounds i8,i8*%bc,i64 8
%bz=bitcast i8*%by to i8**
%bA=load i8*,i8**%bz,align 8
%bB=bitcast i8*%bA to i32*
%bC=load i32,i32*%bB,align 4
%bD=getelementptr inbounds i8,i8*%bA,i64 8
%bE=bitcast i8*%bD to i8**
%bF=load i8*,i8**%bE,align 8
store i8*%bF,i8**%c,align 8
%bG=bitcast i8**%e to i8***
%bH=load i8**,i8***%bG,align 8
store i8*null,i8**%e,align 8
%bI=load i8*,i8**%bH,align 8
%bJ=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%bI)
%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**%c,align 8
store i8*null,i8**%c,align 8
%bQ=call fastcc i8*%bM(i8*inreg%bO,i8*inreg%bP)
store i8*%bQ,i8**%c,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**%d,align 8
%bU=getelementptr inbounds i8,i8*%bR,i64 4
%bV=bitcast i8*%bU to i32*
store i32 0,i32*%bV,align 1
%bW=bitcast i8*%bR to i32*
store i32%bC,i32*%bW,align 4
%bX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bY=getelementptr inbounds i8,i8*%bR,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bR,i64 16
%b1=bitcast i8*%b0 to i32*
store i32 2,i32*%b1,align 4
%b2=call i8*@sml_alloc(i32 inreg 20)#0
%b3=bitcast i8*%b2 to i32*
%b4=getelementptr inbounds i8,i8*%b2,i64 -4
%b5=bitcast i8*%b4 to i32*
store i32 1342177296,i32*%b5,align 4
%b6=getelementptr inbounds i8,i8*%b2,i64 4
%b7=bitcast i8*%b6 to i32*
store i32 0,i32*%b7,align 1
store i32 3,i32*%b3,align 4
%b8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b9=getelementptr inbounds i8,i8*%b2,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b2,i64 16
%cc=bitcast i8*%cb to i32*
store i32 2,i32*%cc,align 4
store i8*%b2,i8**%c,align 8
br label%d9
cd:
%ce=getelementptr inbounds i8,i8*%bc,i64 8
%cf=bitcast i8*%ce to i8**
%cg=load i8*,i8**%cf,align 8
%ch=bitcast i8*%cg to i8**
%ci=load i8*,i8**%ch,align 8
store i8*%ci,i8**%c,align 8
%cj=getelementptr inbounds i8,i8*%cg,i64 8
%ck=bitcast i8*%cj to i8**
%cl=load i8*,i8**%ck,align 8
store i8*%cl,i8**%d,align 8
%cm=bitcast i8**%e to i8***
%cn=load i8**,i8***%cm,align 8
store i8*null,i8**%e,align 8
%co=load i8*,i8**%cn,align 8
%cp=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%co)
%cq=getelementptr inbounds i8,i8*%cp,i64 16
%cr=bitcast i8*%cq to i8*(i8*,i8*)**
%cs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cr,align 8
%ct=bitcast i8*%cp to i8**
%cu=load i8*,i8**%ct,align 8
%cv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cw=call fastcc i8*%cs(i8*inreg%cu,i8*inreg%cv)
store i8*%cw,i8**%d,align 8
%cx=call i8*@sml_alloc(i32 inreg 20)#0
%cy=getelementptr inbounds i8,i8*%cx,i64 -4
%cz=bitcast i8*%cy to i32*
store i32 1342177296,i32*%cz,align 4
store i8*%cx,i8**%e,align 8
%cA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cB=bitcast i8*%cx to i8**
store i8*%cA,i8**%cB,align 8
%cC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%cD=getelementptr inbounds i8,i8*%cx,i64 8
%cE=bitcast i8*%cD to i8**
store i8*%cC,i8**%cE,align 8
%cF=getelementptr inbounds i8,i8*%cx,i64 16
%cG=bitcast i8*%cF to i32*
store i32 3,i32*%cG,align 4
%cH=call i8*@sml_alloc(i32 inreg 20)#0
%cI=bitcast i8*%cH to i32*
%cJ=getelementptr inbounds i8,i8*%cH,i64 -4
%cK=bitcast i8*%cJ to i32*
store i32 1342177296,i32*%cK,align 4
%cL=getelementptr inbounds i8,i8*%cH,i64 4
%cM=bitcast i8*%cL to i32*
store i32 0,i32*%cM,align 1
store i32 2,i32*%cI,align 4
%cN=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%cO=getelementptr inbounds i8,i8*%cH,i64 8
%cP=bitcast i8*%cO to i8**
store i8*%cN,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cH,i64 16
%cR=bitcast i8*%cQ to i32*
store i32 2,i32*%cR,align 4
store i8*%cH,i8**%c,align 8
br label%d9
cS:
%cT=getelementptr inbounds i8,i8*%bc,i64 8
%cU=bitcast i8*%cT to i8**
%cV=load i8*,i8**%cU,align 8
%cW=bitcast i8*%cV to i32*
%cX=load i32,i32*%cW,align 4
switch i32%cX,label%cY[
i32 4,label%dX
i32 3,label%dW
i32 5,label%dV
i32 2,label%dU
i32 1,label%dT
i32 0,label%dg
]
cY:
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%cZ=load i8*,i8**@_SMLZ5Match,align 8
store i8*%cZ,i8**%c,align 8
%c0=call i8*@sml_alloc(i32 inreg 20)#0
%c1=getelementptr inbounds i8,i8*%c0,i64 -4
%c2=bitcast i8*%c1 to i32*
store i32 1342177296,i32*%c2,align 4
store i8*%c0,i8**%d,align 8
%c3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c4=bitcast i8*%c0 to i8**
store i8*%c3,i8**%c4,align 8
%c5=getelementptr inbounds i8,i8*%c0,i64 8
%c6=bitcast i8*%c5 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@v,i64 0,i32 2,i64 0),i8**%c6,align 8
%c7=getelementptr inbounds i8,i8*%c0,i64 16
%c8=bitcast i8*%c7 to i32*
store i32 3,i32*%c8,align 4
%c9=call i8*@sml_alloc(i32 inreg 60)#0
%da=getelementptr inbounds i8,i8*%c9,i64 -4
%db=bitcast i8*%da to i32*
store i32 1342177336,i32*%db,align 4
%dc=getelementptr inbounds i8,i8*%c9,i64 56
%dd=bitcast i8*%dc to i32*
store i32 1,i32*%dd,align 4
%de=load i8*,i8**%d,align 8
%df=bitcast i8*%c9 to i8**
store i8*%de,i8**%df,align 8
call void@sml_raise(i8*inreg%c9)#1
unreachable
dg:
%dh=getelementptr inbounds i8,i8*%cV,i64 8
%di=bitcast i8*%dh to i8**
%dj=load i8*,i8**%di,align 8
%dk=bitcast i8*%dj to i8**
%dl=load i8*,i8**%dk,align 8
store i8*%dl,i8**%c,align 8
%dm=getelementptr inbounds i8,i8*%dj,i64 8
%dn=bitcast i8*%dm to i8**
%do=load i8*,i8**%dn,align 8
store i8*%do,i8**%d,align 8
%dp=bitcast i8**%e to i8***
%dq=load i8**,i8***%dp,align 8
store i8*null,i8**%e,align 8
%dr=load i8*,i8**%dq,align 8
%ds=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%dr)
%dt=getelementptr inbounds i8,i8*%ds,i64 16
%du=bitcast i8*%dt to i8*(i8*,i8*)**
%dv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%du,align 8
%dw=bitcast i8*%ds to i8**
%dx=load i8*,i8**%dw,align 8
%dy=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dz=call fastcc i8*%dv(i8*inreg%dx,i8*inreg%dy)
store i8*%dz,i8**%d,align 8
%dA=call i8*@sml_alloc(i32 inreg 20)#0
%dB=getelementptr inbounds i8,i8*%dA,i64 -4
%dC=bitcast i8*%dB to i32*
store i32 1342177296,i32*%dC,align 4
store i8*%dA,i8**%e,align 8
%dD=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dE=bitcast i8*%dA to i8**
store i8*%dD,i8**%dE,align 8
%dF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dG=getelementptr inbounds i8,i8*%dA,i64 8
%dH=bitcast i8*%dG to i8**
store i8*%dF,i8**%dH,align 8
%dI=getelementptr inbounds i8,i8*%dA,i64 16
%dJ=bitcast i8*%dI to i32*
store i32 3,i32*%dJ,align 4
%dK=call i8*@sml_alloc(i32 inreg 20)#0
%dL=getelementptr inbounds i8,i8*%dK,i64 -4
%dM=bitcast i8*%dL to i32*
store i32 1342177296,i32*%dM,align 4
%dN=bitcast i8*%dK to i64*
store i64 0,i64*%dN,align 4
%dO=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dP=getelementptr inbounds i8,i8*%dK,i64 8
%dQ=bitcast i8*%dP to i8**
store i8*%dO,i8**%dQ,align 8
%dR=getelementptr inbounds i8,i8*%dK,i64 16
%dS=bitcast i8*%dR to i32*
store i32 2,i32*%dS,align 4
store i8*%dK,i8**%c,align 8
br label%dY
dT:
store i8*null,i8**%e,align 8
store i8*%cV,i8**%c,align 8
br label%dY
dU:
store i8*null,i8**%e,align 8
store i8*%cV,i8**%c,align 8
br label%dY
dV:
store i8*null,i8**%e,align 8
store i8*%cV,i8**%c,align 8
br label%dY
dW:
store i8*null,i8**%e,align 8
store i8*%cV,i8**%c,align 8
br label%dY
dX:
store i8*null,i8**%e,align 8
store i8*%cV,i8**%c,align 8
br label%dY
dY:
%dZ=call i8*@sml_alloc(i32 inreg 20)#0
%d0=getelementptr inbounds i8,i8*%dZ,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 1342177296,i32*%d1,align 4
%d2=bitcast i8*%dZ to i64*
store i64 0,i64*%d2,align 4
%d3=load i8*,i8**%c,align 8
%d4=getelementptr inbounds i8,i8*%dZ,i64 8
%d5=bitcast i8*%d4 to i8**
store i8*%d3,i8**%d5,align 8
%d6=getelementptr inbounds i8,i8*%dZ,i64 16
%d7=bitcast i8*%d6 to i32*
store i32 2,i32*%d7,align 4
store i8*%dZ,i8**%c,align 8
br label%d9
d8:
store i8*null,i8**%e,align 8
store i8*%bc,i8**%c,align 8
br label%d9
d9:
%ea=call i8*@sml_alloc(i32 inreg 20)#0
%eb=getelementptr inbounds i8,i8*%ea,i64 -4
%ec=bitcast i8*%eb to i32*
store i32 1342177296,i32*%ec,align 4
%ed=bitcast i8*%ea to i64*
store i64 0,i64*%ed,align 4
%ee=load i8*,i8**%c,align 8
%ef=getelementptr inbounds i8,i8*%ea,i64 8
%eg=bitcast i8*%ef to i8**
store i8*%ee,i8**%eg,align 8
%eh=getelementptr inbounds i8,i8*%ea,i64 16
%ei=bitcast i8*%eh to i32*
store i32 2,i32*%ei,align 4
ret i8*%ea
}
define internal fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%b,align 8
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%c,align 8
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%p=getelementptr inbounds i8,i8*%j,i64 8
%q=bitcast i8*%p to i8**
store i8*%o,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%j,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call i8*@sml_alloc(i32 inreg 28)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177304,i32*%v,align 4
%w=load i8*,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType10substValueE_179 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType10substValueE_179 to void(...)*),void(...)**%B,align 8
%C=getelementptr inbounds i8,i8*%t,i64 24
%D=bitcast i8*%C to i32*
store i32 -2147483647,i32*%D,align 4
ret i8*%t
}
define internal fastcc i32@_SMLLL7tySubst_212(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%b to i32*
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i32**
%k=load i32*,i32**%j,align 8
br label%l
l:
%m=phi i32*[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i32,i32*%m,align 4
%o=call fastcc i8*@_SMLFN14BoundTypeVarID3Map8inDomainE(i32 inreg 1,i32 inreg 8)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%d,align 8
%u=bitcast i8**%c to i8***
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%c,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
%A=getelementptr inbounds i8,i8*%x,i64 12
%B=bitcast i8*%A to i32*
store i32 0,i32*%B,align 1
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%D=bitcast i8*%x to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 8
%F=bitcast i8*%E to i32*
store i32%n,i32*%F,align 4
%G=getelementptr inbounds i8,i8*%x,i64 16
%H=bitcast i8*%G to i32*
store i32 1,i32*%H,align 4
%I=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%J=call fastcc i8*%r(i8*inreg%I,i8*inreg%x)
%K=bitcast i8*%J to i32*
%L=load i32,i32*%K,align 4
%M=tail call fastcc i32@_SMLFN4Bool3notE(i32 inreg%L)
ret i32%M
}
define internal fastcc i8*@_SMLLL5subst_213(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32**
%m=load i32*,i32**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=load i32,i32*%m,align 4
%u=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 1,i32 inreg 8)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 12
%E=bitcast i8*%D to i32*
store i32 0,i32*%E,align 1
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 8
%I=bitcast i8*%H to i32*
store i32%t,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%A,i64 16
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=call fastcc i8*%x(i8*inreg%L,i8*inreg%A)
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=icmp eq i32%O,0
%Q=load i8*,i8**%b,align 8
br i1%P,label%az,label%R
R:
%S=bitcast i8*%Q to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%b,align 8
%U=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 1,i32 inreg 8)
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8*(i8*,i8*)**
%X=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%W,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%d,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%aa,i64 12
%ae=bitcast i8*%ad to i32*
store i32 0,i32*%ae,align 1
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=bitcast i8*%aa to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 8
%ai=bitcast i8*%ah to i32*
store i32%t,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%aa,i64 16
%ak=bitcast i8*%aj to i32*
store i32 1,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=call fastcc i8*%X(i8*inreg%al,i8*inreg%aa)
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%c,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
%as=load i8*,i8**%b,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%c,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ap,i64 16
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
ret i8*%ap
az:
ret i8*%Q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_215(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%c,align 8
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=bitcast i8*%p to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
store i8*null,i8**%d,align 8
%y=load i8*,i8**%o,align 8
%z=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=call fastcc i8*%C(i8*inreg%E,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%H,i64 4
%M=bitcast i8*%L to i32*
store i32 0,i32*%M,align 1
store i32%u,i32*%I,align 4
%N=load i8*,i8**%e,align 8
%O=getelementptr inbounds i8,i8*%H,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%H,i64 16
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%H,i64 24
%U=bitcast i8*%T to i32*
store i32 6,i32*%U,align 4
ret i8*%H
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_216(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i8*,i8**%c,align 8
%v=tail call fastcc i8*%r(i8*inreg%t,i8*inreg%u)
ret i8*%v
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_217(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_218(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%c,align 8
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%o,i64 8
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
store i8*null,i8**%d,align 8
%u=load i8*,i8**%n,align 8
%v=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%u,i8*inreg%q)
store i8*%v,i8**%d,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=load i8*,i8**%d,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=load i8*,i8**%c,align 8
%C=getelementptr inbounds i8,i8*%w,i64 8
%D=bitcast i8*%C to i8**
store i8*%B,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%w,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_219(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i8*,i8**%c,align 8
%v=tail call fastcc i8*%r(i8*inreg%t,i8*inreg%u)
ret i8*%v
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_220(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_221(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%j,label%m
j:
%k=bitcast i8*%a to i8**
%l=bitcast i8**%g to i8***
br label%q
m:
call void@sml_check(i32 inreg%h)
%n=load i8*,i8**%c,align 8
%o=bitcast i8**%g to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8***[%l,%j],[%o,%m]
%s=phi i8**[%k,%j],[%p,%m]
%t=phi i8*[%b,%j],[%n,%m]
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
%w=getelementptr inbounds i8,i8*%t,i64 8
%x=bitcast i8*%w to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%t,i64 16
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%d,align 8
%C=load i8*,i8**%s,align 8
%D=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%C,i8*inreg%v)
store i8*%D,i8**%e,align 8
%E=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%D)
store i8*%E,i8**%f,align 8
%F=load i8**,i8***%r,align 8
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%G)
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=call fastcc i8*%K(i8*inreg%M,i8*inreg%N)
store i8*%O,i8**%c,align 8
%P=load i8**,i8***%r,align 8
store i8*null,i8**%g,align 8
%Q=load i8*,i8**%P,align 8
%R=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%Q)
%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**%d,align 8
store i8*null,i8**%d,align 8
%Y=call fastcc i8*%U(i8*inreg%W,i8*inreg%X)
store i8*%Y,i8**%d,align 8
%Z=call i8*@sml_alloc(i32 inreg 36)#0
%aa=getelementptr inbounds i8,i8*%Z,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177312,i32*%ab,align 4
%ac=load i8*,i8**%e,align 8
%ad=bitcast i8*%Z to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%c,align 8
%af=getelementptr inbounds i8,i8*%Z,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=load i8*,i8**%d,align 8
%ai=getelementptr inbounds i8,i8*%Z,i64 16
%aj=bitcast i8*%ai to i8**
store i8*%ah,i8**%aj,align 8
%ak=load i8*,i8**%f,align 8
%al=getelementptr inbounds i8,i8*%Z,i64 24
%am=bitcast i8*%al to i8**
store i8*%ak,i8**%am,align 8
%an=getelementptr inbounds i8,i8*%Z,i64 32
%ao=bitcast i8*%an to i32*
store i32 15,i32*%ao,align 4
ret i8*%Z
}
define internal fastcc i8*@_SMLLL8recbinds_222(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%i,label%k
i:
%j=bitcast i8*%a to i8**
br label%o
k:
call void@sml_check(i32 inreg%g)
%l=load i8*,i8**%c,align 8
%m=bitcast i8**%d to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8**[%n,%k],[%j,%i]
%q=phi i8*[%l,%k],[%b,%i]
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
%t=getelementptr inbounds i8,i8*%q,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
store i8*null,i8**%d,align 8
%w=load i8*,i8**%p,align 8
%x=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%w,i8*inreg%s)
store i8*%x,i8**%d,align 8
%y=load i8*,i8**%c,align 8
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=getelementptr inbounds i8,i8*%y,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%c,align 8
%E=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%x)
store i8*%E,i8**%e,align 8
%F=call i8*@sml_alloc(i32 inreg 28)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177304,i32*%H,align 4
store i8*%F,i8**%f,align 8
%I=getelementptr inbounds i8,i8*%F,i64 4
%J=bitcast i8*%I to i32*
store i32 0,i32*%J,align 1
%K=bitcast i8*%F to i32*
store i32%A,i32*%K,align 4
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%F,i64 8
%N=bitcast i8*%M to i8**
store i8*%L,i8**%N,align 8
%O=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%P=getelementptr inbounds i8,i8*%F,i64 16
%Q=bitcast i8*%P to i8**
store i8*%O,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%F,i64 24
%S=bitcast i8*%R to i32*
store i32 6,i32*%S,align 4
%T=call i8*@sml_alloc(i32 inreg 20)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 1342177296,i32*%V,align 4
%W=load i8*,i8**%d,align 8
%X=bitcast i8*%T to i8**
store i8*%W,i8**%X,align 8
%Y=load i8*,i8**%f,align 8
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i8**
store i8*%Y,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%T,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
ret i8*%T
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_224(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_225(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%c,align 8
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=bitcast i8*%p to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
store i8*null,i8**%d,align 8
%y=load i8*,i8**%o,align 8
%z=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=call fastcc i8*%C(i8*inreg%E,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%H,i64 4
%M=bitcast i8*%L to i32*
store i32 0,i32*%M,align 1
store i32%u,i32*%I,align 4
%N=load i8*,i8**%e,align 8
%O=getelementptr inbounds i8,i8*%H,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%H,i64 16
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%H,i64 24
%U=bitcast i8*%T to i32*
store i32 6,i32*%U,align 4
ret i8*%H
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_226(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32**
%m=load i32*,i32**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=load i32,i32*%m,align 4
%u=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 1,i32 inreg 8)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 12
%E=bitcast i8*%D to i32*
store i32 0,i32*%E,align 1
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 8
%I=bitcast i8*%H to i32*
store i32%t,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%A,i64 16
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=call fastcc i8*%x(i8*inreg%L,i8*inreg%A)
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=icmp eq i32%O,0
%Q=load i8*,i8**%b,align 8
br i1%P,label%az,label%R
R:
%S=bitcast i8*%Q to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%b,align 8
%U=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 1,i32 inreg 8)
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8*(i8*,i8*)**
%X=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%W,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%d,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%aa,i64 12
%ae=bitcast i8*%ad to i32*
store i32 0,i32*%ae,align 1
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=bitcast i8*%aa to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 8
%ai=bitcast i8*%ah to i32*
store i32%t,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%aa,i64 16
%ak=bitcast i8*%aj to i32*
store i32 1,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=call fastcc i8*%X(i8*inreg%al,i8*inreg%aa)
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%c,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
%as=load i8*,i8**%b,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%c,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ap,i64 16
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
ret i8*%ap
az:
ret i8*%Q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_228(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%c,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%b,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=getelementptr inbounds i8,i8*%o,i64 16
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
%y=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%h,align 8
%E=load i8*,i8**%f,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%g,align 8
%I=call i8*@sml_alloc(i32 inreg 12)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177288,i32*%K,align 4
store i8*%I,i8**%i,align 8
%L=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
%P=call i8*@sml_alloc(i32 inreg 28)#0
%Q=getelementptr inbounds i8,i8*%P,i64 -4
%R=bitcast i8*%Q to i32*
store i32 1342177304,i32*%R,align 4
%S=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%T=bitcast i8*%P to i8**
store i8*%S,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%P,i64 8
%V=bitcast i8*%U to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_225 to void(...)*),void(...)**%V,align 8
%W=getelementptr inbounds i8,i8*%P,i64 16
%X=bitcast i8*%W to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_225 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%P,i64 24
%Z=bitcast i8*%Y to i32*
store i32 -2147483647,i32*%Z,align 4
%aa=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ab=call fastcc i8*%B(i8*inreg%aa,i8*inreg%P)
%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**%c,align 8
%ai=call fastcc i8*%ae(i8*inreg%ag,i8*inreg%ah)
store i8*%ai,i8**%g,align 8
%aj=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=call fastcc i8*%am(i8*inreg%ao,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@C,i64 0,i32 2)to i8*))
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
%av=bitcast i8**%f to i8***
%aw=load i8**,i8***%av,align 8
store i8*null,i8**%f,align 8
%ax=load i8*,i8**%aw,align 8
%ay=call fastcc i8*%as(i8*inreg%au,i8*inreg%ax)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
%aE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aF=call fastcc i8*%aB(i8*inreg%aD,i8*inreg%aE)
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%aF,i8*inreg%aG)
store i8*%aH,i8**%c,align 8
%aI=call i8*@sml_alloc(i32 inreg 28)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177304,i32*%aK,align 4
%aL=load i8*,i8**%g,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%c,align 8
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=load i8*,i8**%e,align 8
%aR=getelementptr inbounds i8,i8*%aI,i64 16
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aI,i64 24
%aU=bitcast i8*%aT to i32*
store i32 7,i32*%aU,align 4
ret i8*%aI
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_229(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_230(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
store i8*null,i8**%d,align 8
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i8*,i8**%c,align 8
%v=tail call fastcc i8*%r(i8*inreg%t,i8*inreg%u)
ret i8*%v
}
define internal fastcc i8*@_SMLLL7bodyExp_231(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i32**
%m=load i32*,i32**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=getelementptr inbounds i8,i8*%p,i64 8
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=load i32,i32*%m,align 4
%u=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 1,i32 inreg 8)
%v=getelementptr inbounds i8,i8*%u,i64 16
%w=bitcast i8*%v to i8*(i8*,i8*)**
%x=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w,align 8
%y=bitcast i8*%u to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%d,align 8
%A=call i8*@sml_alloc(i32 inreg 20)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177296,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 12
%E=bitcast i8*%D to i32*
store i32 0,i32*%E,align 1
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%A,i64 8
%I=bitcast i8*%H to i32*
store i32%t,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%A,i64 16
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%M=call fastcc i8*%x(i8*inreg%L,i8*inreg%A)
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=icmp eq i32%O,0
%Q=load i8*,i8**%b,align 8
br i1%P,label%az,label%R
R:
%S=bitcast i8*%Q to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%b,align 8
%U=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 1,i32 inreg 8)
%V=getelementptr inbounds i8,i8*%U,i64 16
%W=bitcast i8*%V to i8*(i8*,i8*)**
%X=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%W,align 8
%Y=bitcast i8*%U to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%d,align 8
%aa=call i8*@sml_alloc(i32 inreg 20)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 1342177296,i32*%ac,align 4
%ad=getelementptr inbounds i8,i8*%aa,i64 12
%ae=bitcast i8*%ad to i32*
store i32 0,i32*%ae,align 1
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=bitcast i8*%aa to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%aa,i64 8
%ai=bitcast i8*%ah to i32*
store i32%t,i32*%ai,align 4
%aj=getelementptr inbounds i8,i8*%aa,i64 16
%ak=bitcast i8*%aj to i32*
store i32 1,i32*%ak,align 4
%al=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%am=call fastcc i8*%X(i8*inreg%al,i8*inreg%aa)
%an=bitcast i8*%am to i8**
%ao=load i8*,i8**%an,align 8
store i8*%ao,i8**%c,align 8
%ap=call i8*@sml_alloc(i32 inreg 20)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177296,i32*%ar,align 4
%as=load i8*,i8**%b,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=load i8*,i8**%c,align 8
%av=getelementptr inbounds i8,i8*%ap,i64 8
%aw=bitcast i8*%av to i8**
store i8*%au,i8**%aw,align 8
%ax=getelementptr inbounds i8,i8*%ap,i64 16
%ay=bitcast i8*%ax to i32*
store i32 3,i32*%ay,align 4
ret i8*%ap
az:
ret i8*%Q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_233(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%c,align 8
%l=bitcast i8**%d to i8***
%m=load i8**,i8***%l,align 8
br label%n
n:
%o=phi i8**[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8**
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%c,align 8
%t=bitcast i8*%p to i32*
%u=load i32,i32*%t,align 4
%v=getelementptr inbounds i8,i8*%p,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%e,align 8
store i8*null,i8**%d,align 8
%y=load i8*,i8**%o,align 8
%z=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=call fastcc i8*%C(i8*inreg%E,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 28)#0
%I=bitcast i8*%H to i32*
%J=getelementptr inbounds i8,i8*%H,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%H,i64 4
%M=bitcast i8*%L to i32*
store i32 0,i32*%M,align 1
store i32%u,i32*%I,align 4
%N=load i8*,i8**%e,align 8
%O=getelementptr inbounds i8,i8*%H,i64 8
%P=bitcast i8*%O to i8**
store i8*%N,i8**%P,align 8
%Q=load i8*,i8**%c,align 8
%R=getelementptr inbounds i8,i8*%H,i64 16
%S=bitcast i8*%R to i8**
store i8*%Q,i8**%S,align 8
%T=getelementptr inbounds i8,i8*%H,i64 24
%U=bitcast i8*%T to i32*
store i32 6,i32*%U,align 4
ret i8*%H
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_234(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8***
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=load i8*,i8**%c,align 8
%l=bitcast i8**%e to i8****
%m=load i8***,i8****%l,align 8
br label%n
n:
%o=phi i8***[%m,%j],[%i,%h]
%p=phi i8*[%k,%j],[%b,%h]
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%c,align 8
%s=getelementptr inbounds i8,i8*%p,i64 8
%t=bitcast i8*%s to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%d,align 8
%v=load i8**,i8***%o,align 8
%w=load i8*,i8**%v,align 8
%x=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%w)
%y=getelementptr inbounds i8,i8*%x,i64 16
%z=bitcast i8*%y to i8*(i8*,i8*)**
%A=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%z,align 8
%B=bitcast i8*%x to i8**
%C=load i8*,i8**%B,align 8
%D=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%E=call fastcc i8*%A(i8*inreg%C,i8*inreg%D)
store i8*%E,i8**%d,align 8
%F=bitcast i8**%e to i8***
%G=load i8**,i8***%F,align 8
store i8*null,i8**%e,align 8
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
store i8*%P,i8**%c,align 8
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
%T=load i8*,i8**%c,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=load i8*,i8**%d,align 8
%W=getelementptr inbounds i8,i8*%Q,i64 8
%X=bitcast i8*%W to i8**
store i8*%V,i8**%X,align 8
%Y=getelementptr inbounds i8,i8*%Q,i64 16
%Z=bitcast i8*%Y to i32*
store i32 3,i32*%Z,align 4
ret i8*%Q
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%a,i8*inreg%b)unnamed_addr#2 gc"smlsharp"{
s:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%m=load atomic i32,i32*@sml_check_flag unordered,align 4
%n=icmp eq i32%m,0
br i1%n,label%q,label%o
o:
call void@sml_check(i32 inreg%m)
%p=load i8*,i8**%d,align 8
br label%q
q:
%r=phi i8*[%p,%o],[%b,%s]
store i8*null,i8**%d,align 8
%t=bitcast i8*%r to i32*
%u=load i32,i32*%t,align 4
switch i32%u,label%v[
i32 18,label%DD
i32 15,label%DC
i32 4,label%DC
i32 5,label%zX
i32 0,label%x6
i32 16,label%wE
i32 11,label%t7
i32 13,label%s6
i32 14,label%rv
i32 10,label%pX
i32 9,label%lY
i32 12,label%lb
i32 7,label%iJ
i32 17,label%hl
i32 3,label%fU
i32 6,label%dZ
i32 1,label%b2
i32 2,label%a4
i32 8,label%N
]
v:
call void@sml_matchcomp_bug()
%w=load i8*,i8**@_SMLZ5Match,align 8
store i8*%w,i8**%c,align 8
%x=call i8*@sml_alloc(i32 inreg 20)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177296,i32*%z,align 4
store i8*%x,i8**%d,align 8
%A=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=getelementptr inbounds i8,i8*%x,i64 8
%D=bitcast i8*%C to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[72x i8]}>,<{[4x i8],i32,[72x i8]}>*@E,i64 0,i32 2,i64 0),i8**%D,align 8
%E=getelementptr inbounds i8,i8*%x,i64 16
%F=bitcast i8*%E to i32*
store i32 3,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 60)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177336,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%G,i64 56
%K=bitcast i8*%J to i32*
store i32 1,i32*%K,align 4
%L=load i8*,i8**%d,align 8
%M=bitcast i8*%G to i8**
store i8*%L,i8**%M,align 8
call void@sml_raise(i8*inreg%G)#1
unreachable
N:
%O=getelementptr inbounds i8,i8*%r,i64 8
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=getelementptr inbounds i8,i8*%Q,i64 8
%U=bitcast i8*%T to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%e,align 8
%W=getelementptr inbounds i8,i8*%Q,i64 16
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%f,align 8
%Z=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
store i8*%ae,i8**%g,align 8
%af=call i8*@sml_alloc(i32 inreg 12)#0
%ag=getelementptr inbounds i8,i8*%af,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 1342177288,i32*%ah,align 4
store i8*%af,i8**%h,align 8
%ai=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aj=bitcast i8*%af to i8**
store i8*%ai,i8**%aj,align 8
%ak=getelementptr inbounds i8,i8*%af,i64 8
%al=bitcast i8*%ak to i32*
store i32 1,i32*%al,align 4
%am=call i8*@sml_alloc(i32 inreg 28)#0
%an=getelementptr inbounds i8,i8*%am,i64 -4
%ao=bitcast i8*%an to i32*
store i32 1342177304,i32*%ao,align 4
%ap=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aq=bitcast i8*%am to i8**
store i8*%ap,i8**%aq,align 8
%ar=getelementptr inbounds i8,i8*%am,i64 8
%as=bitcast i8*%ar to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_234 to void(...)*),void(...)**%as,align 8
%at=getelementptr inbounds i8,i8*%am,i64 16
%au=bitcast i8*%at to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_234 to void(...)*),void(...)**%au,align 8
%av=getelementptr inbounds i8,i8*%am,i64 24
%aw=bitcast i8*%av to i32*
store i32 -2147483647,i32*%aw,align 4
%ax=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ay=call fastcc i8*%ac(i8*inreg%ax,i8*inreg%am)
%az=getelementptr inbounds i8,i8*%ay,i64 16
%aA=bitcast i8*%az to i8*(i8*,i8*)**
%aB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aA,align 8
%aC=bitcast i8*%ay to i8**
%aD=load i8*,i8**%aC,align 8
%aE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aF=call fastcc i8*%aB(i8*inreg%aD,i8*inreg%aE)
store i8*%aF,i8**%c,align 8
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
store i8*%aG,i8**%d,align 8
%aJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aK=bitcast i8*%aG to i8**
store i8*%aJ,i8**%aK,align 8
%aL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%aG,i64 8
%aN=bitcast i8*%aM to i8**
store i8*%aL,i8**%aN,align 8
%aO=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 16
%aQ=bitcast i8*%aP to i8**
store i8*%aO,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aG,i64 24
%aS=bitcast i8*%aR to i32*
store i32 7,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 20)#0
%aU=bitcast i8*%aT to i32*
%aV=getelementptr inbounds i8,i8*%aT,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
%aX=getelementptr inbounds i8,i8*%aT,i64 4
%aY=bitcast i8*%aX to i32*
store i32 0,i32*%aY,align 1
store i32 8,i32*%aU,align 4
%aZ=load i8*,i8**%d,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 8
%a1=bitcast i8*%a0 to i8**
store i8*%aZ,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aT,i64 16
%a3=bitcast i8*%a2 to i32*
store i32 2,i32*%a3,align 4
ret i8*%aT
a4:
%a5=getelementptr inbounds i8,i8*%r,i64 8
%a6=bitcast i8*%a5 to i8**
%a7=load i8*,i8**%a6,align 8
%a8=bitcast i8*%a7 to i32*
%a9=load i32,i32*%a8,align 4
%ba=getelementptr inbounds i8,i8*%a7,i64 8
%bb=bitcast i8*%ba to i8**
%bc=load i8*,i8**%bb,align 8
%bd=getelementptr inbounds i8,i8*%a7,i64 24
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
store i8*%bf,i8**%d,align 8
%bg=getelementptr inbounds i8,i8*%a7,i64 32
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%e,align 8
%bj=load i8*,i8**%c,align 8
%bk=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%bj,i8*inreg%bc)
store i8*%bk,i8**%f,align 8
%bl=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%bk)
store i8*%bl,i8**%g,align 8
%bm=bitcast i8**%c to i8***
%bn=load i8**,i8***%bm,align 8
store i8*null,i8**%c,align 8
%bo=load i8*,i8**%bn,align 8
%bp=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%bo)
%bq=getelementptr inbounds i8,i8*%bp,i64 16
%br=bitcast i8*%bq to i8*(i8*,i8*)**
%bs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%br,align 8
%bt=bitcast i8*%bp to i8**
%bu=load i8*,i8**%bt,align 8
%bv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bw=call fastcc i8*%bs(i8*inreg%bu,i8*inreg%bv)
store i8*%bw,i8**%c,align 8
%bx=call i8*@sml_alloc(i32 inreg 44)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177320,i32*%bz,align 4
store i8*%bx,i8**%e,align 8
%bA=getelementptr inbounds i8,i8*%bx,i64 4
%bB=bitcast i8*%bA to i32*
store i32 0,i32*%bB,align 1
%bC=bitcast i8*%bx to i32*
store i32%a9,i32*%bC,align 4
%bD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bE=getelementptr inbounds i8,i8*%bx,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bH=getelementptr inbounds i8,i8*%bx,i64 16
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bK=getelementptr inbounds i8,i8*%bx,i64 24
%bL=bitcast i8*%bK to i8**
store i8*%bJ,i8**%bL,align 8
%bM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bN=getelementptr inbounds i8,i8*%bx,i64 32
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bx,i64 40
%bQ=bitcast i8*%bP to i32*
store i32 30,i32*%bQ,align 4
%bR=call i8*@sml_alloc(i32 inreg 20)#0
%bS=bitcast i8*%bR to i32*
%bT=getelementptr inbounds i8,i8*%bR,i64 -4
%bU=bitcast i8*%bT to i32*
store i32 1342177296,i32*%bU,align 4
%bV=getelementptr inbounds i8,i8*%bR,i64 4
%bW=bitcast i8*%bV to i32*
store i32 0,i32*%bW,align 1
store i32 2,i32*%bS,align 4
%bX=load i8*,i8**%e,align 8
%bY=getelementptr inbounds i8,i8*%bR,i64 8
%bZ=bitcast i8*%bY to i8**
store i8*%bX,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bR,i64 16
%b1=bitcast i8*%b0 to i32*
store i32 2,i32*%b1,align 4
ret i8*%bR
b2:
%b3=getelementptr inbounds i8,i8*%r,i64 8
%b4=bitcast i8*%b3 to i8**
%b5=load i8*,i8**%b4,align 8
%b6=bitcast i8*%b5 to i8**
%b7=load i8*,i8**%b6,align 8
store i8*%b7,i8**%d,align 8
%b8=getelementptr inbounds i8,i8*%b5,i64 8
%b9=bitcast i8*%b8 to i8**
%ca=load i8*,i8**%b9,align 8
store i8*%ca,i8**%e,align 8
%cb=getelementptr inbounds i8,i8*%b5,i64 16
%cc=bitcast i8*%cb to i8**
%cd=load i8*,i8**%cc,align 8
store i8*%cd,i8**%f,align 8
%ce=getelementptr inbounds i8,i8*%b5,i64 24
%cf=bitcast i8*%ce to i8**
%cg=load i8*,i8**%cf,align 8
store i8*%cg,i8**%g,align 8
%ch=getelementptr inbounds i8,i8*%b5,i64 32
%ci=bitcast i8*%ch to i8**
%cj=load i8*,i8**%ci,align 8
store i8*%cj,i8**%h,align 8
%ck=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cl=getelementptr inbounds i8,i8*%ck,i64 16
%cm=bitcast i8*%cl to i8*(i8*,i8*)**
%cn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cm,align 8
%co=bitcast i8*%ck to i8**
%cp=load i8*,i8**%co,align 8
%cq=call fastcc i8*%cn(i8*inreg%cp,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*))
%cr=getelementptr inbounds i8,i8*%cq,i64 16
%cs=bitcast i8*%cr to i8*(i8*,i8*)**
%ct=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cs,align 8
%cu=bitcast i8*%cq to i8**
%cv=load i8*,i8**%cu,align 8
%cw=load i8*,i8**%c,align 8
%cx=call fastcc i8*%ct(i8*inreg%cv,i8*inreg%cw)
%cy=getelementptr inbounds i8,i8*%cx,i64 16
%cz=bitcast i8*%cy to i8*(i8*,i8*)**
%cA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cz,align 8
%cB=bitcast i8*%cx to i8**
%cC=load i8*,i8**%cB,align 8
%cD=load i8*,i8**%d,align 8
%cE=call fastcc i8*%cA(i8*inreg%cC,i8*inreg%cD)
%cF=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%cG=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%cE,i8*inreg%cF)
store i8*%cG,i8**%f,align 8
%cH=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%cI=bitcast i8**%c to i8***
%cJ=load i8**,i8***%cI,align 8
%cK=load i8*,i8**%cJ,align 8
store i8*%cK,i8**%c,align 8
%cL=getelementptr inbounds i8,i8*%cH,i64 16
%cM=bitcast i8*%cL to i8*(i8*,i8*)**
%cN=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cM,align 8
%cO=bitcast i8*%cH to i8**
%cP=load i8*,i8**%cO,align 8
store i8*%cP,i8**%i,align 8
%cQ=call i8*@sml_alloc(i32 inreg 12)#0
%cR=getelementptr inbounds i8,i8*%cQ,i64 -4
%cS=bitcast i8*%cR to i32*
store i32 1342177288,i32*%cS,align 4
store i8*%cQ,i8**%j,align 8
%cT=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cU=bitcast i8*%cQ to i8**
store i8*%cT,i8**%cU,align 8
%cV=getelementptr inbounds i8,i8*%cQ,i64 8
%cW=bitcast i8*%cV to i32*
store i32 1,i32*%cW,align 4
%cX=call i8*@sml_alloc(i32 inreg 28)#0
%cY=getelementptr inbounds i8,i8*%cX,i64 -4
%cZ=bitcast i8*%cY to i32*
store i32 1342177304,i32*%cZ,align 4
%c0=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=getelementptr inbounds i8,i8*%cX,i64 8
%c3=bitcast i8*%c2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_233 to void(...)*),void(...)**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cX,i64 16
%c5=bitcast i8*%c4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_233 to void(...)*),void(...)**%c5,align 8
%c6=getelementptr inbounds i8,i8*%cX,i64 24
%c7=bitcast i8*%c6 to i32*
store i32 -2147483647,i32*%c7,align 4
%c8=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%c9=call fastcc i8*%cN(i8*inreg%c8,i8*inreg%cX)
%da=getelementptr inbounds i8,i8*%c9,i64 16
%db=bitcast i8*%da to i8*(i8*,i8*)**
%dc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%db,align 8
%dd=bitcast i8*%c9 to i8**
%de=load i8*,i8**%dd,align 8
%df=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dg=call fastcc i8*%dc(i8*inreg%de,i8*inreg%df)
store i8*%dg,i8**%c,align 8
%dh=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%di=icmp eq i8*%dh,null
br i1%di,label%dt,label%dj
dj:
%dk=load i8*,i8**%f,align 8
%dl=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%dk)
store i8*%dl,i8**%d,align 8
%dm=call i8*@sml_alloc(i32 inreg 12)#0
%dn=getelementptr inbounds i8,i8*%dm,i64 -4
%do=bitcast i8*%dn to i32*
store i32 1342177288,i32*%do,align 4
%dp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dq=bitcast i8*%dm to i8**
store i8*%dp,i8**%dq,align 8
%dr=getelementptr inbounds i8,i8*%dm,i64 8
%ds=bitcast i8*%dr to i32*
store i32 1,i32*%ds,align 4
br label%dt
dt:
%du=phi i8*[%dm,%dj],[null,%b2]
store i8*%du,i8**%d,align 8
%dv=call i8*@sml_alloc(i32 inreg 44)#0
%dw=getelementptr inbounds i8,i8*%dv,i64 -4
%dx=bitcast i8*%dw to i32*
store i32 1342177320,i32*%dx,align 4
store i8*%dv,i8**%h,align 8
%dy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dz=bitcast i8*%dv to i8**
store i8*%dy,i8**%dz,align 8
%dA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%dB=getelementptr inbounds i8,i8*%dv,i64 8
%dC=bitcast i8*%dB to i8**
store i8*%dA,i8**%dC,align 8
%dD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%dE=getelementptr inbounds i8,i8*%dv,i64 16
%dF=bitcast i8*%dE to i8**
store i8*%dD,i8**%dF,align 8
%dG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%dH=getelementptr inbounds i8,i8*%dv,i64 24
%dI=bitcast i8*%dH to i8**
store i8*%dG,i8**%dI,align 8
%dJ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%dK=getelementptr inbounds i8,i8*%dv,i64 32
%dL=bitcast i8*%dK to i8**
store i8*%dJ,i8**%dL,align 8
%dM=getelementptr inbounds i8,i8*%dv,i64 40
%dN=bitcast i8*%dM to i32*
store i32 31,i32*%dN,align 4
%dO=call i8*@sml_alloc(i32 inreg 20)#0
%dP=bitcast i8*%dO to i32*
%dQ=getelementptr inbounds i8,i8*%dO,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177296,i32*%dR,align 4
%dS=getelementptr inbounds i8,i8*%dO,i64 4
%dT=bitcast i8*%dS to i32*
store i32 0,i32*%dT,align 1
store i32 1,i32*%dP,align 4
%dU=load i8*,i8**%h,align 8
%dV=getelementptr inbounds i8,i8*%dO,i64 8
%dW=bitcast i8*%dV to i8**
store i8*%dU,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dO,i64 16
%dY=bitcast i8*%dX to i32*
store i32 2,i32*%dY,align 4
ret i8*%dO
dZ:
%d0=getelementptr inbounds i8,i8*%r,i64 8
%d1=bitcast i8*%d0 to i8**
%d2=load i8*,i8**%d1,align 8
%d3=bitcast i8*%d2 to i8**
%d4=load i8*,i8**%d3,align 8
store i8*%d4,i8**%d,align 8
%d5=getelementptr inbounds i8,i8*%d2,i64 8
%d6=bitcast i8*%d5 to i8**
%d7=load i8*,i8**%d6,align 8
store i8*%d7,i8**%e,align 8
%d8=getelementptr inbounds i8,i8*%d2,i64 16
%d9=bitcast i8*%d8 to i8**
%ea=load i8*,i8**%d9,align 8
%eb=getelementptr inbounds i8,i8*%d2,i64 24
%ec=bitcast i8*%eb to i8**
%ed=load i8*,i8**%ec,align 8
store i8*%ed,i8**%f,align 8
%ee=getelementptr inbounds i8,i8*%d2,i64 32
%ef=bitcast i8*%ee to i8**
%eg=load i8*,i8**%ef,align 8
store i8*%eg,i8**%g,align 8
%eh=load i8*,i8**%c,align 8
%ei=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%eh,i8*inreg%ea)
store i8*%ei,i8**%h,align 8
%ej=call fastcc i8*@_SMLFN4List3mapE(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
store i8*%eo,i8**%i,align 8
%ep=call i8*@sml_alloc(i32 inreg 12)#0
%eq=getelementptr inbounds i8,i8*%ep,i64 -4
%er=bitcast i8*%eq to i32*
store i32 1342177288,i32*%er,align 4
store i8*%ep,i8**%j,align 8
%es=load i8*,i8**%c,align 8
%et=bitcast i8*%ep to i8**
store i8*%es,i8**%et,align 8
%eu=getelementptr inbounds i8,i8*%ep,i64 8
%ev=bitcast i8*%eu to i32*
store i32 1,i32*%ev,align 4
%ew=call i8*@sml_alloc(i32 inreg 28)#0
%ex=getelementptr inbounds i8,i8*%ew,i64 -4
%ey=bitcast i8*%ex to i32*
store i32 1342177304,i32*%ey,align 4
%ez=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eA=bitcast i8*%ew to i8**
store i8*%ez,i8**%eA,align 8
%eB=getelementptr inbounds i8,i8*%ew,i64 8
%eC=bitcast i8*%eB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_229 to void(...)*),void(...)**%eC,align 8
%eD=getelementptr inbounds i8,i8*%ew,i64 16
%eE=bitcast i8*%eD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_229 to void(...)*),void(...)**%eE,align 8
%eF=getelementptr inbounds i8,i8*%ew,i64 24
%eG=bitcast i8*%eF to i32*
store i32 -2147483647,i32*%eG,align 4
%eH=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eI=call fastcc i8*%em(i8*inreg%eH,i8*inreg%ew)
%eJ=getelementptr inbounds i8,i8*%eI,i64 16
%eK=bitcast i8*%eJ to i8*(i8*,i8*)**
%eL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eK,align 8
%eM=bitcast i8*%eI to i8**
%eN=load i8*,i8**%eM,align 8
%eO=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eP=call fastcc i8*%eL(i8*inreg%eN,i8*inreg%eO)
store i8*%eP,i8**%d,align 8
%eQ=call fastcc i8*@_SMLFN6Option3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%eR=bitcast i8**%c to i8***
%eS=load i8**,i8***%eR,align 8
%eT=load i8*,i8**%eS,align 8
store i8*%eT,i8**%c,align 8
%eU=getelementptr inbounds i8,i8*%eQ,i64 16
%eV=bitcast i8*%eU to i8*(i8*,i8*)**
%eW=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eV,align 8
%eX=bitcast i8*%eQ to i8**
%eY=load i8*,i8**%eX,align 8
store i8*%eY,i8**%i,align 8
%eZ=call i8*@sml_alloc(i32 inreg 12)#0
%e0=getelementptr inbounds i8,i8*%eZ,i64 -4
%e1=bitcast i8*%e0 to i32*
store i32 1342177288,i32*%e1,align 4
store i8*%eZ,i8**%j,align 8
%e2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%e3=bitcast i8*%eZ to i8**
store i8*%e2,i8**%e3,align 8
%e4=getelementptr inbounds i8,i8*%eZ,i64 8
%e5=bitcast i8*%e4 to i32*
store i32 1,i32*%e5,align 4
%e6=call i8*@sml_alloc(i32 inreg 28)#0
%e7=getelementptr inbounds i8,i8*%e6,i64 -4
%e8=bitcast i8*%e7 to i32*
store i32 1342177304,i32*%e8,align 4
%e9=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%fa=bitcast i8*%e6 to i8**
store i8*%e9,i8**%fa,align 8
%fb=getelementptr inbounds i8,i8*%e6,i64 8
%fc=bitcast i8*%fb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_230 to void(...)*),void(...)**%fc,align 8
%fd=getelementptr inbounds i8,i8*%e6,i64 16
%fe=bitcast i8*%fd to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_230 to void(...)*),void(...)**%fe,align 8
%ff=getelementptr inbounds i8,i8*%e6,i64 24
%fg=bitcast i8*%ff to i32*
store i32 -2147483647,i32*%fg,align 4
%fh=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%fi=call fastcc i8*%eW(i8*inreg%fh,i8*inreg%e6)
%fj=getelementptr inbounds i8,i8*%fi,i64 16
%fk=bitcast i8*%fj to i8*(i8*,i8*)**
%fl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fk,align 8
%fm=bitcast i8*%fi to i8**
%fn=load i8*,i8**%fm,align 8
%fo=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%fp=call fastcc i8*%fl(i8*inreg%fn,i8*inreg%fo)
store i8*%fp,i8**%c,align 8
%fq=call i8*@sml_alloc(i32 inreg 44)#0
%fr=getelementptr inbounds i8,i8*%fq,i64 -4
%fs=bitcast i8*%fr to i32*
store i32 1342177320,i32*%fs,align 4
store i8*%fq,i8**%g,align 8
%ft=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fu=bitcast i8*%fq to i8**
store i8*%ft,i8**%fu,align 8
%fv=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%fw=getelementptr inbounds i8,i8*%fq,i64 8
%fx=bitcast i8*%fw to i8**
store i8*%fv,i8**%fx,align 8
%fy=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%fz=getelementptr inbounds i8,i8*%fq,i64 16
%fA=bitcast i8*%fz to i8**
store i8*%fy,i8**%fA,align 8
%fB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fC=getelementptr inbounds i8,i8*%fq,i64 24
%fD=bitcast i8*%fC to i8**
store i8*%fB,i8**%fD,align 8
%fE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fF=getelementptr inbounds i8,i8*%fq,i64 32
%fG=bitcast i8*%fF to i8**
store i8*%fE,i8**%fG,align 8
%fH=getelementptr inbounds i8,i8*%fq,i64 40
%fI=bitcast i8*%fH to i32*
store i32 31,i32*%fI,align 4
%fJ=call i8*@sml_alloc(i32 inreg 20)#0
%fK=bitcast i8*%fJ to i32*
%fL=getelementptr inbounds i8,i8*%fJ,i64 -4
%fM=bitcast i8*%fL to i32*
store i32 1342177296,i32*%fM,align 4
%fN=getelementptr inbounds i8,i8*%fJ,i64 4
%fO=bitcast i8*%fN to i32*
store i32 0,i32*%fO,align 1
store i32 6,i32*%fK,align 4
%fP=load i8*,i8**%g,align 8
%fQ=getelementptr inbounds i8,i8*%fJ,i64 8
%fR=bitcast i8*%fQ to i8**
store i8*%fP,i8**%fR,align 8
%fS=getelementptr inbounds i8,i8*%fJ,i64 16
%fT=bitcast i8*%fS to i32*
store i32 2,i32*%fT,align 4
ret i8*%fJ
fU:
%fV=getelementptr inbounds i8,i8*%r,i64 8
%fW=bitcast i8*%fV to i8**
%fX=load i8*,i8**%fW,align 8
%fY=bitcast i8*%fX to i8**
%fZ=load i8*,i8**%fY,align 8
store i8*%fZ,i8**%d,align 8
%f0=getelementptr inbounds i8,i8*%fX,i64 8
%f1=bitcast i8*%f0 to i32*
%f2=load i32,i32*%f1,align 4
%f3=getelementptr inbounds i8,i8*%fX,i64 24
%f4=bitcast i8*%f3 to i8**
%f5=load i8*,i8**%f4,align 8
store i8*%f5,i8**%e,align 8
%f6=getelementptr inbounds i8,i8*%fX,i64 32
%f7=bitcast i8*%f6 to i8**
%f8=load i8*,i8**%f7,align 8
%f9=bitcast i8**%c to i8***
%ga=load i8**,i8***%f9,align 8
%gb=load i8*,i8**%ga,align 8
store i8*%gb,i8**%f,align 8
%gc=bitcast i8**%ga to i8*
%gd=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%gc,i8*inreg%f8)
store i8*%gd,i8**%g,align 8
%ge=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%gf=getelementptr inbounds i8,i8*%ge,i64 16
%gg=bitcast i8*%gf to i8*(i8*,i8*)**
%gh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gg,align 8
%gi=bitcast i8*%ge to i8**
%gj=load i8*,i8**%gi,align 8
store i8*%gj,i8**%h,align 8
%gk=call i8*@sml_alloc(i32 inreg 20)#0
%gl=getelementptr inbounds i8,i8*%gk,i64 -4
%gm=bitcast i8*%gl to i32*
store i32 1342177296,i32*%gm,align 4
store i8*%gk,i8**%i,align 8
%gn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%go=bitcast i8*%gk to i8**
store i8*%gn,i8**%go,align 8
%gp=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%gq=getelementptr inbounds i8,i8*%gk,i64 8
%gr=bitcast i8*%gq to i8**
store i8*%gp,i8**%gr,align 8
%gs=getelementptr inbounds i8,i8*%gk,i64 16
%gt=bitcast i8*%gs to i32*
store i32 3,i32*%gt,align 4
%gu=call i8*@sml_alloc(i32 inreg 28)#0
%gv=getelementptr inbounds i8,i8*%gu,i64 -4
%gw=bitcast i8*%gv to i32*
store i32 1342177304,i32*%gw,align 4
%gx=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%gy=bitcast i8*%gu to i8**
store i8*%gx,i8**%gy,align 8
%gz=getelementptr inbounds i8,i8*%gu,i64 8
%gA=bitcast i8*%gz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_228 to void(...)*),void(...)**%gA,align 8
%gB=getelementptr inbounds i8,i8*%gu,i64 16
%gC=bitcast i8*%gB to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_228 to void(...)*),void(...)**%gC,align 8
%gD=getelementptr inbounds i8,i8*%gu,i64 24
%gE=bitcast i8*%gD to i32*
store i32 -2147483647,i32*%gE,align 4
%gF=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%gG=call fastcc i8*%gh(i8*inreg%gF,i8*inreg%gu)
%gH=getelementptr inbounds i8,i8*%gG,i64 16
%gI=bitcast i8*%gH to i8*(i8*,i8*)**
%gJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gI,align 8
%gK=bitcast i8*%gG to i8**
%gL=load i8*,i8**%gK,align 8
%gM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%gN=call fastcc i8*%gJ(i8*inreg%gL,i8*inreg%gM)
store i8*%gN,i8**%c,align 8
%gO=load i8*,i8**%g,align 8
%gP=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%gO)
store i8*%gP,i8**%e,align 8
%gQ=call i8*@sml_alloc(i32 inreg 44)#0
%gR=getelementptr inbounds i8,i8*%gQ,i64 -4
%gS=bitcast i8*%gR to i32*
store i32 1342177320,i32*%gS,align 4
store i8*%gQ,i8**%f,align 8
%gT=getelementptr inbounds i8,i8*%gQ,i64 12
%gU=bitcast i8*%gT to i32*
store i32 0,i32*%gU,align 1
%gV=load i8*,i8**%d,align 8
%gW=bitcast i8*%gQ to i8**
store i8*null,i8**%d,align 8
store i8*%gV,i8**%gW,align 8
%gX=getelementptr inbounds i8,i8*%gQ,i64 8
%gY=bitcast i8*%gX to i32*
store i32%f2,i32*%gY,align 4
%gZ=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%g0=getelementptr inbounds i8,i8*%gQ,i64 16
%g1=bitcast i8*%g0 to i8**
store i8*%gZ,i8**%g1,align 8
%g2=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%g3=getelementptr inbounds i8,i8*%gQ,i64 24
%g4=bitcast i8*%g3 to i8**
store i8*%g2,i8**%g4,align 8
%g5=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%g6=getelementptr inbounds i8,i8*%gQ,i64 32
%g7=bitcast i8*%g6 to i8**
store i8*%g5,i8**%g7,align 8
%g8=getelementptr inbounds i8,i8*%gQ,i64 40
%g9=bitcast i8*%g8 to i32*
store i32 29,i32*%g9,align 4
%ha=call i8*@sml_alloc(i32 inreg 20)#0
%hb=bitcast i8*%ha to i32*
%hc=getelementptr inbounds i8,i8*%ha,i64 -4
%hd=bitcast i8*%hc to i32*
store i32 1342177296,i32*%hd,align 4
%he=getelementptr inbounds i8,i8*%ha,i64 4
%hf=bitcast i8*%he to i32*
store i32 0,i32*%hf,align 1
store i32 3,i32*%hb,align 4
%hg=load i8*,i8**%f,align 8
%hh=getelementptr inbounds i8,i8*%ha,i64 8
%hi=bitcast i8*%hh to i8**
store i8*%hg,i8**%hi,align 8
%hj=getelementptr inbounds i8,i8*%ha,i64 16
%hk=bitcast i8*%hj to i32*
store i32 2,i32*%hk,align 4
ret i8*%ha
hl:
%hm=getelementptr inbounds i8,i8*%r,i64 8
%hn=bitcast i8*%hm to i8**
%ho=load i8*,i8**%hn,align 8
%hp=bitcast i8*%ho to i8**
%hq=load i8*,i8**%hp,align 8
store i8*%hq,i8**%d,align 8
%hr=getelementptr inbounds i8,i8*%ho,i64 8
%hs=bitcast i8*%hr to i8**
%ht=load i8*,i8**%hs,align 8
store i8*%ht,i8**%e,align 8
%hu=getelementptr inbounds i8,i8*%ho,i64 16
%hv=bitcast i8*%hu to i8**
%hw=load i8*,i8**%hv,align 8
store i8*%hw,i8**%f,align 8
%hx=getelementptr inbounds i8,i8*%ho,i64 24
%hy=bitcast i8*%hx to i8**
%hz=load i8*,i8**%hy,align 8
store i8*%hz,i8**%g,align 8
%hA=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%hB=getelementptr inbounds i8,i8*%hA,i64 16
%hC=bitcast i8*%hB to i8*(i8*,i8*)**
%hD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%hC,align 8
%hE=bitcast i8*%hA to i8**
%hF=load i8*,i8**%hE,align 8
store i8*%hF,i8**%h,align 8
%hG=call i8*@sml_alloc(i32 inreg 12)#0
%hH=getelementptr inbounds i8,i8*%hG,i64 -4
%hI=bitcast i8*%hH to i32*
store i32 1342177288,i32*%hI,align 4
store i8*%hG,i8**%i,align 8
%hJ=load i8*,i8**%c,align 8
%hK=bitcast i8*%hG to i8**
store i8*%hJ,i8**%hK,align 8
%hL=getelementptr inbounds i8,i8*%hG,i64 8
%hM=bitcast i8*%hL to i32*
store i32 1,i32*%hM,align 4
%hN=call i8*@sml_alloc(i32 inreg 28)#0
%hO=getelementptr inbounds i8,i8*%hN,i64 -4
%hP=bitcast i8*%hO to i32*
store i32 1342177304,i32*%hP,align 4
%hQ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%hR=bitcast i8*%hN to i8**
store i8*%hQ,i8**%hR,align 8
%hS=getelementptr inbounds i8,i8*%hN,i64 8
%hT=bitcast i8*%hS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_224 to void(...)*),void(...)**%hT,align 8
%hU=getelementptr inbounds i8,i8*%hN,i64 16
%hV=bitcast i8*%hU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_224 to void(...)*),void(...)**%hV,align 8
%hW=getelementptr inbounds i8,i8*%hN,i64 24
%hX=bitcast i8*%hW to i32*
store i32 -2147483647,i32*%hX,align 4
%hY=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%hZ=call fastcc i8*%hD(i8*inreg%hY,i8*inreg%hN)
%h0=getelementptr inbounds i8,i8*%hZ,i64 16
%h1=bitcast i8*%h0 to i8*(i8*,i8*)**
%h2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h1,align 8
%h3=bitcast i8*%hZ to i8**
%h4=load i8*,i8**%h3,align 8
%h5=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%h6=call fastcc i8*%h2(i8*inreg%h4,i8*inreg%h5)
store i8*%h6,i8**%d,align 8
%h7=bitcast i8**%c to i8***
%h8=load i8**,i8***%h7,align 8
store i8*null,i8**%c,align 8
%h9=load i8*,i8**%h8,align 8
%ia=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%h9)
%ib=getelementptr inbounds i8,i8*%ia,i64 16
%ic=bitcast i8*%ib to i8*(i8*,i8*)**
%id=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ic,align 8
%ie=bitcast i8*%ia to i8**
%if=load i8*,i8**%ie,align 8
%ig=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ih=call fastcc i8*%id(i8*inreg%if,i8*inreg%ig)
store i8*%ih,i8**%c,align 8
%ii=call i8*@sml_alloc(i32 inreg 36)#0
%ij=getelementptr inbounds i8,i8*%ii,i64 -4
%ik=bitcast i8*%ij to i32*
store i32 1342177312,i32*%ik,align 4
store i8*%ii,i8**%g,align 8
%il=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%im=bitcast i8*%ii to i8**
store i8*%il,i8**%im,align 8
%in=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%io=getelementptr inbounds i8,i8*%ii,i64 8
%ip=bitcast i8*%io to i8**
store i8*%in,i8**%ip,align 8
%iq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ir=getelementptr inbounds i8,i8*%ii,i64 16
%is=bitcast i8*%ir to i8**
store i8*%iq,i8**%is,align 8
%it=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%iu=getelementptr inbounds i8,i8*%ii,i64 24
%iv=bitcast i8*%iu to i8**
store i8*%it,i8**%iv,align 8
%iw=getelementptr inbounds i8,i8*%ii,i64 32
%ix=bitcast i8*%iw to i32*
store i32 15,i32*%ix,align 4
%iy=call i8*@sml_alloc(i32 inreg 20)#0
%iz=bitcast i8*%iy to i32*
%iA=getelementptr inbounds i8,i8*%iy,i64 -4
%iB=bitcast i8*%iA to i32*
store i32 1342177296,i32*%iB,align 4
%iC=getelementptr inbounds i8,i8*%iy,i64 4
%iD=bitcast i8*%iC to i32*
store i32 0,i32*%iD,align 1
store i32 17,i32*%iz,align 4
%iE=load i8*,i8**%g,align 8
%iF=getelementptr inbounds i8,i8*%iy,i64 8
%iG=bitcast i8*%iF to i8**
store i8*%iE,i8**%iG,align 8
%iH=getelementptr inbounds i8,i8*%iy,i64 16
%iI=bitcast i8*%iH to i32*
store i32 2,i32*%iI,align 4
ret i8*%iy
iJ:
%iK=getelementptr inbounds i8,i8*%r,i64 8
%iL=bitcast i8*%iK to i8**
%iM=load i8*,i8**%iL,align 8
%iN=bitcast i8*%iM to i8**
%iO=load i8*,i8**%iN,align 8
store i8*%iO,i8**%d,align 8
%iP=getelementptr inbounds i8,i8*%iM,i64 8
%iQ=bitcast i8*%iP to i8**
%iR=load i8*,i8**%iQ,align 8
%iS=getelementptr inbounds i8,i8*%iM,i64 16
%iT=bitcast i8*%iS to i8**
%iU=load i8*,i8**%iT,align 8
store i8*%iU,i8**%e,align 8
%iV=getelementptr inbounds i8,i8*%iM,i64 24
%iW=bitcast i8*%iV to i8**
%iX=load i8*,i8**%iW,align 8
store i8*%iX,i8**%f,align 8
%iY=load i8*,i8**%c,align 8
%iZ=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%iY,i8*inreg%iR)
store i8*%iZ,i8**%g,align 8
%i0=bitcast i8**%c to i8***
%i1=load i8**,i8***%i0,align 8
%i2=load i8*,i8**%i1,align 8
%i3=load i8*,i8**%d,align 8
%i4=getelementptr inbounds i8,i8*%i3,i64 16
%i5=bitcast i8*%i4 to i8**
%i6=load i8*,i8**%i5,align 8
store i8*%i6,i8**%h,align 8
%i7=bitcast i8*%i3 to i32*
%i8=load i32,i32*%i7,align 4
%i9=getelementptr inbounds i8,i8*%i3,i64 8
%ja=bitcast i8*%i9 to i8**
%jb=load i8*,i8**%ja,align 8
store i8*%jb,i8**%i,align 8
%jc=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%i2)
%jd=getelementptr inbounds i8,i8*%jc,i64 16
%je=bitcast i8*%jd to i8*(i8*,i8*)**
%jf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%je,align 8
%jg=bitcast i8*%jc to i8**
%jh=load i8*,i8**%jg,align 8
%ji=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%jj=call fastcc i8*%jf(i8*inreg%jh,i8*inreg%ji)
store i8*%jj,i8**%j,align 8
%jk=call i8*@sml_alloc(i32 inreg 28)#0
%jl=getelementptr inbounds i8,i8*%jk,i64 -4
%jm=bitcast i8*%jl to i32*
store i32 1342177304,i32*%jm,align 4
store i8*%jk,i8**%h,align 8
%jn=getelementptr inbounds i8,i8*%jk,i64 4
%jo=bitcast i8*%jn to i32*
store i32 0,i32*%jo,align 1
%jp=bitcast i8*%jk to i32*
store i32%i8,i32*%jp,align 4
%jq=load i8*,i8**%i,align 8
%jr=getelementptr inbounds i8,i8*%jk,i64 8
%js=bitcast i8*%jr to i8**
store i8*%jq,i8**%js,align 8
%jt=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%ju=getelementptr inbounds i8,i8*%jk,i64 16
%jv=bitcast i8*%ju to i8**
store i8*%jt,i8**%jv,align 8
%jw=getelementptr inbounds i8,i8*%jk,i64 24
%jx=bitcast i8*%jw to i32*
store i32 6,i32*%jx,align 4
%jy=load i8*,i8**%c,align 8
%jz=getelementptr inbounds i8,i8*%jy,i64 8
%jA=bitcast i8*%jz to i8**
%jB=load i8*,i8**%jA,align 8
store i8*%jB,i8**%i,align 8
%jC=bitcast i8**%d to i32**
%jD=load i32*,i32**%jC,align 8
store i8*null,i8**%d,align 8
%jE=load i32,i32*%jD,align 4
%jF=call fastcc i8*@_SMLFN5VarID3Map8inDomainE(i32 inreg 1,i32 inreg 8)
%jG=getelementptr inbounds i8,i8*%jF,i64 16
%jH=bitcast i8*%jG to i8*(i8*,i8*)**
%jI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jH,align 8
%jJ=bitcast i8*%jF to i8**
%jK=load i8*,i8**%jJ,align 8
store i8*%jK,i8**%d,align 8
%jL=call i8*@sml_alloc(i32 inreg 20)#0
%jM=getelementptr inbounds i8,i8*%jL,i64 -4
%jN=bitcast i8*%jM to i32*
store i32 1342177296,i32*%jN,align 4
%jO=getelementptr inbounds i8,i8*%jL,i64 12
%jP=bitcast i8*%jO to i32*
store i32 0,i32*%jP,align 1
%jQ=load i8*,i8**%i,align 8
%jR=bitcast i8*%jL to i8**
store i8*%jQ,i8**%jR,align 8
%jS=getelementptr inbounds i8,i8*%jL,i64 8
%jT=bitcast i8*%jS to i32*
store i32%jE,i32*%jT,align 4
%jU=getelementptr inbounds i8,i8*%jL,i64 16
%jV=bitcast i8*%jU to i32*
store i32 1,i32*%jV,align 4
%jW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%jX=call fastcc i8*%jI(i8*inreg%jW,i8*inreg%jL)
%jY=bitcast i8*%jX to i32*
%jZ=load i32,i32*%jY,align 4
%j0=icmp eq i32%jZ,0
br i1%j0,label%kz,label%j1
j1:
%j2=load i8**,i8***%i0,align 8
%j3=load i8*,i8**%j2,align 8
store i8*%j3,i8**%c,align 8
%j4=call fastcc i8*@_SMLFN5VarID3Map6removeE(i32 inreg 1,i32 inreg 8)
%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
store i8*%j9,i8**%d,align 8
%ka=call i8*@sml_alloc(i32 inreg 20)#0
%kb=getelementptr inbounds i8,i8*%ka,i64 -4
%kc=bitcast i8*%kb to i32*
store i32 1342177296,i32*%kc,align 4
%kd=getelementptr inbounds i8,i8*%ka,i64 12
%ke=bitcast i8*%kd to i32*
store i32 0,i32*%ke,align 1
%kf=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%kg=bitcast i8*%ka to i8**
store i8*%kf,i8**%kg,align 8
%kh=getelementptr inbounds i8,i8*%ka,i64 8
%ki=bitcast i8*%kh to i32*
store i32%jE,i32*%ki,align 4
%kj=getelementptr inbounds i8,i8*%ka,i64 16
%kk=bitcast i8*%kj to i32*
store i32 1,i32*%kk,align 4
%kl=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%km=call fastcc i8*%j7(i8*inreg%kl,i8*inreg%ka)
%kn=bitcast i8*%km to i8**
%ko=load i8*,i8**%kn,align 8
store i8*%ko,i8**%d,align 8
%kp=call i8*@sml_alloc(i32 inreg 20)#0
%kq=getelementptr inbounds i8,i8*%kp,i64 -4
%kr=bitcast i8*%kq to i32*
store i32 1342177296,i32*%kr,align 4
%ks=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kt=bitcast i8*%kp to i8**
store i8*%ks,i8**%kt,align 8
%ku=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kv=getelementptr inbounds i8,i8*%kp,i64 8
%kw=bitcast i8*%kv to i8**
store i8*%ku,i8**%kw,align 8
%kx=getelementptr inbounds i8,i8*%kp,i64 16
%ky=bitcast i8*%kx to i32*
store i32 3,i32*%ky,align 4
br label%kB
kz:
store i8*null,i8**%i,align 8
%kA=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
br label%kB
kB:
%kC=phi i8*[%kp,%j1],[%kA,%kz]
%kD=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%kE=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%kC,i8*inreg%kD)
store i8*%kE,i8**%c,align 8
%kF=load i8*,i8**%g,align 8
%kG=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%kF)
store i8*%kG,i8**%d,align 8
%kH=call i8*@sml_alloc(i32 inreg 44)#0
%kI=getelementptr inbounds i8,i8*%kH,i64 -4
%kJ=bitcast i8*%kI to i32*
store i32 1342177320,i32*%kJ,align 4
store i8*%kH,i8**%e,align 8
%kK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%kL=bitcast i8*%kH to i8**
store i8*%kK,i8**%kL,align 8
%kM=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%kN=getelementptr inbounds i8,i8*%kH,i64 8
%kO=bitcast i8*%kN to i8**
store i8*%kM,i8**%kO,align 8
%kP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%kQ=getelementptr inbounds i8,i8*%kH,i64 16
%kR=bitcast i8*%kQ to i8**
store i8*%kP,i8**%kR,align 8
%kS=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%kT=getelementptr inbounds i8,i8*%kH,i64 24
%kU=bitcast i8*%kT to i8**
store i8*%kS,i8**%kU,align 8
%kV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%kW=getelementptr inbounds i8,i8*%kH,i64 32
%kX=bitcast i8*%kW to i8**
store i8*%kV,i8**%kX,align 8
%kY=getelementptr inbounds i8,i8*%kH,i64 40
%kZ=bitcast i8*%kY to i32*
store i32 31,i32*%kZ,align 4
%k0=call i8*@sml_alloc(i32 inreg 20)#0
%k1=bitcast i8*%k0 to i32*
%k2=getelementptr inbounds i8,i8*%k0,i64 -4
%k3=bitcast i8*%k2 to i32*
store i32 1342177296,i32*%k3,align 4
%k4=getelementptr inbounds i8,i8*%k0,i64 4
%k5=bitcast i8*%k4 to i32*
store i32 0,i32*%k5,align 1
store i32 7,i32*%k1,align 4
%k6=load i8*,i8**%e,align 8
%k7=getelementptr inbounds i8,i8*%k0,i64 8
%k8=bitcast i8*%k7 to i8**
store i8*%k6,i8**%k8,align 8
%k9=getelementptr inbounds i8,i8*%k0,i64 16
%la=bitcast i8*%k9 to i32*
store i32 2,i32*%la,align 4
ret i8*%k0
lb:
%lc=getelementptr inbounds i8,i8*%r,i64 8
%ld=bitcast i8*%lc to i8**
%le=load i8*,i8**%ld,align 8
%lf=bitcast i8*%le to i8**
%lg=load i8*,i8**%lf,align 8
%lh=getelementptr inbounds i8,i8*%le,i64 8
%li=bitcast i8*%lh to i8**
%lj=load i8*,i8**%li,align 8
store i8*%lj,i8**%d,align 8
%lk=getelementptr inbounds i8,i8*%le,i64 16
%ll=bitcast i8*%lk to i8**
%lm=load i8*,i8**%ll,align 8
store i8*%lm,i8**%e,align 8
%ln=load i8*,i8**%c,align 8
%lo=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%ln,i8*inreg%lg)
store i8*%lo,i8**%f,align 8
%lp=bitcast i8**%c to i8***
%lq=load i8**,i8***%lp,align 8
store i8*null,i8**%c,align 8
%lr=load i8*,i8**%lq,align 8
%ls=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%lr)
%lt=getelementptr inbounds i8,i8*%ls,i64 16
%lu=bitcast i8*%lt to i8*(i8*,i8*)**
%lv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lu,align 8
%lw=bitcast i8*%ls to i8**
%lx=load i8*,i8**%lw,align 8
%ly=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%lz=call fastcc i8*%lv(i8*inreg%lx,i8*inreg%ly)
store i8*%lz,i8**%c,align 8
%lA=call i8*@sml_alloc(i32 inreg 28)#0
%lB=getelementptr inbounds i8,i8*%lA,i64 -4
%lC=bitcast i8*%lB to i32*
store i32 1342177304,i32*%lC,align 4
store i8*%lA,i8**%e,align 8
%lD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%lE=bitcast i8*%lA to i8**
store i8*%lD,i8**%lE,align 8
%lF=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%lG=getelementptr inbounds i8,i8*%lA,i64 8
%lH=bitcast i8*%lG to i8**
store i8*%lF,i8**%lH,align 8
%lI=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%lJ=getelementptr inbounds i8,i8*%lA,i64 16
%lK=bitcast i8*%lJ to i8**
store i8*%lI,i8**%lK,align 8
%lL=getelementptr inbounds i8,i8*%lA,i64 24
%lM=bitcast i8*%lL to i32*
store i32 7,i32*%lM,align 4
%lN=call i8*@sml_alloc(i32 inreg 20)#0
%lO=bitcast i8*%lN to i32*
%lP=getelementptr inbounds i8,i8*%lN,i64 -4
%lQ=bitcast i8*%lP to i32*
store i32 1342177296,i32*%lQ,align 4
%lR=getelementptr inbounds i8,i8*%lN,i64 4
%lS=bitcast i8*%lR to i32*
store i32 0,i32*%lS,align 1
store i32 12,i32*%lO,align 4
%lT=load i8*,i8**%e,align 8
%lU=getelementptr inbounds i8,i8*%lN,i64 8
%lV=bitcast i8*%lU to i8**
store i8*%lT,i8**%lV,align 8
%lW=getelementptr inbounds i8,i8*%lN,i64 16
%lX=bitcast i8*%lW to i32*
store i32 2,i32*%lX,align 4
ret i8*%lN
lY:
%lZ=getelementptr inbounds i8,i8*%r,i64 8
%l0=bitcast i8*%lZ to i8**
%l1=load i8*,i8**%l0,align 8
%l2=bitcast i8*%l1 to i8**
%l3=load i8*,i8**%l2,align 8
store i8*%l3,i8**%d,align 8
%l4=getelementptr inbounds i8,i8*%l1,i64 8
%l5=bitcast i8*%l4 to i8**
%l6=load i8*,i8**%l5,align 8
%l7=getelementptr inbounds i8,i8*%l1,i64 16
%l8=bitcast i8*%l7 to i8**
%l9=load i8*,i8**%l8,align 8
store i8*%l9,i8**%e,align 8
%ma=bitcast i8*%l6 to i32*
%mb=load i32,i32*%ma,align 4
switch i32%mb,label%mc[
i32 2,label%oy
i32 3,label%nx
i32 0,label%mv
i32 1,label%mu
]
mc:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
call void@sml_matchcomp_bug()
%md=load i8*,i8**@_SMLZ5Match,align 8
store i8*%md,i8**%c,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**%d,align 8
%mh=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@B,i64 0,i32 2,i64 0),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 60)#0
%mo=getelementptr inbounds i8,i8*%mn,i64 -4
%mp=bitcast i8*%mo to i32*
store i32 1342177336,i32*%mp,align 4
%mq=getelementptr inbounds i8,i8*%mn,i64 56
%mr=bitcast i8*%mq to i32*
store i32 1,i32*%mr,align 4
%ms=load i8*,i8**%d,align 8
%mt=bitcast i8*%mn to i8**
store i8*%ms,i8**%mt,align 8
call void@sml_raise(i8*inreg%mn)#1
unreachable
mu:
store i8*%l6,i8**%f,align 8
br label%pv
mv:
%mw=getelementptr inbounds i8,i8*%l6,i64 8
%mx=bitcast i8*%mw to i8**
%my=load i8*,i8**%mx,align 8
%mz=bitcast i8*%my to i8**
%mA=load i8*,i8**%mz,align 8
%mB=icmp eq i8*%mA,null
br i1%mB,label%nv,label%mC
mC:
%mD=bitcast i8*%mA to i8**
%mE=load i8*,i8**%mD,align 8
%mF=getelementptr inbounds i8,i8*%my,i64 8
%mG=bitcast i8*%mF to i8**
%mH=load i8*,i8**%mG,align 8
store i8*%mH,i8**%f,align 8
%mI=getelementptr inbounds i8,i8*%my,i64 16
%mJ=bitcast i8*%mI to i32*
%mK=load i32,i32*%mJ,align 4
%mL=load i8*,i8**%c,align 8
%mM=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%mL,i8*inreg%mE)
store i8*%mM,i8**%g,align 8
%mN=bitcast i8**%f to i8***
%mO=load i8**,i8***%mN,align 8
store i8*null,i8**%f,align 8
%mP=load i8*,i8**%mO,align 8
store i8*%mP,i8**%h,align 8
%mQ=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%mM)
store i8*%mQ,i8**%i,align 8
%mR=call i8*@sml_alloc(i32 inreg 20)#0
%mS=getelementptr inbounds i8,i8*%mR,i64 -4
%mT=bitcast i8*%mS to i32*
store i32 1342177296,i32*%mT,align 4
store i8*%mR,i8**%f,align 8
%mU=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%mV=bitcast i8*%mR to i8**
store i8*%mU,i8**%mV,align 8
%mW=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%mX=getelementptr inbounds i8,i8*%mR,i64 8
%mY=bitcast i8*%mX to i8**
store i8*%mW,i8**%mY,align 8
%mZ=getelementptr inbounds i8,i8*%mR,i64 16
%m0=bitcast i8*%mZ to i32*
store i32 3,i32*%m0,align 4
%m1=call i8*@sml_alloc(i32 inreg 12)#0
%m2=getelementptr inbounds i8,i8*%m1,i64 -4
%m3=bitcast i8*%m2 to i32*
store i32 1342177288,i32*%m3,align 4
store i8*%m1,i8**%h,align 8
%m4=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%m5=bitcast i8*%m1 to i8**
store i8*%m4,i8**%m5,align 8
%m6=getelementptr inbounds i8,i8*%m1,i64 8
%m7=bitcast i8*%m6 to i32*
store i32 1,i32*%m7,align 4
%m8=call i8*@sml_alloc(i32 inreg 28)#0
%m9=getelementptr inbounds i8,i8*%m8,i64 -4
%na=bitcast i8*%m9 to i32*
store i32 1342177304,i32*%na,align 4
store i8*%m8,i8**%g,align 8
%nb=getelementptr inbounds i8,i8*%m8,i64 20
%nc=bitcast i8*%nb to i32*
store i32 0,i32*%nc,align 1
%nd=bitcast i8*%m8 to i8**
%ne=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
store i8*%ne,i8**%nd,align 8
%nf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ng=getelementptr inbounds i8,i8*%m8,i64 8
%nh=bitcast i8*%ng to i8**
store i8*%nf,i8**%nh,align 8
%ni=getelementptr inbounds i8,i8*%m8,i64 16
%nj=bitcast i8*%ni to i32*
store i32%mK,i32*%nj,align 4
%nk=getelementptr inbounds i8,i8*%m8,i64 24
%nl=bitcast i8*%nk to i32*
store i32 3,i32*%nl,align 4
%nm=call i8*@sml_alloc(i32 inreg 20)#0
%nn=getelementptr inbounds i8,i8*%nm,i64 -4
%no=bitcast i8*%nn to i32*
store i32 1342177296,i32*%no,align 4
%np=bitcast i8*%nm to i64*
store i64 0,i64*%np,align 4
%nq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%nr=getelementptr inbounds i8,i8*%nm,i64 8
%ns=bitcast i8*%nr to i8**
store i8*%nq,i8**%ns,align 8
%nt=getelementptr inbounds i8,i8*%nm,i64 16
%nu=bitcast i8*%nt to i32*
store i32 2,i32*%nu,align 4
br label%nv
nv:
%nw=phi i8*[%nm,%mC],[%l6,%mv]
store i8*%nw,i8**%f,align 8
br label%pv
nx:
%ny=getelementptr inbounds i8,i8*%l6,i64 8
%nz=bitcast i8*%ny to i8**
%nA=load i8*,i8**%nz,align 8
%nB=bitcast i8*%nA to i8**
%nC=load i8*,i8**%nB,align 8
store i8*%nC,i8**%f,align 8
%nD=getelementptr inbounds i8,i8*%nA,i64 8
%nE=bitcast i8*%nD to i8**
%nF=load i8*,i8**%nE,align 8
store i8*%nF,i8**%g,align 8
%nG=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%nH=getelementptr inbounds i8,i8*%nG,i64 16
%nI=bitcast i8*%nH to i8*(i8*,i8*)**
%nJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%nI,align 8
%nK=bitcast i8*%nG to i8**
%nL=load i8*,i8**%nK,align 8
store i8*%nL,i8**%h,align 8
%nM=call i8*@sml_alloc(i32 inreg 12)#0
%nN=getelementptr inbounds i8,i8*%nM,i64 -4
%nO=bitcast i8*%nN to i32*
store i32 1342177288,i32*%nO,align 4
store i8*%nM,i8**%i,align 8
%nP=load i8*,i8**%c,align 8
%nQ=bitcast i8*%nM to i8**
store i8*%nP,i8**%nQ,align 8
%nR=getelementptr inbounds i8,i8*%nM,i64 8
%nS=bitcast i8*%nR to i32*
store i32 1,i32*%nS,align 4
%nT=call i8*@sml_alloc(i32 inreg 28)#0
%nU=getelementptr inbounds i8,i8*%nT,i64 -4
%nV=bitcast i8*%nU to i32*
store i32 1342177304,i32*%nV,align 4
%nW=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%nX=bitcast i8*%nT to i8**
store i8*%nW,i8**%nX,align 8
%nY=getelementptr inbounds i8,i8*%nT,i64 8
%nZ=bitcast i8*%nY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8recbinds_222 to void(...)*),void(...)**%nZ,align 8
%n0=getelementptr inbounds i8,i8*%nT,i64 16
%n1=bitcast i8*%n0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL8recbinds_222 to void(...)*),void(...)**%n1,align 8
%n2=getelementptr inbounds i8,i8*%nT,i64 24
%n3=bitcast i8*%n2 to i32*
store i32 -2147483647,i32*%n3,align 4
%n4=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%n5=call fastcc i8*%nJ(i8*inreg%n4,i8*inreg%nT)
%n6=getelementptr inbounds i8,i8*%n5,i64 16
%n7=bitcast i8*%n6 to i8*(i8*,i8*)**
%n8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n7,align 8
%n9=bitcast i8*%n5 to i8**
%oa=load i8*,i8**%n9,align 8
%ob=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%oc=call fastcc i8*%n8(i8*inreg%oa,i8*inreg%ob)
store i8*%oc,i8**%f,align 8
%od=call i8*@sml_alloc(i32 inreg 20)#0
%oe=getelementptr inbounds i8,i8*%od,i64 -4
%of=bitcast i8*%oe to i32*
store i32 1342177296,i32*%of,align 4
store i8*%od,i8**%h,align 8
%og=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%oh=bitcast i8*%od to i8**
store i8*%og,i8**%oh,align 8
%oi=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%oj=getelementptr inbounds i8,i8*%od,i64 8
%ok=bitcast i8*%oj to i8**
store i8*%oi,i8**%ok,align 8
%ol=getelementptr inbounds i8,i8*%od,i64 16
%om=bitcast i8*%ol to i32*
store i32 3,i32*%om,align 4
%on=call i8*@sml_alloc(i32 inreg 20)#0
%oo=bitcast i8*%on to i32*
%op=getelementptr inbounds i8,i8*%on,i64 -4
%oq=bitcast i8*%op to i32*
store i32 1342177296,i32*%oq,align 4
%or=getelementptr inbounds i8,i8*%on,i64 4
%os=bitcast i8*%or to i32*
store i32 0,i32*%os,align 1
store i32 3,i32*%oo,align 4
%ot=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ou=getelementptr inbounds i8,i8*%on,i64 8
%ov=bitcast i8*%ou to i8**
store i8*%ot,i8**%ov,align 8
%ow=getelementptr inbounds i8,i8*%on,i64 16
%ox=bitcast i8*%ow to i32*
store i32 2,i32*%ox,align 4
store i8*%on,i8**%f,align 8
br label%pv
oy:
%oz=getelementptr inbounds i8,i8*%l6,i64 8
%oA=bitcast i8*%oz to i8**
%oB=load i8*,i8**%oA,align 8
%oC=bitcast i8*%oB to i8**
%oD=load i8*,i8**%oC,align 8
%oE=getelementptr inbounds i8,i8*%oB,i64 8
%oF=bitcast i8*%oE to i8**
%oG=load i8*,i8**%oF,align 8
store i8*%oG,i8**%f,align 8
%oH=getelementptr inbounds i8,i8*%oB,i64 16
%oI=bitcast i8*%oH to i8**
%oJ=load i8*,i8**%oI,align 8
store i8*%oJ,i8**%g,align 8
%oK=load i8*,i8**%c,align 8
%oL=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%oK,i8*inreg%oD)
store i8*%oL,i8**%h,align 8
%oM=load i8*,i8**%g,align 8
%oN=bitcast i8*%oM to i32*
%oO=load i32,i32*%oN,align 4
%oP=getelementptr inbounds i8,i8*%oM,i64 8
%oQ=bitcast i8*%oP to i8**
%oR=load i8*,i8**%oQ,align 8
store i8*%oR,i8**%g,align 8
%oS=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%oL)
store i8*%oS,i8**%i,align 8
%oT=call i8*@sml_alloc(i32 inreg 28)#0
%oU=getelementptr inbounds i8,i8*%oT,i64 -4
%oV=bitcast i8*%oU to i32*
store i32 1342177304,i32*%oV,align 4
store i8*%oT,i8**%j,align 8
%oW=getelementptr inbounds i8,i8*%oT,i64 4
%oX=bitcast i8*%oW to i32*
store i32 0,i32*%oX,align 1
%oY=bitcast i8*%oT to i32*
store i32%oO,i32*%oY,align 4
%oZ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%o0=getelementptr inbounds i8,i8*%oT,i64 8
%o1=bitcast i8*%o0 to i8**
store i8*%oZ,i8**%o1,align 8
%o2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%o3=getelementptr inbounds i8,i8*%oT,i64 16
%o4=bitcast i8*%o3 to i8**
store i8*%o2,i8**%o4,align 8
%o5=getelementptr inbounds i8,i8*%oT,i64 24
%o6=bitcast i8*%o5 to i32*
store i32 6,i32*%o6,align 4
%o7=call i8*@sml_alloc(i32 inreg 28)#0
%o8=getelementptr inbounds i8,i8*%o7,i64 -4
%o9=bitcast i8*%o8 to i32*
store i32 1342177304,i32*%o9,align 4
store i8*%o7,i8**%g,align 8
%pa=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%pb=bitcast i8*%o7 to i8**
store i8*%pa,i8**%pb,align 8
%pc=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pd=getelementptr inbounds i8,i8*%o7,i64 8
%pe=bitcast i8*%pd to i8**
store i8*%pc,i8**%pe,align 8
%pf=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%pg=getelementptr inbounds i8,i8*%o7,i64 16
%ph=bitcast i8*%pg to i8**
store i8*%pf,i8**%ph,align 8
%pi=getelementptr inbounds i8,i8*%o7,i64 24
%pj=bitcast i8*%pi to i32*
store i32 7,i32*%pj,align 4
%pk=call i8*@sml_alloc(i32 inreg 20)#0
%pl=bitcast i8*%pk to i32*
%pm=getelementptr inbounds i8,i8*%pk,i64 -4
%pn=bitcast i8*%pm to i32*
store i32 1342177296,i32*%pn,align 4
%po=getelementptr inbounds i8,i8*%pk,i64 4
%pp=bitcast i8*%po to i32*
store i32 0,i32*%pp,align 1
store i32 2,i32*%pl,align 4
%pq=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%pr=getelementptr inbounds i8,i8*%pk,i64 8
%ps=bitcast i8*%pr to i8**
store i8*%pq,i8**%ps,align 8
%pt=getelementptr inbounds i8,i8*%pk,i64 16
%pu=bitcast i8*%pt to i32*
store i32 2,i32*%pu,align 4
store i8*%pk,i8**%f,align 8
br label%pv
pv:
%pw=load i8*,i8**%c,align 8
%px=load i8*,i8**%d,align 8
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
%py=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%pw,i8*inreg%px)
store i8*%py,i8**%c,align 8
%pz=call i8*@sml_alloc(i32 inreg 28)#0
%pA=getelementptr inbounds i8,i8*%pz,i64 -4
%pB=bitcast i8*%pA to i32*
store i32 1342177304,i32*%pB,align 4
store i8*%pz,i8**%d,align 8
%pC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%pD=bitcast i8*%pz to i8**
store i8*%pC,i8**%pD,align 8
%pE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%pF=getelementptr inbounds i8,i8*%pz,i64 8
%pG=bitcast i8*%pF to i8**
store i8*%pE,i8**%pG,align 8
%pH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%pI=getelementptr inbounds i8,i8*%pz,i64 16
%pJ=bitcast i8*%pI to i8**
store i8*%pH,i8**%pJ,align 8
%pK=getelementptr inbounds i8,i8*%pz,i64 24
%pL=bitcast i8*%pK to i32*
store i32 7,i32*%pL,align 4
%pM=call i8*@sml_alloc(i32 inreg 20)#0
%pN=bitcast i8*%pM to i32*
%pO=getelementptr inbounds i8,i8*%pM,i64 -4
%pP=bitcast i8*%pO to i32*
store i32 1342177296,i32*%pP,align 4
%pQ=getelementptr inbounds i8,i8*%pM,i64 4
%pR=bitcast i8*%pQ to i32*
store i32 0,i32*%pR,align 1
store i32 9,i32*%pN,align 4
%pS=load i8*,i8**%d,align 8
%pT=getelementptr inbounds i8,i8*%pM,i64 8
%pU=bitcast i8*%pT to i8**
store i8*%pS,i8**%pU,align 8
%pV=getelementptr inbounds i8,i8*%pM,i64 16
%pW=bitcast i8*%pV to i32*
store i32 2,i32*%pW,align 4
ret i8*%pM
pX:
%pY=getelementptr inbounds i8,i8*%r,i64 8
%pZ=bitcast i8*%pY to i8**
%p0=load i8*,i8**%pZ,align 8
%p1=bitcast i8*%p0 to i8**
%p2=load i8*,i8**%p1,align 8
store i8*%p2,i8**%d,align 8
%p3=getelementptr inbounds i8,i8*%p0,i64 8
%p4=bitcast i8*%p3 to i8**
%p5=load i8*,i8**%p4,align 8
store i8*%p5,i8**%e,align 8
%p6=getelementptr inbounds i8,i8*%p0,i64 16
%p7=bitcast i8*%p6 to i8**
%p8=load i8*,i8**%p7,align 8
store i8*%p8,i8**%f,align 8
%p9=getelementptr inbounds i8,i8*%p0,i64 32
%qa=bitcast i8*%p9 to i8**
%qb=load i8*,i8**%qa,align 8
store i8*%qb,i8**%g,align 8
%qc=getelementptr inbounds i8,i8*%p0,i64 40
%qd=bitcast i8*%qc to i8**
%qe=load i8*,i8**%qd,align 8
store i8*%qe,i8**%h,align 8
%qf=getelementptr inbounds i8,i8*%p0,i64 48
%qg=bitcast i8*%qf to i8**
%qh=load i8*,i8**%qg,align 8
store i8*%qh,i8**%i,align 8
%qi=getelementptr inbounds i8,i8*%p0,i64 56
%qj=bitcast i8*%qi to i8**
%qk=load i8*,i8**%qj,align 8
%ql=load i8*,i8**%c,align 8
%qm=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%ql,i8*inreg%qk)
store i8*%qm,i8**%j,align 8
%qn=load i8*,i8**%c,align 8
%qo=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%qp=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%qn,i8*inreg%qo)
store i8*%qp,i8**%d,align 8
%qq=load i8*,i8**%c,align 8
%qr=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%qs=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%qq,i8*inreg%qr)
store i8*%qs,i8**%g,align 8
%qt=load i8*,i8**%j,align 8
%qu=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%qt)
store i8*%qu,i8**%k,align 8
%qv=load i8*,i8**%d,align 8
%qw=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%qv)
store i8*%qw,i8**%l,align 8
%qx=load i8*,i8**%c,align 8
%qy=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%qx)
%qz=getelementptr inbounds i8,i8*%qy,i64 16
%qA=bitcast i8*%qz to i8*(i8*,i8*)**
%qB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qA,align 8
%qC=bitcast i8*%qy to i8**
%qD=load i8*,i8**%qC,align 8
%qE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qF=call fastcc i8*%qB(i8*inreg%qD,i8*inreg%qE)
store i8*%qF,i8**%e,align 8
%qG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%qH=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%qG)
%qI=getelementptr inbounds i8,i8*%qH,i64 16
%qJ=bitcast i8*%qI to i8*(i8*,i8*)**
%qK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qJ,align 8
%qL=bitcast i8*%qH to i8**
%qM=load i8*,i8**%qL,align 8
%qN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%qO=call fastcc i8*%qK(i8*inreg%qM,i8*inreg%qN)
store i8*%qO,i8**%c,align 8
%qP=call i8*@sml_alloc(i32 inreg 76)#0
%qQ=getelementptr inbounds i8,i8*%qP,i64 -4
%qR=bitcast i8*%qQ to i32*
store i32 1342177352,i32*%qR,align 4
store i8*%qP,i8**%f,align 8
%qS=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%qT=bitcast i8*%qP to i8**
store i8*%qS,i8**%qT,align 8
%qU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%qV=getelementptr inbounds i8,i8*%qP,i64 8
%qW=bitcast i8*%qV to i8**
store i8*%qU,i8**%qW,align 8
%qX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%qY=getelementptr inbounds i8,i8*%qP,i64 16
%qZ=bitcast i8*%qY to i8**
store i8*%qX,i8**%qZ,align 8
%q0=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%q1=getelementptr inbounds i8,i8*%qP,i64 24
%q2=bitcast i8*%q1 to i8**
store i8*%q0,i8**%q2,align 8
%q3=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%q4=getelementptr inbounds i8,i8*%qP,i64 32
%q5=bitcast i8*%q4 to i8**
store i8*%q3,i8**%q5,align 8
%q6=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%q7=getelementptr inbounds i8,i8*%qP,i64 40
%q8=bitcast i8*%q7 to i8**
store i8*%q6,i8**%q8,align 8
%q9=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ra=getelementptr inbounds i8,i8*%qP,i64 48
%rb=bitcast i8*%ra to i8**
store i8*%q9,i8**%rb,align 8
%rc=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%rd=getelementptr inbounds i8,i8*%qP,i64 56
%re=bitcast i8*%rd to i8**
store i8*%rc,i8**%re,align 8
%rf=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%rg=getelementptr inbounds i8,i8*%qP,i64 64
%rh=bitcast i8*%rg to i8**
store i8*%rf,i8**%rh,align 8
%ri=getelementptr inbounds i8,i8*%qP,i64 72
%rj=bitcast i8*%ri to i32*
store i32 511,i32*%rj,align 4
%rk=call i8*@sml_alloc(i32 inreg 20)#0
%rl=bitcast i8*%rk to i32*
%rm=getelementptr inbounds i8,i8*%rk,i64 -4
%rn=bitcast i8*%rm to i32*
store i32 1342177296,i32*%rn,align 4
%ro=getelementptr inbounds i8,i8*%rk,i64 4
%rp=bitcast i8*%ro to i32*
store i32 0,i32*%rp,align 1
store i32 10,i32*%rl,align 4
%rq=load i8*,i8**%f,align 8
%rr=getelementptr inbounds i8,i8*%rk,i64 8
%rs=bitcast i8*%rr to i8**
store i8*%rq,i8**%rs,align 8
%rt=getelementptr inbounds i8,i8*%rk,i64 16
%ru=bitcast i8*%rt to i32*
store i32 2,i32*%ru,align 4
ret i8*%rk
rv:
%rw=getelementptr inbounds i8,i8*%r,i64 8
%rx=bitcast i8*%rw to i8**
%ry=load i8*,i8**%rx,align 8
%rz=bitcast i8*%ry to i8**
%rA=load i8*,i8**%rz,align 8
store i8*%rA,i8**%d,align 8
%rB=getelementptr inbounds i8,i8*%ry,i64 8
%rC=bitcast i8*%rB to i8**
%rD=load i8*,i8**%rC,align 8
store i8*%rD,i8**%e,align 8
%rE=getelementptr inbounds i8,i8*%ry,i64 16
%rF=bitcast i8*%rE to i8**
%rG=load i8*,i8**%rF,align 8
store i8*%rG,i8**%f,align 8
%rH=getelementptr inbounds i8,i8*%ry,i64 24
%rI=bitcast i8*%rH to i8**
%rJ=load i8*,i8**%rI,align 8
%rK=getelementptr inbounds i8,i8*%ry,i64 40
%rL=bitcast i8*%rK to i8**
%rM=load i8*,i8**%rL,align 8
store i8*%rM,i8**%g,align 8
%rN=getelementptr inbounds i8,i8*%ry,i64 48
%rO=bitcast i8*%rN to i8**
%rP=load i8*,i8**%rO,align 8
store i8*%rP,i8**%h,align 8
%rQ=getelementptr inbounds i8,i8*%ry,i64 56
%rR=bitcast i8*%rQ to i8**
%rS=load i8*,i8**%rR,align 8
store i8*%rS,i8**%i,align 8
%rT=load i8*,i8**%c,align 8
%rU=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%rT,i8*inreg%rJ)
store i8*%rU,i8**%j,align 8
%rV=load i8*,i8**%c,align 8
%rW=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%rX=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%rV,i8*inreg%rW)
store i8*%rX,i8**%d,align 8
%rY=load i8*,i8**%j,align 8
%rZ=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%rY)
store i8*%rZ,i8**%k,align 8
%r0=bitcast i8**%c to i8***
%r1=load i8**,i8***%r0,align 8
%r2=load i8*,i8**%r1,align 8
%r3=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%r2)
%r4=getelementptr inbounds i8,i8*%r3,i64 16
%r5=bitcast i8*%r4 to i8*(i8*,i8*)**
%r6=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r5,align 8
%r7=bitcast i8*%r3 to i8**
%r8=load i8*,i8**%r7,align 8
%r9=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%sa=call fastcc i8*%r6(i8*inreg%r8,i8*inreg%r9)
store i8*%sa,i8**%i,align 8
%sb=load i8*,i8**%c,align 8
%sc=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%sb)
%sd=getelementptr inbounds i8,i8*%sc,i64 16
%se=bitcast i8*%sd to i8*(i8*,i8*)**
%sf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%se,align 8
%sg=bitcast i8*%sc to i8**
%sh=load i8*,i8**%sg,align 8
%si=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%sj=call fastcc i8*%sf(i8*inreg%sh,i8*inreg%si)
store i8*%sj,i8**%g,align 8
%sk=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%sl=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%sk)
%sm=getelementptr inbounds i8,i8*%sl,i64 16
%sn=bitcast i8*%sm to i8*(i8*,i8*)**
%so=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%sn,align 8
%sp=bitcast i8*%sl to i8**
%sq=load i8*,i8**%sp,align 8
%sr=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ss=call fastcc i8*%so(i8*inreg%sq,i8*inreg%sr)
store i8*%ss,i8**%c,align 8
%st=call i8*@sml_alloc(i32 inreg 68)#0
%su=getelementptr inbounds i8,i8*%st,i64 -4
%sv=bitcast i8*%su to i32*
store i32 1342177344,i32*%sv,align 4
store i8*%st,i8**%h,align 8
%sw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%sx=bitcast i8*%st to i8**
store i8*%sw,i8**%sx,align 8
%sy=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%sz=getelementptr inbounds i8,i8*%st,i64 8
%sA=bitcast i8*%sz to i8**
store i8*%sy,i8**%sA,align 8
%sB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%sC=getelementptr inbounds i8,i8*%st,i64 16
%sD=bitcast i8*%sC to i8**
store i8*%sB,i8**%sD,align 8
%sE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%sF=getelementptr inbounds i8,i8*%st,i64 24
%sG=bitcast i8*%sF to i8**
store i8*%sE,i8**%sG,align 8
%sH=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%sI=getelementptr inbounds i8,i8*%st,i64 32
%sJ=bitcast i8*%sI to i8**
store i8*%sH,i8**%sJ,align 8
%sK=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%sL=getelementptr inbounds i8,i8*%st,i64 40
%sM=bitcast i8*%sL to i8**
store i8*%sK,i8**%sM,align 8
%sN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%sO=getelementptr inbounds i8,i8*%st,i64 48
%sP=bitcast i8*%sO to i8**
store i8*%sN,i8**%sP,align 8
%sQ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%sR=getelementptr inbounds i8,i8*%st,i64 56
%sS=bitcast i8*%sR to i8**
store i8*%sQ,i8**%sS,align 8
%sT=getelementptr inbounds i8,i8*%st,i64 64
%sU=bitcast i8*%sT to i32*
store i32 255,i32*%sU,align 4
%sV=call i8*@sml_alloc(i32 inreg 20)#0
%sW=bitcast i8*%sV to i32*
%sX=getelementptr inbounds i8,i8*%sV,i64 -4
%sY=bitcast i8*%sX to i32*
store i32 1342177296,i32*%sY,align 4
%sZ=getelementptr inbounds i8,i8*%sV,i64 4
%s0=bitcast i8*%sZ to i32*
store i32 0,i32*%s0,align 1
store i32 14,i32*%sW,align 4
%s1=load i8*,i8**%h,align 8
%s2=getelementptr inbounds i8,i8*%sV,i64 8
%s3=bitcast i8*%s2 to i8**
store i8*%s1,i8**%s3,align 8
%s4=getelementptr inbounds i8,i8*%sV,i64 16
%s5=bitcast i8*%s4 to i32*
store i32 2,i32*%s5,align 4
ret i8*%sV
s6:
%s7=getelementptr inbounds i8,i8*%r,i64 8
%s8=bitcast i8*%s7 to i8**
%s9=load i8*,i8**%s8,align 8
%ta=bitcast i8*%s9 to i8**
%tb=load i8*,i8**%ta,align 8
store i8*%tb,i8**%d,align 8
%tc=getelementptr inbounds i8,i8*%s9,i64 8
%td=bitcast i8*%tc to i8**
%te=load i8*,i8**%td,align 8
store i8*%te,i8**%e,align 8
%tf=call fastcc i8*@_SMLFN11RecordLabel3Map3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%tg=getelementptr inbounds i8,i8*%tf,i64 16
%th=bitcast i8*%tg to i8*(i8*,i8*)**
%ti=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%th,align 8
%tj=bitcast i8*%tf to i8**
%tk=load i8*,i8**%tj,align 8
store i8*%tk,i8**%f,align 8
%tl=call i8*@sml_alloc(i32 inreg 12)#0
%tm=getelementptr inbounds i8,i8*%tl,i64 -4
%tn=bitcast i8*%tm to i32*
store i32 1342177288,i32*%tn,align 4
store i8*%tl,i8**%g,align 8
%to=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%tp=bitcast i8*%tl to i8**
store i8*%to,i8**%tp,align 8
%tq=getelementptr inbounds i8,i8*%tl,i64 8
%tr=bitcast i8*%tq to i32*
store i32 1,i32*%tr,align 4
%ts=call i8*@sml_alloc(i32 inreg 28)#0
%tt=getelementptr inbounds i8,i8*%ts,i64 -4
%tu=bitcast i8*%tt to i32*
store i32 1342177304,i32*%tu,align 4
%tv=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%tw=bitcast i8*%ts to i8**
store i8*%tv,i8**%tw,align 8
%tx=getelementptr inbounds i8,i8*%ts,i64 8
%ty=bitcast i8*%tx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_221 to void(...)*),void(...)**%ty,align 8
%tz=getelementptr inbounds i8,i8*%ts,i64 16
%tA=bitcast i8*%tz to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_221 to void(...)*),void(...)**%tA,align 8
%tB=getelementptr inbounds i8,i8*%ts,i64 24
%tC=bitcast i8*%tB to i32*
store i32 -2147483647,i32*%tC,align 4
%tD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%tE=call fastcc i8*%ti(i8*inreg%tD,i8*inreg%ts)
%tF=getelementptr inbounds i8,i8*%tE,i64 16
%tG=bitcast i8*%tF to i8*(i8*,i8*)**
%tH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tG,align 8
%tI=bitcast i8*%tE to i8**
%tJ=load i8*,i8**%tI,align 8
%tK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%tL=call fastcc i8*%tH(i8*inreg%tJ,i8*inreg%tK)
store i8*%tL,i8**%c,align 8
%tM=call i8*@sml_alloc(i32 inreg 20)#0
%tN=getelementptr inbounds i8,i8*%tM,i64 -4
%tO=bitcast i8*%tN to i32*
store i32 1342177296,i32*%tO,align 4
store i8*%tM,i8**%d,align 8
%tP=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%tQ=bitcast i8*%tM to i8**
store i8*%tP,i8**%tQ,align 8
%tR=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%tS=getelementptr inbounds i8,i8*%tM,i64 8
%tT=bitcast i8*%tS to i8**
store i8*%tR,i8**%tT,align 8
%tU=getelementptr inbounds i8,i8*%tM,i64 16
%tV=bitcast i8*%tU to i32*
store i32 3,i32*%tV,align 4
%tW=call i8*@sml_alloc(i32 inreg 20)#0
%tX=bitcast i8*%tW to i32*
%tY=getelementptr inbounds i8,i8*%tW,i64 -4
%tZ=bitcast i8*%tY to i32*
store i32 1342177296,i32*%tZ,align 4
%t0=getelementptr inbounds i8,i8*%tW,i64 4
%t1=bitcast i8*%t0 to i32*
store i32 0,i32*%t1,align 1
store i32 13,i32*%tX,align 4
%t2=load i8*,i8**%d,align 8
%t3=getelementptr inbounds i8,i8*%tW,i64 8
%t4=bitcast i8*%t3 to i8**
store i8*%t2,i8**%t4,align 8
%t5=getelementptr inbounds i8,i8*%tW,i64 16
%t6=bitcast i8*%t5 to i32*
store i32 2,i32*%t6,align 4
ret i8*%tW
t7:
%t8=getelementptr inbounds i8,i8*%r,i64 8
%t9=bitcast i8*%t8 to i8**
%ua=load i8*,i8**%t9,align 8
%ub=bitcast i8*%ua to i8**
%uc=load i8*,i8**%ub,align 8
store i8*%uc,i8**%d,align 8
%ud=getelementptr inbounds i8,i8*%ua,i64 8
%ue=bitcast i8*%ud to i8**
%uf=load i8*,i8**%ue,align 8
store i8*%uf,i8**%e,align 8
%ug=getelementptr inbounds i8,i8*%ua,i64 16
%uh=bitcast i8*%ug to i8**
%ui=load i8*,i8**%uh,align 8
store i8*%ui,i8**%f,align 8
%uj=getelementptr inbounds i8,i8*%ua,i64 24
%uk=bitcast i8*%uj to i8**
%ul=load i8*,i8**%uk,align 8
store i8*%ul,i8**%g,align 8
%um=getelementptr inbounds i8,i8*%ua,i64 32
%un=bitcast i8*%um to i8**
%uo=load i8*,i8**%un,align 8
store i8*%uo,i8**%h,align 8
%up=getelementptr inbounds i8,i8*%ua,i64 40
%uq=bitcast i8*%up to i8**
%ur=load i8*,i8**%uq,align 8
store i8*%ur,i8**%i,align 8
%us=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%ut=bitcast i8**%c to i8***
%uu=load i8**,i8***%ut,align 8
%uv=load i8*,i8**%uu,align 8
store i8*%uv,i8**%j,align 8
%uw=getelementptr inbounds i8,i8*%us,i64 16
%ux=bitcast i8*%uw to i8*(i8*,i8*)**
%uy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ux,align 8
%uz=bitcast i8*%us to i8**
%uA=load i8*,i8**%uz,align 8
store i8*%uA,i8**%k,align 8
%uB=call i8*@sml_alloc(i32 inreg 12)#0
%uC=getelementptr inbounds i8,i8*%uB,i64 -4
%uD=bitcast i8*%uC to i32*
store i32 1342177288,i32*%uD,align 4
store i8*%uB,i8**%l,align 8
%uE=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%uF=bitcast i8*%uB to i8**
store i8*%uE,i8**%uF,align 8
%uG=getelementptr inbounds i8,i8*%uB,i64 8
%uH=bitcast i8*%uG to i32*
store i32 1,i32*%uH,align 4
%uI=call i8*@sml_alloc(i32 inreg 28)#0
%uJ=getelementptr inbounds i8,i8*%uI,i64 -4
%uK=bitcast i8*%uJ to i32*
store i32 1342177304,i32*%uK,align 4
%uL=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%uM=bitcast i8*%uI to i8**
store i8*%uL,i8**%uM,align 8
%uN=getelementptr inbounds i8,i8*%uI,i64 8
%uO=bitcast i8*%uN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_219 to void(...)*),void(...)**%uO,align 8
%uP=getelementptr inbounds i8,i8*%uI,i64 16
%uQ=bitcast i8*%uP to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_219 to void(...)*),void(...)**%uQ,align 8
%uR=getelementptr inbounds i8,i8*%uI,i64 24
%uS=bitcast i8*%uR to i32*
store i32 -2147483647,i32*%uS,align 4
%uT=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%uU=call fastcc i8*%uy(i8*inreg%uT,i8*inreg%uI)
%uV=getelementptr inbounds i8,i8*%uU,i64 16
%uW=bitcast i8*%uV to i8*(i8*,i8*)**
%uX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uW,align 8
%uY=bitcast i8*%uU to i8**
%uZ=load i8*,i8**%uY,align 8
%u0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%u1=call fastcc i8*%uX(i8*inreg%uZ,i8*inreg%u0)
store i8*%u1,i8**%g,align 8
%u2=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%u3=getelementptr inbounds i8,i8*%u2,i64 16
%u4=bitcast i8*%u3 to i8*(i8*,i8*)**
%u5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u4,align 8
%u6=bitcast i8*%u2 to i8**
%u7=load i8*,i8**%u6,align 8
store i8*%u7,i8**%j,align 8
%u8=load i8*,i8**%c,align 8
%u9=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%u8)
%va=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%vb=call fastcc i8*%u5(i8*inreg%va,i8*inreg%u9)
%vc=getelementptr inbounds i8,i8*%vb,i64 16
%vd=bitcast i8*%vc to i8*(i8*,i8*)**
%ve=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%vd,align 8
%vf=bitcast i8*%vb to i8**
%vg=load i8*,i8**%vf,align 8
%vh=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%vi=call fastcc i8*%ve(i8*inreg%vg,i8*inreg%vh)
store i8*%vi,i8**%e,align 8
%vj=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%vk=getelementptr inbounds i8,i8*%vj,i64 16
%vl=bitcast i8*%vk to i8*(i8*,i8*)**
%vm=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%vl,align 8
%vn=bitcast i8*%vj to i8**
%vo=load i8*,i8**%vn,align 8
store i8*%vo,i8**%j,align 8
%vp=load i8*,i8**%c,align 8
%vq=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%vp)
%vr=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%vs=call fastcc i8*%vm(i8*inreg%vr,i8*inreg%vq)
%vt=getelementptr inbounds i8,i8*%vs,i64 16
%vu=bitcast i8*%vt to i8*(i8*,i8*)**
%vv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%vu,align 8
%vw=bitcast i8*%vs to i8**
%vx=load i8*,i8**%vw,align 8
%vy=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%vz=call fastcc i8*%vv(i8*inreg%vx,i8*inreg%vy)
store i8*%vz,i8**%f,align 8
%vA=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%vB=getelementptr inbounds i8,i8*%vA,i64 16
%vC=bitcast i8*%vB to i8*(i8*,i8*)**
%vD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%vC,align 8
%vE=bitcast i8*%vA to i8**
%vF=load i8*,i8**%vE,align 8
store i8*%vF,i8**%j,align 8
%vG=call i8*@sml_alloc(i32 inreg 12)#0
%vH=getelementptr inbounds i8,i8*%vG,i64 -4
%vI=bitcast i8*%vH to i32*
store i32 1342177288,i32*%vI,align 4
store i8*%vG,i8**%k,align 8
%vJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%vK=bitcast i8*%vG to i8**
store i8*%vJ,i8**%vK,align 8
%vL=getelementptr inbounds i8,i8*%vG,i64 8
%vM=bitcast i8*%vL to i32*
store i32 1,i32*%vM,align 4
%vN=call i8*@sml_alloc(i32 inreg 28)#0
%vO=getelementptr inbounds i8,i8*%vN,i64 -4
%vP=bitcast i8*%vO to i32*
store i32 1342177304,i32*%vP,align 4
%vQ=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%vR=bitcast i8*%vN to i8**
store i8*%vQ,i8**%vR,align 8
%vS=getelementptr inbounds i8,i8*%vN,i64 8
%vT=bitcast i8*%vS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_220 to void(...)*),void(...)**%vT,align 8
%vU=getelementptr inbounds i8,i8*%vN,i64 16
%vV=bitcast i8*%vU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_220 to void(...)*),void(...)**%vV,align 8
%vW=getelementptr inbounds i8,i8*%vN,i64 24
%vX=bitcast i8*%vW to i32*
store i32 -2147483647,i32*%vX,align 4
%vY=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%vZ=call fastcc i8*%vD(i8*inreg%vY,i8*inreg%vN)
%v0=getelementptr inbounds i8,i8*%vZ,i64 16
%v1=bitcast i8*%v0 to i8*(i8*,i8*)**
%v2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v1,align 8
%v3=bitcast i8*%vZ to i8**
%v4=load i8*,i8**%v3,align 8
%v5=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%v6=call fastcc i8*%v2(i8*inreg%v4,i8*inreg%v5)
store i8*%v6,i8**%c,align 8
%v7=call i8*@sml_alloc(i32 inreg 52)#0
%v8=getelementptr inbounds i8,i8*%v7,i64 -4
%v9=bitcast i8*%v8 to i32*
store i32 1342177328,i32*%v9,align 4
store i8*%v7,i8**%d,align 8
%wa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%wb=bitcast i8*%v7 to i8**
store i8*%wa,i8**%wb,align 8
%wc=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%wd=getelementptr inbounds i8,i8*%v7,i64 8
%we=bitcast i8*%wd to i8**
store i8*%wc,i8**%we,align 8
%wf=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%wg=getelementptr inbounds i8,i8*%v7,i64 16
%wh=bitcast i8*%wg to i8**
store i8*%wf,i8**%wh,align 8
%wi=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%wj=getelementptr inbounds i8,i8*%v7,i64 24
%wk=bitcast i8*%wj to i8**
store i8*%wi,i8**%wk,align 8
%wl=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%wm=getelementptr inbounds i8,i8*%v7,i64 32
%wn=bitcast i8*%wm to i8**
store i8*%wl,i8**%wn,align 8
%wo=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%wp=getelementptr inbounds i8,i8*%v7,i64 40
%wq=bitcast i8*%wp to i8**
store i8*%wo,i8**%wq,align 8
%wr=getelementptr inbounds i8,i8*%v7,i64 48
%ws=bitcast i8*%wr to i32*
store i32 63,i32*%ws,align 4
%wt=call i8*@sml_alloc(i32 inreg 20)#0
%wu=bitcast i8*%wt to i32*
%wv=getelementptr inbounds i8,i8*%wt,i64 -4
%ww=bitcast i8*%wv to i32*
store i32 1342177296,i32*%ww,align 4
%wx=getelementptr inbounds i8,i8*%wt,i64 4
%wy=bitcast i8*%wx to i32*
store i32 0,i32*%wy,align 1
store i32 11,i32*%wu,align 4
%wz=load i8*,i8**%d,align 8
%wA=getelementptr inbounds i8,i8*%wt,i64 8
%wB=bitcast i8*%wA to i8**
store i8*%wz,i8**%wB,align 8
%wC=getelementptr inbounds i8,i8*%wt,i64 16
%wD=bitcast i8*%wC to i32*
store i32 2,i32*%wD,align 4
ret i8*%wt
wE:
%wF=getelementptr inbounds i8,i8*%r,i64 8
%wG=bitcast i8*%wF to i8**
%wH=load i8*,i8**%wG,align 8
%wI=bitcast i8*%wH to i8**
%wJ=load i8*,i8**%wI,align 8
store i8*%wJ,i8**%d,align 8
%wK=getelementptr inbounds i8,i8*%wH,i64 8
%wL=bitcast i8*%wK to i8**
%wM=load i8*,i8**%wL,align 8
store i8*%wM,i8**%e,align 8
%wN=getelementptr inbounds i8,i8*%wH,i64 16
%wO=bitcast i8*%wN to i8**
%wP=load i8*,i8**%wO,align 8
%wQ=getelementptr inbounds i8,i8*%wH,i64 32
%wR=bitcast i8*%wQ to i8**
%wS=load i8*,i8**%wR,align 8
store i8*%wS,i8**%f,align 8
%wT=load i8*,i8**%c,align 8
%wU=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%wT,i8*inreg%wP)
store i8*%wU,i8**%g,align 8
%wV=load i8*,i8**%c,align 8
%wW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%wX=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%wV,i8*inreg%wW)
store i8*%wX,i8**%e,align 8
%wY=load i8*,i8**%g,align 8
%wZ=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%wY)
store i8*%wZ,i8**%h,align 8
%w0=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%w1=getelementptr inbounds i8,i8*%w0,i64 16
%w2=bitcast i8*%w1 to i8*(i8*,i8*)**
%w3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w2,align 8
%w4=bitcast i8*%w0 to i8**
%w5=load i8*,i8**%w4,align 8
store i8*%w5,i8**%i,align 8
%w6=call i8*@sml_alloc(i32 inreg 12)#0
%w7=getelementptr inbounds i8,i8*%w6,i64 -4
%w8=bitcast i8*%w7 to i32*
store i32 1342177288,i32*%w8,align 4
store i8*%w6,i8**%j,align 8
%w9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%xa=bitcast i8*%w6 to i8**
store i8*%w9,i8**%xa,align 8
%xb=getelementptr inbounds i8,i8*%w6,i64 8
%xc=bitcast i8*%xb to i32*
store i32 1,i32*%xc,align 4
%xd=call i8*@sml_alloc(i32 inreg 28)#0
%xe=getelementptr inbounds i8,i8*%xd,i64 -4
%xf=bitcast i8*%xe to i32*
store i32 1342177304,i32*%xf,align 4
%xg=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%xh=bitcast i8*%xd to i8**
store i8*%xg,i8**%xh,align 8
%xi=getelementptr inbounds i8,i8*%xd,i64 8
%xj=bitcast i8*%xi to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_218 to void(...)*),void(...)**%xj,align 8
%xk=getelementptr inbounds i8,i8*%xd,i64 16
%xl=bitcast i8*%xk to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_218 to void(...)*),void(...)**%xl,align 8
%xm=getelementptr inbounds i8,i8*%xd,i64 24
%xn=bitcast i8*%xm to i32*
store i32 -2147483647,i32*%xn,align 4
%xo=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%xp=call fastcc i8*%w3(i8*inreg%xo,i8*inreg%xd)
%xq=getelementptr inbounds i8,i8*%xp,i64 16
%xr=bitcast i8*%xq to i8*(i8*,i8*)**
%xs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%xr,align 8
%xt=bitcast i8*%xp to i8**
%xu=load i8*,i8**%xt,align 8
%xv=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%xw=call fastcc i8*%xs(i8*inreg%xu,i8*inreg%xv)
store i8*%xw,i8**%c,align 8
%xx=load i8*,i8**%e,align 8
%xy=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%xx)
store i8*%xy,i8**%d,align 8
%xz=call i8*@sml_alloc(i32 inreg 52)#0
%xA=getelementptr inbounds i8,i8*%xz,i64 -4
%xB=bitcast i8*%xA to i32*
store i32 1342177328,i32*%xB,align 4
store i8*%xz,i8**%i,align 8
%xC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%xD=bitcast i8*%xz to i8**
store i8*%xC,i8**%xD,align 8
%xE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%xF=getelementptr inbounds i8,i8*%xz,i64 8
%xG=bitcast i8*%xF to i8**
store i8*%xE,i8**%xG,align 8
%xH=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%xI=getelementptr inbounds i8,i8*%xz,i64 16
%xJ=bitcast i8*%xI to i8**
store i8*%xH,i8**%xJ,align 8
%xK=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%xL=getelementptr inbounds i8,i8*%xz,i64 24
%xM=bitcast i8*%xL to i8**
store i8*%xK,i8**%xM,align 8
%xN=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%xO=getelementptr inbounds i8,i8*%xz,i64 32
%xP=bitcast i8*%xO to i8**
store i8*%xN,i8**%xP,align 8
%xQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%xR=getelementptr inbounds i8,i8*%xz,i64 40
%xS=bitcast i8*%xR to i8**
store i8*%xQ,i8**%xS,align 8
%xT=getelementptr inbounds i8,i8*%xz,i64 48
%xU=bitcast i8*%xT to i32*
store i32 63,i32*%xU,align 4
%xV=call i8*@sml_alloc(i32 inreg 20)#0
%xW=bitcast i8*%xV to i32*
%xX=getelementptr inbounds i8,i8*%xV,i64 -4
%xY=bitcast i8*%xX to i32*
store i32 1342177296,i32*%xY,align 4
%xZ=getelementptr inbounds i8,i8*%xV,i64 4
%x0=bitcast i8*%xZ to i32*
store i32 0,i32*%x0,align 1
store i32 16,i32*%xW,align 4
%x1=load i8*,i8**%i,align 8
%x2=getelementptr inbounds i8,i8*%xV,i64 8
%x3=bitcast i8*%x2 to i8**
store i8*%x1,i8**%x3,align 8
%x4=getelementptr inbounds i8,i8*%xV,i64 16
%x5=bitcast i8*%x4 to i32*
store i32 2,i32*%x5,align 4
ret i8*%xV
x6:
%x7=getelementptr inbounds i8,i8*%r,i64 8
%x8=bitcast i8*%x7 to i8**
%x9=load i8*,i8**%x8,align 8
%ya=bitcast i8*%x9 to i8**
%yb=load i8*,i8**%ya,align 8
store i8*%yb,i8**%d,align 8
%yc=getelementptr inbounds i8,i8*%x9,i64 8
%yd=bitcast i8*%yc to i8**
%ye=load i8*,i8**%yd,align 8
%yf=getelementptr inbounds i8,i8*%x9,i64 24
%yg=bitcast i8*%yf to i8**
%yh=load i8*,i8**%yg,align 8
store i8*%yh,i8**%e,align 8
%yi=getelementptr inbounds i8,i8*%x9,i64 32
%yj=bitcast i8*%yi to i8**
%yk=load i8*,i8**%yj,align 8
store i8*%yk,i8**%f,align 8
%yl=load i8*,i8**%c,align 8
%ym=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%yl,i8*inreg%ye)
store i8*%ym,i8**%g,align 8
%yn=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%ym)
store i8*%yn,i8**%h,align 8
%yo=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%yp=bitcast i8**%c to i8***
%yq=load i8**,i8***%yp,align 8
%yr=load i8*,i8**%yq,align 8
store i8*%yr,i8**%i,align 8
%ys=getelementptr inbounds i8,i8*%yo,i64 16
%yt=bitcast i8*%ys to i8*(i8*,i8*)**
%yu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%yt,align 8
%yv=bitcast i8*%yo to i8**
%yw=load i8*,i8**%yv,align 8
store i8*%yw,i8**%j,align 8
%yx=call i8*@sml_alloc(i32 inreg 12)#0
%yy=getelementptr inbounds i8,i8*%yx,i64 -4
%yz=bitcast i8*%yy to i32*
store i32 1342177288,i32*%yz,align 4
store i8*%yx,i8**%k,align 8
%yA=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%yB=bitcast i8*%yx to i8**
store i8*%yA,i8**%yB,align 8
%yC=getelementptr inbounds i8,i8*%yx,i64 8
%yD=bitcast i8*%yC to i32*
store i32 1,i32*%yD,align 4
%yE=call i8*@sml_alloc(i32 inreg 28)#0
%yF=getelementptr inbounds i8,i8*%yE,i64 -4
%yG=bitcast i8*%yF to i32*
store i32 1342177304,i32*%yG,align 4
%yH=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%yI=bitcast i8*%yE to i8**
store i8*%yH,i8**%yI,align 8
%yJ=getelementptr inbounds i8,i8*%yE,i64 8
%yK=bitcast i8*%yJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_216 to void(...)*),void(...)**%yK,align 8
%yL=getelementptr inbounds i8,i8*%yE,i64 16
%yM=bitcast i8*%yL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_216 to void(...)*),void(...)**%yM,align 8
%yN=getelementptr inbounds i8,i8*%yE,i64 24
%yO=bitcast i8*%yN to i32*
store i32 -2147483647,i32*%yO,align 4
%yP=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%yQ=call fastcc i8*%yu(i8*inreg%yP,i8*inreg%yE)
%yR=getelementptr inbounds i8,i8*%yQ,i64 16
%yS=bitcast i8*%yR to i8*(i8*,i8*)**
%yT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%yS,align 8
%yU=bitcast i8*%yQ to i8**
%yV=load i8*,i8**%yU,align 8
%yW=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%yX=call fastcc i8*%yT(i8*inreg%yV,i8*inreg%yW)
store i8*%yX,i8**%e,align 8
%yY=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%yZ=getelementptr inbounds i8,i8*%yY,i64 16
%y0=bitcast i8*%yZ to i8*(i8*,i8*)**
%y1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y0,align 8
%y2=bitcast i8*%yY to i8**
%y3=load i8*,i8**%y2,align 8
store i8*%y3,i8**%i,align 8
%y4=call i8*@sml_alloc(i32 inreg 12)#0
%y5=getelementptr inbounds i8,i8*%y4,i64 -4
%y6=bitcast i8*%y5 to i32*
store i32 1342177288,i32*%y6,align 4
store i8*%y4,i8**%j,align 8
%y7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%y8=bitcast i8*%y4 to i8**
store i8*%y7,i8**%y8,align 8
%y9=getelementptr inbounds i8,i8*%y4,i64 8
%za=bitcast i8*%y9 to i32*
store i32 1,i32*%za,align 4
%zb=call i8*@sml_alloc(i32 inreg 28)#0
%zc=getelementptr inbounds i8,i8*%zb,i64 -4
%zd=bitcast i8*%zc to i32*
store i32 1342177304,i32*%zd,align 4
%ze=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%zf=bitcast i8*%zb to i8**
store i8*%ze,i8**%zf,align 8
%zg=getelementptr inbounds i8,i8*%zb,i64 8
%zh=bitcast i8*%zg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_217 to void(...)*),void(...)**%zh,align 8
%zi=getelementptr inbounds i8,i8*%zb,i64 16
%zj=bitcast i8*%zi to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_217 to void(...)*),void(...)**%zj,align 8
%zk=getelementptr inbounds i8,i8*%zb,i64 24
%zl=bitcast i8*%zk to i32*
store i32 -2147483647,i32*%zl,align 4
%zm=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%zn=call fastcc i8*%y1(i8*inreg%zm,i8*inreg%zb)
%zo=getelementptr inbounds i8,i8*%zn,i64 16
%zp=bitcast i8*%zo to i8*(i8*,i8*)**
%zq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%zp,align 8
%zr=bitcast i8*%zn to i8**
%zs=load i8*,i8**%zr,align 8
%zt=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%zu=call fastcc i8*%zq(i8*inreg%zs,i8*inreg%zt)
store i8*%zu,i8**%c,align 8
%zv=call i8*@sml_alloc(i32 inreg 44)#0
%zw=getelementptr inbounds i8,i8*%zv,i64 -4
%zx=bitcast i8*%zw to i32*
store i32 1342177320,i32*%zx,align 4
store i8*%zv,i8**%d,align 8
%zy=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%zz=bitcast i8*%zv to i8**
store i8*%zy,i8**%zz,align 8
%zA=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%zB=getelementptr inbounds i8,i8*%zv,i64 8
%zC=bitcast i8*%zB to i8**
store i8*%zA,i8**%zC,align 8
%zD=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%zE=getelementptr inbounds i8,i8*%zv,i64 16
%zF=bitcast i8*%zE to i8**
store i8*%zD,i8**%zF,align 8
%zG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%zH=getelementptr inbounds i8,i8*%zv,i64 24
%zI=bitcast i8*%zH to i8**
store i8*%zG,i8**%zI,align 8
%zJ=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%zK=getelementptr inbounds i8,i8*%zv,i64 32
%zL=bitcast i8*%zK to i8**
store i8*%zJ,i8**%zL,align 8
%zM=getelementptr inbounds i8,i8*%zv,i64 40
%zN=bitcast i8*%zM to i32*
store i32 31,i32*%zN,align 4
%zO=call i8*@sml_alloc(i32 inreg 20)#0
%zP=getelementptr inbounds i8,i8*%zO,i64 -4
%zQ=bitcast i8*%zP to i32*
store i32 1342177296,i32*%zQ,align 4
%zR=bitcast i8*%zO to i64*
store i64 0,i64*%zR,align 4
%zS=load i8*,i8**%d,align 8
%zT=getelementptr inbounds i8,i8*%zO,i64 8
%zU=bitcast i8*%zT to i8**
store i8*%zS,i8**%zU,align 8
%zV=getelementptr inbounds i8,i8*%zO,i64 16
%zW=bitcast i8*%zV to i32*
store i32 2,i32*%zW,align 4
ret i8*%zO
zX:
%zY=getelementptr inbounds i8,i8*%r,i64 8
%zZ=bitcast i8*%zY to i8**
%z0=load i8*,i8**%zZ,align 8
%z1=bitcast i8*%z0 to i8**
%z2=load i8*,i8**%z1,align 8
store i8*%z2,i8**%d,align 8
%z3=getelementptr inbounds i8,i8*%z0,i64 8
%z4=bitcast i8*%z3 to i8**
%z5=load i8*,i8**%z4,align 8
store i8*%z5,i8**%e,align 8
%z6=getelementptr inbounds i8,i8*%z0,i64 24
%z7=bitcast i8*%z6 to i8**
%z8=load i8*,i8**%z7,align 8
store i8*%z8,i8**%f,align 8
%z9=getelementptr inbounds i8,i8*%z0,i64 32
%Aa=bitcast i8*%z9 to i8**
%Ab=load i8*,i8**%Aa,align 8
store i8*%Ab,i8**%g,align 8
%Ac=getelementptr inbounds i8,i8*%z0,i64 40
%Ad=bitcast i8*%Ac to i8**
%Ae=load i8*,i8**%Ad,align 8
store i8*%Ae,i8**%h,align 8
%Af=call i8*@sml_alloc(i32 inreg 28)#0
%Ag=getelementptr inbounds i8,i8*%Af,i64 -4
%Ah=bitcast i8*%Ag to i32*
store i32 1342177304,i32*%Ah,align 4
store i8*%Af,i8**%i,align 8
%Ai=bitcast i8*%Af to i8**
store i8*null,i8**%Ai,align 8
%Aj=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Ak=getelementptr inbounds i8,i8*%Af,i64 8
%Al=bitcast i8*%Ak to i8**
store i8*%Aj,i8**%Al,align 8
%Am=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%An=getelementptr inbounds i8,i8*%Af,i64 16
%Ao=bitcast i8*%An to i8**
store i8*%Am,i8**%Ao,align 8
%Ap=getelementptr inbounds i8,i8*%Af,i64 24
%Aq=bitcast i8*%Ap to i32*
store i32 7,i32*%Aq,align 4
%Ar=call i8*@sml_alloc(i32 inreg 20)#0
%As=getelementptr inbounds i8,i8*%Ar,i64 -4
%At=bitcast i8*%As to i32*
store i32 1342177296,i32*%At,align 4
store i8*%Ar,i8**%f,align 8
%Au=getelementptr inbounds i8,i8*%Ar,i64 4
%Av=bitcast i8*%Au to i32*
store i32 0,i32*%Av,align 1
%Aw=bitcast i8*%Ar to i32*
store i32 7,i32*%Aw,align 4
%Ax=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%Ay=getelementptr inbounds i8,i8*%Ar,i64 8
%Az=bitcast i8*%Ay to i8**
store i8*%Ax,i8**%Az,align 8
%AA=getelementptr inbounds i8,i8*%Ar,i64 16
%AB=bitcast i8*%AA to i32*
store i32 2,i32*%AB,align 4
%AC=bitcast i8**%c to i8***
%AD=load i8**,i8***%AC,align 8
%AE=load i8*,i8**%AD,align 8
%AF=call fastcc i8*@_SMLFN11TypesBasics10substBTvarE(i8*inreg%AE)
%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**%f,align 8
store i8*null,i8**%f,align 8
%AM=call fastcc i8*%AI(i8*inreg%AK,i8*inreg%AL)
%AN=call fastcc i8*@_SMLFN11TypesBasics8revealTyE(i8*inreg%AM)
%AO=icmp eq i8*%AN,null
br i1%AO,label%AT,label%AP
AP:
%AQ=bitcast i8*%AN to i32*
%AR=load i32,i32*%AQ,align 4
%AS=icmp eq i32%AR,7
br i1%AS,label%Bd,label%AT
AT:
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%h,align 8
%AU=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%AU,i8**%c,align 8
%AV=call i8*@sml_alloc(i32 inreg 28)#0
%AW=getelementptr inbounds i8,i8*%AV,i64 -4
%AX=bitcast i8*%AW to i32*
store i32 1342177304,i32*%AX,align 4
store i8*%AV,i8**%d,align 8
%AY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%AZ=bitcast i8*%AV to i8**
store i8*%AY,i8**%AZ,align 8
%A0=getelementptr inbounds i8,i8*%AV,i64 8
%A1=bitcast i8*%A0 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[73x i8]}>,<{[4x i8],i32,[73x i8]}>*@y,i64 0,i32 2,i64 0),i8**%A1,align 8
%A2=getelementptr inbounds i8,i8*%AV,i64 16
%A3=bitcast i8*%A2 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@z,i64 0,i32 2,i64 0),i8**%A3,align 8
%A4=getelementptr inbounds i8,i8*%AV,i64 24
%A5=bitcast i8*%A4 to i32*
store i32 7,i32*%A5,align 4
%A6=call i8*@sml_alloc(i32 inreg 60)#0
%A7=getelementptr inbounds i8,i8*%A6,i64 -4
%A8=bitcast i8*%A7 to i32*
store i32 1342177336,i32*%A8,align 4
%A9=getelementptr inbounds i8,i8*%A6,i64 56
%Ba=bitcast i8*%A9 to i32*
store i32 1,i32*%Ba,align 4
%Bb=load i8*,i8**%d,align 8
%Bc=bitcast i8*%A6 to i8**
store i8*%Bb,i8**%Bc,align 8
call void@sml_raise(i8*inreg%A6)#1
unreachable
Bd:
%Be=getelementptr inbounds i8,i8*%AN,i64 8
%Bf=bitcast i8*%Be to i8**
%Bg=load i8*,i8**%Bf,align 8
%Bh=getelementptr inbounds i8,i8*%Bg,i64 8
%Bi=bitcast i8*%Bh to i8**
%Bj=load i8*,i8**%Bi,align 8
store i8*%Bj,i8**%f,align 8
%Bk=getelementptr inbounds i8,i8*%Bg,i64 16
%Bl=bitcast i8*%Bk to i8**
%Bm=load i8*,i8**%Bl,align 8
store i8*%Bm,i8**%g,align 8
%Bn=call fastcc i8*@_SMLFN14BoundTypeVarID3Map7filteriE(i32 inreg 1,i32 inreg 8)
%Bo=getelementptr inbounds i8,i8*%Bn,i64 16
%Bp=bitcast i8*%Bo to i8*(i8*,i8*)**
%Bq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Bp,align 8
%Br=bitcast i8*%Bn to i8**
%Bs=load i8*,i8**%Br,align 8
store i8*%Bs,i8**%i,align 8
%Bt=call i8*@sml_alloc(i32 inreg 12)#0
%Bu=getelementptr inbounds i8,i8*%Bt,i64 -4
%Bv=bitcast i8*%Bu to i32*
store i32 1342177288,i32*%Bv,align 4
store i8*%Bt,i8**%j,align 8
%Bw=load i8*,i8**%f,align 8
%Bx=bitcast i8*%Bt to i8**
store i8*%Bw,i8**%Bx,align 8
%By=getelementptr inbounds i8,i8*%Bt,i64 8
%Bz=bitcast i8*%By to i32*
store i32 1,i32*%Bz,align 4
%BA=call i8*@sml_alloc(i32 inreg 28)#0
%BB=getelementptr inbounds i8,i8*%BA,i64 -4
%BC=bitcast i8*%BB to i32*
store i32 1342177304,i32*%BC,align 4
%BD=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%BE=bitcast i8*%BA to i8**
store i8*%BD,i8**%BE,align 8
%BF=getelementptr inbounds i8,i8*%BA,i64 8
%BG=bitcast i8*%BF to void(...)**
store void(...)*bitcast(i32(i8*,i8*)*@_SMLLL7tySubst_212 to void(...)*),void(...)**%BG,align 8
%BH=getelementptr inbounds i8,i8*%BA,i64 16
%BI=bitcast i8*%BH to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7tySubst_258 to void(...)*),void(...)**%BI,align 8
%BJ=getelementptr inbounds i8,i8*%BA,i64 24
%BK=bitcast i8*%BJ to i32*
store i32 -2147483647,i32*%BK,align 4
%BL=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%BM=call fastcc i8*%Bq(i8*inreg%BL,i8*inreg%BA)
%BN=getelementptr inbounds i8,i8*%BM,i64 16
%BO=bitcast i8*%BN to i8*(i8*,i8*)**
%BP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%BO,align 8
%BQ=bitcast i8*%BM to i8**
%BR=load i8*,i8**%BQ,align 8
%BS=load i8**,i8***%AC,align 8
%BT=load i8*,i8**%BS,align 8
%BU=call fastcc i8*%BP(i8*inreg%BR,i8*inreg%BT)
store i8*%BU,i8**%i,align 8
%BV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%BW=getelementptr inbounds i8,i8*%BV,i64 8
%BX=bitcast i8*%BW to i8**
%BY=load i8*,i8**%BX,align 8
store i8*%BY,i8**%j,align 8
%BZ=call i8*@sml_alloc(i32 inreg 20)#0
%B0=getelementptr inbounds i8,i8*%BZ,i64 -4
%B1=bitcast i8*%B0 to i32*
store i32 1342177296,i32*%B1,align 4
store i8*%BZ,i8**%c,align 8
%B2=load i8*,i8**%i,align 8
%B3=bitcast i8*%BZ to i8**
store i8*%B2,i8**%B3,align 8
%B4=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%B5=getelementptr inbounds i8,i8*%BZ,i64 8
%B6=bitcast i8*%B5 to i8**
store i8*%B4,i8**%B6,align 8
%B7=getelementptr inbounds i8,i8*%BZ,i64 16
%B8=bitcast i8*%B7 to i32*
store i32 3,i32*%B8,align 4
%B9=call fastcc i8*@_SMLFN4List5foldlE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Ca=getelementptr inbounds i8,i8*%B9,i64 16
%Cb=bitcast i8*%Ca to i8*(i8*,i8*)**
%Cc=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Cb,align 8
%Cd=bitcast i8*%B9 to i8**
%Ce=load i8*,i8**%Cd,align 8
%Cf=call fastcc i8*%Cc(i8*inreg%Ce,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*))
%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
%Cl=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Cm=call fastcc i8*%Ci(i8*inreg%Ck,i8*inreg%Cl)
%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**%d,align 8
%Ct=call fastcc i8*%Cp(i8*inreg%Cr,i8*inreg%Cs)
%Cu=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%Cv=call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%Ct,i8*inreg%Cu)
store i8*%Cv,i8**%c,align 8
%Cw=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%Cx=getelementptr inbounds i8,i8*%Cw,i64 16
%Cy=bitcast i8*%Cx to i8*(i8*,i8*)**
%Cz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Cy,align 8
%CA=bitcast i8*%Cw to i8**
%CB=load i8*,i8**%CA,align 8
store i8*%CB,i8**%e,align 8
%CC=call i8*@sml_alloc(i32 inreg 12)#0
%CD=getelementptr inbounds i8,i8*%CC,i64 -4
%CE=bitcast i8*%CD to i32*
store i32 1342177288,i32*%CE,align 4
store i8*%CC,i8**%j,align 8
%CF=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%CG=bitcast i8*%CC to i8**
store i8*%CF,i8**%CG,align 8
%CH=getelementptr inbounds i8,i8*%CC,i64 8
%CI=bitcast i8*%CH to i32*
store i32 1,i32*%CI,align 4
%CJ=call i8*@sml_alloc(i32 inreg 28)#0
%CK=getelementptr inbounds i8,i8*%CJ,i64 -4
%CL=bitcast i8*%CK to i32*
store i32 1342177304,i32*%CL,align 4
%CM=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%CN=bitcast i8*%CJ to i8**
store i8*%CM,i8**%CN,align 8
%CO=getelementptr inbounds i8,i8*%CJ,i64 8
%CP=bitcast i8*%CO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_215 to void(...)*),void(...)**%CP,align 8
%CQ=getelementptr inbounds i8,i8*%CJ,i64 16
%CR=bitcast i8*%CQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_215 to void(...)*),void(...)**%CR,align 8
%CS=getelementptr inbounds i8,i8*%CJ,i64 24
%CT=bitcast i8*%CS to i32*
store i32 -2147483647,i32*%CT,align 4
%CU=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%CV=call fastcc i8*%Cz(i8*inreg%CU,i8*inreg%CJ)
%CW=getelementptr inbounds i8,i8*%CV,i64 16
%CX=bitcast i8*%CW to i8*(i8*,i8*)**
%CY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%CX,align 8
%CZ=bitcast i8*%CV to i8**
%C0=load i8*,i8**%CZ,align 8
%C1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C2=call fastcc i8*%CY(i8*inreg%C0,i8*inreg%C1)
store i8*%C2,i8**%d,align 8
%C3=load i8*,i8**%c,align 8
%C4=call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%C3)
store i8*%C4,i8**%e,align 8
%C5=call i8*@sml_alloc(i32 inreg 52)#0
%C6=getelementptr inbounds i8,i8*%C5,i64 -4
%C7=bitcast i8*%C6 to i32*
store i32 1342177328,i32*%C7,align 4
store i8*%C5,i8**%i,align 8
%C8=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%C9=bitcast i8*%C5 to i8**
store i8*%C8,i8**%C9,align 8
%Da=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Db=getelementptr inbounds i8,i8*%C5,i64 8
%Dc=bitcast i8*%Db to i8**
store i8*%Da,i8**%Dc,align 8
%Dd=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%De=getelementptr inbounds i8,i8*%C5,i64 16
%Df=bitcast i8*%De to i8**
store i8*%Dd,i8**%Df,align 8
%Dg=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Dh=getelementptr inbounds i8,i8*%C5,i64 24
%Di=bitcast i8*%Dh to i8**
store i8*%Dg,i8**%Di,align 8
%Dj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Dk=getelementptr inbounds i8,i8*%C5,i64 32
%Dl=bitcast i8*%Dk to i8**
store i8*%Dj,i8**%Dl,align 8
%Dm=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%Dn=getelementptr inbounds i8,i8*%C5,i64 40
%Do=bitcast i8*%Dn to i8**
store i8*%Dm,i8**%Do,align 8
%Dp=getelementptr inbounds i8,i8*%C5,i64 48
%Dq=bitcast i8*%Dp to i32*
store i32 63,i32*%Dq,align 4
%Dr=call i8*@sml_alloc(i32 inreg 20)#0
%Ds=bitcast i8*%Dr to i32*
%Dt=getelementptr inbounds i8,i8*%Dr,i64 -4
%Du=bitcast i8*%Dt to i32*
store i32 1342177296,i32*%Du,align 4
%Dv=getelementptr inbounds i8,i8*%Dr,i64 4
%Dw=bitcast i8*%Dv to i32*
store i32 0,i32*%Dw,align 1
store i32 5,i32*%Ds,align 4
%Dx=load i8*,i8**%i,align 8
%Dy=getelementptr inbounds i8,i8*%Dr,i64 8
%Dz=bitcast i8*%Dy to i8**
store i8*%Dx,i8**%Dz,align 8
%DA=getelementptr inbounds i8,i8*%Dr,i64 16
%DB=bitcast i8*%DA to i32*
store i32 2,i32*%DB,align 4
ret i8*%Dr
DC:
ret i8*%r
DD:
%DE=getelementptr inbounds i8,i8*%r,i64 8
%DF=bitcast i8*%DE to i8**
%DG=load i8*,i8**%DF,align 8
%DH=bitcast i8*%DG to i8**
%DI=load i8*,i8**%DH,align 8
store i8*%DI,i8**%d,align 8
%DJ=getelementptr inbounds i8,i8*%DG,i64 8
%DK=bitcast i8*%DJ to i8**
%DL=load i8*,i8**%DK,align 8
store i8*%DL,i8**%e,align 8
%DM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%DN=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%DM)
%DO=getelementptr inbounds i8,i8*%DN,i64 16
%DP=bitcast i8*%DO to i8*(i8*,i8*)**
%DQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%DP,align 8
%DR=bitcast i8*%DN to i8**
%DS=load i8*,i8**%DR,align 8
%DT=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%DU=call fastcc i8*%DQ(i8*inreg%DS,i8*inreg%DT)
store i8*%DU,i8**%c,align 8
%DV=call i8*@sml_alloc(i32 inreg 20)#0
%DW=getelementptr inbounds i8,i8*%DV,i64 -4
%DX=bitcast i8*%DW to i32*
store i32 1342177296,i32*%DX,align 4
store i8*%DV,i8**%d,align 8
%DY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%DZ=bitcast i8*%DV to i8**
store i8*%DY,i8**%DZ,align 8
%D0=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%D1=getelementptr inbounds i8,i8*%DV,i64 8
%D2=bitcast i8*%D1 to i8**
store i8*%D0,i8**%D2,align 8
%D3=getelementptr inbounds i8,i8*%DV,i64 16
%D4=bitcast i8*%D3 to i32*
store i32 3,i32*%D4,align 4
%D5=call i8*@sml_alloc(i32 inreg 20)#0
%D6=bitcast i8*%D5 to i32*
%D7=getelementptr inbounds i8,i8*%D5,i64 -4
%D8=bitcast i8*%D7 to i32*
store i32 1342177296,i32*%D8,align 4
%D9=getelementptr inbounds i8,i8*%D5,i64 4
%Ea=bitcast i8*%D9 to i32*
store i32 0,i32*%Ea,align 1
store i32 18,i32*%D6,align 4
%Eb=load i8*,i8**%d,align 8
%Ec=getelementptr inbounds i8,i8*%D5,i64 8
%Ed=bitcast i8*%Ec to i8**
store i8*%Eb,i8**%Ed,align 8
%Ee=getelementptr inbounds i8,i8*%D5,i64 16
%Ef=bitcast i8*%Ee to i32*
store i32 2,i32*%Ef,align 4
ret i8*%D5
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_236(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
%p=load i8*,i8**%n,align 8
%q=tail call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%p,i8*inreg%o)
ret i8*%q
}
define fastcc i8*@_SMLFN14RecordCalcType8substExpE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_236 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType8substExpE_236 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLLN14RecordCalcType16instantiateValueE_239(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%p,i8**%e,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call fastcc i8*@_SMLLLN14RecordCalcType10substValueE_180(i8*inreg%q)
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
%G=load i8*,i8**%c,align 8
%H=tail call fastcc i8*%D(i8*inreg%F,i8*inreg%G)
ret i8*%H
}
define fastcc i8*@_SMLFN14RecordCalcType16instantiateValueE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType16instantiateValueE_239 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType16instantiateValueE_239 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLLN14RecordCalcType14instantiateExpE_242(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%d,align 8
%p=call fastcc i8*@_SMLFN5VarID3Map5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%p,i8**%e,align 8
%q=call i8*@sml_alloc(i32 inreg 20)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 1342177296,i32*%s,align 4
%t=load i8*,i8**%d,align 8
%u=bitcast i8*%q to i8**
store i8*%t,i8**%u,align 8
%v=load i8*,i8**%e,align 8
%w=getelementptr inbounds i8,i8*%q,i64 8
%x=bitcast i8*%w to i8**
store i8*%v,i8**%x,align 8
%y=getelementptr inbounds i8,i8*%q,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=load i8*,i8**%c,align 8
%B=tail call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_182(i8*inreg%q,i8*inreg%A)
ret i8*%B
}
define fastcc i8*@_SMLFN14RecordCalcType14instantiateExpE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType14instantiateExpE_242 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN14RecordCalcType14instantiateExpE_242 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfIntE_245(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType9typeOfIntE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType13typeOfTlconstE_246(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType13typeOfTlconstE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType11typeOfConstE_247(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType11typeOfConstE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType12typeOfStringE_248(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType12typeOfStringE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType11typeOfValueE_249(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType11typeOfValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_250(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_251(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_252(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 24
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_253(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=getelementptr inbounds i8,i8*%b,i64 16
%d=bitcast i8*%c to i8**
%e=load i8*,i8**%d,align 8
ret i8*%e
}
define internal fastcc i8*@_SMLLLN14RecordCalcType9typeOfExpE_254(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*@_SMLLLN14RecordCalcType9typeOfExpE_255(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType9typeOfExpE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType14instantiateVarE_256(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType14instantiateVarE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL7tySubst_258(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLL7tySubst_212(i8*inreg%a,i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 4)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 4,i32*%g,align 4
store i32%c,i32*%e,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLL5subst_259(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL5subst_213(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_260(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLLN14RecordCalcType8substExpE_226(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL7bodyExp_261(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL7bodyExp_231(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType8substExpE_263(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType8substExpE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType16instantiateValueE_264(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType16instantiateValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN14RecordCalcType14instantiateExpE_265(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN14RecordCalcType14instantiateExpE(i8*inreg%b)
ret i8*%c
}
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
