@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN19SMLSharp__SQL__Errors4ExecE=external local_unnamed_addr global i8*
@_SMLZN19SMLSharp__SQL__Errors6FormatE=external local_unnamed_addr global i8*
@_SMLZN19SMLSharp__SQL__Errors7ConnectE=external local_unnamed_addr global i8*
@_SMLZN25SMLSharp__SQL__KeyValuePair10ParseErrorE=external local_unnamed_addr global i8*
@_SMLZ5Match=external unnamed_addr constant i8*
@_SMLZ9Subscript=external unnamed_addr constant i8*
@_SMLZ4Fail=external unnamed_addr constant i8*
@a=private unnamed_addr constant<{[4x i8],i32,[41x i8]}><{[4x i8]zeroinitializer,i32 -2147483607,[41x i8]c"src/sql/main/MySQLBackend.sml:28.23(756)\00"}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c": \00"}>,align 8
@c=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c"\0A\00"}>,align 8
@d=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend9execQueryE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend9execQueryE_214 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend5fetchE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend5fetchE_215 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i64)*@_SMLFN25SMLSharp__SQL__MySQLBackend9closeConnE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend9closeConnE_216 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend8closeResE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend8closeResE_217 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*)*@_SMLFN25SMLSharp__SQL__MySQLBackend8getValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend8getValueE_218 to void(...)*),i32 -2147483647}>,align 8
@i=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend8intValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend8intValueE_219 to void(...)*),i32 -2147483647}>,align 8
@j=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend11intInfValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend11intInfValueE_220 to void(...)*),i32 -2147483647}>,align 8
@k=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend9wordValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend9wordValueE_221 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*)*@_SMLFN25SMLSharp__SQL__MySQLBackend9realValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend9realValueE_222 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*)*@_SMLFN25SMLSharp__SQL__MySQLBackend11real32ValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend11real32ValueE_223 to void(...)*),i32 -2147483647}>,align 8
@n=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend11stringValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend11stringValueE_224 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,[42x i8]}><{[4x i8]zeroinitializer,i32 -2147483606,[42x i8]c"src/sql/main/MySQLBackend.sml:66.26(2222)\00"}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend9charValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend9charValueE_225 to void(...)*),i32 -2147483647}>,align 8
@q=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend14timestampValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend14timestampValueE_226 to void(...)*),i32 -2147483647}>,align 8
@r=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend12numericValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend12numericValueE_227 to void(...)*),i32 -2147483647}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,[4x i8]}><{[4x i8]zeroinitializer,i32 -2147483644,[4x i8]c"INT\00"}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,[5x i8]}><{[4x i8]zeroinitializer,i32 -2147483643,[5x i8]c"TEXT\00"}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"FLOAT\00"}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"DOUBLE PRECISION\00"}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,[8x i8]}><{[4x i8]zeroinitializer,i32 -2147483640,[8x i8]c"NUMERIC\00"}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,[41x i8]}><{[4x i8]zeroinitializer,i32 -2147483607,[41x i8]c"src/sql/main/MySQLBackend.sml:72.6(2498)\00"}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend14columnTypeNameE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend14columnTypeNameE_228 to void(...)*),i32 -2147483647}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,[42x i8]}><{[4x i8]zeroinitializer,i32 -2147483606,[42x i8]c"src/sql/main/MySQLBackend.sml:88.27(3091)\00"}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLL7fetchFn_142 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7fetchFn_231 to void(...)*),i32 -2147483647}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[77x i8]}><{[4x i8]zeroinitializer,i32 -2147483571,[77x i8]c"SELECT tables.table_name, tables.table_schema FROM information_schema.tables\00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,[131x i8]}><{[4x i8]zeroinitializer,i32 -2147483517,[131x i8]c"SELECT column_name,is_nullable,data_type FROM information_schema.schemata, information_schema.columns WHERE columns.table_name = '\00"}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,[31x i8]}><{[4x i8]zeroinitializer,i32 -2147483617,[31x i8]c"' AND schemata.schema_name = '\00"}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[31x i8]}><{[4x i8]zeroinitializer,i32 -2147483617,[31x i8]c"' ORDER BY columns.column_name\00"}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[42x i8]}><{[4x i8]zeroinitializer,i32 -2147483606,[42x i8]c"src/sql/main/MySQLBackend.sml:94.37(3310)\00"}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 6,[4x i8]zeroinitializer,i32 0}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 5,[4x i8]zeroinitializer,i32 0}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 7,[4x i8]zeroinitializer,i32 0}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 2,[4x i8]zeroinitializer,i32 0}>,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*)*@_SMLLL7fetchFn_158 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLL7fetchFn_232 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*(i64)*@_SMLFN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE_233 to void(...)*),i32 -2147483647}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@al,i32 0,i32 0,i32 0),i32 8),i8*null,i32 3}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@ah,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@M,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@ac,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@N,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@aa,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@O,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@Z,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@P,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@af,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@Q,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@X,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@R,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"src/sql/main/MySQLBackend.sml:206.27(7174)\00"}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[30x i8]}><{[4x i8]zeroinitializer,i32 -2147483618,[30x i8]c"syntax error in server string\00"}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"src/sql/main/MySQLBackend.sml:209.39(7337)\00"}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"invalid keyword: \00"}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,[5x i8]}><{[4x i8]zeroinitializer,i32 -2147483643,[5x i8]c"host\00"}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,[10x i8]}><{[4x i8]zeroinitializer,i32 -2147483638,[10x i8]c"localhost\00"}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,[5x i8]}><{[4x i8]zeroinitializer,i32 -2147483643,[5x i8]c"user\00"}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c"password\00"}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"dbname\00"}>,align 8
@ad=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"src/sql/main/MySQLBackend.sml:218.30(7695)\00"}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,[19x i8]}><{[4x i8]zeroinitializer,i32 -2147483629,[19x i8]c"dbname is required\00"}>,align 8
@af=private unnamed_addr constant<{[4x i8],i32,[5x i8]}><{[4x i8]zeroinitializer,i32 -2147483643,[5x i8]c"port\00"}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@af,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@am,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,[12x i8]}><{[4x i8]zeroinitializer,i32 -2147483636,[12x i8]c"unix_socket\00"}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"src/sql/main/MySQLBackend.sml:222.32(7895)\00"}>,align 8
@aj=private unnamed_addr constant<{[4x i8],i32,[29x i8]}><{[4x i8]zeroinitializer,i32 -2147483619,[29x i8]c"unix_socket is not supported\00"}>,align 8
@ak=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"src/sql/main/MySQLBackend.sml:185.26(6258)\00"}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,[6x i8]}><{[4x i8]zeroinitializer,i32 -2147483642,[6x i8]c"flags\00"}>,align 8
@am=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c" requires integer\00"}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@al,i32 0,i32 0,i32 0),i32 8),i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@am,i32 0,i32 0,i32 0),i32 8),i32 3}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"src/sql/main/MySQLBackend.sml:243.23(8583)\00"}>,align 8
@ap=private unnamed_addr constant<{[4x i8],i32,[9x i8]}><{[4x i8]zeroinitializer,i32 -2147483639,[9x i8]c" (errno:\00"}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,[2x i8]}><{[4x i8]zeroinitializer,i32 -2147483646,[2x i8]c")\00"}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,[43x i8]}><{[4x i8]zeroinitializer,i32 -2147483605,[43x i8]c"src/sql/main/MySQLBackend.sml:237.19(8386)\00"}>,align 8
@as=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"mysql_init failed\00"}>,align 8
@at=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend7connectE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend7connectE_234 to void(...)*),i32 -2147483647}>,align 8
@au=private unnamed_addr constant<{[4x i8],i32,[42x i8]}><{[4x i8]zeroinitializer,i32 -2147483606,[42x i8]c"src/sql/main/MySQLBackend.sml:67.36(2302)\00"}>,align 8
@av=private unnamed_addr constant<{[4x i8],i32,[30x i8]}><{[4x i8]zeroinitializer,i32 -2147483618,[30x i8]c"MySQL does'nt support boolean\00"}>,align 8
@aw=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN25SMLSharp__SQL__MySQLBackend9boolValueE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend9boolValueE_235 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN25SMLSharp__SQL__MySQLBackend9execQueryE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@d,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend9closeConnE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend8closeResE=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*)
@_SMLZN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE=local_unnamed_addr constant i8*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*)
@_SMLZN25SMLSharp__SQL__MySQLBackend14columnTypeNameE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@y,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend7connectE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@at,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend5fetchE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend8getValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend8intValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend11intInfValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@j,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend9wordValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@k,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend9realValueE=local_unnamed_addr constant i8*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*)
@_SMLZN25SMLSharp__SQL__MySQLBackend11real32ValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@m,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend11stringValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@n,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend9charValueE=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*)
@_SMLZN25SMLSharp__SQL__MySQLBackend9boolValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aw,i64 0,i32 2)to i8*)
@_SMLZN25SMLSharp__SQL__MySQLBackend14timestampValueE=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*)
@_SMLZN25SMLSharp__SQL__MySQLBackend12numericValueE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@r,i64 0,i32 2)to i8*)
@_SML_ftab74419e1506a606c3_MySQLBackend=external global i8
@ax=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 i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL10mysql__initE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__closeE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__errnoE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__errorE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__queryE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL14mysql__num__rowsE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__data__seekE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__fetch__rowE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL17mysql__free__resultE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL18mysql__real__connectE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18SMLSharp__SQL__MySQL18mysql__store__resultE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN20SMLSharp__SQL__Numeric10fromStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN22SMLSharp__SQL__TimeStamp10fromStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN25SMLSharp__SQL__KeyValuePair10findExceptE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN25SMLSharp__SQL__KeyValuePair5parseE(i8*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*@_SMLFN4List3revE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Int3210fromStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN5Int328toStringE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IntInf10fromStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Real3210fromStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Real6410fromStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6String1_ZE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN6TextIO5printE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Word324scanE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9StringCvt10scanStringE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5c37eb24573fc5f9_StringCvt()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main9d24bdf03f9e5ec9_Real64()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5d4c3ea7bd6f9540_IntInf()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5148a836b3728be9_Int32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main00d884c96265bfea_SMLSharp_Runtime()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main629da514a4193178_Real32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1ef93e13728790b1_String()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3446b7b079949ccf_text_io()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf19563e8df97169c_Word32()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5008f062fc7efcc4_SQLErrors()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1d1ac2f11ce506e3_MySQL()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main01462d884291b3a4_KeyValuePair()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf0940cae3cd2cc58_Numeric()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main117fff510d821df0_TimeStamp()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_load5c37eb24573fc5f9_StringCvt(i8*)local_unnamed_addr
declare void@_SML_load9d24bdf03f9e5ec9_Real64(i8*)local_unnamed_addr
declare void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*)local_unnamed_addr
declare void@_SML_load5148a836b3728be9_Int32(i8*)local_unnamed_addr
declare void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load629da514a4193178_Real32(i8*)local_unnamed_addr
declare void@_SML_load1ef93e13728790b1_String(i8*)local_unnamed_addr
declare void@_SML_load3446b7b079949ccf_text_io(i8*)local_unnamed_addr
declare void@_SML_loadf19563e8df97169c_Word32(i8*)local_unnamed_addr
declare void@_SML_load5008f062fc7efcc4_SQLErrors(i8*)local_unnamed_addr
declare void@_SML_load1d1ac2f11ce506e3_MySQL(i8*)local_unnamed_addr
declare void@_SML_load01462d884291b3a4_KeyValuePair(i8*)local_unnamed_addr
declare void@_SML_loadf0940cae3cd2cc58_Numeric(i8*)local_unnamed_addr
declare void@_SML_load117fff510d821df0_TimeStamp(i8*)local_unnamed_addr
define private void@_SML_tabb74419e1506a606c3_MySQLBackend()#3{
unreachable
}
define void@_SML_load74419e1506a606c3_MySQLBackend(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@ax,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@ax,align 1
tail call void@_SML_load5c37eb24573fc5f9_StringCvt(i8*%a)#0
tail call void@_SML_load9d24bdf03f9e5ec9_Real64(i8*%a)#0
tail call void@_SML_load5d4c3ea7bd6f9540_IntInf(i8*%a)#0
tail call void@_SML_load5148a836b3728be9_Int32(i8*%a)#0
tail call void@_SML_load00d884c96265bfea_SMLSharp_Runtime(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load629da514a4193178_Real32(i8*%a)#0
tail call void@_SML_load1ef93e13728790b1_String(i8*%a)#0
tail call void@_SML_load3446b7b079949ccf_text_io(i8*%a)#0
tail call void@_SML_loadf19563e8df97169c_Word32(i8*%a)#0
tail call void@_SML_load5008f062fc7efcc4_SQLErrors(i8*%a)#0
tail call void@_SML_load1d1ac2f11ce506e3_MySQL(i8*%a)#0
tail call void@_SML_load01462d884291b3a4_KeyValuePair(i8*%a)#0
tail call void@_SML_loadf0940cae3cd2cc58_Numeric(i8*%a)#0
tail call void@_SML_load117fff510d821df0_TimeStamp(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabb74419e1506a606c3_MySQLBackend,i8*@_SML_ftab74419e1506a606c3_MySQLBackend,i8*null)#0
ret void
}
define void@_SML_main74419e1506a606c3_MySQLBackend()local_unnamed_addr#2 gc"smlsharp"{
%a=load i8,i8*@ax,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*@ax,align 1
tail call void@_SML_main5c37eb24573fc5f9_StringCvt()#2
tail call void@_SML_main9d24bdf03f9e5ec9_Real64()#2
tail call void@_SML_main5d4c3ea7bd6f9540_IntInf()#2
tail call void@_SML_main5148a836b3728be9_Int32()#2
tail call void@_SML_main00d884c96265bfea_SMLSharp_Runtime()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main629da514a4193178_Real32()#2
tail call void@_SML_main1ef93e13728790b1_String()#2
tail call void@_SML_main3446b7b079949ccf_text_io()#2
tail call void@_SML_mainf19563e8df97169c_Word32()#2
tail call void@_SML_main5008f062fc7efcc4_SQLErrors()#2
tail call void@_SML_main1d1ac2f11ce506e3_MySQL()#2
tail call void@_SML_main01462d884291b3a4_KeyValuePair()#2
tail call void@_SML_mainf0940cae3cd2cc58_Numeric()#2
tail call void@_SML_main117fff510d821df0_TimeStamp()#2
br label%d
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9execQueryE(i8*inreg%a)#2 gc"smlsharp"{
k:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%b,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%b,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%a,%k]
%l=bitcast i8*%j to i8**
%m=load i8*,i8**%l,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%b,align 8
%q=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__queryE(i32 inreg 0)
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=call i8*@sml_alloc(i32 inreg 20)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177296,i32*%y,align 4
%z=bitcast i8*%w to i8**
store i8*%m,i8**%z,align 8
%A=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*%A,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 2,i32*%E,align 4
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=call fastcc i8*%t(i8*inreg%F,i8*inreg%w)
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=icmp eq i32%I,0
br i1%J,label%bf,label%K
K:
%L=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors4ExecE,align 8
store i8*%L,i8**%b,align 8
%M=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__errnoE(i32 inreg 0)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%c,align 8
%S=ptrtoint i8*%m to i64
%T=call i8*@sml_alloc(i32 inreg 8)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 8,i32*%V,align 4
%W=bitcast i8*%T to i64*
store i64%S,i64*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=call fastcc i8*%P(i8*inreg%X,i8*inreg%T)
%Z=bitcast i8*%Y to i32*
%aa=load i32,i32*%Z,align 4
%ab=call fastcc i8*@_SMLFN5Int328toStringE(i32 inreg%aa)
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
store i8*null,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*getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@b,i64 0,i32 2,i64 0),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
%al=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%ac)
store i8*%al,i8**%c,align 8
%am=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__errorE(i32 inreg 0)
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%d,align 8
%as=call i8*@sml_alloc(i32 inreg 8)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 8,i32*%au,align 4
%av=bitcast i8*%as to i64*
store i64%S,i64*%av,align 4
%aw=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ax=call fastcc i8*%ap(i8*inreg%aw,i8*inreg%as)
%ay=bitcast i8*%ax to i64*
%az=load i64,i64*%ay,align 4
%aA=call fastcc i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg%az)
store i8*%aA,i8**%d,align 8
%aB=call i8*@sml_alloc(i32 inreg 20)#0
%aC=getelementptr inbounds i8,i8*%aB,i64 -4
%aD=bitcast i8*%aC to i32*
store i32 1342177296,i32*%aD,align 4
%aE=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aF=bitcast i8*%aB to i8**
store i8*%aE,i8**%aF,align 8
%aG=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aH=getelementptr inbounds i8,i8*%aB,i64 8
%aI=bitcast i8*%aH to i8**
store i8*%aG,i8**%aI,align 8
%aJ=getelementptr inbounds i8,i8*%aB,i64 16
%aK=bitcast i8*%aJ to i32*
store i32 3,i32*%aK,align 4
%aL=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aB)
store i8*%aL,i8**%c,align 8
%aM=call i8*@sml_alloc(i32 inreg 20)#0
%aN=getelementptr inbounds i8,i8*%aM,i64 -4
%aO=bitcast i8*%aN to i32*
store i32 1342177296,i32*%aO,align 4
%aP=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@c,i64 0,i32 2,i64 0),i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aM,i64 16
%aU=bitcast i8*%aT to i32*
store i32 3,i32*%aU,align 4
%aV=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aM)
store i8*%aV,i8**%c,align 8
%aW=call i8*@sml_alloc(i32 inreg 28)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177304,i32*%aY,align 4
store i8*%aW,i8**%d,align 8
%aZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a0=bitcast i8*%aW to i8**
store i8*%aZ,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aW,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[41x i8]}>,<{[4x i8],i32,[41x i8]}>*@a,i64 0,i32 2,i64 0),i8**%a2,align 8
%a3=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a4=getelementptr inbounds i8,i8*%aW,i64 16
%a5=bitcast i8*%a4 to i8**
store i8*%a3,i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%aW,i64 24
%a7=bitcast i8*%a6 to i32*
store i32 7,i32*%a7,align 4
%a8=call i8*@sml_alloc(i32 inreg 60)#0
%a9=getelementptr inbounds i8,i8*%a8,i64 -4
%ba=bitcast i8*%a9 to i32*
store i32 1342177336,i32*%ba,align 4
%bb=getelementptr inbounds i8,i8*%a8,i64 56
%bc=bitcast i8*%bb to i32*
store i32 1,i32*%bc,align 4
%bd=load i8*,i8**%d,align 8
%be=bitcast i8*%a8 to i8**
store i8*%bd,i8**%be,align 8
call void@sml_raise(i8*inreg%a8)#1
unreachable
bf:
%bg=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL18mysql__store__resultE(i32 inreg 0)
%bh=getelementptr inbounds i8,i8*%bg,i64 16
%bi=bitcast i8*%bh to i8*(i8*,i8*)**
%bj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bi,align 8
%bk=bitcast i8*%bg to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%b,align 8
%bm=ptrtoint i8*%m to i64
%bn=call i8*@sml_alloc(i32 inreg 8)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 8,i32*%bp,align 4
%bq=bitcast i8*%bn to i64*
store i64%bm,i64*%bq,align 4
%br=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bs=call fastcc i8*%bj(i8*inreg%br,i8*inreg%bn)
%bt=bitcast i8*%bs to i8**
%bu=load i8*,i8**%bt,align 8
%bv=call i8*@sml_alloc(i32 inreg 8)#0
%bw=getelementptr inbounds i8,i8*%bv,i64 -4
%bx=bitcast i8*%bw to i32*
store i32 536870920,i32*%bx,align 4
store i8*%bv,i8**%b,align 8
%by=bitcast i8*%bv to i64*
store i64 0,i64*%by,align 4
%bz=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL14mysql__num__rowsE(i32 inreg 0)
%bA=getelementptr inbounds i8,i8*%bz,i64 16
%bB=bitcast i8*%bA to i8*(i8*,i8*)**
%bC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bB,align 8
%bD=bitcast i8*%bz to i8**
%bE=load i8*,i8**%bD,align 8
store i8*%bE,i8**%c,align 8
%bF=ptrtoint i8*%bu to i64
%bG=call i8*@sml_alloc(i32 inreg 8)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 8,i32*%bI,align 4
%bJ=bitcast i8*%bG to i64*
store i64%bF,i64*%bJ,align 4
%bK=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bL=call fastcc i8*%bC(i8*inreg%bK,i8*inreg%bG)
%bM=bitcast i8*%bL to i64*
%bN=load i64,i64*%bM,align 4
%bO=call i8*@sml_alloc(i32 inreg 28)#0
%bP=getelementptr inbounds i8,i8*%bO,i64 -4
%bQ=bitcast i8*%bP to i32*
store i32 1342177304,i32*%bQ,align 4
%bR=bitcast i8*%bO to i64*
store i64%bN,i64*%bR,align 4
%bS=getelementptr inbounds i8,i8*%bO,i64 8
%bT=bitcast i8*%bS to i8**
store i8*%bu,i8**%bT,align 8
%bU=load i8*,i8**%b,align 8
%bV=getelementptr inbounds i8,i8*%bO,i64 16
%bW=bitcast i8*%bV to i8**
store i8*%bU,i8**%bW,align 8
%bX=getelementptr inbounds i8,i8*%bO,i64 24
%bY=bitcast i8*%bX to i32*
store i32 4,i32*%bY,align 4
ret i8*%bO
}
define fastcc i32@_SMLFN25SMLSharp__SQL__MySQLBackend5fetchE(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i64*
%c=load i64,i64*%b,align 4
%d=getelementptr inbounds i8,i8*%a,i64 16
%e=bitcast i8*%d to i64**
%f=load i64*,i64**%e,align 8
%g=load i64,i64*%f,align 4
%h=icmp ult i64%g,%c
br i1%h,label%i,label%k
i:
%j=add i64%g,1
store i64%j,i64*%f,align 4
ret i32 1
k:
ret i32 0
}
define fastcc void@_SMLFN25SMLSharp__SQL__MySQLBackend9closeConnE(i64 inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=load atomic i32,i32*@sml_check_flag unordered,align 4
%d=icmp eq i32%c,0
br i1%d,label%f,label%e
e:
call void@sml_check(i32 inreg%c)
br label%f
f:
%g=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__closeE(i32 inreg 0)
%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**%b,align 8
%m=call i8*@sml_alloc(i32 inreg 8)#0
%n=getelementptr inbounds i8,i8*%m,i64 -4
%o=bitcast i8*%n to i32*
store i32 8,i32*%o,align 4
%p=bitcast i8*%m to i64*
store i64%a,i64*%p,align 4
%q=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%r=call fastcc i8*%j(i8*inreg%q,i8*inreg%m)
ret void
}
define fastcc void@_SMLFN25SMLSharp__SQL__MySQLBackend8closeResE(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 8
%k=bitcast i8*%j to i64*
%l=load i64,i64*%k,align 4
%m=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL17mysql__free__resultE(i32 inreg 0)
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*)**
%p=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%o,align 8
%q=bitcast i8*%m to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%b,align 8
%s=call i8*@sml_alloc(i32 inreg 8)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 8,i32*%u,align 4
%v=bitcast i8*%s to i64*
store i64%l,i64*%v,align 4
%w=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%x=call fastcc i8*%p(i8*inreg%w,i8*inreg%s)
ret void
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend8getValueE(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=bitcast i8*%h to i8**
%k=load i8*,i8**%j,align 8
%l=getelementptr inbounds i8,i8*%k,i64 8
%m=bitcast i8*%l to i8**
%n=load i8*,i8**%m,align 8
%o=getelementptr inbounds i8,i8*%k,i64 16
%p=bitcast i8*%o to i64**
%q=load i64*,i64**%p,align 8
%r=load i64,i64*%q,align 4
%s=getelementptr inbounds i8,i8*%h,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__data__seekE(i32 inreg 0)
%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**%b,align 8
%B=add i64%r,-1
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=bitcast i8*%C to i8**
store i8*%n,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%C,i64 8
%H=bitcast i8*%G to i64*
store i64%B,i64*%H,align 4
%I=getelementptr inbounds i8,i8*%C,i64 16
%J=bitcast i8*%I to i32*
store i32 0,i32*%J,align 4
%K=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%L=call fastcc i8*%y(i8*inreg%K,i8*inreg%C)
%M=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__fetch__rowE(i32 inreg 0)
%N=getelementptr inbounds i8,i8*%M,i64 16
%O=bitcast i8*%N to i8*(i8*,i8*)**
%P=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%O,align 8
%Q=bitcast i8*%M to i8**
%R=load i8*,i8**%Q,align 8
store i8*%R,i8**%b,align 8
%S=ptrtoint i8*%n to i64
%T=call i8*@sml_alloc(i32 inreg 8)#0
%U=getelementptr inbounds i8,i8*%T,i64 -4
%V=bitcast i8*%U to i32*
store i32 8,i32*%V,align 4
%W=bitcast i8*%T to i64*
store i64%S,i64*%W,align 4
%X=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Y=call fastcc i8*%P(i8*inreg%X,i8*inreg%T)
%Z=bitcast i8*%Y to i8**
%aa=load i8*,i8**%Z,align 8
%ab=shl i32%u,3
%ac=sext i32%ab to i64
%ad=getelementptr i8,i8*%aa,i64%ac
%ae=bitcast i8*%ad to i8**
%af=load i8*,i8**%ae,align 8
%ag=icmp eq i8*%af,null
br i1%ag,label%ah,label%ai
ah:
ret i8*null
ai:
%aj=ptrtoint i8*%af to i64
%ak=call fastcc i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg%aj)
store i8*%ak,i8**%b,align 8
%al=call i8*@sml_alloc(i32 inreg 12)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
%ao=load i8*,i8**%b,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to i32*
store i32 1,i32*%ar,align 4
ret i8*%al
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend8intValueE(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*@_SMLFN5Int3210fromStringE(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend11intInfValueE(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*@_SMLFN6IntInf10fromStringE(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9wordValueE(i8*inreg%a)#2 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
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%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call fastcc i8*@_SMLFN9StringCvt10scanStringE(i32 inreg 0,i32 inreg 4)
%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=call fastcc i8*@_SMLFN6Word324scanE(i32 inreg 0,i32 inreg 4)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
store i8*%t,i8**%c,align 8
%u=call i8*@sml_alloc(i32 inreg 4)#0
%v=bitcast i8*%u to i32*
%w=getelementptr inbounds i8,i8*%u,i64 -4
%x=bitcast i8*%w to i32*
store i32 4,i32*%x,align 4
store i32 1,i32*%v,align 4
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=call fastcc i8*%l(i8*inreg%A,i8*inreg%z)
%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=load i8*,i8**%b,align 8
%I=tail call fastcc i8*%E(i8*inreg%G,i8*inreg%H)
ret i8*%I
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9realValueE(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*@_SMLFN6Real6410fromStringE(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend11real32ValueE(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*@_SMLFN6Real3210fromStringE(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend11stringValueE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
store i8*%a,i8**%b,align 8
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=getelementptr inbounds i8,i8*%c,i64 -4
%e=bitcast i8*%d to i32*
store i32 1342177288,i32*%e,align 4
%f=load i8*,i8**%b,align 8
%g=bitcast i8*%c to i8**
store i8*%f,i8**%g,align 8
%h=getelementptr inbounds i8,i8*%c,i64 8
%i=bitcast i8*%h to i32*
store i32 1,i32*%i,align 4
ret i8*%c
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9charValueE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=getelementptr inbounds i8,i8*%a,i64 -4
%d=bitcast i8*%c to i32*
%e=load i32,i32*%d,align 4
%f=and i32%e,268435454
%g=icmp eq i32%f,0
br i1%g,label%p,label%h
h:
%i=load i8,i8*%a,align 1
%j=call i8*@sml_alloc(i32 inreg 12)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177288,i32*%l,align 4
%m=getelementptr inbounds i8,i8*%j,i64 1
call void@llvm.memset.p0i8.i32(i8*%m,i8 0,i32 7,i1 false)
store i8%i,i8*%j,align 1
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i32*
store i32 0,i32*%o,align 4
br label%B
p:
%q=load i8*,i8**@_SMLZ9Subscript,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
%u=load i8*,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,[42x i8]}>,<{[4x i8],i32,[42x i8]}>*@o,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
store i8*%r,i8**%b,align 8
%A=icmp eq i8*%u,%q
br i1%A,label%B,label%D
B:
%C=phi i8*[null,%p],[%j,%h]
ret i8*%C
D:
%E=call i8*@sml_alloc(i32 inreg 60)#0
%F=getelementptr inbounds i8,i8*%E,i64 -4
%G=bitcast i8*%F to i32*
store i32 1342177336,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%E,i64 56
%I=bitcast i8*%H to i32*
store i32 1,i32*%I,align 4
%J=load i8*,i8**%b,align 8
%K=bitcast i8*%E to i8**
store i8*%J,i8**%K,align 8
call void@sml_raise(i8*inreg%E)#1
unreachable
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend14timestampValueE(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*@_SMLFN22SMLSharp__SQL__TimeStamp10fromStringE(i8*inreg%h)
store i8*%j,i8**%b,align 8
%k=call i8*@sml_alloc(i32 inreg 12)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177288,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 i32*
store i32 1,i32*%q,align 4
ret i8*%k
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend12numericValueE(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*@_SMLFN20SMLSharp__SQL__Numeric10fromStringE(i8*inreg%h)
ret i8*%j
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend14columnTypeNameE(i8*inreg%a)#2 gc"smlsharp"{
j:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%h,label%f
f:
call void@sml_check(i32 inreg%d)
%g=load i8*,i8**%b,align 8
br label%h
h:
%i=phi i8*[%g,%f],[%a,%j]
%k=bitcast i8*%i to i32*
%l=load i32,i32*%k,align 4
switch i32%l,label%m[
i32 2,label%S
i32 3,label%R
i32 10,label%Q
i32 1,label%P
i32 7,label%O
i32 5,label%N
i32 6,label%M
i32 0,label%L
i32 8,label%K
i32 4,label%I
i32 9,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,[41x i8]}>,<{[4x i8],i32,[41x i8]}>*@x,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
ret i8*%H
I:
%J=phi i8*[getelementptr inbounds(<{[4x i8],i32,[8x i8]}>,<{[4x i8],i32,[8x i8]}>*@w,i64 0,i32 2,i64 0),%h],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@ab,i64 0,i32 2,i64 0),%K],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@ab,i64 0,i32 2,i64 0),%L],[getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@v,i64 0,i32 2,i64 0),%M],[getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@u,i64 0,i32 2,i64 0),%N],[getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@t,i64 0,i32 2,i64 0),%O],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@ab,i64 0,i32 2,i64 0),%P],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@ab,i64 0,i32 2,i64 0),%Q],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@ab,i64 0,i32 2,i64 0),%R],[getelementptr inbounds(<{[4x i8],i32,[4x i8]}>,<{[4x i8],i32,[4x i8]}>*@s,i64 0,i32 2,i64 0),%S]
ret i8*%J
K:
br label%I
L:
br label%I
M:
br label%I
N:
br label%I
O:
br label%I
P:
br label%I
Q:
br label%I
R:
br label%I
S:
br label%I
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9getStringE_138(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]
store i8*null,i8**%b,align 8
%k=bitcast i8*%i to i8**
%l=load i8*,i8**%k,align 8
%m=getelementptr inbounds i8,i8*%l,i64 8
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,align 8
%p=getelementptr inbounds i8,i8*%l,i64 16
%q=bitcast i8*%p to i64**
%r=load i64*,i64**%q,align 8
%s=load i64,i64*%r,align 4
%t=getelementptr inbounds i8,i8*%i,i64 8
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
%w=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__data__seekE(i32 inreg 0)
%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**%b,align 8
%C=add i64%s,-1
%D=call i8*@sml_alloc(i32 inreg 20)#0
%E=getelementptr inbounds i8,i8*%D,i64 -4
%F=bitcast i8*%E to i32*
store i32 1342177296,i32*%F,align 4
%G=bitcast i8*%D to i8**
store i8*%o,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%D,i64 8
%I=bitcast i8*%H to i64*
store i64%C,i64*%I,align 4
%J=getelementptr inbounds i8,i8*%D,i64 16
%K=bitcast i8*%J to i32*
store i32 0,i32*%K,align 4
%L=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%M=call fastcc i8*%z(i8*inreg%L,i8*inreg%D)
%N=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__fetch__rowE(i32 inreg 0)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%b,align 8
%T=ptrtoint i8*%o to i64
%U=call i8*@sml_alloc(i32 inreg 8)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 8,i32*%W,align 4
%X=bitcast i8*%U to i64*
store i64%T,i64*%X,align 4
%Y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%Z=call fastcc i8*%Q(i8*inreg%Y,i8*inreg%U)
%aa=bitcast i8*%Z to i8**
%ab=load i8*,i8**%aa,align 8
%ac=shl i32%v,3
%ad=sext i32%ac to i64
%ae=getelementptr i8,i8*%ab,i64%ad
%af=bitcast i8*%ae to i8**
%ag=load i8*,i8**%af,align 8
%ah=icmp eq i8*%ag,null
br i1%ah,label%at,label%ai
ai:
%aj=ptrtoint i8*%ag to i64
%ak=call fastcc i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg%aj)
store i8*%ak,i8**%b,align 8
%al=call i8*@sml_alloc(i32 inreg 12)#0
%am=getelementptr inbounds i8,i8*%al,i64 -4
%an=bitcast i8*%am to i32*
store i32 1342177288,i32*%an,align 4
%ao=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ap=bitcast i8*%al to i8**
store i8*%ao,i8**%ap,align 8
%aq=getelementptr inbounds i8,i8*%al,i64 8
%ar=bitcast i8*%aq to i32*
store i32 1,i32*%ar,align 4
%as=icmp eq i8*%al,null
br i1%as,label%at,label%aL
at:
%au=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors6FormatE,align 8
store i8*%au,i8**%b,align 8
%av=call i8*@sml_alloc(i32 inreg 20)#0
%aw=getelementptr inbounds i8,i8*%av,i64 -4
%ax=bitcast i8*%aw to i32*
store i32 1342177296,i32*%ax,align 4
store i8*%av,i8**%c,align 8
%ay=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%az=bitcast i8*%av to i8**
store i8*%ay,i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%av,i64 8
%aB=bitcast i8*%aA to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[42x i8]}>,<{[4x i8],i32,[42x i8]}>*@z,i64 0,i32 2,i64 0),i8**%aB,align 8
%aC=getelementptr inbounds i8,i8*%av,i64 16
%aD=bitcast i8*%aC to i32*
store i32 3,i32*%aD,align 4
%aE=call i8*@sml_alloc(i32 inreg 60)#0
%aF=getelementptr inbounds i8,i8*%aE,i64 -4
%aG=bitcast i8*%aF to i32*
store i32 1342177336,i32*%aG,align 4
%aH=getelementptr inbounds i8,i8*%aE,i64 56
%aI=bitcast i8*%aH to i32*
store i32 1,i32*%aI,align 4
%aJ=load i8*,i8**%c,align 8
%aK=bitcast i8*%aE to i8**
store i8*%aJ,i8**%aK,align 8
call void@sml_raise(i8*inreg%aE)#1
unreachable
aL:
store i8*%ao,i8**%b,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
%aP=load i8*,i8**%b,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=icmp eq i8*%aM,null
br i1%aT,label%aU,label%bc
aU:
%aV=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors6FormatE,align 8
store i8*%aV,i8**%b,align 8
%aW=call i8*@sml_alloc(i32 inreg 20)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177296,i32*%aY,align 4
store i8*%aW,i8**%c,align 8
%aZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a0=bitcast i8*%aW to i8**
store i8*%aZ,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aW,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[42x i8]}>,<{[4x i8],i32,[42x i8]}>*@z,i64 0,i32 2,i64 0),i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aW,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%a5=call i8*@sml_alloc(i32 inreg 60)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177336,i32*%a7,align 4
%a8=getelementptr inbounds i8,i8*%a5,i64 56
%a9=bitcast i8*%a8 to i32*
store i32 1,i32*%a9,align 4
%ba=load i8*,i8**%c,align 8
%bb=bitcast i8*%a5 to i8**
store i8*%ba,i8**%bb,align 8
call void@sml_raise(i8*inreg%a5)#1
unreachable
bc:
ret i8*%aP
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9evalQueryE_140(i8*inreg%a)unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
z:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%b,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i8**
%j=load i8*,i8**%i,align 8
store i8*%j,i8**%c,align 8
%k=getelementptr inbounds i8,i8*%a,i64 16
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,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=bitcast i8*%n to i8**
store i8*%m,i8**%q,align 8
%r=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to i8**
store i8*%r,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%n,i64 16
%v=bitcast i8*%u to i32*
store i32 2,i32*%v,align 4
%w=call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9execQueryE(i8*inreg%n)
store i8*%w,i8**%b,align 8
br label%x
x:
%y=phi i8*[%X,%W],[null,%z]
store i8*%y,i8**%d,align 8
%A=load atomic i32,i32*@sml_check_flag unordered,align 4
%B=icmp eq i32%A,0
br i1%B,label%D,label%C
C:
call void@sml_check(i32 inreg%A)
br label%D
D:
%E=load i8*,i8**%b,align 8
%F=bitcast i8*%E to i64*
%G=load i64,i64*%F,align 4
%H=getelementptr inbounds i8,i8*%E,i64 16
%I=bitcast i8*%H to i64**
%J=load i64*,i64**%I,align 8
%K=load i64,i64*%J,align 4
%L=icmp ult i64%K,%G
br i1%L,label%M,label%ah
M:
%N=add i64%K,1
store i64%N,i64*%J,align 4
%O=load i8*,i8**%c,align 8
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
%U=load i8*,i8**%b,align 8
%V=invoke fastcc i8*%R(i8*inreg%T,i8*inreg%U)
to label%W unwind label%aG
W:
store i8*%V,i8**%e,align 8
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
%aa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ad=getelementptr inbounds i8,i8*%X,i64 8
%ae=bitcast i8*%ad to i8**
store i8*%ac,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%X,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
br label%x
ah:
%ai=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
store i8*%ai,i8**%c,align 8
store i8*null,i8**%b,align 8
%aj=getelementptr inbounds i8,i8*%E,i64 8
%ak=bitcast i8*%aj to i64*
%al=load i64,i64*%ak,align 4
%am=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL17mysql__free__resultE(i32 inreg 0)
%an=getelementptr inbounds i8,i8*%am,i64 16
%ao=bitcast i8*%an to i8*(i8*,i8*)**
%ap=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ao,align 8
%aq=bitcast i8*%am to i8**
%ar=load i8*,i8**%aq,align 8
store i8*%ar,i8**%b,align 8
%as=call i8*@sml_alloc(i32 inreg 8)#0
%at=getelementptr inbounds i8,i8*%as,i64 -4
%au=bitcast i8*%at to i32*
store i32 8,i32*%au,align 4
%av=bitcast i8*%as to i64*
store i64%al,i64*%av,align 4
%aw=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ax=call fastcc i8*%ap(i8*inreg%aw,i8*inreg%as)
%ay=call fastcc i8*@_SMLFN4List3revE(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
%aE=load i8*,i8**%c,align 8
%aF=tail call fastcc i8*%aB(i8*inreg%aD,i8*inreg%aE)
ret i8*%aF
aG:
%aH=landingpad{i8*,i8*}
catch i8*null
%aI=extractvalue{i8*,i8*}%aH,1
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*%aK,i8**%c,align 8
%aL=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%aM=getelementptr inbounds i8,i8*%aL,i64 8
%aN=bitcast i8*%aM to i64*
%aO=load i64,i64*%aN,align 4
%aP=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL17mysql__free__resultE(i32 inreg 0)
%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**%b,align 8
%aV=call i8*@sml_alloc(i32 inreg 8)#0
%aW=getelementptr inbounds i8,i8*%aV,i64 -4
%aX=bitcast i8*%aW to i32*
store i32 8,i32*%aX,align 4
%aY=bitcast i8*%aV to i64*
store i64%aO,i64*%aY,align 4
%aZ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a0=call fastcc i8*%aS(i8*inreg%aZ,i8*inreg%aV)
%a1=call i8*@sml_alloc(i32 inreg 60)#0
%a2=getelementptr inbounds i8,i8*%a1,i64 -4
%a3=bitcast i8*%a2 to i32*
store i32 1342177336,i32*%a3,align 4
%a4=getelementptr inbounds i8,i8*%a1,i64 56
%a5=bitcast i8*%a4 to i32*
store i32 1,i32*%a5,align 4
%a6=load i8*,i8**%c,align 8
%a7=bitcast i8*%a1 to i8**
store i8*%a6,i8**%a7,align 8
call void@sml_raise(i8*inreg%a1)#1
unreachable
}
define internal fastcc i8*@_SMLLL7fetchFn_142(i8*inreg%a)#2 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=load atomic i32,i32*@sml_check_flag unordered,align 4
%e=icmp eq i32%d,0
br i1%e,label%g,label%f
f:
call void@sml_check(i32 inreg%d)
br label%g
g:
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
%k=getelementptr inbounds i8,i8*%h,i64 12
%l=bitcast i8*%k to i32*
store i32 0,i32*%l,align 1
%m=load i8*,i8**%b,align 8
%n=bitcast i8*%h to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%h,i64 8
%p=bitcast i8*%o to i32*
store i32 0,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%h,i64 16
%r=bitcast i8*%q to i32*
store i32 1,i32*%r,align 4
%s=call fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9getStringE_138(i8*inreg%h)
store i8*%s,i8**%c,align 8
%t=call i8*@sml_alloc(i32 inreg 20)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177296,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%t,i64 12
%x=bitcast i8*%w to i32*
store i32 0,i32*%x,align 1
%y=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%z=bitcast i8*%t to i8**
store i8*%y,i8**%z,align 8
%A=getelementptr inbounds i8,i8*%t,i64 8
%B=bitcast i8*%A to i32*
store i32 1,i32*%B,align 4
%C=getelementptr inbounds i8,i8*%t,i64 16
%D=bitcast i8*%C to i32*
store i32 1,i32*%D,align 4
%E=call fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9getStringE_138(i8*inreg%t)
store i8*%E,i8**%b,align 8
%F=call i8*@sml_alloc(i32 inreg 20)#0
%G=getelementptr inbounds i8,i8*%F,i64 -4
%H=bitcast i8*%G to i32*
store i32 1342177296,i32*%H,align 4
%I=load i8*,i8**%b,align 8
%J=bitcast i8*%F to i8**
store i8*%I,i8**%J,align 8
%K=load i8*,i8**%c,align 8
%L=getelementptr inbounds i8,i8*%F,i64 8
%M=bitcast i8*%L to i8**
store i8*%K,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%F,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
ret i8*%F
}
define internal fastcc i8*@_SMLLL7fetchFn_158(i8*inreg%a)#2 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
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%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=call i8*@sml_alloc(i32 inreg 20)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177296,i32*%k,align 4
%l=getelementptr inbounds i8,i8*%i,i64 12
%m=bitcast i8*%l to i32*
store i32 0,i32*%m,align 1
%n=load i8*,i8**%b,align 8
%o=bitcast i8*%i to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 8
%q=bitcast i8*%p to i32*
store i32 0,i32*%q,align 4
%r=getelementptr inbounds i8,i8*%i,i64 16
%s=bitcast i8*%r to i32*
store i32 1,i32*%s,align 4
%t=call fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9getStringE_138(i8*inreg%i)
store i8*%t,i8**%c,align 8
%u=load i8*,i8**%b,align 8
%v=getelementptr inbounds i8,i8*%u,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=getelementptr inbounds i8,i8*%u,i64 16
%z=bitcast i8*%y to i64**
%A=load i64*,i64**%z,align 8
%B=load i64,i64*%A,align 4
%C=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__data__seekE(i32 inreg 0)
%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
store i8*%H,i8**%d,align 8
%I=add i64%B,-1
%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
%M=bitcast i8*%J to i8**
store i8*%x,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%J,i64 8
%O=bitcast i8*%N to i64*
store i64%I,i64*%O,align 4
%P=getelementptr inbounds i8,i8*%J,i64 16
%Q=bitcast i8*%P to i32*
store i32 0,i32*%Q,align 4
%R=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%S=call fastcc i8*%F(i8*inreg%R,i8*inreg%J)
%T=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL15mysql__fetch__rowE(i32 inreg 0)
%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**%d,align 8
%Z=ptrtoint i8*%x to i64
%aa=call i8*@sml_alloc(i32 inreg 8)#0
%ab=getelementptr inbounds i8,i8*%aa,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 8,i32*%ac,align 4
%ad=bitcast i8*%aa to i64*
store i64%Z,i64*%ad,align 4
%ae=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%af=call fastcc i8*%W(i8*inreg%ae,i8*inreg%aa)
%ag=bitcast i8*%af to i8**
%ah=load i8*,i8**%ag,align 8
%ai=getelementptr i8,i8*%ah,i64 8
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
%al=icmp eq i8*%ak,null
br i1%al,label%ax,label%am
am:
%an=ptrtoint i8*%ak to i64
%ao=call fastcc i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg%an)
store i8*%ao,i8**%d,align 8
%ap=call i8*@sml_alloc(i32 inreg 12)#0
%aq=getelementptr inbounds i8,i8*%ap,i64 -4
%ar=bitcast i8*%aq to i32*
store i32 1342177288,i32*%ar,align 4
%as=load i8*,i8**%d,align 8
store i8*null,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 i32*
store i32 1,i32*%av,align 4
%aw=icmp eq i8*%ap,null
br i1%aw,label%ax,label%ay
ax:
store i8*null,i8**%c,align 8
br label%a1
ay:
%az=getelementptr inbounds i8,i8*%as,i64 -4
%aA=bitcast i8*%az to i32*
%aB=load i32,i32*%aA,align 4
%aC=trunc i32%aB to i28
switch i28%aC,label%aD[
i28 3,label%aS
i28 4,label%aE
]
aD:
store i8*null,i8**%c,align 8
br label%a1
aE:
%aF=load i8,i8*%as,align 1
%aG=icmp eq i8%aF,89
br i1%aG,label%aI,label%aH
aH:
store i8*null,i8**%c,align 8
br label%a1
aI:
%aJ=getelementptr inbounds i8,i8*%as,i64 1
%aK=load i8,i8*%aJ,align 1
%aL=icmp eq i8%aK,69
br i1%aL,label%aN,label%aM
aM:
store i8*null,i8**%c,align 8
br label%a1
aN:
%aO=getelementptr inbounds i8,i8*%as,i64 2
%aP=load i8,i8*%aO,align 1
%aQ=icmp eq i8%aP,83
br i1%aQ,label%bj,label%aR
aR:
store i8*null,i8**%c,align 8
br label%a1
aS:
%aT=load i8,i8*%as,align 1
%aU=icmp eq i8%aT,78
br i1%aU,label%aW,label%aV
aV:
store i8*null,i8**%c,align 8
br label%a1
aW:
%aX=getelementptr inbounds i8,i8*%as,i64 1
%aY=load i8,i8*%aX,align 1
%aZ=icmp eq i8%aY,79
br i1%aZ,label%bj,label%a0
a0:
store i8*null,i8**%c,align 8
br label%a1
a1:
%a2=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors6FormatE,align 8
store i8*%a2,i8**%b,align 8
%a3=call i8*@sml_alloc(i32 inreg 20)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177296,i32*%a5,align 4
store i8*%a3,i8**%c,align 8
%a6=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%a7=bitcast i8*%a3 to i8**
store i8*%a6,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a3,i64 8
%a9=bitcast i8*%a8 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[42x i8]}>,<{[4x i8],i32,[42x i8]}>*@F,i64 0,i32 2,i64 0),i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a3,i64 16
%bb=bitcast i8*%ba to i32*
store i32 3,i32*%bb,align 4
%bc=call i8*@sml_alloc(i32 inreg 60)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177336,i32*%be,align 4
%bf=getelementptr inbounds i8,i8*%bc,i64 56
%bg=bitcast i8*%bf to i32*
store i32 1,i32*%bg,align 4
%bh=load i8*,i8**%c,align 8
%bi=bitcast i8*%bc to i8**
store i8*%bh,i8**%bi,align 8
call void@sml_raise(i8*inreg%bc)#1
unreachable
bj:
%bk=phi i32[1,%aN],[0,%aW]
%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=getelementptr inbounds i8,i8*%bl,i64 12
%bp=bitcast i8*%bo to i32*
store i32 0,i32*%bp,align 1
%bq=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%br=bitcast i8*%bl to i8**
store i8*%bq,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bl,i64 8
%bt=bitcast i8*%bs to i32*
store i32 2,i32*%bt,align 4
%bu=getelementptr inbounds i8,i8*%bl,i64 16
%bv=bitcast i8*%bu to i32*
store i32 1,i32*%bv,align 4
%bw=call fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9getStringE_138(i8*inreg%bl)
store i8*%bw,i8**%b,align 8
%bx=getelementptr inbounds i8,i8*%bw,i64 -4
%by=bitcast i8*%bx to i32*
%bz=load i32,i32*%by,align 4
%bA=trunc i32%bz to i28
switch i28%bA,label%e9[
i28 4,label%eX
i28 5,label%eH
i28 6,label%en
i28 7,label%dZ
i28 8,label%c9
i28 9,label%cb
i28 10,label%bB
]
bB:
%bC=load i8,i8*%bw,align 1
%bD=icmp eq i8%bC,109
br i1%bD,label%bE,label%e9
bE:
%bF=getelementptr inbounds i8,i8*%bw,i64 1
%bG=load i8,i8*%bF,align 1
%bH=icmp eq i8%bG,101
br i1%bH,label%bI,label%e9
bI:
%bJ=getelementptr inbounds i8,i8*%bw,i64 2
%bK=load i8,i8*%bJ,align 1
%bL=icmp eq i8%bK,100
br i1%bL,label%bM,label%e9
bM:
%bN=getelementptr inbounds i8,i8*%bw,i64 3
%bO=load i8,i8*%bN,align 1
%bP=icmp eq i8%bO,105
br i1%bP,label%bQ,label%e9
bQ:
%bR=getelementptr inbounds i8,i8*%bw,i64 4
%bS=load i8,i8*%bR,align 1
%bT=icmp eq i8%bS,117
br i1%bT,label%bU,label%e9
bU:
%bV=getelementptr inbounds i8,i8*%bw,i64 5
%bW=load i8,i8*%bV,align 1
%bX=icmp eq i8%bW,109
br i1%bX,label%bY,label%e9
bY:
%bZ=getelementptr inbounds i8,i8*%bw,i64 6
%b0=load i8,i8*%bZ,align 1
%b1=icmp eq i8%b0,105
br i1%b1,label%b2,label%e9
b2:
%b3=getelementptr inbounds i8,i8*%bw,i64 7
%b4=load i8,i8*%b3,align 1
%b5=icmp eq i8%b4,110
br i1%b5,label%b6,label%e9
b6:
%b7=getelementptr inbounds i8,i8*%bw,i64 8
%b8=load i8,i8*%b7,align 1
%b9=icmp eq i8%b8,116
br i1%b9,label%ca,label%e9
ca:
store i8*null,i8**%b,align 8
br label%fl
cb:
%cc=load i8,i8*%bw,align 1
switch i8%cc,label%e9[
i8 115,label%cG
i8 116,label%cd
]
cd:
%ce=getelementptr inbounds i8,i8*%bw,i64 1
%cf=load i8,i8*%ce,align 1
%cg=icmp eq i8%cf,105
br i1%cg,label%ch,label%e9
ch:
%ci=getelementptr inbounds i8,i8*%bw,i64 2
%cj=load i8,i8*%ci,align 1
%ck=icmp eq i8%cj,110
br i1%ck,label%cl,label%e9
cl:
%cm=getelementptr inbounds i8,i8*%bw,i64 3
%cn=load i8,i8*%cm,align 1
%co=icmp eq i8%cn,121
br i1%co,label%cp,label%e9
cp:
%cq=getelementptr inbounds i8,i8*%bw,i64 4
%cr=load i8,i8*%cq,align 1
%cs=icmp eq i8%cr,116
br i1%cs,label%ct,label%e9
ct:
%cu=getelementptr inbounds i8,i8*%bw,i64 5
%cv=load i8,i8*%cu,align 1
%cw=icmp eq i8%cv,101
br i1%cw,label%cx,label%e9
cx:
%cy=getelementptr inbounds i8,i8*%bw,i64 6
%cz=load i8,i8*%cy,align 1
%cA=icmp eq i8%cz,120
br i1%cA,label%cB,label%e9
cB:
%cC=getelementptr inbounds i8,i8*%bw,i64 7
%cD=load i8,i8*%cC,align 1
%cE=icmp eq i8%cD,116
br i1%cE,label%cF,label%e9
cF:
store i8*null,i8**%b,align 8
br label%fl
cG:
%cH=getelementptr inbounds i8,i8*%bw,i64 1
%cI=load i8,i8*%cH,align 1
%cJ=icmp eq i8%cI,109
br i1%cJ,label%cK,label%e9
cK:
%cL=getelementptr inbounds i8,i8*%bw,i64 2
%cM=load i8,i8*%cL,align 1
%cN=icmp eq i8%cM,97
br i1%cN,label%cO,label%e9
cO:
%cP=getelementptr inbounds i8,i8*%bw,i64 3
%cQ=load i8,i8*%cP,align 1
%cR=icmp eq i8%cQ,108
br i1%cR,label%cS,label%e9
cS:
%cT=getelementptr inbounds i8,i8*%bw,i64 4
%cU=load i8,i8*%cT,align 1
%cV=icmp eq i8%cU,108
br i1%cV,label%cW,label%e9
cW:
%cX=getelementptr inbounds i8,i8*%bw,i64 5
%cY=load i8,i8*%cX,align 1
%cZ=icmp eq i8%cY,105
br i1%cZ,label%c0,label%e9
c0:
%c1=getelementptr inbounds i8,i8*%bw,i64 6
%c2=load i8,i8*%c1,align 1
%c3=icmp eq i8%c2,110
br i1%c3,label%c4,label%e9
c4:
%c5=getelementptr inbounds i8,i8*%bw,i64 7
%c6=load i8,i8*%c5,align 1
%c7=icmp eq i8%c6,116
br i1%c7,label%c8,label%e9
c8:
store i8*null,i8**%b,align 8
br label%fl
c9:
%da=load i8,i8*%bw,align 1
switch i8%da,label%e9[
i8 116,label%dA
i8 118,label%db
]
db:
%dc=getelementptr inbounds i8,i8*%bw,i64 1
%dd=load i8,i8*%dc,align 1
%de=icmp eq i8%dd,97
br i1%de,label%df,label%e9
df:
%dg=getelementptr inbounds i8,i8*%bw,i64 2
%dh=load i8,i8*%dg,align 1
%di=icmp eq i8%dh,114
br i1%di,label%dj,label%e9
dj:
%dk=getelementptr inbounds i8,i8*%bw,i64 3
%dl=load i8,i8*%dk,align 1
%dm=icmp eq i8%dl,99
br i1%dm,label%dn,label%e9
dn:
%do=getelementptr inbounds i8,i8*%bw,i64 4
%dp=load i8,i8*%do,align 1
%dq=icmp eq i8%dp,104
br i1%dq,label%dr,label%e9
dr:
%ds=getelementptr inbounds i8,i8*%bw,i64 5
%dt=load i8,i8*%ds,align 1
%du=icmp eq i8%dt,97
br i1%du,label%dv,label%e9
dv:
%dw=getelementptr inbounds i8,i8*%bw,i64 6
%dx=load i8,i8*%dw,align 1
%dy=icmp eq i8%dx,114
br i1%dy,label%dz,label%e9
dz:
store i8*null,i8**%b,align 8
br label%fl
dA:
%dB=getelementptr inbounds i8,i8*%bw,i64 1
%dC=load i8,i8*%dB,align 1
%dD=icmp eq i8%dC,105
br i1%dD,label%dE,label%e9
dE:
%dF=getelementptr inbounds i8,i8*%bw,i64 2
%dG=load i8,i8*%dF,align 1
%dH=icmp eq i8%dG,110
br i1%dH,label%dI,label%e9
dI:
%dJ=getelementptr inbounds i8,i8*%bw,i64 3
%dK=load i8,i8*%dJ,align 1
%dL=icmp eq i8%dK,121
br i1%dL,label%dM,label%e9
dM:
%dN=getelementptr inbounds i8,i8*%bw,i64 4
%dO=load i8,i8*%dN,align 1
%dP=icmp eq i8%dO,105
br i1%dP,label%dQ,label%e9
dQ:
%dR=getelementptr inbounds i8,i8*%bw,i64 5
%dS=load i8,i8*%dR,align 1
%dT=icmp eq i8%dS,110
br i1%dT,label%dU,label%e9
dU:
%dV=getelementptr inbounds i8,i8*%bw,i64 6
%dW=load i8,i8*%dV,align 1
%dX=icmp eq i8%dW,116
br i1%dX,label%dY,label%e9
dY:
store i8*null,i8**%b,align 8
br label%fl
dZ:
%d0=load i8,i8*%bw,align 1
%d1=icmp eq i8%d0,100
br i1%d1,label%d2,label%e9
d2:
%d3=getelementptr inbounds i8,i8*%bw,i64 1
%d4=load i8,i8*%d3,align 1
%d5=icmp eq i8%d4,111
br i1%d5,label%d6,label%e9
d6:
%d7=getelementptr inbounds i8,i8*%bw,i64 2
%d8=load i8,i8*%d7,align 1
%d9=icmp eq i8%d8,117
br i1%d9,label%ea,label%e9
ea:
%eb=getelementptr inbounds i8,i8*%bw,i64 3
%ec=load i8,i8*%eb,align 1
%ed=icmp eq i8%ec,98
br i1%ed,label%ee,label%e9
ee:
%ef=getelementptr inbounds i8,i8*%bw,i64 4
%eg=load i8,i8*%ef,align 1
%eh=icmp eq i8%eg,108
br i1%eh,label%ei,label%e9
ei:
%ej=getelementptr inbounds i8,i8*%bw,i64 5
%ek=load i8,i8*%ej,align 1
%el=icmp eq i8%ek,101
br i1%el,label%em,label%e9
em:
store i8*null,i8**%b,align 8
br label%fl
en:
%eo=load i8,i8*%bw,align 1
%ep=icmp eq i8%eo,102
br i1%ep,label%eq,label%e9
eq:
%er=getelementptr inbounds i8,i8*%bw,i64 1
%es=load i8,i8*%er,align 1
%et=icmp eq i8%es,108
br i1%et,label%eu,label%e9
eu:
%ev=getelementptr inbounds i8,i8*%bw,i64 2
%ew=load i8,i8*%ev,align 1
%ex=icmp eq i8%ew,111
br i1%ex,label%ey,label%e9
ey:
%ez=getelementptr inbounds i8,i8*%bw,i64 3
%eA=load i8,i8*%ez,align 1
%eB=icmp eq i8%eA,97
br i1%eB,label%eC,label%e9
eC:
%eD=getelementptr inbounds i8,i8*%bw,i64 4
%eE=load i8,i8*%eD,align 1
%eF=icmp eq i8%eE,116
br i1%eF,label%eG,label%e9
eG:
store i8*null,i8**%b,align 8
br label%fl
eH:
%eI=load i8,i8*%bw,align 1
%eJ=icmp eq i8%eI,116
br i1%eJ,label%eK,label%e9
eK:
%eL=getelementptr inbounds i8,i8*%bw,i64 1
%eM=load i8,i8*%eL,align 1
%eN=icmp eq i8%eM,101
br i1%eN,label%eO,label%e9
eO:
%eP=getelementptr inbounds i8,i8*%bw,i64 2
%eQ=load i8,i8*%eP,align 1
%eR=icmp eq i8%eQ,120
br i1%eR,label%eS,label%e9
eS:
%eT=getelementptr inbounds i8,i8*%bw,i64 3
%eU=load i8,i8*%eT,align 1
%eV=icmp eq i8%eU,116
br i1%eV,label%eW,label%e9
eW:
store i8*null,i8**%b,align 8
br label%fl
eX:
%eY=load i8,i8*%bw,align 1
%eZ=icmp eq i8%eY,105
br i1%eZ,label%e0,label%e9
e0:
%e1=getelementptr inbounds i8,i8*%bw,i64 1
%e2=load i8,i8*%e1,align 1
%e3=icmp eq i8%e2,110
br i1%e3,label%e4,label%e9
e4:
%e5=getelementptr inbounds i8,i8*%bw,i64 2
%e6=load i8,i8*%e5,align 1
%e7=icmp eq i8%e6,116
br i1%e7,label%e8,label%e9
e8:
store i8*null,i8**%b,align 8
br label%fl
e9:
%fa=call i8*@sml_alloc(i32 inreg 20)#0
%fb=bitcast i8*%fa to i32*
%fc=getelementptr inbounds i8,i8*%fa,i64 -4
%fd=bitcast i8*%fc to i32*
store i32 1342177296,i32*%fd,align 4
%fe=getelementptr inbounds i8,i8*%fa,i64 4
%ff=bitcast i8*%fe to i32*
store i32 0,i32*%ff,align 1
store i32 9,i32*%fb,align 4
%fg=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fh=getelementptr inbounds i8,i8*%fa,i64 8
%fi=bitcast i8*%fh to i8**
store i8*%fg,i8**%fi,align 8
%fj=getelementptr inbounds i8,i8*%fa,i64 16
%fk=bitcast i8*%fj to i32*
store i32 2,i32*%fk,align 4
br label%fl
fl:
%fm=phi i8*[%fa,%e9],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@J,i64 0,i32 2)to i8*),%ca],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@H,i64 0,i32 2)to i8*),%em],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@G,i64 0,i32 2)to i8*),%eG],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@I,i64 0,i32 2)to i8*),%eW],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@J,i64 0,i32 2)to i8*),%e8],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@I,i64 0,i32 2)to i8*),%cF],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@J,i64 0,i32 2)to i8*),%c8],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@I,i64 0,i32 2)to i8*),%dz],[bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@J,i64 0,i32 2)to i8*),%dY]
store i8*%fm,i8**%b,align 8
%fn=call i8*@sml_alloc(i32 inreg 20)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177296,i32*%fp,align 4
store i8*%fn,i8**%d,align 8
%fq=getelementptr inbounds i8,i8*%fn,i64 4
%fr=bitcast i8*%fq to i32*
store i32 0,i32*%fr,align 1
%fs=bitcast i8*%fn to i32*
store i32%bk,i32*%fs,align 4
%ft=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%fu=getelementptr inbounds i8,i8*%fn,i64 8
%fv=bitcast i8*%fu to i8**
store i8*%ft,i8**%fv,align 8
%fw=getelementptr inbounds i8,i8*%fn,i64 16
%fx=bitcast i8*%fw to i32*
store i32 2,i32*%fx,align 4
%fy=call i8*@sml_alloc(i32 inreg 20)#0
%fz=getelementptr inbounds i8,i8*%fy,i64 -4
%fA=bitcast i8*%fz to i32*
store i32 1342177296,i32*%fA,align 4
%fB=load i8*,i8**%c,align 8
%fC=bitcast i8*%fy to i8**
store i8*%fB,i8**%fC,align 8
%fD=load i8*,i8**%d,align 8
%fE=getelementptr inbounds i8,i8*%fy,i64 8
%fF=bitcast i8*%fE to i8**
store i8*%fD,i8**%fF,align 8
%fG=getelementptr inbounds i8,i8*%fy,i64 16
%fH=bitcast i8*%fG to i32*
store i32 3,i32*%fH,align 4
ret i8*%fy
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE_160(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
m:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%c,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%c,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
%n=bitcast i8*%l to i8**
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%c,align 8
%p=getelementptr inbounds i8,i8*%l,i64 8
%q=bitcast i8*%p to i8**
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=call i8*@sml_alloc(i32 inreg 20)#0
%t=getelementptr inbounds i8,i8*%s,i64 -4
%u=bitcast i8*%t to i32*
store i32 1342177296,i32*%u,align 4
%v=bitcast i8*%s to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[131x i8]}>,<{[4x i8],i32,[131x i8]}>*@C,i64 0,i32 2,i64 0),i8**%v,align 8
%w=load i8*,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%s,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%s,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%s)
store i8*%B,i8**%f,align 8
%C=call i8*@sml_alloc(i32 inreg 20)#0
%D=getelementptr inbounds i8,i8*%C,i64 -4
%E=bitcast i8*%D to i32*
store i32 1342177296,i32*%E,align 4
%F=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%G=bitcast i8*%C to i8**
store i8*%F,i8**%G,align 8
%H=getelementptr inbounds i8,i8*%C,i64 8
%I=bitcast i8*%H to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[31x i8]}>,<{[4x i8],i32,[31x i8]}>*@D,i64 0,i32 2,i64 0),i8**%I,align 8
%J=getelementptr inbounds i8,i8*%C,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%C)
store i8*%L,i8**%f,align 8
%M=call i8*@sml_alloc(i32 inreg 20)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177296,i32*%O,align 4
%P=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=getelementptr inbounds i8,i8*%M,i64 8
%T=bitcast i8*%S to i8**
store i8*%R,i8**%T,align 8
%U=getelementptr inbounds i8,i8*%M,i64 16
%V=bitcast i8*%U to i32*
store i32 3,i32*%V,align 4
%W=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%M)
store i8*%W,i8**%c,align 8
%X=call i8*@sml_alloc(i32 inreg 20)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177296,i32*%Z,align 4
%aa=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ab=bitcast i8*%X to i8**
store i8*%aa,i8**%ab,align 8
%ac=getelementptr inbounds i8,i8*%X,i64 8
%ad=bitcast i8*%ac to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[31x i8]}>,<{[4x i8],i32,[31x i8]}>*@E,i64 0,i32 2,i64 0),i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%X,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
%ag=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%X)
store i8*%ag,i8**%c,align 8
%ah=bitcast i8**%e to i8***
%ai=load i8**,i8***%ah,align 8
store i8*null,i8**%e,align 8
%aj=load i8*,i8**%ai,align 8
%ak=call i8*@sml_alloc(i32 inreg 28)#0
%al=getelementptr inbounds i8,i8*%ak,i64 -4
%am=bitcast i8*%al to i32*
store i32 1342177304,i32*%am,align 4
%an=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ao=bitcast i8*%ak to i8**
store i8*%an,i8**%ao,align 8
%ap=getelementptr inbounds i8,i8*%ak,i64 8
%aq=bitcast i8*%ap 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**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 16
%as=bitcast i8*%ar to i8**
store i8*%aj,i8**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 24
%au=bitcast i8*%at to i32*
store i32 3,i32*%au,align 4
%av=call fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9evalQueryE_140(i8*inreg%ak)
store i8*%av,i8**%c,align 8
%aw=call i8*@sml_alloc(i32 inreg 20)#0
%ax=getelementptr inbounds i8,i8*%aw,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 1342177296,i32*%ay,align 4
%az=load i8*,i8**%d,align 8
%aA=bitcast i8*%aw to i8**
store i8*%az,i8**%aA,align 8
%aB=load i8*,i8**%c,align 8
%aC=getelementptr inbounds i8,i8*%aw,i64 8
%aD=bitcast i8*%aC to i8**
store i8*%aB,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%aw,i64 16
%aF=bitcast i8*%aE to i32*
store i32 3,i32*%aF,align 4
ret i8*%aw
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE(i64 inreg%a)#2 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=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%h,label%g
g:
call void@sml_check(i32 inreg%e)
br label%h
h:
%i=inttoptr i64%a to i8*
%j=call i8*@sml_alloc(i32 inreg 28)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177304,i32*%l,align 4
%m=bitcast i8*%j to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[77x i8]}>,<{[4x i8],i32,[77x i8]}>*@B,i64 0,i32 2,i64 0),i8**%m,align 8
%n=getelementptr inbounds i8,i8*%j,i64 8
%o=bitcast i8*%n to i8**
store 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*),i8**%o,align 8
%p=getelementptr inbounds i8,i8*%j,i64 16
%q=bitcast i8*%p to i8**
store i8*%i,i8**%q,align 8
%r=getelementptr inbounds i8,i8*%j,i64 24
%s=bitcast i8*%r to i32*
store i32 3,i32*%s,align 4
%t=call fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9evalQueryE_140(i8*inreg%j)
store i8*%t,i8**%b,align 8
%u=call fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,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**%c,align 8
%A=call i8*@sml_alloc(i32 inreg 12)#0
%B=getelementptr inbounds i8,i8*%A,i64 -4
%C=bitcast i8*%B to i32*
store i32 1342177288,i32*%C,align 4
store i8*%A,i8**%d,align 8
%D=bitcast i8*%A to i8**
store i8*%i,i8**%D,align 8
%E=getelementptr inbounds i8,i8*%A,i64 8
%F=bitcast i8*%E to i32*
store i32 0,i32*%F,align 4
%G=call i8*@sml_alloc(i32 inreg 28)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177304,i32*%I,align 4
%J=load i8*,i8**%d,align 8
store i8*null,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE_160 to void(...)*),void(...)**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLLN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE_160 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%G,i64 24
%Q=bitcast i8*%P to i32*
store i32 -2147483647,i32*%Q,align 4
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%S=call fastcc i8*%x(i8*inreg%R,i8*inreg%G)
%T=getelementptr inbounds i8,i8*%S,i64 16
%U=bitcast i8*%T to i8*(i8*,i8*)**
%V=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%U,align 8
%W=bitcast i8*%S to i8**
%X=load i8*,i8**%W,align 8
%Y=load i8*,i8**%b,align 8
%Z=tail call fastcc i8*%V(i8*inreg%X,i8*inreg%Y)
ret i8*%Z
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend7connectE(i8*inreg%a)#2 gc"smlsharp"personality i32(...)*@sml_personality{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%b,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%j,label%i
i:
call void@sml_check(i32 inreg%g)
br label%j
j:
%k=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL10mysql__initE(i32 inreg 0)
%l=getelementptr inbounds i8,i8*%k,i64 16
%m=bitcast i8*%l to i8*(i8*,i8*)**
%n=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m,align 8
%o=bitcast i8*%k to i8**
%p=load i8*,i8**%o,align 8
store i8*%p,i8**%c,align 8
%q=call i8*@sml_alloc(i32 inreg 8)#0
%r=getelementptr inbounds i8,i8*%q,i64 -4
%s=bitcast i8*%r to i32*
store i32 8,i32*%s,align 4
%t=bitcast i8*%q to i64*
store i64 0,i64*%t,align 4
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=call fastcc i8*%n(i8*inreg%u,i8*inreg%q)
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
%y=icmp eq i8*%x,null
br i1%y,label%z,label%T
z:
%A=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%A,i8**%b,align 8
%B=call i8*@sml_alloc(i32 inreg 28)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177304,i32*%D,align 4
store i8*%B,i8**%c,align 8
%E=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%B,i64 8
%H=bitcast i8*%G to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@ar,i64 0,i32 2,i64 0),i8**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@as,i64 0,i32 2,i64 0),i8**%J,align 8
%K=getelementptr inbounds i8,i8*%B,i64 24
%L=bitcast i8*%K to i32*
store i32 7,i32*%L,align 4
%M=call i8*@sml_alloc(i32 inreg 60)#0
%N=getelementptr inbounds i8,i8*%M,i64 -4
%O=bitcast i8*%N to i32*
store i32 1342177336,i32*%O,align 4
%P=getelementptr inbounds i8,i8*%M,i64 56
%Q=bitcast i8*%P to i32*
store i32 1,i32*%Q,align 4
%R=load i8*,i8**%c,align 8
%S=bitcast i8*%M to i8**
store i8*%R,i8**%S,align 8
call void@sml_raise(i8*inreg%M)#1
unreachable
T:
%U=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%V=invoke fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair5parseE(i8*inreg%U)
to label%W unwind label%ag
W:
store i8*%V,i8**%f,align 8
%X=call fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair10findExceptE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@S,i64 0,i32 2)to i8*))
%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=load i8*,i8**%f,align 8
%ae=call fastcc i8*%aa(i8*inreg%ac,i8*inreg%ad)
%af=icmp eq i8*%ae,null
br i1%af,label%bp,label%aR
ag:
%ah=landingpad{i8*,i8*}
catch i8*null
%ai=extractvalue{i8*,i8*}%ah,1
%aj=bitcast i8*%ai to i8**
%ak=load i8*,i8**%aj,align 8
store i8*%ak,i8**%b,align 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
%an=load i8*,i8**@_SMLZN25SMLSharp__SQL__KeyValuePair10ParseErrorE,align 8
%ao=icmp eq i8*%am,%an
br i1%ao,label%ap,label%aJ
ap:
%aq=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%aq,i8**%b,align 8
%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
store i8*%ar,i8**%c,align 8
%au=load i8*,i8**%b,align 8
store i8*null,i8**%b,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@T,i64 0,i32 2,i64 0),i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%ar,i64 16
%az=bitcast i8*%ay to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[30x i8]}>,<{[4x i8],i32,[30x i8]}>*@U,i64 0,i32 2,i64 0),i8**%az,align 8
%aA=getelementptr inbounds i8,i8*%ar,i64 24
%aB=bitcast i8*%aA to i32*
store i32 7,i32*%aB,align 4
%aC=call i8*@sml_alloc(i32 inreg 60)#0
%aD=getelementptr inbounds i8,i8*%aC,i64 -4
%aE=bitcast i8*%aD to i32*
store i32 1342177336,i32*%aE,align 4
%aF=getelementptr inbounds i8,i8*%aC,i64 56
%aG=bitcast i8*%aF to i32*
store i32 1,i32*%aG,align 4
%aH=load i8*,i8**%c,align 8
%aI=bitcast i8*%aC to i8**
store i8*%aH,i8**%aI,align 8
call void@sml_raise(i8*inreg%aC)#1
unreachable
aJ:
%aK=call i8*@sml_alloc(i32 inreg 60)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177336,i32*%aM,align 4
%aN=getelementptr inbounds i8,i8*%aK,i64 56
%aO=bitcast i8*%aN to i32*
store i32 1,i32*%aO,align 4
%aP=load i8*,i8**%b,align 8
%aQ=bitcast i8*%aK to i8**
store i8*%aP,i8**%aQ,align 8
call void@sml_raise(i8*inreg%aK)#1
unreachable
aR:
store i8*null,i8**%f,align 8
%aS=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%aS,i8**%b,align 8
%aT=bitcast i8*%ae to i8***
%aU=load i8**,i8***%aT,align 8
%aV=load i8*,i8**%aU,align 8
store i8*%aV,i8**%c,align 8
%aW=call i8*@sml_alloc(i32 inreg 20)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177296,i32*%aY,align 4
%aZ=bitcast i8*%aW to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@W,i64 0,i32 2,i64 0),i8**%aZ,align 8
%a0=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a1=getelementptr inbounds i8,i8*%aW,i64 8
%a2=bitcast i8*%a1 to i8**
store i8*%a0,i8**%a2,align 8
%a3=getelementptr inbounds i8,i8*%aW,i64 16
%a4=bitcast i8*%a3 to i32*
store i32 3,i32*%a4,align 4
%a5=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%aW)
store i8*%a5,i8**%c,align 8
%a6=call i8*@sml_alloc(i32 inreg 28)#0
%a7=getelementptr inbounds i8,i8*%a6,i64 -4
%a8=bitcast i8*%a7 to i32*
store i32 1342177304,i32*%a8,align 4
store i8*%a6,i8**%d,align 8
%a9=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ba=bitcast i8*%a6 to i8**
store i8*%a9,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a6,i64 8
%bc=bitcast i8*%bb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@V,i64 0,i32 2,i64 0),i8**%bc,align 8
%bd=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%be=getelementptr inbounds i8,i8*%a6,i64 16
%bf=bitcast i8*%be to i8**
store i8*%bd,i8**%bf,align 8
%bg=getelementptr inbounds i8,i8*%a6,i64 24
%bh=bitcast i8*%bg to i32*
store i32 7,i32*%bh,align 4
%bi=call i8*@sml_alloc(i32 inreg 60)#0
%bj=getelementptr inbounds i8,i8*%bi,i64 -4
%bk=bitcast i8*%bj to i32*
store i32 1342177336,i32*%bk,align 4
%bl=getelementptr inbounds i8,i8*%bi,i64 56
%bm=bitcast i8*%bl to i32*
store i32 1,i32*%bm,align 4
%bn=load i8*,i8**%d,align 8
%bo=bitcast i8*%bi to i8**
store i8*%bn,i8**%bo,align 8
call void@sml_raise(i8*inreg%bi)#1
unreachable
bp:
%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**%f,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=getelementptr inbounds i8,i8*%bq,i64 8
%bw=bitcast i8*%bv to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@X,i64 0,i32 2,i64 0),i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bq,i64 16
%by=bitcast i8*%bx to i32*
store i32 3,i32*%by,align 4
%bz=call fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg%bq)
%bA=icmp eq i8*%bz,null
br i1%bA,label%bE,label%bB
bB:
%bC=bitcast i8*%bz to i8**
%bD=load i8*,i8**%bC,align 8
br label%bE
bE:
%bF=phi i8*[%bD,%bB],[getelementptr inbounds(<{[4x i8],i32,[10x i8]}>,<{[4x i8],i32,[10x i8]}>*@Y,i64 0,i32 2,i64 0),%bp]
store i8*%bF,i8**%b,align 8
%bG=call i8*@sml_alloc(i32 inreg 20)#0
%bH=getelementptr inbounds i8,i8*%bG,i64 -4
%bI=bitcast i8*%bH to i32*
store i32 1342177296,i32*%bI,align 4
%bJ=load i8*,i8**%f,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=getelementptr inbounds i8,i8*%bG,i64 8
%bM=bitcast i8*%bL to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@Z,i64 0,i32 2,i64 0),i8**%bM,align 8
%bN=getelementptr inbounds i8,i8*%bG,i64 16
%bO=bitcast i8*%bN to i32*
store i32 3,i32*%bO,align 4
%bP=call fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg%bG)
%bQ=icmp eq i8*%bP,null
br i1%bQ,label%bU,label%bR
bR:
%bS=bitcast i8*%bP to i8**
%bT=load i8*,i8**%bS,align 8
br label%bU
bU:
%bV=phi i8*[%bT,%bR],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@ab,i64 0,i32 2,i64 0),%bE]
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**%f,align 8
%b0=bitcast i8*%bW to i8**
store i8*%bZ,i8**%b0,align 8
%b1=getelementptr inbounds i8,i8*%bW,i64 8
%b2=bitcast i8*%b1 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@aa,i64 0,i32 2,i64 0),i8**%b2,align 8
%b3=getelementptr inbounds i8,i8*%bW,i64 16
%b4=bitcast i8*%b3 to i32*
store i32 3,i32*%b4,align 4
%b5=call fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg%bW)
%b6=icmp eq i8*%b5,null
br i1%b6,label%ca,label%b7
b7:
%b8=bitcast i8*%b5 to i8**
%b9=load i8*,i8**%b8,align 8
br label%ca
ca:
%cb=phi i8*[%b9,%b7],[getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@ab,i64 0,i32 2,i64 0),%bU]
store i8*%cb,i8**%d,align 8
%cc=call i8*@sml_alloc(i32 inreg 20)#0
%cd=getelementptr inbounds i8,i8*%cc,i64 -4
%ce=bitcast i8*%cd to i32*
store i32 1342177296,i32*%ce,align 4
%cf=load i8*,i8**%f,align 8
%cg=bitcast i8*%cc to i8**
store i8*%cf,i8**%cg,align 8
%ch=getelementptr inbounds i8,i8*%cc,i64 8
%ci=bitcast i8*%ch to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@ac,i64 0,i32 2,i64 0),i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%cc,i64 16
%ck=bitcast i8*%cj to i32*
store i32 3,i32*%ck,align 4
%cl=call fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg%cc)
%cm=icmp eq i8*%cl,null
br i1%cm,label%cn,label%cH
cn:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%f,align 8
%co=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%co,i8**%b,align 8
%cp=call i8*@sml_alloc(i32 inreg 28)#0
%cq=getelementptr inbounds i8,i8*%cp,i64 -4
%cr=bitcast i8*%cq to i32*
store i32 1342177304,i32*%cr,align 4
store i8*%cp,i8**%c,align 8
%cs=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ct=bitcast i8*%cp to i8**
store i8*%cs,i8**%ct,align 8
%cu=getelementptr inbounds i8,i8*%cp,i64 8
%cv=bitcast i8*%cu to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@ad,i64 0,i32 2,i64 0),i8**%cv,align 8
%cw=getelementptr inbounds i8,i8*%cp,i64 16
%cx=bitcast i8*%cw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[19x i8]}>,<{[4x i8],i32,[19x i8]}>*@ae,i64 0,i32 2,i64 0),i8**%cx,align 8
%cy=getelementptr inbounds i8,i8*%cp,i64 24
%cz=bitcast i8*%cy to i32*
store i32 7,i32*%cz,align 4
%cA=call i8*@sml_alloc(i32 inreg 60)#0
%cB=getelementptr inbounds i8,i8*%cA,i64 -4
%cC=bitcast i8*%cB to i32*
store i32 1342177336,i32*%cC,align 4
%cD=getelementptr inbounds i8,i8*%cA,i64 56
%cE=bitcast i8*%cD to i32*
store i32 1,i32*%cE,align 4
%cF=load i8*,i8**%c,align 8
%cG=bitcast i8*%cA to i8**
store i8*%cF,i8**%cG,align 8
call void@sml_raise(i8*inreg%cA)#1
unreachable
cH:
%cI=bitcast i8*%cl to i8**
%cJ=load i8*,i8**%cI,align 8
store i8*%cJ,i8**%e,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
%cN=load i8*,i8**%f,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*getelementptr inbounds(<{[4x i8],i32,[5x i8]}>,<{[4x i8],i32,[5x i8]}>*@af,i64 0,i32 2,i64 0),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 fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg%cK)
%cU=icmp eq i8*%cT,null
br i1%cU,label%dp,label%cV
cV:
%cW=bitcast i8*%cT to i8**
%cX=load i8*,i8**%cW,align 8
%cY=call fastcc i8*@_SMLFN5Int3210fromStringE(i8*inreg%cX)
%cZ=icmp eq i8*%cY,null
br i1%cZ,label%c0,label%dm
c0:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%c1=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%c1,i8**%b,align 8
%c2=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@ag,i64 0,i32 2)to i8*))
store i8*%c2,i8**%c,align 8
%c3=call i8*@sml_alloc(i32 inreg 28)#0
%c4=getelementptr inbounds i8,i8*%c3,i64 -4
%c5=bitcast i8*%c4 to i32*
store i32 1342177304,i32*%c5,align 4
store i8*%c3,i8**%d,align 8
%c6=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%c7=bitcast i8*%c3 to i8**
store i8*%c6,i8**%c7,align 8
%c8=getelementptr inbounds i8,i8*%c3,i64 8
%c9=bitcast i8*%c8 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@ak,i64 0,i32 2,i64 0),i8**%c9,align 8
%da=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%db=getelementptr inbounds i8,i8*%c3,i64 16
%dc=bitcast i8*%db to i8**
store i8*%da,i8**%dc,align 8
%dd=getelementptr inbounds i8,i8*%c3,i64 24
%de=bitcast i8*%dd to i32*
store i32 7,i32*%de,align 4
%df=call i8*@sml_alloc(i32 inreg 60)#0
%dg=getelementptr inbounds i8,i8*%df,i64 -4
%dh=bitcast i8*%dg to i32*
store i32 1342177336,i32*%dh,align 4
%di=getelementptr inbounds i8,i8*%df,i64 56
%dj=bitcast i8*%di to i32*
store i32 1,i32*%dj,align 4
%dk=load i8*,i8**%d,align 8
%dl=bitcast i8*%df to i8**
store i8*%dk,i8**%dl,align 8
call void@sml_raise(i8*inreg%df)#1
unreachable
dm:
%dn=bitcast i8*%cY to i32*
%do=load i32,i32*%dn,align 4
br label%dp
dp:
%dq=phi i32[%do,%dm],[0,%cH]
%dr=call i8*@sml_alloc(i32 inreg 20)#0
%ds=getelementptr inbounds i8,i8*%dr,i64 -4
%dt=bitcast i8*%ds to i32*
store i32 1342177296,i32*%dt,align 4
%du=load i8*,i8**%f,align 8
%dv=bitcast i8*%dr to i8**
store i8*%du,i8**%dv,align 8
%dw=getelementptr inbounds i8,i8*%dr,i64 8
%dx=bitcast i8*%dw to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@ah,i64 0,i32 2,i64 0),i8**%dx,align 8
%dy=getelementptr inbounds i8,i8*%dr,i64 16
%dz=bitcast i8*%dy to i32*
store i32 3,i32*%dz,align 4
%dA=call fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg%dr)
%dB=icmp eq i8*%dA,null
br i1%dB,label%dW,label%dC
dC:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%dD=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%dD,i8**%b,align 8
%dE=call i8*@sml_alloc(i32 inreg 28)#0
%dF=getelementptr inbounds i8,i8*%dE,i64 -4
%dG=bitcast i8*%dF to i32*
store i32 1342177304,i32*%dG,align 4
store i8*%dE,i8**%c,align 8
%dH=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%dI=bitcast i8*%dE to i8**
store i8*%dH,i8**%dI,align 8
%dJ=getelementptr inbounds i8,i8*%dE,i64 8
%dK=bitcast i8*%dJ to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@ai,i64 0,i32 2,i64 0),i8**%dK,align 8
%dL=getelementptr inbounds i8,i8*%dE,i64 16
%dM=bitcast i8*%dL to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[29x i8]}>,<{[4x i8],i32,[29x i8]}>*@aj,i64 0,i32 2,i64 0),i8**%dM,align 8
%dN=getelementptr inbounds i8,i8*%dE,i64 24
%dO=bitcast i8*%dN to i32*
store i32 7,i32*%dO,align 4
%dP=call i8*@sml_alloc(i32 inreg 60)#0
%dQ=getelementptr inbounds i8,i8*%dP,i64 -4
%dR=bitcast i8*%dQ to i32*
store i32 1342177336,i32*%dR,align 4
%dS=getelementptr inbounds i8,i8*%dP,i64 56
%dT=bitcast i8*%dS to i32*
store i32 1,i32*%dT,align 4
%dU=load i8*,i8**%c,align 8
%dV=bitcast i8*%dP to i8**
store i8*%dU,i8**%dV,align 8
call void@sml_raise(i8*inreg%dP)#1
unreachable
dW:
%dX=call i8*@sml_alloc(i32 inreg 20)#0
%dY=getelementptr inbounds i8,i8*%dX,i64 -4
%dZ=bitcast i8*%dY to i32*
store i32 1342177296,i32*%dZ,align 4
%d0=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%d1=bitcast i8*%dX to i8**
store i8*%d0,i8**%d1,align 8
%d2=getelementptr inbounds i8,i8*%dX,i64 8
%d3=bitcast i8*%d2 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[6x i8]}>,<{[4x i8],i32,[6x i8]}>*@al,i64 0,i32 2,i64 0),i8**%d3,align 8
%d4=getelementptr inbounds i8,i8*%dX,i64 16
%d5=bitcast i8*%d4 to i32*
store i32 3,i32*%d5,align 4
%d6=call fastcc i8*@_SMLFN25SMLSharp__SQL__KeyValuePair4findE(i8*inreg%dX)
%d7=icmp eq i8*%d6,null
br i1%d7,label%eC,label%d8
d8:
%d9=bitcast i8*%d6 to i8**
%ea=load i8*,i8**%d9,align 8
%eb=call fastcc i8*@_SMLFN5Int3210fromStringE(i8*inreg%ea)
%ec=icmp eq i8*%eb,null
br i1%ec,label%ed,label%ez
ed:
store i8*null,i8**%c,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
%ee=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%ee,i8**%b,align 8
%ef=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,i8*,i32}>,<{[4x i8],i32,i8*,i8*,i32}>*@an,i64 0,i32 2)to i8*))
store i8*%ef,i8**%c,align 8
%eg=call i8*@sml_alloc(i32 inreg 28)#0
%eh=getelementptr inbounds i8,i8*%eg,i64 -4
%ei=bitcast i8*%eh to i32*
store i32 1342177304,i32*%ei,align 4
store i8*%eg,i8**%d,align 8
%ej=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%ek=bitcast i8*%eg to i8**
store i8*%ej,i8**%ek,align 8
%el=getelementptr inbounds i8,i8*%eg,i64 8
%em=bitcast i8*%el to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@ak,i64 0,i32 2,i64 0),i8**%em,align 8
%en=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eo=getelementptr inbounds i8,i8*%eg,i64 16
%ep=bitcast i8*%eo to i8**
store i8*%en,i8**%ep,align 8
%eq=getelementptr inbounds i8,i8*%eg,i64 24
%er=bitcast i8*%eq to i32*
store i32 7,i32*%er,align 4
%es=call i8*@sml_alloc(i32 inreg 60)#0
%et=getelementptr inbounds i8,i8*%es,i64 -4
%eu=bitcast i8*%et to i32*
store i32 1342177336,i32*%eu,align 4
%ev=getelementptr inbounds i8,i8*%es,i64 56
%ew=bitcast i8*%ev to i32*
store i32 1,i32*%ew,align 4
%ex=load i8*,i8**%d,align 8
%ey=bitcast i8*%es to i8**
store i8*%ex,i8**%ey,align 8
call void@sml_raise(i8*inreg%es)#1
unreachable
ez:
%eA=bitcast i8*%eb to i32*
%eB=load i32,i32*%eA,align 4
br label%eC
eC:
%eD=phi i32[%eB,%ez],[0,%dW]
%eE=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL18mysql__real__connectE(i32 inreg 0)
%eF=getelementptr inbounds i8,i8*%eE,i64 16
%eG=bitcast i8*%eF to i8*(i8*,i8*)**
%eH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eG,align 8
%eI=bitcast i8*%eE to i8**
%eJ=load i8*,i8**%eI,align 8
store i8*%eJ,i8**%f,align 8
%eK=call i8*@sml_alloc(i32 inreg 68)#0
%eL=getelementptr inbounds i8,i8*%eK,i64 -4
%eM=bitcast i8*%eL to i32*
store i32 1342177344,i32*%eM,align 4
%eN=getelementptr inbounds i8,i8*%eK,i64 44
call void@llvm.memset.p0i8.i32(i8*%eN,i8 0,i32 20,i1 false)
%eO=bitcast i8*%eK to i8**
store i8*%x,i8**%eO,align 8
%eP=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%eQ=getelementptr inbounds i8,i8*%eK,i64 8
%eR=bitcast i8*%eQ to i8**
store i8*%eP,i8**%eR,align 8
%eS=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%eT=getelementptr inbounds i8,i8*%eK,i64 16
%eU=bitcast i8*%eT to i8**
store i8*%eS,i8**%eU,align 8
%eV=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%eW=getelementptr inbounds i8,i8*%eK,i64 24
%eX=bitcast i8*%eW to i8**
store i8*%eV,i8**%eX,align 8
%eY=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%eZ=getelementptr inbounds i8,i8*%eK,i64 32
%e0=bitcast i8*%eZ to i8**
store i8*%eY,i8**%e0,align 8
%e1=getelementptr inbounds i8,i8*%eK,i64 40
%e2=bitcast i8*%e1 to i32*
store i32%dq,i32*%e2,align 4
%e3=getelementptr inbounds i8,i8*%eK,i64 48
%e4=bitcast i8*%e3 to i8**
store i8*null,i8**%e4,align 8
%e5=getelementptr inbounds i8,i8*%eK,i64 56
%e6=bitcast i8*%e5 to i32*
store i32%eD,i32*%e6,align 4
%e7=getelementptr inbounds i8,i8*%eK,i64 64
%e8=bitcast i8*%e7 to i32*
store i32 30,i32*%e8,align 4
%e9=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%fa=call fastcc i8*%eH(i8*inreg%e9,i8*inreg%eK)
%fb=bitcast i8*%fa to i8**
%fc=load i8*,i8**%fb,align 8
%fd=icmp eq i8*%fc,null
br i1%fd,label%fe,label%gz
fe:
%ff=load i8*,i8**@_SMLZN19SMLSharp__SQL__Errors7ConnectE,align 8
store i8*%ff,i8**%b,align 8
%fg=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__errorE(i32 inreg 0)
%fh=getelementptr inbounds i8,i8*%fg,i64 16
%fi=bitcast i8*%fh to i8*(i8*,i8*)**
%fj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fi,align 8
%fk=bitcast i8*%fg to i8**
%fl=load i8*,i8**%fk,align 8
store i8*%fl,i8**%c,align 8
%fm=ptrtoint i8*%x to i64
%fn=call i8*@sml_alloc(i32 inreg 8)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 8,i32*%fp,align 4
%fq=bitcast i8*%fn to i64*
store i64%fm,i64*%fq,align 4
%fr=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fs=call fastcc i8*%fj(i8*inreg%fr,i8*inreg%fn)
%ft=bitcast i8*%fs to i64*
%fu=load i64,i64*%ft,align 4
%fv=call fastcc i8*@_SMLFN16SMLSharp__Runtime7str__newE(i64 inreg%fu)
store i8*%fv,i8**%c,align 8
%fw=call i8*@sml_alloc(i32 inreg 20)#0
%fx=getelementptr inbounds i8,i8*%fw,i64 -4
%fy=bitcast i8*%fx to i32*
store i32 1342177296,i32*%fy,align 4
%fz=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fA=bitcast i8*%fw to i8**
store i8*%fz,i8**%fA,align 8
%fB=getelementptr inbounds i8,i8*%fw,i64 8
%fC=bitcast i8*%fB to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[9x i8]}>,<{[4x i8],i32,[9x i8]}>*@ap,i64 0,i32 2,i64 0),i8**%fC,align 8
%fD=getelementptr inbounds i8,i8*%fw,i64 16
%fE=bitcast i8*%fD to i32*
store i32 3,i32*%fE,align 4
%fF=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%fw)
store i8*%fF,i8**%c,align 8
%fG=call fastcc i8*@_SMLFN18SMLSharp__SQL__MySQL11mysql__errnoE(i32 inreg 0)
%fH=getelementptr inbounds i8,i8*%fG,i64 16
%fI=bitcast i8*%fH to i8*(i8*,i8*)**
%fJ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fI,align 8
%fK=bitcast i8*%fG to i8**
%fL=load i8*,i8**%fK,align 8
store i8*%fL,i8**%d,align 8
%fM=call i8*@sml_alloc(i32 inreg 8)#0
%fN=getelementptr inbounds i8,i8*%fM,i64 -4
%fO=bitcast i8*%fN to i32*
store i32 8,i32*%fO,align 4
%fP=bitcast i8*%fM to i64*
store i64%fm,i64*%fP,align 4
%fQ=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%fR=call fastcc i8*%fJ(i8*inreg%fQ,i8*inreg%fM)
%fS=bitcast i8*%fR to i32*
%fT=load i32,i32*%fS,align 4
%fU=call fastcc i8*@_SMLFN5Int328toStringE(i32 inreg%fT)
store i8*%fU,i8**%d,align 8
%fV=call i8*@sml_alloc(i32 inreg 20)#0
%fW=getelementptr inbounds i8,i8*%fV,i64 -4
%fX=bitcast i8*%fW to i32*
store i32 1342177296,i32*%fX,align 4
%fY=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%fZ=bitcast i8*%fV to i8**
store i8*%fY,i8**%fZ,align 8
%f0=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%f1=getelementptr inbounds i8,i8*%fV,i64 8
%f2=bitcast i8*%f1 to i8**
store i8*%f0,i8**%f2,align 8
%f3=getelementptr inbounds i8,i8*%fV,i64 16
%f4=bitcast i8*%f3 to i32*
store i32 3,i32*%f4,align 4
%f5=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%fV)
store i8*%f5,i8**%c,align 8
%f6=call i8*@sml_alloc(i32 inreg 20)#0
%f7=getelementptr inbounds i8,i8*%f6,i64 -4
%f8=bitcast i8*%f7 to i32*
store i32 1342177296,i32*%f8,align 4
%f9=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ga=bitcast i8*%f6 to i8**
store i8*%f9,i8**%ga,align 8
%gb=getelementptr inbounds i8,i8*%f6,i64 8
%gc=bitcast i8*%gb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@aq,i64 0,i32 2,i64 0),i8**%gc,align 8
%gd=getelementptr inbounds i8,i8*%f6,i64 16
%ge=bitcast i8*%gd to i32*
store i32 3,i32*%ge,align 4
%gf=call fastcc i8*@_SMLFN6String1_ZE(i8*inreg%f6)
store i8*%gf,i8**%c,align 8
%gg=call i8*@sml_alloc(i32 inreg 28)#0
%gh=getelementptr inbounds i8,i8*%gg,i64 -4
%gi=bitcast i8*%gh to i32*
store i32 1342177304,i32*%gi,align 4
store i8*%gg,i8**%d,align 8
%gj=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%gk=bitcast i8*%gg to i8**
store i8*%gj,i8**%gk,align 8
%gl=getelementptr inbounds i8,i8*%gg,i64 8
%gm=bitcast i8*%gl to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[43x i8]}>,<{[4x i8],i32,[43x i8]}>*@ao,i64 0,i32 2,i64 0),i8**%gm,align 8
%gn=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%go=getelementptr inbounds i8,i8*%gg,i64 16
%gp=bitcast i8*%go to i8**
store i8*%gn,i8**%gp,align 8
%gq=getelementptr inbounds i8,i8*%gg,i64 24
%gr=bitcast i8*%gq to i32*
store i32 7,i32*%gr,align 4
%gs=call i8*@sml_alloc(i32 inreg 60)#0
%gt=getelementptr inbounds i8,i8*%gs,i64 -4
%gu=bitcast i8*%gt to i32*
store i32 1342177336,i32*%gu,align 4
%gv=getelementptr inbounds i8,i8*%gs,i64 56
%gw=bitcast i8*%gv to i32*
store i32 1,i32*%gw,align 4
%gx=load i8*,i8**%d,align 8
%gy=bitcast i8*%gs to i8**
store i8*%gx,i8**%gy,align 8
call void@sml_raise(i8*inreg%gs)#1
unreachable
gz:
ret i8*%fc
}
define fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9boolValueE(i8*inreg%a)#5 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
call fastcc void@_SMLFN6TextIO5printE(i8*inreg%i)
%k=load i8*,i8**@_SMLZ4Fail,align 8
store i8*%k,i8**%b,align 8
%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
store i8*%l,i8**%c,align 8
%o=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[42x i8]}>,<{[4x i8],i32,[42x i8]}>*@au,i64 0,i32 2,i64 0),i8**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[30x i8]}>,<{[4x i8],i32,[30x i8]}>*@av,i64 0,i32 2,i64 0),i8**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 7,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 60)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177336,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%w,i64 56
%A=bitcast i8*%z to i32*
store i32 1,i32*%A,align 4
%B=load i8*,i8**%c,align 8
%C=bitcast i8*%w to i8**
store i8*%B,i8**%C,align 8
call void@sml_raise(i8*inreg%w)#1
unreachable
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9execQueryE_214(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9execQueryE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend5fetchE_215(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLFN25SMLSharp__SQL__MySQLBackend5fetchE(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*@_SMLLLN25SMLSharp__SQL__MySQLBackend9closeConnE_216(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
tail call fastcc void@_SMLFN25SMLSharp__SQL__MySQLBackend9closeConnE(i64 inreg%d)
%e=tail call i8*@sml_alloc(i32 inreg 4)#0
%f=bitcast i8*%e to i32*
%g=getelementptr inbounds i8,i8*%e,i64 -4
%h=bitcast i8*%g to i32*
store i32 4,i32*%h,align 4
store i32 0,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend8closeResE_217(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLFN25SMLSharp__SQL__MySQLBackend8closeResE(i8*inreg%b)
%c=tail call i8*@sml_alloc(i32 inreg 4)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 4,i32*%f,align 4
store i32 0,i32*%d,align 4
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend8getValueE_218(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend8getValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend8intValueE_219(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend8intValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend11intInfValueE_220(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend11intInfValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9wordValueE_221(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9wordValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9realValueE_222(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9realValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend11real32ValueE_223(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend11real32ValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend11stringValueE_224(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend11stringValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9charValueE_225(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9charValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend14timestampValueE_226(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend14timestampValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend12numericValueE_227(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend12numericValueE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend14columnTypeNameE_228(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend14columnTypeNameE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL7fetchFn_231(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL7fetchFn_142(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLL7fetchFn_232(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLL7fetchFn_158(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE_233(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=bitcast i8*%b to i64*
%d=load i64,i64*%c,align 4
%e=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend17getDatabaseSchemaE(i64 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend7connectE_234(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend7connectE(i8*inreg%b)
%d=tail call i8*@sml_alloc(i32 inreg 8)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 8,i32*%f,align 4
%g=bitcast i8*%d to i8**
store i8*%c,i8**%g,align 8
ret i8*%d
}
define internal fastcc i8*@_SMLLLN25SMLSharp__SQL__MySQLBackend9boolValueE_235(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN25SMLSharp__SQL__MySQLBackend9boolValueE(i8*inreg%b)
unreachable
}
declare void@llvm.memset.p0i8.i32(i8*,i8,i32,i1)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
attributes#5={noreturn uwtable}
