@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN3Bug10debugPrintE=external local_unnamed_addr global i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers5printE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers5printE_61 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(void(i8*)*@_SMLFN8Printers9printPathE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers9printPathE_62 to void(...)*),i32 -2147483647}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers8printITyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers8printITyE_63 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(void(i8*)*@_SMLFN8Printers7printTyE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers7printTyE_64 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers11printTpdeclE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers11printTpdeclE_65 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers10printTpexpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers10printTpexpE_66 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(void(i8*)*@_SMLFN8Printers11printVarEnvE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers11printVarEnvE_67 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(void(i8*)*@_SMLFN8Printers14printTpVarInfoE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers14printTpVarInfoE_68 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers12printContextE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers12printContextE_69 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers10printIcexpE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers10printIcexpE_70 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers10printIcpatE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers10printIcpatE_71 to void(...)*),i32 -2147483647}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"\0A\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers11printIcdeclE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers11printIcdeclE_72 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers14printIcVarInfoE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers14printIcVarInfoE_73 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN8Printers11printTycastE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN8Printers11printTycastE_74 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN8Printers5printE=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*)
@_SMLZN8Printers9printPathE=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*)
@_SMLZN8Printers7printTyE=local_unnamed_addr constant i8*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*)
@_SMLZN8Printers8printITyE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@c,i64 0,i32 2)to i8*)
@_SMLZN8Printers11printTpdeclE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*)
@_SMLZN8Printers12printContextE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*)
@_SMLZN8Printers10printTpexpE=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*)
@_SMLZN8Printers11printVarEnvE=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*)
@_SMLZN8Printers14printTpVarInfoE=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*)
@_SMLZN8Printers10printIcexpE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*)
@_SMLZN8Printers10printIcpatE=local_unnamed_addr constant i8*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*)
@_SMLZN8Printers11printIcdeclE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*)
@_SMLZN8Printers14printIcVarInfoE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*)
@_SMLZN8Printers11printTycastE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*)
@_SML_ftab9a7bdc217e1faf83_Printers=external global i8
@p=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 i8*@_SMLFN20TypeInferenceContext13format__varEnvE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN20TypeInferenceContext14format__contextE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN3Bug11prettyPrintE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN5Types22formatWithType__varInfoE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN5Types9format__tyE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IDCalc12format__icpatE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IDCalc13format__icdeclE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IDCalc14format__varInfoE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IDCalc20formatWithType__icexpE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IDCalc21formatWithType__tycastE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6IDCalc9format__tyE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN6Symbol18longsymbolToStringE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare void@_SMLFN6TextIO5printE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN9TypedCalc13format__tpdeclE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare i8*@_SMLFN9TypedCalc20formatWithType__tpexpE(i8*inreg)local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main3446b7b079949ccf_text_io()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_main89b8631430c545af_Symbol()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_mainfe3e21425e4479c1_Types_ppg()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_maindd7ac0235f3a2d21_IDCalc_ppg()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_mainccac1cb21f7132a8_TypedCalc_ppg()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_maine9849789d7e3c5a8_TypeInferenceContext_ppg()local_unnamed_addr#1 gc"smlsharp"
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load3446b7b079949ccf_text_io(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_load89b8631430c545af_Symbol(i8*)local_unnamed_addr
declare void@_SML_loadfe3e21425e4479c1_Types_ppg(i8*)local_unnamed_addr
declare void@_SML_loaddd7ac0235f3a2d21_IDCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_loadccac1cb21f7132a8_TypedCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_loade9849789d7e3c5a8_TypeInferenceContext_ppg(i8*)local_unnamed_addr
define private void@_SML_tabb9a7bdc217e1faf83_Printers()#2{
unreachable
}
define void@_SML_load9a7bdc217e1faf83_Printers(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@p,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@p,align 1
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load3446b7b079949ccf_text_io(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_load89b8631430c545af_Symbol(i8*%a)#0
tail call void@_SML_loadfe3e21425e4479c1_Types_ppg(i8*%a)#0
tail call void@_SML_loaddd7ac0235f3a2d21_IDCalc_ppg(i8*%a)#0
tail call void@_SML_loadccac1cb21f7132a8_TypedCalc_ppg(i8*%a)#0
tail call void@_SML_loade9849789d7e3c5a8_TypeInferenceContext_ppg(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb9a7bdc217e1faf83_Printers,i8*@_SML_ftab9a7bdc217e1faf83_Printers,i8*null)#0
ret void
}
define void@_SML_main9a7bdc217e1faf83_Printers()local_unnamed_addr#1 gc"smlsharp"{
%a=load i8,i8*@p,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*@p,align 1
tail call void@_SML_main1ef93e13728790b1_String()#1
tail call void@_SML_main3446b7b079949ccf_text_io()#1
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#1
tail call void@_SML_main89b8631430c545af_Symbol()#1
tail call void@_SML_mainfe3e21425e4479c1_Types_ppg()#1
tail call void@_SML_maindd7ac0235f3a2d21_IDCalc_ppg()#1
tail call void@_SML_mainccac1cb21f7132a8_TypedCalc_ppg()#1
tail call void@_SML_maine9849789d7e3c5a8_TypeInferenceContext_ppg()#1
br label%d
}
define fastcc void@_SMLFN8Printers5printE(i8*inreg%a)#1 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%h=load i32,i32*%g,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
%k=load i8*,i8**%b,align 8
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
l:
ret void
}
define fastcc void@_SMLFN8Printers9printPathE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN6Symbol18longsymbolToStringE(i8*inreg%h)
%k=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%l=load i32,i32*%k,align 4
%m=icmp eq i32%l,0
br i1%m,label%o,label%n
n:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%j)
ret void
o:
ret void
}
define fastcc void@_SMLFN8Printers8printITyE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN6IDCalc9format__tyE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define fastcc void@_SMLFN8Printers7printTyE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN5Types9format__tyE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define fastcc void@_SMLFN8Printers11printTpdeclE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN9TypedCalc13format__tpdeclE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define fastcc void@_SMLFN8Printers10printTpexpE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN9TypedCalc20formatWithType__tpexpE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define fastcc void@_SMLFN8Printers11printVarEnvE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN20TypeInferenceContext13format__varEnvE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define fastcc void@_SMLFN8Printers14printTpVarInfoE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN5Types22formatWithType__varInfoE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define fastcc void@_SMLFN8Printers12printContextE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN20TypeInferenceContext14format__contextE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
store i8*%k,i8**%b,align 8
%l=call i8*@sml_alloc(i32 inreg 20)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177296,i32*%n,align 4
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@l,i64 0,i32 2,i64 0),i8**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i32*
store i32 3,i32*%t,align 4
%u=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%l)
%v=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%w=load i32,i32*%v,align 4
%x=icmp eq i32%w,0
br i1%x,label%z,label%y
y:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%u)
ret void
z:
ret void
}
define fastcc void@_SMLFN8Printers10printIcexpE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN6IDCalc20formatWithType__icexpE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
store i8*%k,i8**%b,align 8
%l=call i8*@sml_alloc(i32 inreg 20)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177296,i32*%n,align 4
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@l,i64 0,i32 2,i64 0),i8**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i32*
store i32 3,i32*%t,align 4
%u=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%l)
%v=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%w=load i32,i32*%v,align 4
%x=icmp eq i32%w,0
br i1%x,label%z,label%y
y:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%u)
ret void
z:
ret void
}
define fastcc void@_SMLFN8Printers10printIcpatE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN6IDCalc12format__icpatE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
store i8*%k,i8**%b,align 8
%l=call i8*@sml_alloc(i32 inreg 20)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177296,i32*%n,align 4
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@l,i64 0,i32 2,i64 0),i8**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i32*
store i32 3,i32*%t,align 4
%u=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%l)
%v=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%w=load i32,i32*%v,align 4
%x=icmp eq i32%w,0
br i1%x,label%z,label%y
y:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%u)
ret void
z:
ret void
}
define fastcc void@_SMLFN8Printers11printIcdeclE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN6IDCalc13format__icdeclE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
store i8*%k,i8**%b,align 8
%l=call i8*@sml_alloc(i32 inreg 20)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177296,i32*%n,align 4
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@l,i64 0,i32 2,i64 0),i8**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i32*
store i32 3,i32*%t,align 4
%u=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%l)
%v=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%w=load i32,i32*%v,align 4
%x=icmp eq i32%w,0
br i1%x,label%z,label%y
y:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%u)
ret void
z:
ret void
}
define fastcc void@_SMLFN8Printers14printIcVarInfoE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN6IDCalc14format__varInfoE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define fastcc void@_SMLFN8Printers11printTycastE(i8*inreg%a)#1 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLFN6IDCalc21formatWithType__tycastE(i8*inreg%h)
%k=call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
%l=load i32*,i32**bitcast(i8**@_SMLZN3Bug10debugPrintE to i32**),align 8
%m=load i32,i32*%l,align 4
%n=icmp eq i32%m,0
br i1%n,label%p,label%o
o:
tail call fastcc void@_SMLFN6TextIO5printE(i8*inreg%k)
ret void
p:
ret void
}
define internal fastcc i8*@_SMLLLN8Printers5printE_61(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers5printE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers9printPathE_62(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers9printPathE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers8printITyE_63(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers8printITyE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers7printTyE_64(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers7printTyE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers11printTpdeclE_65(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers11printTpdeclE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers10printTpexpE_66(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers10printTpexpE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers11printVarEnvE_67(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers11printVarEnvE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers14printTpVarInfoE_68(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers14printTpVarInfoE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers12printContextE_69(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers12printContextE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers10printIcexpE_70(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers10printIcexpE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers10printIcpatE_71(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers10printIcpatE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers11printIcdeclE_72(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers11printIcdeclE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers14printIcVarInfoE_73(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers14printIcVarInfoE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN8Printers11printTycastE_74(i8*inreg%a,i8*inreg%b)#1 gc"smlsharp"{
tail call fastcc void@_SMLFN8Printers11printTycastE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
attributes#0={nounwind}
attributes#1={uwtable}
attributes#2={noreturn nounwind}
