@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN4Char7isSpaceE=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(i32(i8*)*@_SMLFN16FormatExpression12isHigherThanE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression12isHigherThanE_213 to void(...)*),i32 -2147483647}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"L\00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"R\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"N\00"}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,[61x i8]}><{[4x i8]zeroinitializer,i32 -2147483587,[61x i8]c"src/smlformat/formatlib/main/FormatExpression.sml:24.12(754)\00"}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"!\00"}>,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*)*@_SMLFN16FormatExpression13assocToStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression13assocToStringE_214 to void(...)*),i32 -2147483647}>,align 8
@h=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"\22\00"}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"{\00"}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16FormatExpression8toStringE_104 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8toStringE_215 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"}\00"}>,align 8
@l=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"+\00"}>,align 8
@m=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"[\00"}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"]\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c" \00"}>,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*)*@_SMLLN16FormatExpression8toStringE_114 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8toStringE_216 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,[61x i8]}><{[4x i8]zeroinitializer,i32 -2147483587,[61x i8]c"src/smlformat/formatlib/main/FormatExpression.sml:32.2(1021)\00"}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLLN16FormatExpression11escapedCharE_117 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_218 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16FormatExpression11escapedCharE_119 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_219 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8)*@_SMLLN16FormatExpression11escapedCharE_121 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_220 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8)*@_SMLLN16FormatExpression11escapedCharE_123 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_221 to void(...)*),i32 -2147483647}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16FormatExpression6stringE_129 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression6stringE_223 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c"\5Cn\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 3,[4x i8]zeroinitializer,i32 0}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16FormatExpression7newlineE_137 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression7newlineE_225 to void(...)*),i32 -2147483647}>,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*)*@_SMLLN16FormatExpression14assocIndicatorE_143 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_227 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*)*@_SMLLN16FormatExpression13startOfIndentE_152 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression13startOfIndentE_232 to void(...)*),i32 -2147483647}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 0,[4x i8]zeroinitializer,i32 0}>,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)*@_SMLLN16FormatExpression11endOfIndentE_159 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11endOfIndentE_234 to void(...)*),i32 -2147483647}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8)*@_SMLLN16FormatExpression8priorityE_165 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8priorityE_236 to void(...)*),i32 -2147483647}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32)*@_SMLLN16FormatExpression8priorityE_167 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8priorityE_237 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*(i32,i32)*@_SMLLN16FormatExpression8priorityE_171 to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression8priorityE_238 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*)*@_SMLLN16FormatExpression9indicatorE_173 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression9indicatorE_239 to void(...)*),i32 -2147483647}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*null,i32 1,[4x i8]zeroinitializer,i32 1}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i32 2,[4x i8]zeroinitializer,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@I,i32 0,i32 0,i32 0),i32 8),i32 2}>,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)*@_SMLLN16FormatExpression9indicatorE_177 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression9indicatorE_240 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*)*@_SMLLN16FormatExpression5guardE_186 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5guardE_242 to void(...)*),i32 -2147483647}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN16FormatExpression11expressionsE_190 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11expressionsE_243 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN16FormatExpression12isHigherThanE=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*)
@_SMLZN16FormatExpression13assocToStringE=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*)
@N=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"d\00"}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN16FormatExpression16priorityToStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression16priorityToStringE_248 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN16FormatExpression16priorityToStringE=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*)
@P=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN16FormatExpression8toStringE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8toStringE_249 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN16FormatExpression8toStringE=local_unnamed_addr constant i8*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*)
@Q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i32,i32)*@_SMLFN16FormatExpression5parseE to void(...)*),void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression5parseE_250 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN16FormatExpression5parseE=local_unnamed_addr constant i8*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*)
@_SML_ftabf08a36d7e10b646d_FormatExpression=external global i8
@R=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*@_SMLFN10CharVector6concatE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10CharVector8fromListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb10skipBeforeE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb10zeroOrMoreE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb2orE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb3or_GE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb3seqE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb4bindE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb4charE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb4wrapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb6optionE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb6resultE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb6stringE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb7eatCharE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb7seqWithE(i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10ParserComb9oneOrMoreE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Int324scanE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Int328toStringE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Option6isSomeE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String3strE(i8 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maince7036f3433e1102_Char()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadbb5309e852b68c_CharVector()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_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf8723c9ce3ba3b80_parser_comb()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_loadce7036f3433e1102_Char(i8*)local_unnamed_addr
declare void@_SML_loadadbb5309e852b68c_CharVector(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_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_loadf8723c9ce3ba3b80_parser_comb(i8*)local_unnamed_addr
define private void@_SML_tabbf08a36d7e10b646d_FormatExpression()#3{
unreachable
}
define void@_SML_loadf08a36d7e10b646d_FormatExpression(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@R,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@R,align 1
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_loadce7036f3433e1102_Char(i8*%a)#0
tail call void@_SML_loadadbb5309e852b68c_CharVector(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_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_loadf8723c9ce3ba3b80_parser_comb(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbf08a36d7e10b646d_FormatExpression,i8*@_SML_ftabf08a36d7e10b646d_FormatExpression,i8*null)#0
ret void
}
define void@_SML_mainf08a36d7e10b646d_FormatExpression()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@R,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*@R,align 1
tail call void@_SML_main5148a836b3728be9_Int32()#2
tail call void@_SML_maince7036f3433e1102_Char()#2
tail call void@_SML_mainadbb5309e852b68c_CharVector()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main3a60343781315c1e_Option()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_mainf8723c9ce3ba3b80_parser_comb()#2
br label%d
}
define fastcc i32@_SMLFN16FormatExpression12isHigherThanE(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
%d=icmp eq i8*%c,null
%e=getelementptr inbounds i8,i8*%a,i64 8
%f=bitcast i8*%e to i8**
%g=load i8*,i8**%f,align 8
%h=icmp eq i8*%g,null
br i1%d,label%i,label%l
i:
br i1%h,label%t,label%j
j:
%k=phi i32[0,%i],[1,%t]
ret i32%k
l:
br i1%h,label%t,label%m
m:
%n=bitcast i8*%c to i32*
%o=load i32,i32*%n,align 4
%p=bitcast i8*%g to i32*
%q=load i32,i32*%p,align 4
%r=icmp slt i32%o,%q
%s=zext i1%r to i32
ret i32%s
t:
br label%j
}
define fastcc i8*@_SMLFN16FormatExpression13assocToStringE(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
store i8*%j,i8**%c,align 8
%l=getelementptr inbounds i8,i8*%j,i64 4
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=bitcast i8*%j to i32*
switch i32%n,label%p[
i32 0,label%J
i32 2,label%I
i32 1,label%H
]
p:
store i8*null,i8**%c,align 8
call void@sml_matchcomp_bug()
%q=load i8*,i8**@_SMLZ5Match,align 8
store i8*%q,i8**%b,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%c,align 8
%u=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[61x i8]}>,<{[4x i8],i32,[61x i8]}>*@e,i64 0,i32 2,i64 0),i8**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to i32*
store i32 3,i32*%z,align 4
%A=call i8*@sml_alloc(i32 inreg 60)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177336,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%A,i64 56
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
%F=load i8*,i8**%c,align 8
%G=bitcast i8*%A to i8**
store i8*%F,i8**%G,align 8
call void@sml_raise(i8*inreg%A)#1
unreachable
H:
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@d,i64 0,i32 2,i64 0),i8**%b,align 8
br label%K
I:
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@c,i64 0,i32 2,i64 0),i8**%b,align 8
br label%K
J:
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@b,i64 0,i32 2,i64 0),i8**%b,align 8
br label%K
K:
%L=load i32,i32*%o,align 4
%M=icmp eq i32%L,0
%N=select i1%M,i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@m,i64 0,i32 2,i64 0),i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@f,i64 0,i32 2,i64 0)
store i8*%N,i8**%d,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
%R=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%S=bitcast i8*%O to i8**
store i8*%R,i8**%S,align 8
%T=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%U=getelementptr inbounds i8,i8*%O,i64 8
%V=bitcast i8*%U to i8**
store i8*%T,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%O,i64 16
%X=bitcast i8*%W to i32*
store i32 3,i32*%X,align 4
%Y=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%O)
store i8*%Y,i8**%b,align 8
%Z=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aa=getelementptr inbounds i8,i8*%Z,i64 8
%ab=bitcast i8*%aa to i32*
%ac=load i32,i32*%ab,align 4
%ad=call fastcc i8*@_SMLFN5Int328toStringE(i32 inreg%ac)
store i8*%ad,i8**%c,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%b,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%c,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ae)
ret i8*%ao
}
define internal fastcc i8*@_SMLLN16FormatExpression8toStringE_104(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLLN16FormatExpression8toStringE_79(i8*inreg%h)
store i8*%j,i8**%b,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
%n=load i8*,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@p,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%k)
ret i8*%t
}
define internal fastcc i8*@_SMLLN16FormatExpression8toStringE_114(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=call fastcc i8*@_SMLLN16FormatExpression8toStringE_79(i8*inreg%h)
store i8*%j,i8**%b,align 8
%k=call i8*@sml_alloc(i32 inreg 20)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177296,i32*%m,align 4
%n=load i8*,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@p,i64 0,i32 2,i64 0),i8**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%k)
ret i8*%t
}
define internal fastcc i8*@_SMLLN16FormatExpression8toStringE_79(i8*inreg%a)unnamed_addr#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 6,label%bX
i32 3,label%bW
i32 1,label%aW
i32 2,label%ao
i32 5,label%Z
i32 0,label%X
i32 4,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,[61x i8]}>,<{[4x i8],i32,[61x i8]}>*@r,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
store i8*%H,i8**%b,align 8
%I=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%L(i8*inreg%N,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*))
%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**%b,align 8
store i8*null,i8**%b,align 8
%V=call fastcc i8*%R(i8*inreg%T,i8*inreg%U)
%W=tail call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%V)
ret i8*%W
X:
%Y=phi i8*[getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@o,i64 0,i32 2,i64 0),%h],[getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@x,i64 0,i32 2,i64 0),%bW]
ret i8*%Y
Z:
%aa=getelementptr inbounds i8,i8*%i,i64 4
%ab=bitcast i8*%aa to i32*
%ac=load i32,i32*%ab,align 4
%ad=call fastcc i8*@_SMLFN5Int328toStringE(i32 inreg%ac)
store i8*%ad,i8**%b,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%b,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ae,i64 8
%ak=bitcast i8*%aj to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@n,i64 0,i32 2,i64 0),i8**%ak,align 8
%al=getelementptr inbounds i8,i8*%ae,i64 16
%am=bitcast i8*%al to i32*
store i32 3,i32*%am,align 4
%an=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ae)
ret i8*%an
ao:
%ap=getelementptr inbounds i8,i8*%i,i64 8
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 8
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=icmp eq i32%au,0
%aw=select i1%av,i8*getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@m,i64 0,i32 2,i64 0),i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@l,i64 0,i32 2,i64 0)
store i8*%aw,i8**%b,align 8
%ax=bitcast i8*%ar to i8**
%ay=load i8*,i8**%ax,align 8
%az=icmp eq i8*%ay,null
br i1%az,label%aJ,label%aA
aA:
%aB=bitcast i8*%ay to i8***
%aC=load i8**,i8***%aB,align 8
%aD=load i8*,i8**%aC,align 8
%aE=icmp eq i8*%aD,null
br i1%aE,label%aJ,label%aF
aF:
%aG=bitcast i8*%aD to i32*
%aH=load i32,i32*%aG,align 4
%aI=call fastcc i8*@_SMLFN5Int328toStringE(i32 inreg%aH)
br label%aJ
aJ:
%aK=phi i8*[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@m,i64 0,i32 2,i64 0),%ao],[%aI,%aF],[getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@N,i64 0,i32 2,i64 0),%aA]
store i8*%aK,i8**%c,align 8
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
%aO=load i8*,i8**%b,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=load i8*,i8**%c,align 8
%aR=getelementptr inbounds i8,i8*%aL,i64 8
%aS=bitcast i8*%aR to i8**
store i8*%aQ,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aL,i64 16
%aU=bitcast i8*%aT to i32*
store i32 3,i32*%aU,align 4
%aV=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aL)
ret i8*%aV
aW:
%aX=getelementptr inbounds i8,i8*%i,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%c,align 8
%a0=bitcast i8*%aZ to i8**
%a1=load i8*,i8**%a0,align 8
%a2=icmp eq i8*%a1,null
br i1%a2,label%bh,label%a3
a3:
%a4=bitcast i8*%a1 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=call fastcc i8*@_SMLFN16FormatExpression13assocToStringE(i8*inreg%a5)
store i8*%a6,i8**%b,align 8
%a7=call i8*@sml_alloc(i32 inreg 20)#0
%a8=getelementptr inbounds i8,i8*%a7,i64 -4
%a9=bitcast i8*%a8 to i32*
store i32 1342177296,i32*%a9,align 4
%ba=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bb=bitcast i8*%a7 to i8**
store i8*%ba,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a7,i64 8
%bd=bitcast i8*%bc to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@i,i64 0,i32 2,i64 0),i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a7,i64 16
%bf=bitcast i8*%be to i32*
store i32 3,i32*%bf,align 4
%bg=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%a7)
br label%bh
bh:
%bi=phi i8*[%bg,%a3],[getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@i,i64 0,i32 2,i64 0),%aW]
store i8*%bi,i8**%b,align 8
%bj=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%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=call fastcc i8*%bm(i8*inreg%bo,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*))
%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**%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
%bz=call fastcc i8*%bs(i8*inreg%bu,i8*inreg%by)
%bA=call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%bz)
store i8*%bA,i8**%c,align 8
%bB=call i8*@sml_alloc(i32 inreg 20)#0
%bC=getelementptr inbounds i8,i8*%bB,i64 -4
%bD=bitcast i8*%bC to i32*
store i32 1342177296,i32*%bD,align 4
%bE=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bF=bitcast i8*%bB to i8**
store i8*%bE,i8**%bF,align 8
%bG=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bH=getelementptr inbounds i8,i8*%bB,i64 8
%bI=bitcast i8*%bH to i8**
store i8*%bG,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bB,i64 16
%bK=bitcast i8*%bJ to i32*
store i32 3,i32*%bK,align 4
%bL=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%bB)
store i8*%bL,i8**%b,align 8
%bM=call i8*@sml_alloc(i32 inreg 20)#0
%bN=getelementptr inbounds i8,i8*%bM,i64 -4
%bO=bitcast i8*%bN to i32*
store i32 1342177296,i32*%bO,align 4
%bP=load i8*,i8**%b,align 8
%bQ=bitcast i8*%bM to i8**
store i8*%bP,i8**%bQ,align 8
%bR=getelementptr inbounds i8,i8*%bM,i64 8
%bS=bitcast i8*%bR to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@k,i64 0,i32 2,i64 0),i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bM,i64 16
%bU=bitcast i8*%bT to i32*
store i32 3,i32*%bU,align 4
%bV=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%bM)
ret i8*%bV
bW:
br label%X
bX:
%bY=getelementptr inbounds i8,i8*%i,i64 8
%bZ=bitcast i8*%bY to i8**
%b0=load i8*,i8**%bZ,align 8
%b1=getelementptr inbounds i8,i8*%b0,i64 8
%b2=bitcast i8*%b1 to i8**
%b3=load i8*,i8**%b2,align 8
store i8*%b3,i8**%b,align 8
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=bitcast i8*%b4 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@h,i64 0,i32 2,i64 0),i8**%b7,align 8
%b8=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%b9=getelementptr inbounds i8,i8*%b4,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*%b8,i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 16
%cc=bitcast i8*%cb to i32*
store i32 3,i32*%cc,align 4
%cd=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%b4)
store i8*%cd,i8**%b,align 8
%ce=call i8*@sml_alloc(i32 inreg 20)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177296,i32*%cg,align 4
%ch=load i8*,i8**%b,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%ce,i64 8
%ck=bitcast i8*%cj to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@h,i64 0,i32 2,i64 0),i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%ce,i64 16
%cm=bitcast i8*%cl to i32*
store i32 3,i32*%cm,align 4
%cn=tail call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ce)
ret i8*%cn
}
define internal fastcc i32@_SMLLN16FormatExpression11escapedCharE_117(i8 inreg%a)#4 gc"smlsharp"{
ret i32 1
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_119(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
store i8*null,i8**%b,align 8
%j=getelementptr inbounds i8,i8*%h,i64 1
%k=load i8,i8*%j,align 1
%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
store i8*%l,i8**%b,align 8
%o=getelementptr inbounds i8,i8*%l,i64 1
call void@llvm.memset.p0i8.i32(i8*%o,i8 0,i32 7,i1 false)
store i8%k,i8*%l,align 1
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
store i8*null,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%l,i64 16
%s=bitcast i8*%r to i32*
store i32 2,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=getelementptr inbounds i8,i8*%t,i64 1
call void@llvm.memset.p0i8.i32(i8*%w,i8 0,i32 7,i1 false)
store i8 92,i8*%t,align 1
%x=load i8*,i8**%b,align 8
%y=getelementptr inbounds i8,i8*%t,i64 8
%z=bitcast i8*%y to i8**
store i8*%x,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 16
%B=bitcast i8*%A to i32*
store i32 2,i32*%B,align 4
%C=tail call fastcc i8*@_SMLFN10CharVector8fromListE(i8*inreg%t)
ret i8*%C
}
define internal fastcc i32@_SMLLN16FormatExpression11escapedCharE_121(i8 inreg%a)#4 gc"smlsharp"{
%b=icmp ne i8%a,34
%c=zext i1%b to i32
ret i32%c
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_123(i8 inreg%a)#2 gc"smlsharp"{
%b=load atomic i32,i32*@sml_check_flag unordered,align 4
%c=icmp eq i32%b,0
br i1%c,label%e,label%d
d:
tail call void@sml_check(i32 inreg%b)
br label%e
e:
%f=tail call fastcc i8*@_SMLFN6String3strE(i8 inreg%a)
ret i8*%f
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_125(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**%e,align 8
store i8*%b,i8**%f,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**%e,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%o,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=call fastcc i8*@_SMLFN10ParserComb2orE(i32 inreg%s,i32 inreg%v,i32 inreg 1,i32 inreg 8)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%i,align 8
%C=load i8*,i8**%e,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=getelementptr inbounds i8,i8*%C,i64 12
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%F,i32 inreg%I,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%h,align 8
%P=load i8*,i8**%e,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i32*
%S=load i32,i32*%R,align 4
%T=getelementptr inbounds i8,i8*%P,i64 12
%U=bitcast i8*%T to i32*
%V=load i32,i32*%U,align 4
%W=call fastcc i8*@_SMLFN10ParserComb3seqE(i32 inreg%S,i32 inreg%V,i32 inreg 0,i32 inreg 1,i32 inreg 0,i32 inreg 1)
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%g,align 8
%ac=load i8*,i8**%e,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 8
%ae=bitcast i8*%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=getelementptr inbounds i8,i8*%ac,i64 12
%ah=bitcast i8*%ag to i32*
%ai=load i32,i32*%ah,align 4
%aj=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%af,i32 inreg%ai)
%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
store i8*%ao,i8**%c,align 8
%ap=call i8*@sml_alloc(i32 inreg 1)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1,i32*%ar,align 4
store i8 92,i8*%ap,align 1
%as=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%at=call fastcc i8*%am(i8*inreg%as,i8*inreg%ap)
store i8*%at,i8**%c,align 8
%au=load i8*,i8**%e,align 8
%av=getelementptr inbounds i8,i8*%au,i64 8
%aw=bitcast i8*%av to i32*
%ax=load i32,i32*%aw,align 4
%ay=getelementptr inbounds i8,i8*%au,i64 12
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
%aB=call fastcc i8*@_SMLFN10ParserComb7eatCharE(i32 inreg%ax,i32 inreg%aA)
%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=call fastcc i8*%aE(i8*inreg%aG,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*))
store i8*%aH,i8**%d,align 8
%aI=call i8*@sml_alloc(i32 inreg 20)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177296,i32*%aK,align 4
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aO=getelementptr inbounds i8,i8*%aI,i64 8
%aP=bitcast i8*%aO to i8**
store i8*%aN,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aI,i64 16
%aR=bitcast i8*%aQ to i32*
store i32 3,i32*%aR,align 4
%aS=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aT=call fastcc i8*%Z(i8*inreg%aS,i8*inreg%aI)
store i8*%aT,i8**%c,align 8
%aU=call i8*@sml_alloc(i32 inreg 20)#0
%aV=getelementptr inbounds i8,i8*%aU,i64 -4
%aW=bitcast i8*%aV to i32*
store i32 1342177296,i32*%aW,align 4
%aX=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aY=bitcast i8*%aU to i8**
store i8*%aX,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aU,i64 8
%a0=bitcast i8*%aZ to i8**
store 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*),i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aU,i64 16
%a2=bitcast i8*%a1 to i32*
store i32 3,i32*%a2,align 4
%a3=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a4=call fastcc i8*%M(i8*inreg%a3,i8*inreg%aU)
store i8*%a4,i8**%d,align 8
%a5=load i8*,i8**%e,align 8
%a6=getelementptr inbounds i8,i8*%a5,i64 8
%a7=bitcast i8*%a6 to i32*
%a8=load i32,i32*%a7,align 4
%a9=getelementptr inbounds i8,i8*%a5,i64 12
%ba=bitcast i8*%a9 to i32*
%bb=load i32,i32*%ba,align 4
%bc=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%a8,i32 inreg%bb,i32 inreg 0,i32 inreg 1,i32 inreg 1,i32 inreg 8)
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8*(i8*,i8*)**
%bf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%be,align 8
%bg=bitcast i8*%bc to i8**
%bh=load i8*,i8**%bg,align 8
store i8*%bh,i8**%g,align 8
%bi=load i8*,i8**%e,align 8
%bj=getelementptr inbounds i8,i8*%bi,i64 8
%bk=bitcast i8*%bj to i32*
%bl=load i32,i32*%bk,align 4
%bm=getelementptr inbounds i8,i8*%bi,i64 12
%bn=bitcast i8*%bm to i32*
%bo=load i32,i32*%bn,align 4
%bp=call fastcc i8*@_SMLFN10ParserComb7eatCharE(i32 inreg%bl,i32 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=call fastcc i8*%bs(i8*inreg%bu,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*))
store i8*%bv,i8**%c,align 8
%bw=call i8*@sml_alloc(i32 inreg 20)#0
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
store i32 1342177296,i32*%by,align 4
%bz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bA=bitcast i8*%bw to i8**
store i8*%bz,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bw,i64 8
%bC=bitcast i8*%bB to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@v,i64 0,i32 2)to i8*),i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%bw,i64 16
%bE=bitcast i8*%bD to i32*
store i32 3,i32*%bE,align 4
%bF=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bG=call fastcc i8*%bf(i8*inreg%bF,i8*inreg%bw)
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
%bK=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bL=bitcast i8*%bH to i8**
store i8*%bK,i8**%bL,align 8
%bM=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bN=getelementptr inbounds i8,i8*%bH,i64 8
%bO=bitcast i8*%bN to i8**
store i8*%bM,i8**%bO,align 8
%bP=getelementptr inbounds i8,i8*%bH,i64 16
%bQ=bitcast i8*%bP to i32*
store i32 3,i32*%bQ,align 4
%bR=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bS=call fastcc i8*%z(i8*inreg%bR,i8*inreg%bH)
%bT=getelementptr inbounds i8,i8*%bS,i64 16
%bU=bitcast i8*%bT to i8*(i8*,i8*)**
%bV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bU,align 8
%bW=bitcast i8*%bS to i8**
%bX=load i8*,i8**%bW,align 8
%bY=bitcast i8**%e to i8***
%bZ=load i8**,i8***%bY,align 8
store i8*null,i8**%e,align 8
%b0=load i8*,i8**%bZ,align 8
%b1=call fastcc i8*%bV(i8*inreg%bX,i8*inreg%b0)
%b2=getelementptr inbounds i8,i8*%b1,i64 16
%b3=bitcast i8*%b2 to i8*(i8*,i8*)**
%b4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b3,align 8
%b5=bitcast i8*%b1 to i8**
%b6=load i8*,i8**%b5,align 8
%b7=load i8*,i8**%f,align 8
%b8=tail call fastcc i8*%b4(i8*inreg%b6,i8*inreg%b7)
ret i8*%b8
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_126(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_125 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_125 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression6stringE_129(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
store i8*null,i8**%b,align 8
%k=getelementptr inbounds i8,i8*%i,i64 8
%l=bitcast i8*%k to i8***
%m=load i8**,i8***%l,align 8
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLFN10CharVector6concatE(i8*inreg%n)
store i8*%o,i8**%b,align 8
%p=getelementptr inbounds i8,i8*%o,i64 -4
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=and i32%r,268435455
%t=add nsw i32%s,-1
%u=call i8*@sml_alloc(i32 inreg 20)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177296,i32*%w,align 4
store i8*%u,i8**%c,align 8
%x=getelementptr inbounds i8,i8*%u,i64 4
%y=bitcast i8*%x to i32*
store i32 0,i32*%y,align 1
%z=bitcast i8*%u to i32*
store i32%t,i32*%z,align 4
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B=getelementptr inbounds i8,i8*%u,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 16
%E=bitcast i8*%D to i32*
store i32 2,i32*%E,align 4
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=bitcast i8*%F to i32*
%H=getelementptr inbounds i8,i8*%F,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%F,i64 4
%K=bitcast i8*%J to i32*
store i32 0,i32*%K,align 1
store i32 6,i32*%G,align 4
%L=load i8*,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=getelementptr inbounds i8,i8*%F,i64 16
%P=bitcast i8*%O to i32*
store i32 2,i32*%P,align 4
ret i8*%F
}
define internal fastcc i8*@_SMLLN16FormatExpression6stringE_131(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
q:
%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
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
store i8*%a,i8**%g,align 8
store i8*%b,i8**%h,align 8
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%o,label%m
m:
call void@sml_check(i32 inreg%k)
%n=load i8*,i8**%g,align 8
br label%o
o:
%p=phi i8*[%n,%m],[%a,%q]
%r=getelementptr inbounds i8,i8*%p,i64 8
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=getelementptr inbounds i8,i8*%p,i64 12
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=call fastcc i8*@_SMLFN10ParserComb7seqWithE(i32 inreg 0,i32 inreg 1,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg%t,i32 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=call fastcc i8*%A(i8*inreg%C,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*))
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%j,align 8
%J=load i8*,i8**%g,align 8
%K=getelementptr inbounds i8,i8*%J,i64 8
%L=bitcast i8*%K to i32*
%M=load i32,i32*%L,align 4
%N=getelementptr inbounds i8,i8*%J,i64 12
%O=bitcast i8*%N to i32*
%P=load i32,i32*%O,align 4
%Q=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%M,i32 inreg%P)
%R=getelementptr inbounds i8,i8*%Q,i64 16
%S=bitcast i8*%R to i8*(i8*,i8*)**
%T=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%S,align 8
%U=bitcast i8*%Q to i8**
%V=load i8*,i8**%U,align 8
store i8*%V,i8**%d,align 8
%W=call i8*@sml_alloc(i32 inreg 1)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1,i32*%Y,align 4
store i8 34,i8*%W,align 1
%Z=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aa=call fastcc i8*%T(i8*inreg%Z,i8*inreg%W)
store i8*%aa,i8**%f,align 8
%ab=load i8*,i8**%g,align 8
%ac=getelementptr inbounds i8,i8*%ab,i64 8
%ad=bitcast i8*%ac to i32*
%ae=load i32,i32*%ad,align 4
%af=getelementptr inbounds i8,i8*%ab,i64 12
%ag=bitcast i8*%af to i32*
%ah=load i32,i32*%ag,align 4
%ai=call fastcc i8*@_SMLFN10ParserComb3seqE(i32 inreg%ae,i32 inreg%ah,i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 1)
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
store i8*%an,i8**%i,align 8
%ao=load i8*,i8**%g,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 8
%aq=bitcast i8*%ap to i32*
%ar=load i32,i32*%aq,align 4
%as=getelementptr inbounds i8,i8*%ao,i64 12
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=call fastcc i8*@_SMLFN10ParserComb10zeroOrMoreE(i32 inreg%ar,i32 inreg%au,i32 inreg 1,i32 inreg 8)
%aw=getelementptr inbounds i8,i8*%av,i64 16
%ax=bitcast i8*%aw to i8*(i8*,i8*)**
%ay=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ax,align 8
%az=bitcast i8*%av to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%d,align 8
%aB=load i8*,i8**%g,align 8
%aC=getelementptr inbounds i8,i8*%aB,i64 8
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
%aF=getelementptr inbounds i8,i8*%aB,i64 12
%aG=bitcast i8*%aF to i32*
%aH=load i32,i32*%aG,align 4
%aI=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aI)
call void@llvm.gcroot(i8**%c,i8*null)#0
%aJ=call i8*@sml_alloc(i32 inreg 12)#0
%aK=bitcast i8*%aJ to i32*
%aL=getelementptr inbounds i8,i8*%aJ,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177288,i32*%aM,align 4
store i8*%aJ,i8**%c,align 8
store i32%aE,i32*%aK,align 4
%aN=getelementptr inbounds i8,i8*%aJ,i64 4
%aO=bitcast i8*%aN to i32*
store i32%aH,i32*%aO,align 4
%aP=getelementptr inbounds i8,i8*%aJ,i64 8
%aQ=bitcast i8*%aP to i32*
store i32 0,i32*%aQ,align 4
%aR=call i8*@sml_alloc(i32 inreg 28)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177304,i32*%aT,align 4
%aU=load i8*,i8**%c,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aR,i64 8
%aX=bitcast i8*%aW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_126 to void(...)*),void(...)**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aR,i64 16
%aZ=bitcast i8*%aY to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11escapedCharE_126 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aR,i64 24
%a1=bitcast i8*%a0 to i32*
store i32 -2147483647,i32*%a1,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aI)
%a2=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a3=call fastcc i8*%ay(i8*inreg%a2,i8*inreg%aR)
store i8*%a3,i8**%d,align 8
%a4=load i8*,i8**%g,align 8
%a5=getelementptr inbounds i8,i8*%a4,i64 8
%a6=bitcast i8*%a5 to i32*
%a7=load i32,i32*%a6,align 4
%a8=getelementptr inbounds i8,i8*%a4,i64 12
%a9=bitcast i8*%a8 to i32*
%ba=load i32,i32*%a9,align 4
%bb=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%a7,i32 inreg%ba)
%bc=getelementptr inbounds i8,i8*%bb,i64 16
%bd=bitcast i8*%bc to i8*(i8*,i8*)**
%be=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bd,align 8
%bf=bitcast i8*%bb to i8**
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%e,align 8
%bh=call i8*@sml_alloc(i32 inreg 1)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1,i32*%bj,align 4
store i8 34,i8*%bh,align 1
%bk=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bl=call fastcc i8*%be(i8*inreg%bk,i8*inreg%bh)
store i8*%bl,i8**%e,align 8
%bm=call i8*@sml_alloc(i32 inreg 20)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177296,i32*%bo,align 4
%bp=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bs=getelementptr inbounds i8,i8*%bm,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bm,i64 16
%bv=bitcast i8*%bu to i32*
store i32 3,i32*%bv,align 4
%bw=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bx=call fastcc i8*%al(i8*inreg%bw,i8*inreg%bm)
store i8*%bx,i8**%d,align 8
%by=call i8*@sml_alloc(i32 inreg 20)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177296,i32*%bA,align 4
%bB=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bE=getelementptr inbounds i8,i8*%by,i64 8
%bF=bitcast i8*%bE to i8**
store i8*%bD,i8**%bF,align 8
%bG=getelementptr inbounds i8,i8*%by,i64 16
%bH=bitcast i8*%bG to i32*
store i32 3,i32*%bH,align 4
%bI=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%bJ=call fastcc i8*%G(i8*inreg%bI,i8*inreg%by)
%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=bitcast i8**%g to i8***
%bQ=load i8**,i8***%bP,align 8
store i8*null,i8**%g,align 8
%bR=load i8*,i8**%bQ,align 8
%bS=call fastcc i8*%bM(i8*inreg%bO,i8*inreg%bR)
%bT=getelementptr inbounds i8,i8*%bS,i64 16
%bU=bitcast i8*%bT to i8*(i8*,i8*)**
%bV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bU,align 8
%bW=bitcast i8*%bS to i8**
%bX=load i8*,i8**%bW,align 8
%bY=load i8*,i8**%h,align 8
%bZ=tail call fastcc i8*%bV(i8*inreg%bX,i8*inreg%bY)
ret i8*%bZ
}
define internal fastcc i8*@_SMLLN16FormatExpression6stringE_132(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression6stringE_131 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression6stringE_131 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression7newlineE_137(i8*inreg%a)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@y,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLN16FormatExpression7newlineE_139(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**%d,align 8
store i8*%b,i8**%e,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**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%l,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%p,i32 inreg%s,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=load i8*,i8**%d,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=getelementptr inbounds i8,i8*%z,i64 12
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=call fastcc i8*@_SMLFN10ParserComb6stringE(i32 inreg%C,i32 inreg%F)
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%G to i8**
%L=load i8*,i8**%K,align 8
%M=call fastcc i8*%J(i8*inreg%L,i8*inreg getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@x,i64 0,i32 2,i64 0))
store i8*%M,i8**%c,align 8
%N=call i8*@sml_alloc(i32 inreg 20)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177296,i32*%P,align 4
%Q=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%R=bitcast i8*%N to i8**
store i8*%Q,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%N,i64 8
%T=bitcast i8*%S to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*),i8**%T,align 8
%U=getelementptr inbounds i8,i8*%N,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
%W=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%X=call fastcc i8*%w(i8*inreg%W,i8*inreg%N)
%Y=getelementptr inbounds i8,i8*%X,i64 16
%Z=bitcast i8*%Y to i8*(i8*,i8*)**
%aa=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Z,align 8
%ab=bitcast i8*%X to i8**
%ac=load i8*,i8**%ab,align 8
%ad=bitcast i8**%d to i8***
%ae=load i8**,i8***%ad,align 8
store i8*null,i8**%d,align 8
%af=load i8*,i8**%ae,align 8
%ag=call fastcc i8*%aa(i8*inreg%ac,i8*inreg%af)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
%am=load i8*,i8**%e,align 8
%an=tail call fastcc i8*%aj(i8*inreg%al,i8*inreg%am)
ret i8*%an
}
define internal fastcc i8*@_SMLLN16FormatExpression7newlineE_140(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression7newlineE_139 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression7newlineE_139 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_143(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=getelementptr inbounds i8,i8*%h,i64 8
%k=bitcast i8*%j to i8**
%l=load i8*,i8**%k,align 8
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%l,i64 4
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=call fastcc i8*@_SMLFN6Option6isSomeE(i32 inreg 0,i32 inreg 1)
%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=bitcast i8**%b to i8***
%y=load i8**,i8***%x,align 8
store i8*null,i8**%b,align 8
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*%u(i8*inreg%w,i8*inreg%z)
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=bitcast i8*%D to i32*
%F=getelementptr inbounds i8,i8*%D,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177296,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%D,i64 12
%I=bitcast i8*%H to i32*
store i32 0,i32*%I,align 1
store i32%C,i32*%E,align 4
%J=getelementptr inbounds i8,i8*%D,i64 4
%K=bitcast i8*%J to i32*
store i32%n,i32*%K,align 4
%L=getelementptr inbounds i8,i8*%D,i64 8
%M=bitcast i8*%L to i32*
store i32%q,i32*%M,align 4
%N=getelementptr inbounds i8,i8*%D,i64 16
%O=bitcast i8*%N to i32*
store i32 0,i32*%O,align 4
ret i8*%D
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_145(i8*inreg%a,i8 inreg%b)#2 gc"smlsharp"{
j:
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,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**%c,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
store i8*null,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=call fastcc i8*@_SMLFN10ParserComb6resultE(i32 inreg 0,i32 inreg 4,i32 inreg%l,i32 inreg%o)
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 4)#0
%w=bitcast i8*%v to i32*
%x=getelementptr inbounds i8,i8*%v,i64 -4
%y=bitcast i8*%x to i32*
store i32 4,i32*%y,align 4
store i32 0,i32*%w,align 4
%z=load i8*,i8**%c,align 8
%A=tail call fastcc i8*%s(i8*inreg%z,i8*inreg%v)
ret i8*%A
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_146(i8*inreg%a,i8 inreg%b)#2 gc"smlsharp"{
j:
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,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**%c,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
store i8*null,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=call fastcc i8*@_SMLFN10ParserComb6resultE(i32 inreg 0,i32 inreg 4,i32 inreg%l,i32 inreg%o)
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 4)#0
%w=bitcast i8*%v to i32*
%x=getelementptr inbounds i8,i8*%v,i64 -4
%y=bitcast i8*%x to i32*
store i32 4,i32*%y,align 4
store i32 2,i32*%w,align 4
%z=load i8*,i8**%c,align 8
%A=tail call fastcc i8*%s(i8*inreg%z,i8*inreg%v)
ret i8*%A
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_147(i8*inreg%a,i8 inreg%b)#2 gc"smlsharp"{
j:
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%c,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**%c,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
store i8*null,i8**%c,align 8
%m=getelementptr inbounds i8,i8*%i,i64 4
%n=bitcast i8*%m to i32*
%o=load i32,i32*%n,align 4
%p=call fastcc i8*@_SMLFN10ParserComb6resultE(i32 inreg 0,i32 inreg 4,i32 inreg%l,i32 inreg%o)
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
%t=bitcast i8*%p to i8**
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%c,align 8
%v=call i8*@sml_alloc(i32 inreg 4)#0
%w=bitcast i8*%v to i32*
%x=getelementptr inbounds i8,i8*%v,i64 -4
%y=bitcast i8*%x to i32*
store i32 4,i32*%y,align 4
store i32 1,i32*%w,align 4
%z=load i8*,i8**%c,align 8
%A=tail call fastcc i8*%s(i8*inreg%z,i8*inreg%v)
ret i8*%A
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_148(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
u:
%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
%m=alloca i8*,align 8
%n=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
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%h,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%s,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%g,align 8
br label%s
s:
%t=phi i8*[%r,%q],[%a,%u]
%v=getelementptr inbounds i8,i8*%t,i64 8
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%t,i64 12
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=call fastcc i8*@_SMLFN10ParserComb7seqWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg%x,i32 inreg%A)
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8*(i8*,i8*)**
%E=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D,align 8
%F=bitcast i8*%B to i8**
%G=load i8*,i8**%F,align 8
%H=call fastcc i8*%E(i8*inreg%G,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*))
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%l,align 8
%N=load i8*,i8**%g,align 8
%O=getelementptr inbounds i8,i8*%N,i64 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=getelementptr inbounds i8,i8*%N,i64 12
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
%U=call fastcc i8*@_SMLFN10ParserComb6optionE(i32 inreg%Q,i32 inreg%T,i32 inreg 0,i32 inreg 1)
%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=load i8*,i8**%g,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 8
%ac=bitcast i8*%ab to i32*
%ad=load i32,i32*%ac,align 4
%ae=getelementptr inbounds i8,i8*%aa,i64 12
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%ah=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%ad,i32 inreg%ag)
%ai=getelementptr inbounds i8,i8*%ah,i64 16
%aj=bitcast i8*%ai to i8*(i8*,i8*)**
%ak=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aj,align 8
%al=bitcast i8*%ah to i8**
%am=load i8*,i8**%al,align 8
store i8*%am,i8**%c,align 8
%an=call i8*@sml_alloc(i32 inreg 1)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1,i32*%ap,align 4
store i8 33,i8*%an,align 1
%aq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ar=call fastcc i8*%ak(i8*inreg%aq,i8*inreg%an)
%as=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%at=call fastcc i8*%X(i8*inreg%as,i8*inreg%ar)
store i8*%at,i8**%f,align 8
%au=load i8*,i8**%g,align 8
%av=getelementptr inbounds i8,i8*%au,i64 8
%aw=bitcast i8*%av to i32*
%ax=load i32,i32*%aw,align 4
%ay=getelementptr inbounds i8,i8*%au,i64 12
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
%aB=call fastcc i8*@_SMLFN10ParserComb3seqE(i32 inreg%ax,i32 inreg%aA,i32 inreg 0,i32 inreg 4,i32 inreg 0,i32 inreg 4)
%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
store i8*%aG,i8**%k,align 8
%aH=load i8*,i8**%g,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 8
%aJ=bitcast i8*%aI to i32*
%aK=load i32,i32*%aJ,align 4
%aL=getelementptr inbounds i8,i8*%aH,i64 12
%aM=bitcast i8*%aL to i32*
%aN=load i32,i32*%aM,align 4
%aO=call fastcc i8*@_SMLFN10ParserComb3or_GE(i32 inreg%aK,i32 inreg%aN,i32 inreg 0,i32 inreg 4)
%aP=getelementptr inbounds i8,i8*%aO,i64 16
%aQ=bitcast i8*%aP to i8*(i8*,i8*)**
%aR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aQ,align 8
%aS=bitcast i8*%aO to i8**
%aT=load i8*,i8**%aS,align 8
store i8*%aT,i8**%j,align 8
%aU=load i8*,i8**%g,align 8
%aV=getelementptr inbounds i8,i8*%aU,i64 8
%aW=bitcast i8*%aV to i32*
%aX=load i32,i32*%aW,align 4
%aY=getelementptr inbounds i8,i8*%aU,i64 12
%aZ=bitcast i8*%aY to i32*
%a0=load i32,i32*%aZ,align 4
%a1=call fastcc i8*@_SMLFN10ParserComb4bindE(i32 inreg%aX,i32 inreg%a0,i32 inreg 0,i32 inreg 1,i32 inreg 0,i32 inreg 4)
%a2=getelementptr inbounds i8,i8*%a1,i64 16
%a3=bitcast i8*%a2 to i8*(i8*,i8*)**
%a4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a3,align 8
%a5=bitcast i8*%a1 to i8**
%a6=load i8*,i8**%a5,align 8
store i8*%a6,i8**%d,align 8
%a7=load i8*,i8**%g,align 8
%a8=getelementptr inbounds i8,i8*%a7,i64 8
%a9=bitcast i8*%a8 to i32*
%ba=load i32,i32*%a9,align 4
%bb=getelementptr inbounds i8,i8*%a7,i64 12
%bc=bitcast i8*%bb to i32*
%bd=load i32,i32*%bc,align 4
%be=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%ba,i32 inreg%bd)
%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
store i8*%bj,i8**%c,align 8
%bk=call i8*@sml_alloc(i32 inreg 1)#0
%bl=getelementptr inbounds i8,i8*%bk,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1,i32*%bm,align 4
store i8 76,i8*%bk,align 1
%bn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bo=call fastcc i8*%bh(i8*inreg%bn,i8*inreg%bk)
store i8*%bo,i8**%c,align 8
%bp=load i8*,i8**%g,align 8
%bq=getelementptr inbounds i8,i8*%bp,i64 8
%br=bitcast i8*%bq to i32*
%bs=load i32,i32*%br,align 4
%bt=getelementptr inbounds i8,i8*%bp,i64 12
%bu=bitcast i8*%bt to i32*
%bv=load i32,i32*%bu,align 4
%bw=call i8*@sml_alloc(i32 inreg 12)#0
%bx=bitcast i8*%bw to i32*
%by=getelementptr inbounds i8,i8*%bw,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177288,i32*%bz,align 4
store i8*%bw,i8**%e,align 8
store i32%bs,i32*%bx,align 4
%bA=getelementptr inbounds i8,i8*%bw,i64 4
%bB=bitcast i8*%bA to i32*
store i32%bv,i32*%bB,align 4
%bC=getelementptr inbounds i8,i8*%bw,i64 8
%bD=bitcast i8*%bC to i32*
store i32 0,i32*%bD,align 4
%bE=call i8*@sml_alloc(i32 inreg 28)#0
%bF=getelementptr inbounds i8,i8*%bE,i64 -4
%bG=bitcast i8*%bF to i32*
store i32 1342177304,i32*%bG,align 4
store i8*%bE,i8**%i,align 8
%bH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bI=bitcast i8*%bE to i8**
store i8*%bH,i8**%bI,align 8
%bJ=getelementptr inbounds i8,i8*%bE,i64 8
%bK=bitcast i8*%bJ to void(...)**
store void(...)*bitcast(i8*(i8*,i8)*@_SMLLN16FormatExpression14assocIndicatorE_145 to void(...)*),void(...)**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bE,i64 16
%bM=bitcast i8*%bL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_228 to void(...)*),void(...)**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bE,i64 24
%bO=bitcast i8*%bN to i32*
store i32 -2147483647,i32*%bO,align 4
%bP=call i8*@sml_alloc(i32 inreg 20)#0
%bQ=getelementptr inbounds i8,i8*%bP,i64 -4
%bR=bitcast i8*%bQ to i32*
store i32 1342177296,i32*%bR,align 4
%bS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bT=bitcast i8*%bP to i8**
store i8*%bS,i8**%bT,align 8
%bU=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bV=getelementptr inbounds i8,i8*%bP,i64 8
%bW=bitcast i8*%bV to i8**
store i8*%bU,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bP,i64 16
%bY=bitcast i8*%bX to i32*
store i32 3,i32*%bY,align 4
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=call fastcc i8*%a4(i8*inreg%bZ,i8*inreg%bP)
store i8*%b0,i8**%e,align 8
%b1=load i8*,i8**%g,align 8
%b2=getelementptr inbounds i8,i8*%b1,i64 8
%b3=bitcast i8*%b2 to i32*
%b4=load i32,i32*%b3,align 4
%b5=getelementptr inbounds i8,i8*%b1,i64 12
%b6=bitcast i8*%b5 to i32*
%b7=load i32,i32*%b6,align 4
%b8=call fastcc i8*@_SMLFN10ParserComb4bindE(i32 inreg%b4,i32 inreg%b7,i32 inreg 0,i32 inreg 1,i32 inreg 0,i32 inreg 4)
%b9=getelementptr inbounds i8,i8*%b8,i64 16
%ca=bitcast i8*%b9 to i8*(i8*,i8*)**
%cb=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ca,align 8
%cc=bitcast i8*%b8 to i8**
%cd=load i8*,i8**%cc,align 8
store i8*%cd,i8**%d,align 8
%ce=load i8*,i8**%g,align 8
%cf=getelementptr inbounds i8,i8*%ce,i64 8
%cg=bitcast i8*%cf to i32*
%ch=load i32,i32*%cg,align 4
%ci=getelementptr inbounds i8,i8*%ce,i64 12
%cj=bitcast i8*%ci to i32*
%ck=load i32,i32*%cj,align 4
%cl=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%ch,i32 inreg%ck)
%cm=getelementptr inbounds i8,i8*%cl,i64 16
%cn=bitcast i8*%cm to i8*(i8*,i8*)**
%co=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%cn,align 8
%cp=bitcast i8*%cl to i8**
%cq=load i8*,i8**%cp,align 8
store i8*%cq,i8**%c,align 8
%cr=call i8*@sml_alloc(i32 inreg 1)#0
%cs=getelementptr inbounds i8,i8*%cr,i64 -4
%ct=bitcast i8*%cs to i32*
store i32 1,i32*%ct,align 4
store i8 82,i8*%cr,align 1
%cu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%cv=call fastcc i8*%co(i8*inreg%cu,i8*inreg%cr)
store i8*%cv,i8**%c,align 8
%cw=load i8*,i8**%g,align 8
%cx=getelementptr inbounds i8,i8*%cw,i64 8
%cy=bitcast i8*%cx to i32*
%cz=load i32,i32*%cy,align 4
%cA=getelementptr inbounds i8,i8*%cw,i64 12
%cB=bitcast i8*%cA to i32*
%cC=load i32,i32*%cB,align 4
%cD=call i8*@sml_alloc(i32 inreg 12)#0
%cE=bitcast i8*%cD to i32*
%cF=getelementptr inbounds i8,i8*%cD,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177288,i32*%cG,align 4
store i8*%cD,i8**%i,align 8
store i32%cz,i32*%cE,align 4
%cH=getelementptr inbounds i8,i8*%cD,i64 4
%cI=bitcast i8*%cH to i32*
store i32%cC,i32*%cI,align 4
%cJ=getelementptr inbounds i8,i8*%cD,i64 8
%cK=bitcast i8*%cJ to i32*
store i32 0,i32*%cK,align 4
%cL=call i8*@sml_alloc(i32 inreg 28)#0
%cM=getelementptr inbounds i8,i8*%cL,i64 -4
%cN=bitcast i8*%cM to i32*
store i32 1342177304,i32*%cN,align 4
store i8*%cL,i8**%m,align 8
%cO=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cP=bitcast i8*%cL to i8**
store i8*%cO,i8**%cP,align 8
%cQ=getelementptr inbounds i8,i8*%cL,i64 8
%cR=bitcast i8*%cQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8)*@_SMLLN16FormatExpression14assocIndicatorE_146 to void(...)*),void(...)**%cR,align 8
%cS=getelementptr inbounds i8,i8*%cL,i64 16
%cT=bitcast i8*%cS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_229 to void(...)*),void(...)**%cT,align 8
%cU=getelementptr inbounds i8,i8*%cL,i64 24
%cV=bitcast i8*%cU to i32*
store i32 -2147483647,i32*%cV,align 4
%cW=call i8*@sml_alloc(i32 inreg 20)#0
%cX=getelementptr inbounds i8,i8*%cW,i64 -4
%cY=bitcast i8*%cX to i32*
store i32 1342177296,i32*%cY,align 4
%cZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%c0=bitcast i8*%cW to i8**
store i8*%cZ,i8**%c0,align 8
%c1=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%c2=getelementptr inbounds i8,i8*%cW,i64 8
%c3=bitcast i8*%c2 to i8**
store i8*%c1,i8**%c3,align 8
%c4=getelementptr inbounds i8,i8*%cW,i64 16
%c5=bitcast i8*%c4 to i32*
store i32 3,i32*%c5,align 4
%c6=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%c7=call fastcc i8*%cb(i8*inreg%c6,i8*inreg%cW)
store i8*%c7,i8**%d,align 8
%c8=load i8*,i8**%g,align 8
%c9=getelementptr inbounds i8,i8*%c8,i64 8
%da=bitcast i8*%c9 to i32*
%db=load i32,i32*%da,align 4
%dc=getelementptr inbounds i8,i8*%c8,i64 12
%dd=bitcast i8*%dc to i32*
%de=load i32,i32*%dd,align 4
%df=call fastcc i8*@_SMLFN10ParserComb4bindE(i32 inreg%db,i32 inreg%de,i32 inreg 0,i32 inreg 1,i32 inreg 0,i32 inreg 4)
%dg=getelementptr inbounds i8,i8*%df,i64 16
%dh=bitcast i8*%dg to i8*(i8*,i8*)**
%di=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dh,align 8
%dj=bitcast i8*%df to i8**
%dk=load i8*,i8**%dj,align 8
store i8*%dk,i8**%i,align 8
%dl=load i8*,i8**%g,align 8
%dm=getelementptr inbounds i8,i8*%dl,i64 8
%dn=bitcast i8*%dm to i32*
%do=load i32,i32*%dn,align 4
%dp=getelementptr inbounds i8,i8*%dl,i64 12
%dq=bitcast i8*%dp to i32*
%dr=load i32,i32*%dq,align 4
%ds=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%do,i32 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
store i8*%dx,i8**%c,align 8
%dy=call i8*@sml_alloc(i32 inreg 1)#0
%dz=getelementptr inbounds i8,i8*%dy,i64 -4
%dA=bitcast i8*%dz to i32*
store i32 1,i32*%dA,align 4
store i8 78,i8*%dy,align 1
%dB=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%dC=call fastcc i8*%dv(i8*inreg%dB,i8*inreg%dy)
store i8*%dC,i8**%c,align 8
%dD=load i8*,i8**%g,align 8
%dE=getelementptr inbounds i8,i8*%dD,i64 8
%dF=bitcast i8*%dE to i32*
%dG=load i32,i32*%dF,align 4
%dH=getelementptr inbounds i8,i8*%dD,i64 12
%dI=bitcast i8*%dH to i32*
%dJ=load i32,i32*%dI,align 4
%dK=call i8*@sml_alloc(i32 inreg 12)#0
%dL=bitcast i8*%dK to i32*
%dM=getelementptr inbounds i8,i8*%dK,i64 -4
%dN=bitcast i8*%dM to i32*
store i32 1342177288,i32*%dN,align 4
store i8*%dK,i8**%m,align 8
store i32%dG,i32*%dL,align 4
%dO=getelementptr inbounds i8,i8*%dK,i64 4
%dP=bitcast i8*%dO to i32*
store i32%dJ,i32*%dP,align 4
%dQ=getelementptr inbounds i8,i8*%dK,i64 8
%dR=bitcast i8*%dQ to i32*
store i32 0,i32*%dR,align 4
%dS=call i8*@sml_alloc(i32 inreg 28)#0
%dT=getelementptr inbounds i8,i8*%dS,i64 -4
%dU=bitcast i8*%dT to i32*
store i32 1342177304,i32*%dU,align 4
store i8*%dS,i8**%n,align 8
%dV=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%dW=bitcast i8*%dS to i8**
store i8*%dV,i8**%dW,align 8
%dX=getelementptr inbounds i8,i8*%dS,i64 8
%dY=bitcast i8*%dX to void(...)**
store void(...)*bitcast(i8*(i8*,i8)*@_SMLLN16FormatExpression14assocIndicatorE_147 to void(...)*),void(...)**%dY,align 8
%dZ=getelementptr inbounds i8,i8*%dS,i64 16
%d0=bitcast i8*%dZ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_230 to void(...)*),void(...)**%d0,align 8
%d1=getelementptr inbounds i8,i8*%dS,i64 24
%d2=bitcast i8*%d1 to i32*
store i32 -2147483647,i32*%d2,align 4
%d3=call i8*@sml_alloc(i32 inreg 20)#0
%d4=getelementptr inbounds i8,i8*%d3,i64 -4
%d5=bitcast i8*%d4 to i32*
store i32 1342177296,i32*%d5,align 4
%d6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%d7=bitcast i8*%d3 to i8**
store i8*%d6,i8**%d7,align 8
%d8=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%d9=getelementptr inbounds i8,i8*%d3,i64 8
%ea=bitcast i8*%d9 to i8**
store i8*%d8,i8**%ea,align 8
%eb=getelementptr inbounds i8,i8*%d3,i64 16
%ec=bitcast i8*%eb to i32*
store i32 3,i32*%ec,align 4
%ed=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ee=call fastcc i8*%di(i8*inreg%ed,i8*inreg%d3)
store i8*%ee,i8**%c,align 8
%ef=call i8*@sml_alloc(i32 inreg 20)#0
%eg=getelementptr inbounds i8,i8*%ef,i64 -4
%eh=bitcast i8*%eg to i32*
store i32 1342177296,i32*%eh,align 4
%ei=load i8*,i8**%c,align 8
%ej=bitcast i8*%ef to i8**
store i8*%ei,i8**%ej,align 8
%ek=getelementptr inbounds i8,i8*%ef,i64 8
%el=bitcast i8*%ek to i8**
store i8*null,i8**%el,align 8
%em=getelementptr inbounds i8,i8*%ef,i64 16
%en=bitcast i8*%em to i32*
store i32 3,i32*%en,align 4
store i8*null,i8**%i,align 8
%eo=call i8*@sml_alloc(i32 inreg 20)#0
%ep=getelementptr inbounds i8,i8*%eo,i64 -4
%eq=bitcast i8*%ep to i32*
store i32 1342177296,i32*%eq,align 4
store i8*%eo,i8**%m,align 8
%er=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%es=bitcast i8*%eo to i8**
store i8*%er,i8**%es,align 8
%et=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%eu=getelementptr inbounds i8,i8*%eo,i64 8
%ev=bitcast i8*%eu to i8**
store i8*%et,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%eo,i64 16
%ex=bitcast i8*%ew to i32*
store i32 3,i32*%ex,align 4
%ey=call i8*@sml_alloc(i32 inreg 20)#0
%ez=getelementptr inbounds i8,i8*%ey,i64 -4
%eA=bitcast i8*%ez to i32*
store i32 1342177296,i32*%eA,align 4
store i8*%ey,i8**%c,align 8
%eB=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eC=bitcast i8*%ey to i8**
store i8*%eB,i8**%eC,align 8
%eD=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%eE=getelementptr inbounds i8,i8*%ey,i64 8
%eF=bitcast i8*%eE to i8**
store i8*%eD,i8**%eF,align 8
%eG=getelementptr inbounds i8,i8*%ey,i64 16
%eH=bitcast i8*%eG to i32*
store i32 3,i32*%eH,align 4
%eI=call i8*@sml_alloc(i32 inreg 20)#0
%eJ=getelementptr inbounds i8,i8*%eI,i64 -4
%eK=bitcast i8*%eJ to i32*
store i32 1342177296,i32*%eK,align 4
%eL=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eM=bitcast i8*%eI to i8**
store i8*%eL,i8**%eM,align 8
%eN=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eO=getelementptr inbounds i8,i8*%eI,i64 8
%eP=bitcast i8*%eO to i8**
store i8*%eN,i8**%eP,align 8
%eQ=getelementptr inbounds i8,i8*%eI,i64 16
%eR=bitcast i8*%eQ to i32*
store i32 3,i32*%eR,align 4
%eS=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%eT=call fastcc i8*%aR(i8*inreg%eS,i8*inreg%eI)
store i8*%eT,i8**%c,align 8
%eU=load i8*,i8**%g,align 8
%eV=getelementptr inbounds i8,i8*%eU,i64 8
%eW=bitcast i8*%eV to i32*
%eX=load i32,i32*%eW,align 4
%eY=getelementptr inbounds i8,i8*%eU,i64 12
%eZ=bitcast i8*%eY to i32*
%e0=load i32,i32*%eZ,align 4
%e1=call fastcc i8*@_SMLFN5Int324scanE(i32 inreg%eX,i32 inreg%e0)
%e2=getelementptr inbounds i8,i8*%e1,i64 16
%e3=bitcast i8*%e2 to i8*(i8*,i8*)**
%e4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%e3,align 8
%e5=bitcast i8*%e1 to i8**
%e6=load i8*,i8**%e5,align 8
store i8*%e6,i8**%d,align 8
%e7=call i8*@sml_alloc(i32 inreg 4)#0
%e8=bitcast i8*%e7 to i32*
%e9=getelementptr inbounds i8,i8*%e7,i64 -4
%fa=bitcast i8*%e9 to i32*
store i32 4,i32*%fa,align 4
store i32 1,i32*%e8,align 4
%fb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fc=call fastcc i8*%e4(i8*inreg%fb,i8*inreg%e7)
store i8*%fc,i8**%d,align 8
%fd=call i8*@sml_alloc(i32 inreg 20)#0
%fe=getelementptr inbounds i8,i8*%fd,i64 -4
%ff=bitcast i8*%fe to i32*
store i32 1342177296,i32*%ff,align 4
%fg=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fh=bitcast i8*%fd to i8**
store i8*%fg,i8**%fh,align 8
%fi=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fj=getelementptr inbounds i8,i8*%fd,i64 8
%fk=bitcast i8*%fj to i8**
store i8*%fi,i8**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fd,i64 16
%fm=bitcast i8*%fl to i32*
store i32 3,i32*%fm,align 4
%fn=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%fo=call fastcc i8*%aE(i8*inreg%fn,i8*inreg%fd)
store i8*%fo,i8**%c,align 8
%fp=call i8*@sml_alloc(i32 inreg 20)#0
%fq=getelementptr inbounds i8,i8*%fp,i64 -4
%fr=bitcast i8*%fq to i32*
store i32 1342177296,i32*%fr,align 4
%fs=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ft=bitcast i8*%fp to i8**
store i8*%fs,i8**%ft,align 8
%fu=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fv=getelementptr inbounds i8,i8*%fp,i64 8
%fw=bitcast i8*%fv to i8**
store i8*%fu,i8**%fw,align 8
%fx=getelementptr inbounds i8,i8*%fp,i64 16
%fy=bitcast i8*%fx to i32*
store i32 3,i32*%fy,align 4
%fz=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%fA=call fastcc i8*%K(i8*inreg%fz,i8*inreg%fp)
%fB=getelementptr inbounds i8,i8*%fA,i64 16
%fC=bitcast i8*%fB to i8*(i8*,i8*)**
%fD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fC,align 8
%fE=bitcast i8*%fA to i8**
%fF=load i8*,i8**%fE,align 8
%fG=bitcast i8**%g to i8***
%fH=load i8**,i8***%fG,align 8
store i8*null,i8**%g,align 8
%fI=load i8*,i8**%fH,align 8
%fJ=call fastcc i8*%fD(i8*inreg%fF,i8*inreg%fI)
%fK=getelementptr inbounds i8,i8*%fJ,i64 16
%fL=bitcast i8*%fK to i8*(i8*,i8*)**
%fM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fL,align 8
%fN=bitcast i8*%fJ to i8**
%fO=load i8*,i8**%fN,align 8
%fP=load i8*,i8**%h,align 8
%fQ=tail call fastcc i8*%fM(i8*inreg%fO,i8*inreg%fP)
ret i8*%fQ
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_149(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_148 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_148 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression13startOfIndentE_152(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
%d=tail call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i32 5,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%c,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
ret i8*%d
}
define internal fastcc i8*@_SMLLN16FormatExpression13startOfIndentE_154(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%f,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%e,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
%p=getelementptr inbounds i8,i8*%n,i64 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%n,i64 12
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%r,i32 inreg%u,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%h,align 8
%B=load i8*,i8**%e,align 8
%C=getelementptr inbounds i8,i8*%B,i64 8
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=getelementptr inbounds i8,i8*%B,i64 12
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
%I=call fastcc i8*@_SMLFN10ParserComb3seqE(i32 inreg%E,i32 inreg%H,i32 inreg 0,i32 inreg 4,i32 inreg 0,i32 inreg 1)
%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
store i8*%N,i8**%g,align 8
%O=load i8*,i8**%e,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=getelementptr inbounds i8,i8*%O,i64 12
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=call fastcc i8*@_SMLFN5Int324scanE(i32 inreg%R,i32 inreg%U)
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%c,align 8
%ab=call i8*@sml_alloc(i32 inreg 4)#0
%ac=bitcast i8*%ab to i32*
%ad=getelementptr inbounds i8,i8*%ab,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 4,i32*%ae,align 4
store i32 1,i32*%ac,align 4
%af=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ag=call fastcc i8*%Y(i8*inreg%af,i8*inreg%ab)
store i8*%ag,i8**%c,align 8
%ah=load i8*,i8**%e,align 8
%ai=getelementptr inbounds i8,i8*%ah,i64 8
%aj=bitcast i8*%ai to i32*
%ak=load i32,i32*%aj,align 4
%al=getelementptr inbounds i8,i8*%ah,i64 12
%am=bitcast i8*%al to i32*
%an=load i32,i32*%am,align 4
%ao=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%ak,i32 inreg%an)
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
%as=bitcast i8*%ao to i8**
%at=load i8*,i8**%as,align 8
store i8*%at,i8**%d,align 8
%au=call i8*@sml_alloc(i32 inreg 1)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1,i32*%aw,align 4
store i8 91,i8*%au,align 1
%ax=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ay=call fastcc i8*%ar(i8*inreg%ax,i8*inreg%au)
store i8*%ay,i8**%d,align 8
%az=call i8*@sml_alloc(i32 inreg 20)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177296,i32*%aB,align 4
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aF=getelementptr inbounds i8,i8*%az,i64 8
%aG=bitcast i8*%aF to i8**
store i8*%aE,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%az,i64 16
%aI=bitcast i8*%aH to i32*
store i32 3,i32*%aI,align 4
%aJ=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aK=call fastcc i8*%L(i8*inreg%aJ,i8*inreg%az)
store i8*%aK,i8**%c,align 8
%aL=call i8*@sml_alloc(i32 inreg 20)#0
%aM=getelementptr inbounds i8,i8*%aL,i64 -4
%aN=bitcast i8*%aM to i32*
store i32 1342177296,i32*%aN,align 4
%aO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aP=bitcast i8*%aL to i8**
store i8*%aO,i8**%aP,align 8
%aQ=getelementptr inbounds i8,i8*%aL,i64 8
%aR=bitcast i8*%aQ to i8**
store i8*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*),i8**%aR,align 8
%aS=getelementptr inbounds i8,i8*%aL,i64 16
%aT=bitcast i8*%aS to i32*
store i32 3,i32*%aT,align 4
%aU=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aV=call fastcc i8*%y(i8*inreg%aU,i8*inreg%aL)
%aW=getelementptr inbounds i8,i8*%aV,i64 16
%aX=bitcast i8*%aW to i8*(i8*,i8*)**
%aY=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aX,align 8
%aZ=bitcast i8*%aV to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=bitcast i8**%e to i8***
%a2=load i8**,i8***%a1,align 8
store i8*null,i8**%e,align 8
%a3=load i8*,i8**%a2,align 8
%a4=call fastcc i8*%aY(i8*inreg%a0,i8*inreg%a3)
%a5=getelementptr inbounds i8,i8*%a4,i64 16
%a6=bitcast i8*%a5 to i8*(i8*,i8*)**
%a7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a6,align 8
%a8=bitcast i8*%a4 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=load i8*,i8**%f,align 8
%bb=tail call fastcc i8*%a7(i8*inreg%a9,i8*inreg%ba)
ret i8*%bb
}
define internal fastcc i8*@_SMLLN16FormatExpression13startOfIndentE_155(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression13startOfIndentE_154 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression13startOfIndentE_154 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression11endOfIndentE_159(i8 inreg%a)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@C,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLN16FormatExpression11endOfIndentE_161(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**%d,align 8
store i8*%b,i8**%e,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**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%a,%m]
%n=getelementptr inbounds i8,i8*%l,i64 8
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%l,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%p,i32 inreg%s,i32 inreg 0,i32 inreg 1,i32 inreg 1,i32 inreg 8)
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=load i8*,i8**%d,align 8
%A=getelementptr inbounds i8,i8*%z,i64 8
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=getelementptr inbounds i8,i8*%z,i64 12
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%C,i32 inreg%F)
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%G to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%c,align 8
%M=call i8*@sml_alloc(i32 inreg 1)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1,i32*%O,align 4
store i8 93,i8*%M,align 1
%P=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Q=call fastcc i8*%J(i8*inreg%P,i8*inreg%M)
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
%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*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*),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
%aa=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ab=call fastcc i8*%w(i8*inreg%aa,i8*inreg%R)
%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=bitcast i8**%d to i8***
%ai=load i8**,i8***%ah,align 8
store i8*null,i8**%d,align 8
%aj=load i8*,i8**%ai,align 8
%ak=call fastcc i8*%ae(i8*inreg%ag,i8*inreg%aj)
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
%aq=load i8*,i8**%e,align 8
%ar=tail call fastcc i8*%an(i8*inreg%ap,i8*inreg%aq)
ret i8*%ar
}
define internal fastcc i8*@_SMLLN16FormatExpression11endOfIndentE_162(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11endOfIndentE_161 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11endOfIndentE_161 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_165(i8 inreg%a)#4 gc"smlsharp"{
ret i8*null
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_167(i32 inreg%a)#4 gc"smlsharp"{
%b=tail call i8*@sml_alloc(i32 inreg 12)#0
%c=bitcast i8*%b to i32*
%d=getelementptr inbounds i8,i8*%b,i64 -4
%e=bitcast i8*%d to i32*
store i32 1342177288,i32*%e,align 4
%f=getelementptr inbounds i8,i8*%b,i64 4
%g=bitcast i8*%f to i32*
store i32 0,i32*%g,align 1
store i32%a,i32*%c,align 4
%h=getelementptr inbounds i8,i8*%b,i64 8
%i=bitcast i8*%h to i32*
store i32 0,i32*%i,align 4
ret i8*%b
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_169(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%f,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%e,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
%p=getelementptr inbounds i8,i8*%n,i64 8
%q=bitcast i8*%p to i32*
%r=load i32,i32*%q,align 4
%s=getelementptr inbounds i8,i8*%n,i64 12
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call fastcc i8*@_SMLFN10ParserComb2orE(i32 inreg%r,i32 inreg%u,i32 inreg 1,i32 inreg 8)
%w=getelementptr inbounds i8,i8*%v,i64 16
%x=bitcast i8*%w to i8*(i8*,i8*)**
%y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x,align 8
%z=bitcast i8*%v to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%h,align 8
%B=load i8*,i8**%e,align 8
%C=getelementptr inbounds i8,i8*%B,i64 8
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=getelementptr inbounds i8,i8*%B,i64 12
%G=bitcast i8*%F to i32*
%H=load i32,i32*%G,align 4
%I=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%E,i32 inreg%H,i32 inreg 0,i32 inreg 1,i32 inreg 1,i32 inreg 8)
%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
store i8*%N,i8**%d,align 8
%O=load i8*,i8**%e,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=getelementptr inbounds i8,i8*%O,i64 12
%T=bitcast i8*%S to i32*
%U=load i32,i32*%T,align 4
%V=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%R,i32 inreg%U)
%W=getelementptr inbounds i8,i8*%V,i64 16
%X=bitcast i8*%W to i8*(i8*,i8*)**
%Y=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%X,align 8
%Z=bitcast i8*%V to i8**
%aa=load i8*,i8**%Z,align 8
store i8*%aa,i8**%c,align 8
%ab=call i8*@sml_alloc(i32 inreg 1)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1,i32*%ad,align 4
store i8 100,i8*%ab,align 1
%ae=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%af=call fastcc i8*%Y(i8*inreg%ae,i8*inreg%ab)
store i8*%af,i8**%c,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
%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=getelementptr inbounds i8,i8*%ag,i64 8
%am=bitcast i8*%al to i8**
store 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*),i8**%am,align 8
%an=getelementptr inbounds i8,i8*%ag,i64 16
%ao=bitcast i8*%an to i32*
store i32 3,i32*%ao,align 4
%ap=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aq=call fastcc i8*%L(i8*inreg%ap,i8*inreg%ag)
store i8*%aq,i8**%d,align 8
%ar=load i8*,i8**%e,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 8
%at=bitcast i8*%as to i32*
%au=load i32,i32*%at,align 4
%av=getelementptr inbounds i8,i8*%ar,i64 12
%aw=bitcast i8*%av to i32*
%ax=load i32,i32*%aw,align 4
%ay=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%au,i32 inreg%ax,i32 inreg 0,i32 inreg 4,i32 inreg 1,i32 inreg 8)
%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
store i8*%aD,i8**%g,align 8
%aE=load i8*,i8**%e,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 8
%aG=bitcast i8*%aF to i32*
%aH=load i32,i32*%aG,align 4
%aI=getelementptr inbounds i8,i8*%aE,i64 12
%aJ=bitcast i8*%aI to i32*
%aK=load i32,i32*%aJ,align 4
%aL=call fastcc i8*@_SMLFN5Int324scanE(i32 inreg%aH,i32 inreg%aK)
%aM=getelementptr inbounds i8,i8*%aL,i64 16
%aN=bitcast i8*%aM to i8*(i8*,i8*)**
%aO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aN,align 8
%aP=bitcast i8*%aL to i8**
%aQ=load i8*,i8**%aP,align 8
store i8*%aQ,i8**%c,align 8
%aR=call i8*@sml_alloc(i32 inreg 4)#0
%aS=bitcast i8*%aR to i32*
%aT=getelementptr inbounds i8,i8*%aR,i64 -4
%aU=bitcast i8*%aT to i32*
store i32 4,i32*%aU,align 4
store i32 1,i32*%aS,align 4
%aV=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aW=call fastcc i8*%aO(i8*inreg%aV,i8*inreg%aR)
store i8*%aW,i8**%c,align 8
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177296,i32*%aZ,align 4
%a0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aX,i64 8
%a3=bitcast i8*%a2 to i8**
store 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*),i8**%a3,align 8
%a4=getelementptr inbounds i8,i8*%aX,i64 16
%a5=bitcast i8*%a4 to i32*
store i32 3,i32*%a5,align 4
%a6=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a7=call fastcc i8*%aB(i8*inreg%a6,i8*inreg%aX)
store i8*%a7,i8**%c,align 8
%a8=call i8*@sml_alloc(i32 inreg 20)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177296,i32*%ba,align 4
%bb=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bc=bitcast i8*%a8 to i8**
store i8*%bb,i8**%bc,align 8
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%be=getelementptr inbounds i8,i8*%a8,i64 8
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a8,i64 16
%bh=bitcast i8*%bg to i32*
store i32 3,i32*%bh,align 4
%bi=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bj=call fastcc i8*%y(i8*inreg%bi,i8*inreg%a8)
%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=bitcast i8**%e to i8***
%bq=load i8**,i8***%bp,align 8
store i8*null,i8**%e,align 8
%br=load i8*,i8**%bq,align 8
%bs=call fastcc i8*%bm(i8*inreg%bo,i8*inreg%br)
%bt=getelementptr inbounds i8,i8*%bs,i64 16
%bu=bitcast i8*%bt to i8*(i8*,i8*)**
%bv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bu,align 8
%bw=bitcast i8*%bs to i8**
%bx=load i8*,i8**%bw,align 8
%by=load i8*,i8**%f,align 8
%bz=tail call fastcc i8*%bv(i8*inreg%bx,i8*inreg%by)
ret i8*%bz
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_170(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8priorityE_169 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8priorityE_169 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_171(i32 inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,i8**%c,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8priorityE_170 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression8priorityE_170 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLLN16FormatExpression9indicatorE_173(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=getelementptr inbounds i8,i8*%i,i64 8
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=call fastcc i8*@_SMLFN6Option6isSomeE(i32 inreg 0,i32 inreg 1)
%o=getelementptr inbounds i8,i8*%n,i64 16
%p=bitcast i8*%o to i8*(i8*,i8*)**
%q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%p,align 8
%r=bitcast i8*%n to i8**
%s=load i8*,i8**%r,align 8
%t=bitcast i8**%b to i8***
%u=load i8**,i8***%t,align 8
store i8*null,i8**%b,align 8
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%q(i8*inreg%s,i8*inreg%v)
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=call i8*@sml_alloc(i32 inreg 12)#0
%A=getelementptr inbounds i8,i8*%z,i64 -4
%B=bitcast i8*%A to i32*
store i32 1342177288,i32*%B,align 4
store i8*%z,i8**%b,align 8
%C=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%D=bitcast i8*%z to i8**
store i8*%C,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%z,i64 8
%F=bitcast i8*%E to i32*
store i32 1,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 12)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177288,i32*%I,align 4
store i8*%G,i8**%c,align 8
%J=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%K=bitcast i8*%G to i8**
store i8*%J,i8**%K,align 8
%L=getelementptr inbounds i8,i8*%G,i64 8
%M=bitcast i8*%L to i32*
store i32 1,i32*%M,align 4
%N=call i8*@sml_alloc(i32 inreg 20)#0
%O=getelementptr inbounds i8,i8*%N,i64 -4
%P=bitcast i8*%O to i32*
store i32 1342177296,i32*%P,align 4
store i8*%N,i8**%b,align 8
%Q=getelementptr inbounds i8,i8*%N,i64 12
%R=bitcast i8*%Q to i32*
store i32 0,i32*%R,align 1
%S=bitcast i8*%N to i8**
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
store i8*%T,i8**%S,align 8
%U=getelementptr inbounds i8,i8*%N,i64 8
%V=bitcast i8*%U to i32*
store i32%y,i32*%V,align 4
%W=getelementptr inbounds i8,i8*%N,i64 16
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=bitcast i8*%Y to i32*
%aa=getelementptr inbounds i8,i8*%Y,i64 -4
%ab=bitcast i8*%aa to i32*
store i32 1342177296,i32*%ab,align 4
%ac=getelementptr inbounds i8,i8*%Y,i64 4
%ad=bitcast i8*%ac to i32*
store i32 0,i32*%ad,align 1
store i32 2,i32*%Z,align 4
%ae=load i8*,i8**%b,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%Y,i64 16
%ai=bitcast i8*%ah to i32*
store i32 2,i32*%ai,align 4
ret i8*%Y
}
define internal fastcc i8*@_SMLLN16FormatExpression9indicatorE_177(i8 inreg%a)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@J,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLN16FormatExpression9indicatorE_179(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**%e,align 8
store i8*%b,i8**%f,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**%e,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=getelementptr inbounds i8,i8*%o,i64 8
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%o,i64 12
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=call fastcc i8*@_SMLFN10ParserComb2orE(i32 inreg%s,i32 inreg%v,i32 inreg 1,i32 inreg 8)
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8*(i8*,i8*)**
%z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y,align 8
%A=bitcast i8*%w to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%h,align 8
%C=load i8*,i8**%e,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=getelementptr inbounds i8,i8*%C,i64 12
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=call fastcc i8*@_SMLFN10ParserComb7seqWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg%F,i32 inreg%I)
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
%P=call fastcc i8*%M(i8*inreg%O,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@H,i64 0,i32 2)to i8*))
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%g,align 8
%V=load i8*,i8**%e,align 8
%W=getelementptr inbounds i8,i8*%V,i64 8
%X=bitcast i8*%W to i32*
%Y=load i32,i32*%X,align 4
%Z=getelementptr inbounds i8,i8*%V,i64 12
%aa=bitcast i8*%Z to i32*
%ab=load i32,i32*%aa,align 4
%ac=call fastcc i8*@_SMLFN10ParserComb6optionE(i32 inreg%Y,i32 inreg%ab,i32 inreg 0,i32 inreg 1)
%ad=getelementptr inbounds i8,i8*%ac,i64 16
%ae=bitcast i8*%ad to i8*(i8*,i8*)**
%af=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ae,align 8
%ag=bitcast i8*%ac to i8**
%ah=load i8*,i8**%ag,align 8
store i8*%ah,i8**%d,align 8
%ai=load i8*,i8**%e,align 8
%aj=getelementptr inbounds i8,i8*%ai,i64 8
%ak=bitcast i8*%aj to i32*
%al=load i32,i32*%ak,align 4
%am=getelementptr inbounds i8,i8*%ai,i64 12
%an=bitcast i8*%am to i32*
%ao=load i32,i32*%an,align 4
%ap=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%al,i32 inreg%ao)
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ap to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%c,align 8
%av=call i8*@sml_alloc(i32 inreg 1)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1,i32*%ax,align 4
store i8 43,i8*%av,align 1
%ay=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%az=call fastcc i8*%as(i8*inreg%ay,i8*inreg%av)
%aA=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aB=call fastcc i8*%af(i8*inreg%aA,i8*inreg%az)
store i8*%aB,i8**%c,align 8
%aC=call i8*@sml_alloc(i32 inreg 20)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177296,i32*%aE,align 4
%aF=load i8*,i8**%c,align 8
%aG=bitcast i8*%aC to i8**
store i8*%aF,i8**%aG,align 8
%aH=getelementptr inbounds i8,i8*%aC,i64 8
%aI=bitcast i8*%aH to i8**
store 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*),i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aC,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
store i8*null,i8**%d,align 8
%aL=load i8*,i8**%e,align 8
%aM=getelementptr inbounds i8,i8*%aL,i64 8
%aN=bitcast i8*%aM to i32*
%aO=load i32,i32*%aN,align 4
%aP=getelementptr inbounds i8,i8*%aL,i64 12
%aQ=bitcast i8*%aP to i32*
%aR=load i32,i32*%aQ,align 4
%aS=call i8*@sml_alloc(i32 inreg 4)#0
%aT=bitcast i8*%aS to i32*
%aU=getelementptr inbounds i8,i8*%aS,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 4,i32*%aV,align 4
store i8*%aS,i8**%i,align 8
store i32%aO,i32*%aT,align 4
%aW=call i8*@sml_alloc(i32 inreg 4)#0
%aX=bitcast i8*%aW to i32*
%aY=getelementptr inbounds i8,i8*%aW,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 4,i32*%aZ,align 4
store i32%aR,i32*%aX,align 4
%a0=bitcast i8**%i to i32**
%a1=load i32*,i32**%a0,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%i,align 8
%a2=load i32,i32*%a1,align 4
%a3=call fastcc i8*@_SMLLN16FormatExpression8priorityE_171(i32 inreg%a2,i32 inreg%aR)#0
store i8*%a3,i8**%d,align 8
%a4=call i8*@sml_alloc(i32 inreg 20)#0
%a5=getelementptr inbounds i8,i8*%a4,i64 -4
%a6=bitcast i8*%a5 to i32*
store i32 1342177296,i32*%a6,align 4
%a7=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a8=bitcast i8*%a4 to i8**
store i8*%a7,i8**%a8,align 8
%a9=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ba=getelementptr inbounds i8,i8*%a4,i64 8
%bb=bitcast i8*%ba to i8**
store i8*%a9,i8**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a4,i64 16
%bd=bitcast i8*%bc to i32*
store i32 3,i32*%bd,align 4
%be=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bf=call fastcc i8*%S(i8*inreg%be,i8*inreg%a4)
store i8*%bf,i8**%d,align 8
%bg=load i8*,i8**%e,align 8
%bh=getelementptr inbounds i8,i8*%bg,i64 8
%bi=bitcast i8*%bh to i32*
%bj=load i32,i32*%bi,align 4
%bk=getelementptr inbounds i8,i8*%bg,i64 12
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
%bn=call fastcc i8*@_SMLFN10ParserComb4wrapE(i32 inreg%bj,i32 inreg%bm,i32 inreg 0,i32 inreg 1,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**%g,align 8
%bt=load i8*,i8**%e,align 8
%bu=getelementptr inbounds i8,i8*%bt,i64 8
%bv=bitcast i8*%bu to i32*
%bw=load i32,i32*%bv,align 4
%bx=getelementptr inbounds i8,i8*%bt,i64 12
%by=bitcast i8*%bx to i32*
%bz=load i32,i32*%by,align 4
%bA=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%bw,i32 inreg%bz)
%bB=getelementptr inbounds i8,i8*%bA,i64 16
%bC=bitcast i8*%bB to i8*(i8*,i8*)**
%bD=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bC,align 8
%bE=bitcast i8*%bA to i8**
%bF=load i8*,i8**%bE,align 8
store i8*%bF,i8**%c,align 8
%bG=call i8*@sml_alloc(i32 inreg 1)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1,i32*%bI,align 4
store i8 43,i8*%bG,align 1
%bJ=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bK=call fastcc i8*%bD(i8*inreg%bJ,i8*inreg%bG)
store i8*%bK,i8**%c,align 8
%bL=call i8*@sml_alloc(i32 inreg 20)#0
%bM=getelementptr inbounds i8,i8*%bL,i64 -4
%bN=bitcast i8*%bM to i32*
store i32 1342177296,i32*%bN,align 4
%bO=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bP=bitcast i8*%bL to i8**
store i8*%bO,i8**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bL,i64 8
%bR=bitcast i8*%bQ to i8**
store 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*),i8**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bL,i64 16
%bT=bitcast i8*%bS to i32*
store i32 3,i32*%bT,align 4
%bU=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%bV=call fastcc i8*%bq(i8*inreg%bU,i8*inreg%bL)
store i8*%bV,i8**%c,align 8
%bW=call i8*@sml_alloc(i32 inreg 20)#0
%bX=getelementptr inbounds i8,i8*%bW,i64 -4
%bY=bitcast i8*%bX to i32*
store i32 1342177296,i32*%bY,align 4
%bZ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%b2=getelementptr inbounds i8,i8*%bW,i64 8
%b3=bitcast i8*%b2 to i8**
store i8*%b1,i8**%b3,align 8
%b4=getelementptr inbounds i8,i8*%bW,i64 16
%b5=bitcast i8*%b4 to i32*
store i32 3,i32*%b5,align 4
%b6=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%b7=call fastcc i8*%z(i8*inreg%b6,i8*inreg%bW)
%b8=getelementptr inbounds i8,i8*%b7,i64 16
%b9=bitcast i8*%b8 to i8*(i8*,i8*)**
%ca=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%b9,align 8
%cb=bitcast i8*%b7 to i8**
%cc=load i8*,i8**%cb,align 8
%cd=bitcast i8**%e to i8***
%ce=load i8**,i8***%cd,align 8
store i8*null,i8**%e,align 8
%cf=load i8*,i8**%ce,align 8
%cg=call fastcc i8*%ca(i8*inreg%cc,i8*inreg%cf)
%ch=getelementptr inbounds i8,i8*%cg,i64 16
%ci=bitcast i8*%ch to i8*(i8*,i8*)**
%cj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ci,align 8
%ck=bitcast i8*%cg to i8**
%cl=load i8*,i8**%ck,align 8
%cm=load i8*,i8**%f,align 8
%cn=tail call fastcc i8*%cj(i8*inreg%cl,i8*inreg%cm)
ret i8*%cn
}
define internal fastcc i8*@_SMLLN16FormatExpression9indicatorE_180(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression9indicatorE_179 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression9indicatorE_179 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN16FormatExpression5guardE_186(i8*inreg%a)#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
%j=getelementptr inbounds i8,i8*%i,i64 8
%k=bitcast i8*%j to i8***
%l=load i8**,i8***%k,align 8
%m=load i8*,i8**%l,align 8
store i8*%m,i8**%c,align 8
%n=call i8*@sml_alloc(i32 inreg 20)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177296,i32*%p,align 4
store i8*%n,i8**%d,align 8
%q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%n,i64 16
%w=bitcast i8*%v to i32*
store i32 3,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
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=getelementptr inbounds i8,i8*%x,i64 4
%C=bitcast i8*%B to i32*
store i32 0,i32*%C,align 1
store i32 1,i32*%y,align 4
%D=load i8*,i8**%d,align 8
%E=getelementptr inbounds i8,i8*%x,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%x,i64 16
%H=bitcast i8*%G to i32*
store i32 2,i32*%H,align 4
ret i8*%x
}
define internal fastcc i8*@_SMLLN16FormatExpression5guardE_188(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%b,%l]
%m=phi i8*[%h,%g],[%a,%l]
%n=getelementptr inbounds i8,i8*%m,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN16FormatExpression11expressionsE_184(i8*inreg%p,i8*inreg%r,i8*inreg%k)
ret i8*%s
}
define internal fastcc i8*@_SMLLN16FormatExpression5guardE_189(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5guardE_188 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5guardE_188 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN16FormatExpression11expressionsE_190(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i8**
%c=load i8*,i8**%b,align 8
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression11expressionsE_192(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%b,%l]
%m=phi i8*[%h,%g],[%a,%l]
%n=getelementptr inbounds i8,i8*%m,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN16FormatExpression10expressionE_185(i8*inreg%p,i8*inreg%r,i8*inreg%k)
ret i8*%s
}
define internal fastcc i8*@_SMLLN16FormatExpression11expressionsE_193(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11expressionsE_192 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11expressionsE_192 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN16FormatExpression10expressionE_194(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
l:
%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%j,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%c,align 8
%i=load i8*,i8**%d,align 8
br label%j
j:
%k=phi i8*[%i,%g],[%b,%l]
%m=phi i8*[%h,%g],[%a,%l]
%n=getelementptr inbounds i8,i8*%m,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
%s=tail call fastcc i8*@_SMLLN16FormatExpression5guardE_183(i8*inreg%p,i8*inreg%r,i8*inreg%k)
ret i8*%s
}
define internal fastcc i8*@_SMLLN16FormatExpression10expressionE_195(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression10expressionE_194 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression10expressionE_194 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN16FormatExpression5guardE_183(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
v:
%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
%m=alloca i8*,align 8
%n=alloca i8*,align 8
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
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%a,i8**%i,align 8
store i8*%b,i8**%e,align 8
store i8*%c,i8**%j,align 8
%o=load atomic i32,i32*@sml_check_flag unordered,align 4
%p=icmp eq i32%o,0
br i1%p,label%t,label%q
q:
call void@sml_check(i32 inreg%o)
%r=load i8*,i8**%e,align 8
%s=load i8*,i8**%i,align 8
br label%t
t:
%u=phi i8*[%s,%q],[%a,%v]
%w=phi i8*[%r,%q],[%b,%v]
store i8*null,i8**%e,align 8
store i8*%w,i8**%h,align 8
%x=bitcast i8*%u to i32*
%y=load i32,i32*%x,align 4
%z=getelementptr inbounds i8,i8*%u,i64 4
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=call fastcc i8*@_SMLFN10ParserComb7seqWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg%y,i32 inreg%B)
%D=getelementptr inbounds i8,i8*%C,i64 16
%E=bitcast i8*%D to i8*(i8*,i8*)**
%F=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E,align 8
%G=bitcast i8*%C to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*%F(i8*inreg%H,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*))
%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
store i8*%N,i8**%m,align 8
%O=load i8*,i8**%i,align 8
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=getelementptr inbounds i8,i8*%O,i64 4
%S=bitcast i8*%R to i32*
%T=load i32,i32*%S,align 4
%U=call fastcc i8*@_SMLFN10ParserComb6optionE(i32 inreg%Q,i32 inreg%T,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**%e,align 8
%aa=load i8*,i8**%i,align 8
%ab=bitcast i8*%aa to i32*
%ac=load i32,i32*%ab,align 4
%ad=getelementptr inbounds i8,i8*%aa,i64 4
%ae=bitcast i8*%ad to i32*
%af=load i32,i32*%ae,align 4
%ag=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ag)
call void@llvm.gcroot(i8**%d,i8*null)#0
%ah=call i8*@sml_alloc(i32 inreg 12)#0
%ai=bitcast i8*%ah to i32*
%aj=getelementptr inbounds i8,i8*%ah,i64 -4
%ak=bitcast i8*%aj to i32*
store i32 1342177288,i32*%ak,align 4
store i8*%ah,i8**%d,align 8
store i32%ac,i32*%ai,align 4
%al=getelementptr inbounds i8,i8*%ah,i64 4
%am=bitcast i8*%al to i32*
store i32%af,i32*%am,align 4
%an=getelementptr inbounds i8,i8*%ah,i64 8
%ao=bitcast i8*%an to i32*
store i32 0,i32*%ao,align 4
%ap=call i8*@sml_alloc(i32 inreg 28)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177304,i32*%ar,align 4
%as=load i8*,i8**%d,align 8
%at=bitcast i8*%ap to i8**
store i8*%as,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ap,i64 8
%av=bitcast i8*%au to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_149 to void(...)*),void(...)**%av,align 8
%aw=getelementptr inbounds i8,i8*%ap,i64 16
%ax=bitcast i8*%aw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression14assocIndicatorE_149 to void(...)*),void(...)**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ap,i64 24
%az=bitcast i8*%ay to i32*
store i32 -2147483647,i32*%az,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ag)
%aA=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aB=call fastcc i8*%X(i8*inreg%aA,i8*inreg%ap)
store i8*%aB,i8**%g,align 8
%aC=load i8*,i8**%i,align 8
%aD=bitcast i8*%aC to i32*
%aE=load i32,i32*%aD,align 4
%aF=getelementptr inbounds i8,i8*%aC,i64 4
%aG=bitcast i8*%aF to i32*
%aH=load i32,i32*%aG,align 4
%aI=call fastcc i8*@_SMLFN10ParserComb3seqE(i32 inreg%aE,i32 inreg%aH,i32 inreg 0,i32 inreg 1,i32 inreg 1,i32 inreg 8)
%aJ=getelementptr inbounds i8,i8*%aI,i64 16
%aK=bitcast i8*%aJ to i8*(i8*,i8*)**
%aL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aK,align 8
%aM=bitcast i8*%aI to i8**
%aN=load i8*,i8**%aM,align 8
store i8*%aN,i8**%l,align 8
%aO=load i8*,i8**%i,align 8
%aP=bitcast i8*%aO to i32*
%aQ=load i32,i32*%aP,align 4
%aR=getelementptr inbounds i8,i8*%aO,i64 4
%aS=bitcast i8*%aR to i32*
%aT=load i32,i32*%aS,align 4
%aU=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%aQ,i32 inreg%aT)
%aV=getelementptr inbounds i8,i8*%aU,i64 16
%aW=bitcast i8*%aV to i8*(i8*,i8*)**
%aX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aW,align 8
%aY=bitcast i8*%aU to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%e,align 8
%a0=call i8*@sml_alloc(i32 inreg 1)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1,i32*%a2,align 4
store i8 123,i8*%a0,align 1
%a3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a4=call fastcc i8*%aX(i8*inreg%a3,i8*inreg%a0)
store i8*%a4,i8**%f,align 8
%a5=load i8*,i8**%i,align 8
%a6=bitcast i8*%a5 to i32*
%a7=load i32,i32*%a6,align 4
%a8=getelementptr inbounds i8,i8*%a5,i64 4
%a9=bitcast i8*%a8 to i32*
%ba=load i32,i32*%a9,align 4
%bb=call fastcc i8*@_SMLFN10ParserComb3seqE(i32 inreg%a7,i32 inreg%ba,i32 inreg 1,i32 inreg 8,i32 inreg 0,i32 inreg 1)
%bc=getelementptr inbounds i8,i8*%bb,i64 16
%bd=bitcast i8*%bc to i8*(i8*,i8*)**
%be=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bd,align 8
%bf=bitcast i8*%bb to i8**
%bg=load i8*,i8**%bf,align 8
store i8*%bg,i8**%k,align 8
%bh=load i8*,i8**%i,align 8
%bi=bitcast i8*%bh to i32*
%bj=load i32,i32*%bi,align 4
%bk=getelementptr inbounds i8,i8*%bh,i64 4
%bl=bitcast i8*%bk to i32*
%bm=load i32,i32*%bl,align 4
%bn=call fastcc i8*@_SMLFN10ParserComb4charE(i32 inreg%bj,i32 inreg%bm)
%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**%e,align 8
%bt=call i8*@sml_alloc(i32 inreg 1)#0
%bu=getelementptr inbounds i8,i8*%bt,i64 -4
%bv=bitcast i8*%bu to i32*
store i32 1,i32*%bv,align 4
store i8 125,i8*%bt,align 1
%bw=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bx=call fastcc i8*%bq(i8*inreg%bw,i8*inreg%bt)
store i8*%bx,i8**%e,align 8
%by=call i8*@sml_alloc(i32 inreg 12)#0
%bz=getelementptr inbounds i8,i8*%by,i64 -4
%bA=bitcast i8*%bz to i32*
store i32 1342177288,i32*%bA,align 4
store i8*%by,i8**%n,align 8
%bB=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bC=bitcast i8*%by to i8**
store i8*%bB,i8**%bC,align 8
%bD=getelementptr inbounds i8,i8*%by,i64 8
%bE=bitcast i8*%bD to i32*
store i32 1,i32*%bE,align 4
%bF=call i8*@sml_alloc(i32 inreg 28)#0
%bG=getelementptr inbounds i8,i8*%bF,i64 -4
%bH=bitcast i8*%bG to i32*
store i32 1342177304,i32*%bH,align 4
store i8*%bF,i8**%i,align 8
%bI=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%bJ=bitcast i8*%bF to i8**
store i8*%bI,i8**%bJ,align 8
%bK=getelementptr inbounds i8,i8*%bF,i64 8
%bL=bitcast i8*%bK to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5guardE_189 to void(...)*),void(...)**%bL,align 8
%bM=getelementptr inbounds i8,i8*%bF,i64 16
%bN=bitcast i8*%bM to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5guardE_189 to void(...)*),void(...)**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bF,i64 24
%bP=bitcast i8*%bO to i32*
store i32 -2147483647,i32*%bP,align 4
%bQ=call i8*@sml_alloc(i32 inreg 20)#0
%bR=getelementptr inbounds i8,i8*%bQ,i64 -4
%bS=bitcast i8*%bR to i32*
store i32 1342177296,i32*%bS,align 4
%bT=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bU=bitcast i8*%bQ to i8**
store i8*%bT,i8**%bU,align 8
%bV=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bW=getelementptr inbounds i8,i8*%bQ,i64 8
%bX=bitcast i8*%bW to i8**
store i8*%bV,i8**%bX,align 8
%bY=getelementptr inbounds i8,i8*%bQ,i64 16
%bZ=bitcast i8*%bY to i32*
store i32 3,i32*%bZ,align 4
%b0=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%b1=call fastcc i8*%be(i8*inreg%b0,i8*inreg%bQ)
store i8*%b1,i8**%e,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
%b5=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b6=bitcast i8*%b2 to i8**
store i8*%b5,i8**%b6,align 8
%b7=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b8=getelementptr inbounds i8,i8*%b2,i64 8
%b9=bitcast i8*%b8 to i8**
store i8*%b7,i8**%b9,align 8
%ca=getelementptr inbounds i8,i8*%b2,i64 16
%cb=bitcast i8*%ca to i32*
store i32 3,i32*%cb,align 4
%cc=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%cd=call fastcc i8*%aL(i8*inreg%cc,i8*inreg%b2)
store i8*%cd,i8**%e,align 8
%ce=call i8*@sml_alloc(i32 inreg 20)#0
%cf=getelementptr inbounds i8,i8*%ce,i64 -4
%cg=bitcast i8*%cf to i32*
store i32 1342177296,i32*%cg,align 4
%ch=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ci=bitcast i8*%ce to i8**
store i8*%ch,i8**%ci,align 8
%cj=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ck=getelementptr inbounds i8,i8*%ce,i64 8
%cl=bitcast i8*%ck to i8**
store i8*%cj,i8**%cl,align 8
%cm=getelementptr inbounds i8,i8*%ce,i64 16
%cn=bitcast i8*%cm to i32*
store i32 3,i32*%cn,align 4
%co=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%cp=call fastcc i8*%L(i8*inreg%co,i8*inreg%ce)
%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**%h,align 8
store i8*null,i8**%h,align 8
%cw=call fastcc i8*%cs(i8*inreg%cu,i8*inreg%cv)
%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
%cC=load i8*,i8**%j,align 8
%cD=tail call fastcc i8*%cz(i8*inreg%cB,i8*inreg%cC)
ret i8*%cD
}
define internal fastcc i8*@_SMLLN16FormatExpression11expressionsE_184(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
s:
%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
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
store i8*%b,i8**%d,align 8
store i8*%c,i8**%g,align 8
store i8*%a,i8**%j,align 8
%l=load atomic i32,i32*@sml_check_flag unordered,align 4
%m=icmp eq i32%l,0
br i1%m,label%q,label%n
n:
call void@sml_check(i32 inreg%l)
%o=load i8*,i8**%d,align 8
%p=load i8*,i8**%j,align 8
br label%q
q:
%r=phi i8*[%p,%n],[%a,%s]
%t=phi i8*[%o,%n],[%b,%s]
store i8*null,i8**%d,align 8
store i8*%t,i8**%f,align 8
%u=bitcast i8*%r to i32*
%v=load i32,i32*%u,align 4
%w=getelementptr inbounds i8,i8*%r,i64 4
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=call fastcc i8*@_SMLFN10ParserComb7seqWithE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8,i32 inreg%v,i32 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=call fastcc i8*%C(i8*inreg%E,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@M,i64 0,i32 2)to i8*))
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%i,align 8
%L=load i8*,i8**%j,align 8
%M=bitcast i8*%L to i32*
%N=load i32,i32*%M,align 4
%O=getelementptr inbounds i8,i8*%L,i64 4
%P=bitcast i8*%O to i32*
%Q=load i32,i32*%P,align 4
%R=call fastcc i8*@_SMLFN10ParserComb10skipBeforeE(i32 inreg%N,i32 inreg%Q,i32 inreg 1,i32 inreg 8)
%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**@_SMLZN4Char7isSpaceE,align 8
%Y=call fastcc i8*%U(i8*inreg%W,i8*inreg%X)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%h,align 8
%ae=load i8*,i8**%j,align 8
%af=bitcast i8*%ae to i32*
%ag=load i32,i32*%af,align 4
%ah=getelementptr inbounds i8,i8*%ae,i64 4
%ai=bitcast i8*%ah to i32*
%aj=load i32,i32*%ai,align 4
%ak=call fastcc i8*@_SMLFN10ParserComb9oneOrMoreE(i32 inreg%ag,i32 inreg%aj,i32 inreg 1,i32 inreg 8)
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%e,align 8
%aq=load i8*,i8**%j,align 8
%ar=bitcast i8*%aq to i32*
%as=load i32,i32*%ar,align 4
%at=getelementptr inbounds i8,i8*%aq,i64 4
%au=bitcast i8*%at to i32*
%av=load i32,i32*%au,align 4
%aw=call fastcc i8*@_SMLFN10ParserComb10skipBeforeE(i32 inreg%as,i32 inreg%av,i32 inreg 1,i32 inreg 8)
%ax=getelementptr inbounds i8,i8*%aw,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
%aC=load i8*,i8**@_SMLZN4Char7isSpaceE,align 8
%aD=call fastcc i8*%az(i8*inreg%aB,i8*inreg%aC)
%aE=getelementptr inbounds i8,i8*%aD,i64 16
%aF=bitcast i8*%aE to i8*(i8*,i8*)**
%aG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aF,align 8
%aH=bitcast i8*%aD to i8**
%aI=load i8*,i8**%aH,align 8
store i8*%aI,i8**%d,align 8
%aJ=call i8*@sml_alloc(i32 inreg 12)#0
%aK=getelementptr inbounds i8,i8*%aJ,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 1342177288,i32*%aL,align 4
store i8*%aJ,i8**%k,align 8
%aM=load i8*,i8**%j,align 8
%aN=bitcast i8*%aJ to i8**
store i8*%aM,i8**%aN,align 8
%aO=getelementptr inbounds i8,i8*%aJ,i64 8
%aP=bitcast i8*%aO to i32*
store i32 1,i32*%aP,align 4
%aQ=call i8*@sml_alloc(i32 inreg 28)#0
%aR=getelementptr inbounds i8,i8*%aQ,i64 -4
%aS=bitcast i8*%aR to i32*
store i32 1342177304,i32*%aS,align 4
%aT=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%aU=bitcast i8*%aQ to i8**
store i8*%aT,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aQ,i64 8
%aW=bitcast i8*%aV to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11expressionsE_193 to void(...)*),void(...)**%aW,align 8
%aX=getelementptr inbounds i8,i8*%aQ,i64 16
%aY=bitcast i8*%aX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11expressionsE_193 to void(...)*),void(...)**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aQ,i64 24
%a0=bitcast i8*%aZ to i32*
store i32 -2147483647,i32*%a0,align 4
%a1=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%a2=call fastcc i8*%aG(i8*inreg%a1,i8*inreg%aQ)
%a3=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%a4=call fastcc i8*%an(i8*inreg%a3,i8*inreg%a2)
%a5=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%a6=call fastcc i8*%ab(i8*inreg%a5,i8*inreg%a4)
store i8*%a6,i8**%d,align 8
%a7=load i8*,i8**%j,align 8
%a8=bitcast i8*%a7 to i32*
%a9=load i32,i32*%a8,align 4
%ba=getelementptr inbounds i8,i8*%a7,i64 4
%bb=bitcast i8*%ba to i32*
%bc=load i32,i32*%bb,align 4
%bd=call fastcc i8*@_SMLFN10ParserComb10zeroOrMoreE(i32 inreg%a9,i32 inreg%bc,i32 inreg 0,i32 inreg 1)
%be=getelementptr inbounds i8,i8*%bd,i64 16
%bf=bitcast i8*%be to i8*(i8*,i8*)**
%bg=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bf,align 8
%bh=bitcast i8*%bd to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%e,align 8
%bj=load i8*,i8**%j,align 8
%bk=bitcast i8*%bj to i32*
%bl=load i32,i32*%bk,align 4
store i8*null,i8**%j,align 8
%bm=getelementptr inbounds i8,i8*%bj,i64 4
%bn=bitcast i8*%bm to i32*
%bo=load i32,i32*%bn,align 4
%bp=call fastcc i8*@_SMLFN10ParserComb7eatCharE(i32 inreg%bl,i32 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**@_SMLZN4Char7isSpaceE,align 8
%bw=call fastcc i8*%bs(i8*inreg%bu,i8*inreg%bv)
%bx=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%by=call fastcc i8*%bg(i8*inreg%bx,i8*inreg%bw)
store i8*%by,i8**%e,align 8
%bz=call i8*@sml_alloc(i32 inreg 20)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
%bC=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bD=bitcast i8*%bz to i8**
store i8*%bC,i8**%bD,align 8
%bE=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bF=getelementptr inbounds i8,i8*%bz,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bz,i64 16
%bI=bitcast i8*%bH to i32*
store i32 3,i32*%bI,align 4
%bJ=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bK=call fastcc i8*%I(i8*inreg%bJ,i8*inreg%bz)
%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**%f,align 8
store i8*null,i8**%f,align 8
%bR=call fastcc i8*%bN(i8*inreg%bP,i8*inreg%bQ)
%bS=getelementptr inbounds i8,i8*%bR,i64 16
%bT=bitcast i8*%bS to i8*(i8*,i8*)**
%bU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bT,align 8
%bV=bitcast i8*%bR to i8**
%bW=load i8*,i8**%bV,align 8
%bX=load i8*,i8**%g,align 8
%bY=tail call fastcc i8*%bU(i8*inreg%bW,i8*inreg%bX)
ret i8*%bY
}
define internal fastcc i8*@_SMLLN16FormatExpression10expressionE_185(i8*inreg%a,i8*inreg%b,i8*inreg%c)#2 gc"smlsharp"{
z:
%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
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
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
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
store i8*%b,i8**%i,align 8
store i8*%c,i8**%o,align 8
store i8*%a,i8**%q,align 8
%s=load atomic i32,i32*@sml_check_flag unordered,align 4
%t=icmp eq i32%s,0
br i1%t,label%x,label%u
u:
call void@sml_check(i32 inreg%s)
%v=load i8*,i8**%i,align 8
%w=load i8*,i8**%q,align 8
br label%x
x:
%y=phi i8*[%w,%u],[%a,%z]
%A=phi i8*[%v,%u],[%b,%z]
store i8*null,i8**%i,align 8
store i8*%A,i8**%n,align 8
%B=bitcast i8*%y to i32*
%C=load i32,i32*%B,align 4
%D=getelementptr inbounds i8,i8*%y,i64 4
%E=bitcast i8*%D to i32*
%F=load i32,i32*%E,align 4
%G=call fastcc i8*@_SMLFN10ParserComb3or_GE(i32 inreg%C,i32 inreg%F,i32 inreg 1,i32 inreg 8)
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%G to i8**
%L=load i8*,i8**%K,align 8
store i8*%L,i8**%p,align 8
%M=load i8*,i8**%q,align 8
%N=bitcast i8*%M to i32*
%O=load i32,i32*%N,align 4
%P=getelementptr inbounds i8,i8*%M,i64 4
%Q=bitcast i8*%P to i32*
%R=load i32,i32*%Q,align 4
%S=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%S)
call void@llvm.gcroot(i8**%h,i8*null)#0
%T=call i8*@sml_alloc(i32 inreg 12)#0
%U=bitcast i8*%T to i32*
%V=getelementptr inbounds i8,i8*%T,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177288,i32*%W,align 4
store i8*%T,i8**%h,align 8
store i32%O,i32*%U,align 4
%X=getelementptr inbounds i8,i8*%T,i64 4
%Y=bitcast i8*%X to i32*
store i32%R,i32*%Y,align 4
%Z=getelementptr inbounds i8,i8*%T,i64 8
%aa=bitcast i8*%Z to i32*
store i32 0,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
%ae=load i8*,i8**%h,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression6stringE_132 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression6stringE_132 to void(...)*),void(...)**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ab,i64 24
%al=bitcast i8*%ak to i32*
store i32 -2147483647,i32*%al,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%S)
store i8*%ab,i8**%m,align 8
%am=load i8*,i8**%q,align 8
%an=bitcast i8*%am to i32*
%ao=load i32,i32*%an,align 4
%ap=getelementptr inbounds i8,i8*%am,i64 4
%aq=bitcast i8*%ap to i32*
%ar=load i32,i32*%aq,align 4
%as=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%as)
call void@llvm.gcroot(i8**%g,i8*null)#0
%at=call i8*@sml_alloc(i32 inreg 12)#0
%au=bitcast i8*%at to i32*
%av=getelementptr inbounds i8,i8*%at,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177288,i32*%aw,align 4
store i8*%at,i8**%g,align 8
store i32%ao,i32*%au,align 4
%ax=getelementptr inbounds i8,i8*%at,i64 4
%ay=bitcast i8*%ax to i32*
store i32%ar,i32*%ay,align 4
%az=getelementptr inbounds i8,i8*%at,i64 8
%aA=bitcast i8*%az to i32*
store i32 0,i32*%aA,align 4
%aB=call i8*@sml_alloc(i32 inreg 28)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177304,i32*%aD,align 4
%aE=load i8*,i8**%g,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=getelementptr inbounds i8,i8*%aB,i64 8
%aH=bitcast i8*%aG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression7newlineE_140 to void(...)*),void(...)**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aB,i64 16
%aJ=bitcast i8*%aI to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression7newlineE_140 to void(...)*),void(...)**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aB,i64 24
%aL=bitcast i8*%aK to i32*
store i32 -2147483647,i32*%aL,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%as)
store i8*%aB,i8**%l,align 8
%aM=call i8*@sml_alloc(i32 inreg 12)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177288,i32*%aO,align 4
store i8*%aM,i8**%i,align 8
%aP=load i8*,i8**%q,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 i32*
store i32 1,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 28)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177304,i32*%aV,align 4
store i8*%aT,i8**%r,align 8
%aW=load i8*,i8**%i,align 8
store i8*null,i8**%i,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression10expressionE_195 to void(...)*),void(...)**%aZ,align 8
%a0=getelementptr inbounds i8,i8*%aT,i64 16
%a1=bitcast i8*%a0 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression10expressionE_195 to void(...)*),void(...)**%a1,align 8
%a2=getelementptr inbounds i8,i8*%aT,i64 24
%a3=bitcast i8*%a2 to i32*
store i32 -2147483647,i32*%a3,align 4
%a4=load i8*,i8**%q,align 8
%a5=bitcast i8*%a4 to i32*
%a6=load i32,i32*%a5,align 4
%a7=getelementptr inbounds i8,i8*%a4,i64 4
%a8=bitcast i8*%a7 to i32*
%a9=load i32,i32*%a8,align 4
%ba=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ba)
call void@llvm.gcroot(i8**%f,i8*null)#0
%bb=call i8*@sml_alloc(i32 inreg 12)#0
%bc=bitcast i8*%bb to i32*
%bd=getelementptr inbounds i8,i8*%bb,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177288,i32*%be,align 4
store i8*%bb,i8**%f,align 8
store i32%a6,i32*%bc,align 4
%bf=getelementptr inbounds i8,i8*%bb,i64 4
%bg=bitcast i8*%bf to i32*
store i32%a9,i32*%bg,align 4
%bh=getelementptr inbounds i8,i8*%bb,i64 8
%bi=bitcast i8*%bh to i32*
store i32 0,i32*%bi,align 4
%bj=call i8*@sml_alloc(i32 inreg 28)#0
%bk=getelementptr inbounds i8,i8*%bj,i64 -4
%bl=bitcast i8*%bk to i32*
store i32 1342177304,i32*%bl,align 4
%bm=load i8*,i8**%f,align 8
%bn=bitcast i8*%bj to i8**
store i8*%bm,i8**%bn,align 8
%bo=getelementptr inbounds i8,i8*%bj,i64 8
%bp=bitcast i8*%bo to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression13startOfIndentE_155 to void(...)*),void(...)**%bp,align 8
%bq=getelementptr inbounds i8,i8*%bj,i64 16
%br=bitcast i8*%bq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression13startOfIndentE_155 to void(...)*),void(...)**%br,align 8
%bs=getelementptr inbounds i8,i8*%bj,i64 24
%bt=bitcast i8*%bs to i32*
store i32 -2147483647,i32*%bt,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ba)
store i8*%bj,i8**%k,align 8
%bu=load i8*,i8**%q,align 8
%bv=bitcast i8*%bu to i32*
%bw=load i32,i32*%bv,align 4
%bx=getelementptr inbounds i8,i8*%bu,i64 4
%by=bitcast i8*%bx to i32*
%bz=load i32,i32*%by,align 4
%bA=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bA)
call void@llvm.gcroot(i8**%e,i8*null)#0
%bB=call i8*@sml_alloc(i32 inreg 12)#0
%bC=bitcast i8*%bB to i32*
%bD=getelementptr inbounds i8,i8*%bB,i64 -4
%bE=bitcast i8*%bD to i32*
store i32 1342177288,i32*%bE,align 4
store i8*%bB,i8**%e,align 8
store i32%bw,i32*%bC,align 4
%bF=getelementptr inbounds i8,i8*%bB,i64 4
%bG=bitcast i8*%bF to i32*
store i32%bz,i32*%bG,align 4
%bH=getelementptr inbounds i8,i8*%bB,i64 8
%bI=bitcast i8*%bH to i32*
store i32 0,i32*%bI,align 4
%bJ=call i8*@sml_alloc(i32 inreg 28)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177304,i32*%bL,align 4
%bM=load i8*,i8**%e,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bJ,i64 8
%bP=bitcast i8*%bO to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11endOfIndentE_162 to void(...)*),void(...)**%bP,align 8
%bQ=getelementptr inbounds i8,i8*%bJ,i64 16
%bR=bitcast i8*%bQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression11endOfIndentE_162 to void(...)*),void(...)**%bR,align 8
%bS=getelementptr inbounds i8,i8*%bJ,i64 24
%bT=bitcast i8*%bS to i32*
store i32 -2147483647,i32*%bT,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bA)
store i8*%bJ,i8**%j,align 8
%bU=load i8*,i8**%q,align 8
%bV=bitcast i8*%bU to i32*
%bW=load i32,i32*%bV,align 4
store i8*null,i8**%q,align 8
%bX=getelementptr inbounds i8,i8*%bU,i64 4
%bY=bitcast i8*%bX to i32*
%bZ=load i32,i32*%bY,align 4
%b0=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%b0)
call void@llvm.gcroot(i8**%d,i8*null)#0
%b1=call i8*@sml_alloc(i32 inreg 12)#0
%b2=bitcast i8*%b1 to i32*
%b3=getelementptr inbounds i8,i8*%b1,i64 -4
%b4=bitcast i8*%b3 to i32*
store i32 1342177288,i32*%b4,align 4
store i8*%b1,i8**%d,align 8
store i32%bW,i32*%b2,align 4
%b5=getelementptr inbounds i8,i8*%b1,i64 4
%b6=bitcast i8*%b5 to i32*
store i32%bZ,i32*%b6,align 4
%b7=getelementptr inbounds i8,i8*%b1,i64 8
%b8=bitcast i8*%b7 to i32*
store i32 0,i32*%b8,align 4
%b9=call i8*@sml_alloc(i32 inreg 28)#0
%ca=getelementptr inbounds i8,i8*%b9,i64 -4
%cb=bitcast i8*%ca to i32*
store i32 1342177304,i32*%cb,align 4
%cc=load i8*,i8**%d,align 8
%cd=bitcast i8*%b9 to i8**
store i8*%cc,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b9,i64 8
%cf=bitcast i8*%ce to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression9indicatorE_180 to void(...)*),void(...)**%cf,align 8
%cg=getelementptr inbounds i8,i8*%b9,i64 16
%ch=bitcast i8*%cg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression9indicatorE_180 to void(...)*),void(...)**%ch,align 8
%ci=getelementptr inbounds i8,i8*%b9,i64 24
%cj=bitcast i8*%ci to i32*
store i32 -2147483647,i32*%cj,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%b0)
store i8*%b9,i8**%i,align 8
%ck=call i8*@sml_alloc(i32 inreg 20)#0
%cl=getelementptr inbounds i8,i8*%ck,i64 -4
%cm=bitcast i8*%cl to i32*
store i32 1342177296,i32*%cm,align 4
store i8*%ck,i8**%q,align 8
%cn=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%co=bitcast i8*%ck to i8**
store i8*%cn,i8**%co,align 8
%cp=getelementptr inbounds i8,i8*%ck,i64 8
%cq=bitcast i8*%cp to i8**
store i8*null,i8**%cq,align 8
%cr=getelementptr inbounds i8,i8*%ck,i64 16
%cs=bitcast i8*%cr to i32*
store i32 3,i32*%cs,align 4
%ct=call i8*@sml_alloc(i32 inreg 20)#0
%cu=getelementptr inbounds i8,i8*%ct,i64 -4
%cv=bitcast i8*%cu to i32*
store i32 1342177296,i32*%cv,align 4
store i8*%ct,i8**%i,align 8
%cw=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cx=bitcast i8*%ct to i8**
store i8*%cw,i8**%cx,align 8
%cy=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%cz=getelementptr inbounds i8,i8*%ct,i64 8
%cA=bitcast i8*%cz to i8**
store i8*%cy,i8**%cA,align 8
%cB=getelementptr inbounds i8,i8*%ct,i64 16
%cC=bitcast i8*%cB to i32*
store i32 3,i32*%cC,align 4
%cD=call i8*@sml_alloc(i32 inreg 20)#0
%cE=getelementptr inbounds i8,i8*%cD,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177296,i32*%cF,align 4
store i8*%cD,i8**%j,align 8
%cG=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%cH=bitcast i8*%cD to i8**
store i8*%cG,i8**%cH,align 8
%cI=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%cJ=getelementptr inbounds i8,i8*%cD,i64 8
%cK=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cD,i64 16
%cM=bitcast i8*%cL to i32*
store i32 3,i32*%cM,align 4
%cN=call i8*@sml_alloc(i32 inreg 20)#0
%cO=getelementptr inbounds i8,i8*%cN,i64 -4
%cP=bitcast i8*%cO to i32*
store i32 1342177296,i32*%cP,align 4
store i8*%cN,i8**%i,align 8
%cQ=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%cR=bitcast i8*%cN to i8**
store i8*%cQ,i8**%cR,align 8
%cS=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%cT=getelementptr inbounds i8,i8*%cN,i64 8
%cU=bitcast i8*%cT to i8**
store i8*%cS,i8**%cU,align 8
%cV=getelementptr inbounds i8,i8*%cN,i64 16
%cW=bitcast i8*%cV to i32*
store i32 3,i32*%cW,align 4
%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**%j,align 8
%c0=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%c1=bitcast i8*%cX to i8**
store i8*%c0,i8**%c1,align 8
%c2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%c3=getelementptr inbounds i8,i8*%cX,i64 8
%c4=bitcast i8*%c3 to i8**
store i8*%c2,i8**%c4,align 8
%c5=getelementptr inbounds i8,i8*%cX,i64 16
%c6=bitcast i8*%c5 to i32*
store i32 3,i32*%c6,align 4
%c7=call i8*@sml_alloc(i32 inreg 20)#0
%c8=getelementptr inbounds i8,i8*%c7,i64 -4
%c9=bitcast i8*%c8 to i32*
store i32 1342177296,i32*%c9,align 4
%da=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%db=bitcast i8*%c7 to i8**
store i8*%da,i8**%db,align 8
%dc=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%dd=getelementptr inbounds i8,i8*%c7,i64 8
%de=bitcast i8*%dd to i8**
store i8*%dc,i8**%de,align 8
%df=getelementptr inbounds i8,i8*%c7,i64 16
%dg=bitcast i8*%df to i32*
store i32 3,i32*%dg,align 4
%dh=load i8*,i8**%p,align 8
store i8*null,i8**%p,align 8
%di=call fastcc i8*%J(i8*inreg%dh,i8*inreg%c7)
%dj=getelementptr inbounds i8,i8*%di,i64 16
%dk=bitcast i8*%dj to i8*(i8*,i8*)**
%dl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dk,align 8
%dm=bitcast i8*%di to i8**
%dn=load i8*,i8**%dm,align 8
%do=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%dp=call fastcc i8*%dl(i8*inreg%dn,i8*inreg%do)
%dq=getelementptr inbounds i8,i8*%dp,i64 16
%dr=bitcast i8*%dq to i8*(i8*,i8*)**
%ds=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dr,align 8
%dt=bitcast i8*%dp to i8**
%du=load i8*,i8**%dt,align 8
%dv=load i8*,i8**%o,align 8
%dw=tail call fastcc i8*%ds(i8*inreg%du,i8*inreg%dv)
ret i8*%dw
}
define fastcc i8*@_SMLFN16FormatExpression16priorityToStringE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=icmp eq i8*%h,null
br i1%j,label%k,label%l
k:
ret i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@N,i64 0,i32 2,i64 0)
l:
%m=bitcast i8*%h to i32*
%n=load i32,i32*%m,align 4
%o=tail call fastcc i8*@_SMLFN5Int328toStringE(i32 inreg%n)
ret i8*%o
}
define fastcc i8*@_SMLFN16FormatExpression8toStringE(i8*inreg%a)#2 gc"smlsharp"{
i:
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%g,label%e
e:
call void@sml_check(i32 inreg%c)
%f=load i8*,i8**%b,align 8
br label%g
g:
%h=phi i8*[%f,%e],[%a,%i]
%j=tail call fastcc i8*@_SMLLN16FormatExpression8toStringE_79(i8*inreg%h)
ret i8*%j
}
define internal fastcc i8*@_SMLLN16FormatExpression5parseE_209(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
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%h,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%r
k:
%l=getelementptr inbounds i8,i8*%a,i64 8
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%a,i64 12
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
br label%C
r:
call void@sml_check(i32 inreg%i)
%s=load i8*,i8**%g,align 8
%t=load atomic i32,i32*@sml_check_flag unordered,align 4
%u=getelementptr inbounds i8,i8*%s,i64 8
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=getelementptr inbounds i8,i8*%s,i64 12
%y=bitcast i8*%x to i32*
%z=load i32,i32*%y,align 4
%A=icmp eq i32%t,0
br i1%A,label%C,label%B
B:
call void@sml_check(i32 inreg%t)
br label%C
C:
%D=phi i32[%q,%k],[%z,%r],[%z,%B]
%E=phi i32[%n,%k],[%w,%r],[%w,%B]
%F=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%F)
%G=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%G)
%H=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%H)
%I=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%I)
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
%J=call i8*@sml_alloc(i32 inreg 12)#0
%K=bitcast i8*%J to i32*
%L=getelementptr inbounds i8,i8*%J,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177288,i32*%M,align 4
store i8*%J,i8**%c,align 8
store i32%E,i32*%K,align 4
%N=getelementptr inbounds i8,i8*%J,i64 4
%O=bitcast i8*%N to i32*
store i32%D,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%J,i64 8
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 4
%R=call i8*@sml_alloc(i32 inreg 28)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177304,i32*%T,align 4
store i8*%R,i8**%d,align 8
%U=load i8*,i8**%c,align 8
%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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression5guardE_183 to void(...)*),void(...)**%X,align 8
%Y=getelementptr inbounds i8,i8*%R,i64 16
%Z=bitcast i8*%Y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression5guardE_183 to void(...)*),void(...)**%Z,align 8
%aa=getelementptr inbounds i8,i8*%R,i64 24
%ab=bitcast i8*%aa to i32*
store i32 1,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 28)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177304,i32*%ae,align 4
store i8*%ac,i8**%e,align 8
%af=load i8*,i8**%c,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression11expressionsE_184 to void(...)*),void(...)**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression11expressionsE_184 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 24
%am=bitcast i8*%al to i32*
store i32 1,i32*%am,align 4
%an=call i8*@sml_alloc(i32 inreg 28)#0
%ao=getelementptr inbounds i8,i8*%an,i64 -4
%ap=bitcast i8*%ao to i32*
store i32 1342177304,i32*%ap,align 4
store i8*%an,i8**%f,align 8
%aq=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ar=bitcast i8*%an to i8**
store i8*%aq,i8**%ar,align 8
%as=getelementptr inbounds i8,i8*%an,i64 8
%at=bitcast i8*%as to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression10expressionE_185 to void(...)*),void(...)**%at,align 8
%au=getelementptr inbounds i8,i8*%an,i64 16
%av=bitcast i8*%au to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*)*@_SMLLN16FormatExpression10expressionE_185 to void(...)*),void(...)**%av,align 8
%aw=getelementptr inbounds i8,i8*%an,i64 24
%ax=bitcast i8*%aw to i32*
store i32 1,i32*%ax,align 4
%ay=call i8*@sml_alloc(i32 inreg 28)#0
%az=getelementptr inbounds i8,i8*%ay,i64 -4
%aA=bitcast i8*%az to i32*
store i32 1342177304,i32*%aA,align 4
%aB=load i8*,i8**%d,align 8
%aC=bitcast i8*%ay to i8**
store i8*%aB,i8**%aC,align 8
%aD=load i8*,i8**%e,align 8
%aE=getelementptr inbounds i8,i8*%ay,i64 8
%aF=bitcast i8*%aE to i8**
store i8*%aD,i8**%aF,align 8
%aG=load i8*,i8**%f,align 8
%aH=getelementptr inbounds i8,i8*%ay,i64 16
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%ay,i64 24
%aK=bitcast i8*%aJ to i32*
store i32 7,i32*%aK,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%F)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%G)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%I)
%aL=getelementptr inbounds i8,i8*%aD,i64 16
%aM=bitcast i8*%aL to i8*(i8*,i8*,i8*)**
%aN=load i8*(i8*,i8*,i8*)*,i8*(i8*,i8*,i8*)**%aM,align 8
%aO=bitcast i8*%aD to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=bitcast i8**%g to i8***
%aR=load i8**,i8***%aQ,align 8
%aS=load i8*,i8**%aR,align 8
%aT=load i8*,i8**%h,align 8
%aU=tail call fastcc i8*%aN(i8*inreg%aP,i8*inreg%aS,i8*inreg%aT)
ret i8*%aU
}
define internal fastcc i8*@_SMLLN16FormatExpression5parseE_210(i8*inreg%a,i8*inreg%b)#4 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*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%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**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5parseE_209 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5parseE_209 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 1,i32*%E,align 4
ret i8*%u
}
define fastcc i8*@_SMLFN16FormatExpression5parseE(i32 inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,i8**%c,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5parseE_210 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN16FormatExpression5parseE_210 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLLN16FormatExpression12isHigherThanE_213(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN16FormatExpression12isHigherThanE(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*@_SMLLN16FormatExpression13assocToStringE_214(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN16FormatExpression13assocToStringE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression8toStringE_215(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression8toStringE_104(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression8toStringE_216(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression8toStringE_114(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_218(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%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 1,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_219(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression11escapedCharE_119(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_220(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=icmp ne i8%c,34
%e=zext i1%d to i32
%f=tail call i8*@sml_alloc(i32 inreg 4)#0
%g=bitcast i8*%f to i32*
%h=getelementptr inbounds i8,i8*%f,i64 -4
%i=bitcast i8*%h to i32*
store i32 4,i32*%i,align 4
store i32%e,i32*%g,align 4
ret i8*%f
}
define internal fastcc i8*@_SMLLN16FormatExpression11escapedCharE_221(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=tail call fastcc i8*@_SMLLN16FormatExpression11escapedCharE_123(i8 inreg%c)
ret i8*%d
}
define internal fastcc i8*@_SMLLN16FormatExpression6stringE_223(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression6stringE_129(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression7newlineE_225(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@y,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_227(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_143(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_228(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=tail call fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_145(i8*inreg%a,i8 inreg%c)
ret i8*%d
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_229(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=tail call fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_146(i8*inreg%a,i8 inreg%c)
ret i8*%d
}
define internal fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_230(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=load i8,i8*%b,align 1
%d=tail call fastcc i8*@_SMLLN16FormatExpression14assocIndicatorE_147(i8*inreg%a,i8 inreg%c)
ret i8*%d
}
define internal fastcc i8*@_SMLLN16FormatExpression13startOfIndentE_232(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression13startOfIndentE_152(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression11endOfIndentE_234(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@C,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_236(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*null
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_237(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN16FormatExpression8priorityE_167(i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN16FormatExpression8priorityE_238(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLLN16FormatExpression8priorityE_171(i32 inreg%e,i32 inreg%g)
ret i8*%h
}
define internal fastcc i8*@_SMLLN16FormatExpression9indicatorE_239(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression9indicatorE_173(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression9indicatorE_240(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
ret i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i32}>*@J,i64 0,i32 2)to i8*)
}
define internal fastcc i8*@_SMLLN16FormatExpression5guardE_242(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN16FormatExpression5guardE_186(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression11expressionsE_243(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLN16FormatExpression16priorityToStringE_248(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN16FormatExpression16priorityToStringE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression8toStringE_249(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN16FormatExpression8toStringE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN16FormatExpression5parseE_250(i8*inreg%a,i8*inreg%b,i8*inreg%c)#4 gc"smlsharp"{
%d=bitcast i8*%b to i32*
%e=load i32,i32*%d,align 4
%f=bitcast i8*%c to i32*
%g=load i32,i32*%f,align 4
%h=tail call fastcc i8*@_SMLFN16FormatExpression5parseE(i32 inreg%e,i32 inreg%g)
ret i8*%h
}
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
