@sml_check_flag=external local_unnamed_addr global i32
@_SMLZN11NameEvalEnv11emptyTopEnvE=external local_unnamed_addr global i8*
@_SMLZN3Bug3BugE=external local_unnamed_addr global i8*
@_SMLZN3Loc5nolocE=external local_unnamed_addr global i8*
@_SMLZN6TextIO6stdErrE=external local_unnamed_addr global i8*
@_SMLZN7Control10printParseE=external local_unnamed_addr global i8*
@_SMLZN7Control10printTCOptE=external local_unnamed_addr global i8*
@_SMLZN7Control11skipPrinterE=external local_unnamed_addr global i8*
@_SMLZN7Control12dumpLLVMEmitE=external local_unnamed_addr global i8*
@_SMLZN7Control12printANormalE=external local_unnamed_addr global i8*
@_SMLZN7Control12printLLVMGenE=external local_unnamed_addr global i8*
@_SMLZN7Control12printTypeInfE=external local_unnamed_addr global i8*
@_SMLZN7Control13insertCheckGCE=external local_unnamed_addr global i8*
@_SMLZN7Control13printLLVMEmitE=external local_unnamed_addr global i8*
@_SMLZN7Control13printLoadFileE=external local_unnamed_addr global i8*
@_SMLZN7Control13printNameEvalE=external local_unnamed_addr global i8*
@_SMLZN7Control13printWithTypeE=external local_unnamed_addr global i8*
@_SMLZN7Control14printVALRECOptE=external local_unnamed_addr global i8*
@_SMLZN7Control15interactiveModeE=external local_unnamed_addr global i8*
@_SMLZN7Control15printDependencyE=external local_unnamed_addr global i8*
@_SMLZN7Control15printFFICompileE=external local_unnamed_addr global i8*
@_SMLZN7Control15printPolyTyElimE=external local_unnamed_addr global i8*
@_SMLZN7Control15printUncurryOptE=external local_unnamed_addr global i8*
@_SMLZN7Control16doTCOptimizationE=external local_unnamed_addr global i8*
@_SMLZN7Control16printFundeclElabE=external local_unnamed_addr global i8*
@_SMLZN7Control16printReifyTopEnvE=external local_unnamed_addr global i8*
@_SMLZN7Control16printSystemDeclsE=external local_unnamed_addr global i8*
@_SMLZN7Control17printCConvCompileE=external local_unnamed_addr global i8*
@_SMLZN7Control17printMatchCompileE=external local_unnamed_addr global i8*
@_SMLZN7Control18printBitmapCompileE=external local_unnamed_addr global i8*
@_SMLZN7Control18printInsertCheckGCE=external local_unnamed_addr global i8*
@_SMLZN7Control18printRecordCompileE=external local_unnamed_addr global i8*
@_SMLZN7Control19doPolyTyEliminationE=external local_unnamed_addr global i8*
@_SMLZN7Control19printMachineCodeGenE=external local_unnamed_addr global i8*
@_SMLZN7Control20printDatatypeCompileE=external local_unnamed_addr global i8*
@_SMLZN7Control20printStackAllocationE=external local_unnamed_addr global i8*
@_SMLZN7Control21doUncurryOptimizationE=external local_unnamed_addr global i8*
@_SMLZN7Control21printTypedElaborationE=external local_unnamed_addr global i8*
@_SMLZN7Control22printClosureConversionE=external local_unnamed_addr global i8*
@_SMLZN7Control9checkTypeE=external local_unnamed_addr global i8*
@_SMLZN7Control9printElabE=external local_unnamed_addr global i8*
@_SMLZN7Counter16parseTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter18llvmGenTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter19assembleTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter19llvmEmitTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter19loadFileTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter21anormalizeTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter22compilationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter22elaborationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter22reifyTopEnvTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter24insertCheckGCTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter24polyTyEliminationCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter24typeInferenceTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter25ffiCompilationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter25machineCodeGenTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter25nameEvaluationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter26stackAllocationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter27matchCompilationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter27typedElaborationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter28bitmapCompilationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter28closureConversionTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter28recordCompilationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter29fundeclElaborationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter29valRecOptimizationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter30UncurryOptimizationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter30datatypeCompilationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter32TypedCalcOptimizationTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7Counter35callingConventionCompileTimeCounterE=external local_unnamed_addr global i8*
@_SMLZN7TopData14IllegalBuiltinE=external local_unnamed_addr global i8*
@_SMLZN7TopData22UnsupportedPointerSizeE=external local_unnamed_addr global i8*
@_SMLZN9Analyzers17analyzeIdRefForUPE=external local_unnamed_addr global i8*
@_SMLZN9Analyzers19analyzeTstrRefForUPE=external local_unnamed_addr global i8*
@_SMLZN9UserError10UserErrorsE=external local_unnamed_addr global i8*
@a=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN3Top13extendContextE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13extendContextE_443 to void(...)*),i32 -2147483647}>,align 8
@b=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN3Top9printCodeE_156 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printCodeE_450 to void(...)*),i32 -2147483647}>,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*)*@_SMLLN3Top16printParseResultE_164 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printParseResultE_453 to void(...)*),i32 -2147483647}>,align 8
@e=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top10printAbsynE_170 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printAbsynE_456 to void(...)*),i32 -2147483647}>,align 8
@f=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top19printAbsynInterfaceE_176 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printAbsynInterfaceE_459 to void(...)*),i32 -2147483647}>,align 8
@g=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top19printFileDependencyE_182 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printFileDependencyE_462 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*)*@_SMLLN3Top16printPatternCalcE_188 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printPatternCalcE_465 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*)*@_SMLLN3Top25printPatternCalcInterfaceE_194 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top25printPatternCalcInterfaceE_468 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*)*@_SMLLN3Top11printIDCalcE_200 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printIDCalcE_471 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*)*@_SMLLN3Top11printIDCalcE_202 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printIDCalcE_472 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*)*@_SMLLN3Top14printTypedCalcE_208 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14printTypedCalcE_475 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*)*@_SMLLN3Top14printTypedCalcE_210 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14printTypedCalcE_476 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*)*@_SMLLN3Top15printRecordCalcE_216 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15printRecordCalcE_479 to void(...)*),i32 -2147483647}>,align 8
@o=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top15printRecordCalcE_218 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15printRecordCalcE_480 to void(...)*),i32 -2147483647}>,align 8
@p=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top16printTypedLambdaE_224 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printTypedLambdaE_483 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*)*@_SMLLN3Top16printTypedLambdaE_226 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printTypedLambdaE_484 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*)*@_SMLLN3Top16printBitmapCalc2E_232 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printBitmapCalc2E_487 to void(...)*),i32 -2147483647}>,align 8
@s=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top16printBitmapCalc2E_234 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printBitmapCalc2E_488 to void(...)*),i32 -2147483647}>,align 8
@t=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top16printClosureCalcE_240 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printClosureCalcE_491 to void(...)*),i32 -2147483647}>,align 8
@u=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top16printClosureCalcE_242 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printClosureCalcE_492 to void(...)*),i32 -2147483647}>,align 8
@v=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top16printRuntimeCalcE_248 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printRuntimeCalcE_495 to void(...)*),i32 -2147483647}>,align 8
@w=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top16printRuntimeCalcE_250 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printRuntimeCalcE_496 to void(...)*),i32 -2147483647}>,align 8
@x=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top12printANormalE_256 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top12printANormalE_499 to void(...)*),i32 -2147483647}>,align 8
@y=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top12printANormalE_258 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top12printANormalE_500 to void(...)*),i32 -2147483647}>,align 8
@z=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top16printMachineCodeE_264 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printMachineCodeE_503 to void(...)*),i32 -2147483647}>,align 8
@A=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLLN3Top11printLLVMIRE_270 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printLLVMIRE_506 to void(...)*),i32 -2147483647}>,align 8
@B=private unnamed_addr constant<{[4x i8],i32,[3x i8]}><{[4x i8]zeroinitializer,i32 -2147483645,[3x i8]c":\0A\00"}>,align 8
@C=private unnamed_addr constant<{[4x i8],i32,i32,i32,i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 3,i32 0,i32 0}>,align 8
@D=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLL7ptrsize_282 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL7ptrsize_511 to void(...)*),i32 -2147483647}>,align 8
@E=private unnamed_addr constant<{[4x i8],i32,[62x i8]}><{[4x i8]zeroinitializer,i32 -2147483586,[62x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:179.29(5673)\00"}>,align 8
@F=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"initPointerSize\00"}>,align 8
@G=private unnamed_addr constant<{[4x i8],i32,[62x i8]}><{[4x i8]zeroinitializer,i32 -2147483586,[62x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:184.19(5872)\00"}>,align 8
@H=private unnamed_addr constant<{[4x i8],i32,[62x i8]}><{[4x i8]zeroinitializer,i32 -2147483586,[62x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:186.21(5963)\00"}>,align 8
@I=private unnamed_addr constant<{[4x i8],i32,[7x i8]}><{[4x i8]zeroinitializer,i32 -2147483641,[7x i8]c"Parsed\00"}>,align 8
@J=private unnamed_addr constant<{[4x i8],i32,[12x i8]}><{[4x i8]zeroinitializer,i32 -2147483636,[12x i8]c"File Loaded\00"}>,align 8
@K=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"File dependency\00"}>,align 8
@L=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"Elaborated\00"}>,align 8
@M=private unnamed_addr constant<{[4x i8],i32,[10x i8]}><{[4x i8]zeroinitializer,i32 -2147483638,[10x i8]c"Elaborate\00"}>,align 8
@N=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"Name Evaluation\00"}>,align 8
@O=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"Type Inference\00"}>,align 8
@P=private unnamed_addr constant<{[4x i8],i32,[21x i8]}><{[4x i8]zeroinitializer,i32 -2147483627,[21x i8]c"Uncurrying Optimized\00"}>,align 8
@Q=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"PolyTy Eliminated\00"}>,align 8
@R=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"TypedCalc Optimized\00"}>,align 8
@S=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"VAL REC optimize\00"}>,align 8
@T=private unnamed_addr constant<{[4x i8],i32,[20x i8]}><{[4x i8]zeroinitializer,i32 -2147483628,[20x i8]c"Fundecl Elaboration\00"}>,align 8
@U=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"Match Compiled\00"}>,align 8
@V=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"TypedElaborated\00"}>,align 8
@W=private unnamed_addr constant<{[4x i8],i32,[12x i8]}><{[4x i8]zeroinitializer,i32 -2147483636,[12x i8]c"ReifyTopEnv\00"}>,align 8
@X=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"FFI Compiled\00"}>,align 8
@Y=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"Record Compiled\00"}>,align 8
@Z=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"Datatype Compiled\00"}>,align 8
@aa=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"Bitmap Compiled\00"}>,align 8
@ab=private unnamed_addr constant<{[4x i8],i32,[18x i8]}><{[4x i8]zeroinitializer,i32 -2147483630,[18x i8]c"Closure Converted\00"}>,align 8
@ac=private unnamed_addr constant<{[4x i8],i32,[28x i8]}><{[4x i8]zeroinitializer,i32 -2147483620,[28x i8]c"Calling Convention Compiled\00"}>,align 8
@ad=private unnamed_addr constant<{[4x i8],i32,[13x i8]}><{[4x i8]zeroinitializer,i32 -2147483635,[13x i8]c"A-normalized\00"}>,align 8
@ae=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"MachineCodeGen\00"}>,align 8
@af=private unnamed_addr constant<{[4x i8],i32,[16x i8]}><{[4x i8]zeroinitializer,i32 -2147483632,[16x i8]c"Insert Check GC\00"}>,align 8
@ag=private unnamed_addr constant<{[4x i8],i32,[17x i8]}><{[4x i8]zeroinitializer,i32 -2147483631,[17x i8]c"Stack Allocation\00"}>,align 8
@ah=private unnamed_addr constant<{[4x i8],i32,[15x i8]}><{[4x i8]zeroinitializer,i32 -2147483633,[15x i8]c"LLVM generated\00"}>,align 8
@ai=private unnamed_addr constant<{[4x i8],i32,[10x i8]}><{[4x i8]zeroinitializer,i32 -2147483638,[10x i8]c"LLVM emit\00"}>,align 8
@aj=private unnamed_addr constant<{[4x i8],i32,[1x i8]}><{[4x i8]zeroinitializer,i32 -2147483647,[1x i8]zeroinitializer}>,align 8
@_SMLDL403=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@aq,i32 0,i32 0,i32 0),i32 8)}>,align 8
@ak=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:619.27(21030)\00"}>,align 8
@al=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLL13externalDecls_408 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLL13externalDecls_545 to void(...)*),i32 -2147483647}>,align 8
@am=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:695.27(23633)\00"}>,align 8
@an=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:701.27(23799)\00"}>,align 8
@ao=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN3Top7compileE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_547 to void(...)*),i32 -2147483647}>,align 8
@ap=private unnamed_addr constant<{[4x i8],i32,[11x i8]}><{[4x i8]zeroinitializer,i32 -2147483637,[11x i8]c"Top.Return\00"}>,align 8
@aq=private unnamed_addr constant<{[4x i8],i32,i8*,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306352,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@ap,i32 0,i32 0,i32 0),i32 8),i32 0,[4x i8]zeroinitializer,i32 1}>,align 8
@_SMLDL420=private constant<{[4x i8],i32,i8*}><{[4x i8]zeroinitializer,i32 -1879048184,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,i32,[4x i8],i32}>,<{[4x i8],i32,i8*,i32,[4x i8],i32}>*@aq,i32 0,i32 0,i32 0),i32 8)}>,align 8
@ar=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:745.51(25425)\00"}>,align 8
@as=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i32(i8*)*@_SMLLN3Top11loadBuiltinE_427 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11loadBuiltinE_549 to void(...)*),i32 -2147483647}>,align 8
@at=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i32 0,[4x i8]zeroinitializer,i8*null,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@as,i32 0,i32 0,i32 0),i32 8),i32 6}>,align 8
@au=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:757.44(25819)\00"}>,align 8
@av=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(void(i8*)*@_SMLLN3Top11loadBuiltinE_431 to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11loadBuiltinE_550 to void(...)*),i32 -2147483647}>,align 8
@aw=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i8*,i8*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i32 0,[4x i8]zeroinitializer,i8*null,i8*getelementptr inbounds(i8,i8*getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@av,i32 0,i32 0,i32 0),i32 8),i32 6}>,align 8
@ax=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:768.20(26329)\00"}>,align 8
@ay=private unnamed_addr constant<{[4x i8],i32,i32,[4x i8],i32}><{[4x i8]zeroinitializer,i32 -805306360,i32 1,[4x i8]zeroinitializer,i32 0}>,align 8
@az=private unnamed_addr constant<{[4x i8],i32,[63x i8]}><{[4x i8]zeroinitializer,i32 -2147483585,[63x i8]c"src/compiler/compilePhases/toplevel/main/Top.sml:769.52(26402)\00"}>,align 8
@aA=private unnamed_addr constant<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}><{[4x i8]zeroinitializer,i32 -805306344,i8*null,void(...)*bitcast(i8*(i8*)*@_SMLFN3Top11loadBuiltinE to void(...)*),void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11loadBuiltinE_551 to void(...)*),i32 -2147483647}>,align 8
@_SMLZN3Top13extendContextE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@a,i64 0,i32 2)to i8*)
@_SMLZN3Top7compileE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@ao,i64 0,i32 2)to i8*)
@_SMLZN3Top11loadBuiltinE=local_unnamed_addr constant i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@aA,i64 0,i32 2)to i8*)
@_SML_gvarcb5a0a099c103866_Top=private global<{[4x i8],i32,[2x i8*]}><{[4x i8]zeroinitializer,i32 -1342177264,[2x i8*]zeroinitializer}>,align 8
@aB=private unnamed_addr global[2x i64][i64 1,i64 sub(i64 ptrtoint(i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i32 0,i32 2,i32 0)to i64),i64 ptrtoint([2x i64]*@aB to i64))]
@_SML_ftabcb5a0a099c103866_Top=external global i8
@aC=private unnamed_addr global i8 0
@_SMLZN3Top15emptyNewContextE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i32 0,i32 2,i32 0)
@_SMLZN3Top14loadInterfacesE=alias i8*,getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i32 0,i32 2,i32 1)
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_end()local_unnamed_addr#0
declare void@sml_gcroot(i8*,void()*,i8*,i8*)local_unnamed_addr#0
declare i32@sml_obj_equal(i8*inreg,i8*inreg)local_unnamed_addr#0
declare i32@sml_personality(...)#0
declare void@sml_raise(i8*inreg)local_unnamed_addr#1
declare void@sml_save_exn(i8*inreg)local_unnamed_addr#0
declare void@sml_start(i8*inreg)local_unnamed_addr#0
declare void@sml_write(i8*inreg,i8**inreg,i8*inreg)local_unnamed_addr#0
declare i8*@_SMLFN10ANormalize7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10Elaborator12extendFixEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10Elaborator18elaborateInterfaceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10Elaborator9elaborateE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10InferTypes7typeinfE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10RecordCalc13format__rcdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10RecordCalc21formatWithType__rcdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN10TPOptimize8optimizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11BitmapCalc213format__bcdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11BitmapCalc221formatWithType__bcdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11ClosureCalc14format__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11ClosureCalc22formatWithType__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11MachineCode14format__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11ReifyTopEnv10topEnvBindE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RuntimeCalc14format__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11RuntimeCalc22formatWithType__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN11TopEnvUtils13setCurrentEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11TypedLambda13format__tldeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN11TypedLambda21formatWithType__tldeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN12RuntimeTypes4initE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN12RuntimeTypes6uninitE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN12TransFundecl15transIcdeclListE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13InterfaceName22format__file__dependencyE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN13MatchCompiler7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14AbsynFormatter22format__unitparseresultE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14AbsynInterface19format__compile__unitE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14AbsynInterface21format__interface__unitE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14FFICompilation7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14MachineCodeGen7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN14UncurryFundecl8optimizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN15StackAllocation7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN16ANormalTypeCheck5checkE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvPrims16topEnvWithTopEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvUtils12mergeTypeEnvE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16NameEvalEnvUtils15resetInternalIdE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16TypedElaboration9elaborateE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN16VALREC__Optimizer8optimizeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN17BitmapCompilation7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN17PolyTyElimination7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN17RecordCompilation33makeUerlelvelPrimitiveExternDeclsE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN17RecordCompilation7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18ClosureConversion27convertE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18ConcurrencySupport13insertCheckGCE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN18UserLevelPrimitive11initAnalyzeE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN18UserLevelPrimitive14getExternDeclsE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN18UserLevelPrimitive4initE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN19DatatypeCompilation7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN20PatternCalcInterface19format__compile__unitE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN20PatternCalcInterface21format__interface__unitE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN24CallingConventionCompile7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN3Bug11prettyPrintE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i32@_SMLFN4Bool3notE(i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List1_VE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3allE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3appE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List3mapE(i32 inreg,i32 inreg,i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN4List4findE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc13format__icdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6IDCalc21formatWithType__icdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6LLVMIR14format__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Parser13sourceOfInputE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN6Parser5parseE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN6TextIO6outputE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SMLFN6TextIO8flushOutE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7ANormal14format__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7ANormal22formatWithType__programE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN7LLVMGen7compileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8Filename10fromStringE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8LLVMEmit4emitE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8LoadFile18loadInterfaceFilesE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8LoadFile4loadE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8NameEval11evalBuiltinE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8NameEval17nameEvalInterfaceE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN8NameEval8nameEvalE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9CoreUtils12readTextFileE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9CoreUtils2cpE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9LLVMUtils13getDataLayoutE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9LLVMUtils8assembleE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg,i32 inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9TypedCalc13format__tpdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare i8*@_SMLFN9TypedCalc21formatWithType__tpdeclE(i8*inreg)local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindaa180c1799f3810_Bool()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main03d87556ec7f64b2_List()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main3446b7b079949ccf_text_io()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maine29d9c3af819282f_Filename()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main67a5b28ff146c353_Loc()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main44ca35c4c731682b_Symbol()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maineaa0aca8fbe4101a_Bug()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainc88dec21a8800496_RuntimeTypes_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainb4dea6a4db82451c_InterfaceName_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1d614b123e80cc95_IDCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maince08e1440e92cf7f_NameEvalEnv_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main0426d5e63d1bd065_TypedCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind3f59212d4088fd0_ReifyTopEnv()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main801d97fd52094181_TopEnvUtils_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main98b4898d5cf6911e_UserLevelPrimitive()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina8c984cf5ab1458f_Control()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainbdb618e6a5d91472_Counter()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainbda7a2fa42fa5d88_CoreUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main66ab07276687d947_LLVMUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainadeb402e3568875f_UserError_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main07aa5ffdbed10c6f_AbsynInterface_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main39ab574c027f98df_AbsynFormatter()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main209fa0faa3859409_PatternCalcInterface_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main76f5db83044d8678_Parser()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainfa08e3523bacf9b8_LoadFile()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7eea0783017ebda7_Elaborator()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main6e841dd5933389ce_Analyzers()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainb1a2dac541ac747b_NameEvalEnvPrims()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main47134c0540846fa5_NameEval()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainedb0888d9d67c86e_VALREC_Optimizer()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainbe1619182de808de_TransFundecl()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main0172d89714c9483b_TCOptimize()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainf1e067f1b94e5391_InferTypes2()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main8d6fee0b386d4ead_PolyTyElimination()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1096202612e2cdfd_UncurryFundecl_ng()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainfa817d951a5c8db3_TypedLambda_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina8be9ca4834ab45f_RecordCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main4b4653399e179241_MatchCompiler()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maincf11c0e118e6f950_TypedElaboration()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main5230f2640e9ceb6f_FFICompilation()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind5bb1232c454331f_RecordCompilation()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind79dd64f2e886d15_DatatypeCompilation()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maindfdde4e9b434021d_BitmapCalc2_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main9656e6ada9949e40_BitmapCompilation()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1fca679e18d84164_ClosureCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main08b2cfa4e142c0c2_ClosureConversion2()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maind3db6ffecdd5df91_RuntimeCalc_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main4f21771c163b9e68_CallingConventionCompile()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main8c3e52349739dd4e_ANormal_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main969702cd1a659d29_ANormalTypeCheck()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main80611616018ad40e_ANormalize()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main01217e2b1f749726_MachineCode_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main1f3c6c7afd65bd7a_MachineCodeGen()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_maina0689ce3f71c9ef3_ConcurrencySupport()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main745acf4af1dc1c6f_StackAllocation()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main6eeb17e0bc793734_LLVMIR_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainba90dc3783846223_LLVMGen()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main8f22a90b661fcb72_LLVMEmit()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_mainaa1adb07feeee673_TopData_ppg()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_main7f445ef2871607e0_NameEvalEnvUtils()local_unnamed_addr#2 gc"smlsharp"
declare void@_SML_loaddaa180c1799f3810_Bool(i8*)local_unnamed_addr
declare void@_SML_load03d87556ec7f64b2_List(i8*)local_unnamed_addr
declare void@_SML_load3446b7b079949ccf_text_io(i8*)local_unnamed_addr
declare void@_SML_loade29d9c3af819282f_Filename(i8*)local_unnamed_addr
declare void@_SML_load67a5b28ff146c353_Loc(i8*)local_unnamed_addr
declare void@_SML_load44ca35c4c731682b_Symbol(i8*)local_unnamed_addr
declare void@_SML_loadeaa0aca8fbe4101a_Bug(i8*)local_unnamed_addr
declare void@_SML_loadc88dec21a8800496_RuntimeTypes_ppg(i8*)local_unnamed_addr
declare void@_SML_loadb4dea6a4db82451c_InterfaceName_ppg(i8*)local_unnamed_addr
declare void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_loadce08e1440e92cf7f_NameEvalEnv_ppg(i8*)local_unnamed_addr
declare void@_SML_load0426d5e63d1bd065_TypedCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_loadd3f59212d4088fd0_ReifyTopEnv(i8*)local_unnamed_addr
declare void@_SML_load801d97fd52094181_TopEnvUtils_ppg(i8*)local_unnamed_addr
declare void@_SML_load98b4898d5cf6911e_UserLevelPrimitive(i8*)local_unnamed_addr
declare void@_SML_loada8c984cf5ab1458f_Control(i8*)local_unnamed_addr
declare void@_SML_loadbdb618e6a5d91472_Counter(i8*)local_unnamed_addr
declare void@_SML_loadbda7a2fa42fa5d88_CoreUtils(i8*)local_unnamed_addr
declare void@_SML_load66ab07276687d947_LLVMUtils(i8*)local_unnamed_addr
declare void@_SML_loadadeb402e3568875f_UserError_ppg(i8*)local_unnamed_addr
declare void@_SML_load07aa5ffdbed10c6f_AbsynInterface_ppg(i8*)local_unnamed_addr
declare void@_SML_load39ab574c027f98df_AbsynFormatter(i8*)local_unnamed_addr
declare void@_SML_load209fa0faa3859409_PatternCalcInterface_ppg(i8*)local_unnamed_addr
declare void@_SML_load76f5db83044d8678_Parser(i8*)local_unnamed_addr
declare void@_SML_loadfa08e3523bacf9b8_LoadFile(i8*)local_unnamed_addr
declare void@_SML_load7eea0783017ebda7_Elaborator(i8*)local_unnamed_addr
declare void@_SML_load6e841dd5933389ce_Analyzers(i8*)local_unnamed_addr
declare void@_SML_loadb1a2dac541ac747b_NameEvalEnvPrims(i8*)local_unnamed_addr
declare void@_SML_load47134c0540846fa5_NameEval(i8*)local_unnamed_addr
declare void@_SML_loadedb0888d9d67c86e_VALREC_Optimizer(i8*)local_unnamed_addr
declare void@_SML_loadbe1619182de808de_TransFundecl(i8*)local_unnamed_addr
declare void@_SML_load0172d89714c9483b_TCOptimize(i8*)local_unnamed_addr
declare void@_SML_loadf1e067f1b94e5391_InferTypes2(i8*)local_unnamed_addr
declare void@_SML_load8d6fee0b386d4ead_PolyTyElimination(i8*)local_unnamed_addr
declare void@_SML_load1096202612e2cdfd_UncurryFundecl_ng(i8*)local_unnamed_addr
declare void@_SML_loadfa817d951a5c8db3_TypedLambda_ppg(i8*)local_unnamed_addr
declare void@_SML_loada8be9ca4834ab45f_RecordCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_load4b4653399e179241_MatchCompiler(i8*)local_unnamed_addr
declare void@_SML_loadcf11c0e118e6f950_TypedElaboration(i8*)local_unnamed_addr
declare void@_SML_load5230f2640e9ceb6f_FFICompilation(i8*)local_unnamed_addr
declare void@_SML_loadd5bb1232c454331f_RecordCompilation(i8*)local_unnamed_addr
declare void@_SML_loadd79dd64f2e886d15_DatatypeCompilation(i8*)local_unnamed_addr
declare void@_SML_loaddfdde4e9b434021d_BitmapCalc2_ppg(i8*)local_unnamed_addr
declare void@_SML_load9656e6ada9949e40_BitmapCompilation(i8*)local_unnamed_addr
declare void@_SML_load1fca679e18d84164_ClosureCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_load08b2cfa4e142c0c2_ClosureConversion2(i8*)local_unnamed_addr
declare void@_SML_loadd3db6ffecdd5df91_RuntimeCalc_ppg(i8*)local_unnamed_addr
declare void@_SML_load4f21771c163b9e68_CallingConventionCompile(i8*)local_unnamed_addr
declare void@_SML_load8c3e52349739dd4e_ANormal_ppg(i8*)local_unnamed_addr
declare void@_SML_load969702cd1a659d29_ANormalTypeCheck(i8*)local_unnamed_addr
declare void@_SML_load80611616018ad40e_ANormalize(i8*)local_unnamed_addr
declare void@_SML_load01217e2b1f749726_MachineCode_ppg(i8*)local_unnamed_addr
declare void@_SML_load1f3c6c7afd65bd7a_MachineCodeGen(i8*)local_unnamed_addr
declare void@_SML_loada0689ce3f71c9ef3_ConcurrencySupport(i8*)local_unnamed_addr
declare void@_SML_load745acf4af1dc1c6f_StackAllocation(i8*)local_unnamed_addr
declare void@_SML_load6eeb17e0bc793734_LLVMIR_ppg(i8*)local_unnamed_addr
declare void@_SML_loadba90dc3783846223_LLVMGen(i8*)local_unnamed_addr
declare void@_SML_load8f22a90b661fcb72_LLVMEmit(i8*)local_unnamed_addr
declare void@_SML_loadaa1adb07feeee673_TopData_ppg(i8*)local_unnamed_addr
declare void@_SML_load7f445ef2871607e0_NameEvalEnvUtils(i8*)local_unnamed_addr
define private void@_SML_tabbcb5a0a099c103866_Top()#3{
unreachable
}
define void@_SML_loadcb5a0a099c103866_Top(i8*%a)local_unnamed_addr#0{
%b=load i8,i8*@aC,align 1
%c=icmp eq i8%b,0
br i1%c,label%e,label%d
d:
ret void
e:
store i8 1,i8*@aC,align 1
tail call void@_SML_loaddaa180c1799f3810_Bool(i8*%a)#0
tail call void@_SML_load03d87556ec7f64b2_List(i8*%a)#0
tail call void@_SML_load3446b7b079949ccf_text_io(i8*%a)#0
tail call void@_SML_loade29d9c3af819282f_Filename(i8*%a)#0
tail call void@_SML_load67a5b28ff146c353_Loc(i8*%a)#0
tail call void@_SML_load44ca35c4c731682b_Symbol(i8*%a)#0
tail call void@_SML_loadeaa0aca8fbe4101a_Bug(i8*%a)#0
tail call void@_SML_loadc88dec21a8800496_RuntimeTypes_ppg(i8*%a)#0
tail call void@_SML_loadb4dea6a4db82451c_InterfaceName_ppg(i8*%a)#0
tail call void@_SML_load1d614b123e80cc95_IDCalc_ppg(i8*%a)#0
tail call void@_SML_loadce08e1440e92cf7f_NameEvalEnv_ppg(i8*%a)#0
tail call void@_SML_load0426d5e63d1bd065_TypedCalc_ppg(i8*%a)#0
tail call void@_SML_loadd3f59212d4088fd0_ReifyTopEnv(i8*%a)#0
tail call void@_SML_load801d97fd52094181_TopEnvUtils_ppg(i8*%a)#0
tail call void@_SML_load98b4898d5cf6911e_UserLevelPrimitive(i8*%a)#0
tail call void@_SML_loada8c984cf5ab1458f_Control(i8*%a)#0
tail call void@_SML_loadbdb618e6a5d91472_Counter(i8*%a)#0
tail call void@_SML_loadbda7a2fa42fa5d88_CoreUtils(i8*%a)#0
tail call void@_SML_load66ab07276687d947_LLVMUtils(i8*%a)#0
tail call void@_SML_loadadeb402e3568875f_UserError_ppg(i8*%a)#0
tail call void@_SML_load07aa5ffdbed10c6f_AbsynInterface_ppg(i8*%a)#0
tail call void@_SML_load39ab574c027f98df_AbsynFormatter(i8*%a)#0
tail call void@_SML_load209fa0faa3859409_PatternCalcInterface_ppg(i8*%a)#0
tail call void@_SML_load76f5db83044d8678_Parser(i8*%a)#0
tail call void@_SML_loadfa08e3523bacf9b8_LoadFile(i8*%a)#0
tail call void@_SML_load7eea0783017ebda7_Elaborator(i8*%a)#0
tail call void@_SML_load6e841dd5933389ce_Analyzers(i8*%a)#0
tail call void@_SML_loadb1a2dac541ac747b_NameEvalEnvPrims(i8*%a)#0
tail call void@_SML_load47134c0540846fa5_NameEval(i8*%a)#0
tail call void@_SML_loadedb0888d9d67c86e_VALREC_Optimizer(i8*%a)#0
tail call void@_SML_loadbe1619182de808de_TransFundecl(i8*%a)#0
tail call void@_SML_load0172d89714c9483b_TCOptimize(i8*%a)#0
tail call void@_SML_loadf1e067f1b94e5391_InferTypes2(i8*%a)#0
tail call void@_SML_load8d6fee0b386d4ead_PolyTyElimination(i8*%a)#0
tail call void@_SML_load1096202612e2cdfd_UncurryFundecl_ng(i8*%a)#0
tail call void@_SML_loadfa817d951a5c8db3_TypedLambda_ppg(i8*%a)#0
tail call void@_SML_loada8be9ca4834ab45f_RecordCalc_ppg(i8*%a)#0
tail call void@_SML_load4b4653399e179241_MatchCompiler(i8*%a)#0
tail call void@_SML_loadcf11c0e118e6f950_TypedElaboration(i8*%a)#0
tail call void@_SML_load5230f2640e9ceb6f_FFICompilation(i8*%a)#0
tail call void@_SML_loadd5bb1232c454331f_RecordCompilation(i8*%a)#0
tail call void@_SML_loadd79dd64f2e886d15_DatatypeCompilation(i8*%a)#0
tail call void@_SML_loaddfdde4e9b434021d_BitmapCalc2_ppg(i8*%a)#0
tail call void@_SML_load9656e6ada9949e40_BitmapCompilation(i8*%a)#0
tail call void@_SML_load1fca679e18d84164_ClosureCalc_ppg(i8*%a)#0
tail call void@_SML_load08b2cfa4e142c0c2_ClosureConversion2(i8*%a)#0
tail call void@_SML_loadd3db6ffecdd5df91_RuntimeCalc_ppg(i8*%a)#0
tail call void@_SML_load4f21771c163b9e68_CallingConventionCompile(i8*%a)#0
tail call void@_SML_load8c3e52349739dd4e_ANormal_ppg(i8*%a)#0
tail call void@_SML_load969702cd1a659d29_ANormalTypeCheck(i8*%a)#0
tail call void@_SML_load80611616018ad40e_ANormalize(i8*%a)#0
tail call void@_SML_load01217e2b1f749726_MachineCode_ppg(i8*%a)#0
tail call void@_SML_load1f3c6c7afd65bd7a_MachineCodeGen(i8*%a)#0
tail call void@_SML_loada0689ce3f71c9ef3_ConcurrencySupport(i8*%a)#0
tail call void@_SML_load745acf4af1dc1c6f_StackAllocation(i8*%a)#0
tail call void@_SML_load6eeb17e0bc793734_LLVMIR_ppg(i8*%a)#0
tail call void@_SML_loadba90dc3783846223_LLVMGen(i8*%a)#0
tail call void@_SML_load8f22a90b661fcb72_LLVMEmit(i8*%a)#0
tail call void@_SML_loadaa1adb07feeee673_TopData_ppg(i8*%a)#0
tail call void@_SML_load7f445ef2871607e0_NameEvalEnvUtils(i8*%a)#0
tail call void@sml_gcroot(i8*%a,void()*@_SML_tabbcb5a0a099c103866_Top,i8*@_SML_ftabcb5a0a099c103866_Top,i8*bitcast([2x i64]*@aB to i8*))#0
ret void
}
define void@_SML_maincb5a0a099c103866_Top()local_unnamed_addr#2 gc"smlsharp"personality i32(...)*@sml_personality{
%a=alloca[3x i8*],align 8
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=load i8,i8*@aC,align 1
%f=and i8%e,2
%g=icmp eq i8%f,0
br i1%g,label%i,label%h
h:
ret void
i:
store i8 3,i8*@aC,align 1
tail call void@_SML_maindaa180c1799f3810_Bool()#2
tail call void@_SML_main03d87556ec7f64b2_List()#2
tail call void@_SML_main3446b7b079949ccf_text_io()#2
tail call void@_SML_maine29d9c3af819282f_Filename()#2
tail call void@_SML_main67a5b28ff146c353_Loc()#2
tail call void@_SML_main44ca35c4c731682b_Symbol()#2
tail call void@_SML_maineaa0aca8fbe4101a_Bug()#2
tail call void@_SML_mainc88dec21a8800496_RuntimeTypes_ppg()#2
tail call void@_SML_mainb4dea6a4db82451c_InterfaceName_ppg()#2
tail call void@_SML_main1d614b123e80cc95_IDCalc_ppg()#2
tail call void@_SML_maince08e1440e92cf7f_NameEvalEnv_ppg()#2
tail call void@_SML_main0426d5e63d1bd065_TypedCalc_ppg()#2
tail call void@_SML_maind3f59212d4088fd0_ReifyTopEnv()#2
tail call void@_SML_main801d97fd52094181_TopEnvUtils_ppg()#2
tail call void@_SML_main98b4898d5cf6911e_UserLevelPrimitive()#2
tail call void@_SML_maina8c984cf5ab1458f_Control()#2
tail call void@_SML_mainbdb618e6a5d91472_Counter()#2
tail call void@_SML_mainbda7a2fa42fa5d88_CoreUtils()#2
tail call void@_SML_main66ab07276687d947_LLVMUtils()#2
tail call void@_SML_mainadeb402e3568875f_UserError_ppg()#2
tail call void@_SML_main07aa5ffdbed10c6f_AbsynInterface_ppg()#2
tail call void@_SML_main39ab574c027f98df_AbsynFormatter()#2
tail call void@_SML_main209fa0faa3859409_PatternCalcInterface_ppg()#2
tail call void@_SML_main76f5db83044d8678_Parser()#2
tail call void@_SML_mainfa08e3523bacf9b8_LoadFile()#2
tail call void@_SML_main7eea0783017ebda7_Elaborator()#2
tail call void@_SML_main6e841dd5933389ce_Analyzers()#2
tail call void@_SML_mainb1a2dac541ac747b_NameEvalEnvPrims()#2
tail call void@_SML_main47134c0540846fa5_NameEval()#2
tail call void@_SML_mainedb0888d9d67c86e_VALREC_Optimizer()#2
tail call void@_SML_mainbe1619182de808de_TransFundecl()#2
tail call void@_SML_main0172d89714c9483b_TCOptimize()#2
tail call void@_SML_mainf1e067f1b94e5391_InferTypes2()#2
tail call void@_SML_main8d6fee0b386d4ead_PolyTyElimination()#2
tail call void@_SML_main1096202612e2cdfd_UncurryFundecl_ng()#2
tail call void@_SML_mainfa817d951a5c8db3_TypedLambda_ppg()#2
tail call void@_SML_maina8be9ca4834ab45f_RecordCalc_ppg()#2
tail call void@_SML_main4b4653399e179241_MatchCompiler()#2
tail call void@_SML_maincf11c0e118e6f950_TypedElaboration()#2
tail call void@_SML_main5230f2640e9ceb6f_FFICompilation()#2
tail call void@_SML_maind5bb1232c454331f_RecordCompilation()#2
tail call void@_SML_maind79dd64f2e886d15_DatatypeCompilation()#2
tail call void@_SML_maindfdde4e9b434021d_BitmapCalc2_ppg()#2
tail call void@_SML_main9656e6ada9949e40_BitmapCompilation()#2
tail call void@_SML_main1fca679e18d84164_ClosureCalc_ppg()#2
tail call void@_SML_main08b2cfa4e142c0c2_ClosureConversion2()#2
tail call void@_SML_maind3db6ffecdd5df91_RuntimeCalc_ppg()#2
tail call void@_SML_main4f21771c163b9e68_CallingConventionCompile()#2
tail call void@_SML_main8c3e52349739dd4e_ANormal_ppg()#2
tail call void@_SML_main969702cd1a659d29_ANormalTypeCheck()#2
tail call void@_SML_main80611616018ad40e_ANormalize()#2
tail call void@_SML_main01217e2b1f749726_MachineCode_ppg()#2
tail call void@_SML_main1f3c6c7afd65bd7a_MachineCodeGen()#2
tail call void@_SML_maina0689ce3f71c9ef3_ConcurrencySupport()#2
tail call void@_SML_main745acf4af1dc1c6f_StackAllocation()#2
tail call void@_SML_main6eeb17e0bc793734_LLVMIR_ppg()#2
tail call void@_SML_mainba90dc3783846223_LLVMGen()#2
tail call void@_SML_main8f22a90b661fcb72_LLVMEmit()#2
tail call void@_SML_mainaa1adb07feeee673_TopData_ppg()#2
tail call void@_SML_main7f445ef2871607e0_NameEvalEnvUtils()#2
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
%j=bitcast[3x i8*]*%a to i8*
call void@sml_start(i8*inreg%j)#0
%k=load atomic i32,i32*@sml_check_flag unordered,align 4
%l=icmp eq i32%k,0
br i1%l,label%n,label%m
m:
invoke void@sml_check(i32 inreg%k)
to label%n unwind label%am
n:
%o=invoke fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
to label%p unwind label%am
p:
store i8*%o,i8**%c,align 8
%q=load i8*,i8**@_SMLZN11NameEvalEnv11emptyTopEnvE,align 8
store i8*%q,i8**%d,align 8
%r=call i8*@sml_alloc(i32 inreg 20)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177296,i32*%t,align 4
store i8*%r,i8**%b,align 8
%u=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=getelementptr inbounds i8,i8*%r,i64 8
%y=bitcast i8*%x to i8**
store i8*%w,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%r,i64 16
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%B=call i8*@sml_alloc(i32 inreg 12)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177288,i32*%D,align 4
store i8*%B,i8**%c,align 8
%E=load i8*,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 i32*
store i32 1,i32*%H,align 4
%I=call i8*@sml_alloc(i32 inreg 28)#0
%J=getelementptr inbounds i8,i8*%I,i64 -4
%K=bitcast i8*%J to i32*
store i32 1342177304,i32*%K,align 4
%L=load i8*,i8**%c,align 8
%M=bitcast i8*%I to i8**
store i8*%L,i8**%M,align 8
%N=getelementptr inbounds i8,i8*%I,i64 8
%O=bitcast i8*%N to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32,i32,i32)*@_SMLLN3Top14loadInterfacesE_425 to void(...)*),void(...)**%O,align 8
%P=getelementptr inbounds i8,i8*%I,i64 16
%Q=bitcast i8*%P to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*)*@_SMLLN3Top14loadInterfacesE_548 to void(...)*),void(...)**%Q,align 8
%R=getelementptr inbounds i8,i8*%I,i64 24
%S=bitcast i8*%R to i32*
store i32 -2147483647,i32*%S,align 4
%T=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i64 0,i32 2,i64 0),i8*inreg%T)#0
%U=call i8*@sml_alloc(i32 inreg 12)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177288,i32*%W,align 4
store i8*%U,i8**%b,align 8
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i32*
store i32 1,i32*%aa,align 4
%ab=call i8*@sml_alloc(i32 inreg 28)#0
%ac=getelementptr inbounds i8,i8*%ab,i64 -4
%ad=bitcast i8*%ac to i32*
store i32 1342177304,i32*%ad,align 4
%ae=load i8*,i8**%b,align 8
%af=bitcast i8*%ab to i8**
store i8*%ae,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%ab,i64 8
%ah=bitcast i8*%ag to void(...)**
store void(...)*bitcast(i8*(i8*,i32,i32,i32,i32)*@_SMLLN3Top14loadInterfacesE_441 to void(...)*),void(...)**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ab,i64 16
%aj=bitcast i8*%ai to void(...)**
store void(...)*bitcast(i8*(i8*,i8*,i8*,i8*,i8*)*@_SMLLN3Top14loadInterfacesE_552 to void(...)*),void(...)**%aj,align 8
%ak=getelementptr inbounds i8,i8*%ab,i64 24
%al=bitcast i8*%ak to i32*
store i32 -2147483647,i32*%al,align 4
call void@sml_write(i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i64 0,i32 2,i64 0)to i8*),i8**inreg getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i64 0,i32 2,i64 1),i8*inreg%ab)#0
call void@sml_end()#0
ret void
am:
%an=landingpad{i8*,i8*}
cleanup
%ao=extractvalue{i8*,i8*}%an,1
call void@sml_save_exn(i8*inreg%ao)#0
call void@sml_end()#0
resume{i8*,i8*}%an
}
define fastcc i8*@_SMLFN3Top13extendContextE(i8*inreg%a)#2 gc"smlsharp"{
n:
%b=alloca i8*,align 8
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%b,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%b,align 8
br label%l
l:
%m=phi i8*[%k,%j],[%a,%n]
%o=bitcast i8*%m to i8**
%p=bitcast i8*%m to i8***
%q=load i8**,i8***%p,align 8
%r=load i8*,i8**%q,align 8
store i8*%r,i8**%d,align 8
%s=load i8*,i8**%o,align 8
%t=getelementptr inbounds i8,i8*%s,i64 8
%u=bitcast i8*%t to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%c,align 8
%w=load i8*,i8**%o,align 8
%x=getelementptr inbounds i8,i8*%w,i64 16
%y=bitcast i8*%x to i8**
%z=load i8*,i8**%y,align 8
store i8*%z,i8**%b,align 8
%A=load i8*,i8**%o,align 8
%B=getelementptr inbounds i8,i8*%A,i64 24
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
store i8*%D,i8**%e,align 8
%E=getelementptr inbounds i8,i8*%m,i64 8
%F=bitcast i8*%E to i8***
%G=load i8**,i8***%F,align 8
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%f,align 8
%I=getelementptr inbounds i8*,i8**%G,i64 1
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%g,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
%N=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%Q=getelementptr inbounds i8,i8*%K,i64 8
%R=bitcast i8*%Q to i8**
store i8*%P,i8**%R,align 8
%S=getelementptr inbounds i8,i8*%K,i64 16
%T=bitcast i8*%S to i32*
store i32 3,i32*%T,align 4
%U=call fastcc i8*@_SMLFN16NameEvalEnvPrims16topEnvWithTopEnvE(i8*inreg%K)
store i8*%U,i8**%b,align 8
%V=call i8*@sml_alloc(i32 inreg 20)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177296,i32*%X,align 4
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%V,i64 16
%ae=bitcast i8*%ad to i32*
store i32 3,i32*%ae,align 4
%af=call fastcc i8*@_SMLFN10Elaborator12extendFixEnvE(i8*inreg%V)
store i8*%af,i8**%c,align 8
%ag=call i8*@sml_alloc(i32 inreg 36)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177312,i32*%ai,align 4
%aj=load i8*,i8**%d,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%c,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=load i8*,i8**%b,align 8
%ap=getelementptr inbounds i8,i8*%ag,i64 16
%aq=bitcast i8*%ap to i8**
store i8*%ao,i8**%aq,align 8
%ar=load i8*,i8**%e,align 8
%as=getelementptr inbounds i8,i8*%ag,i64 24
%at=bitcast i8*%as to i8**
store i8*%ar,i8**%at,align 8
%au=getelementptr inbounds i8,i8*%ag,i64 32
%av=bitcast i8*%au to i32*
store i32 15,i32*%av,align 4
ret i8*%ag
}
define internal fastcc void@_SMLLN3Top10printLinesE_146(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%c to i8***
%k=load i8**,i8***%j,align 8
%l=load i8*,i8**%d,align 8
br label%m
m:
%n=phi i8*[%l,%i],[%b,%g]
%o=phi i8**[%k,%i],[%h,%g]
%p=load i8*,i8**%o,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8**%o to i8***
%u=load i8**,i8***%t,align 8
%v=load i8*,i8**%u,align 8
store i8*null,i8**%d,align 8
%w=call fastcc i8*%s(i8*inreg%v,i8*inreg%n)
store i8*%w,i8**%c,align 8
%x=call i32@sml_obj_equal(i8*inreg%w,i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@aj,i64 0,i32 2,i64 0))#0
%y=icmp eq i32%x,0
br i1%y,label%z,label%V
z:
%A=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%A,i8**%d,align 8
%B=call i8*@sml_alloc(i32 inreg 20)#0
%C=getelementptr inbounds i8,i8*%B,i64 -4
%D=bitcast i8*%C to i32*
store i32 1342177296,i32*%D,align 4
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=bitcast i8*%B to i8**
store i8*%E,i8**%F,align 8
%G=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H=getelementptr inbounds i8,i8*%B,i64 8
%I=bitcast i8*%H to i8**
store i8*%G,i8**%I,align 8
%J=getelementptr inbounds i8,i8*%B,i64 16
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%B)
%L=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%L,i8**%c,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**%c,align 8
%Q=bitcast i8*%M to i8**
store i8*%P,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%M,i64 8
%S=bitcast i8*%R to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@c,i64 0,i32 2,i64 0),i8**%S,align 8
%T=getelementptr inbounds i8,i8*%M,i64 16
%U=bitcast i8*%T to i32*
store i32 3,i32*%U,align 4
tail call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%M)
ret void
V:
ret void
}
define internal fastcc void@_SMLLN3Top10printLinesE_147(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%a,i8**%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%i,label%l
i:
%j=bitcast i8*%a to i8**
%k=bitcast i8**%e to i8***
br label%o
l:
call void@sml_check(i32 inreg%g)
%m=bitcast i8**%e to i8***
%n=load i8**,i8***%m,align 8
br label%o
o:
%p=phi i8***[%k,%i],[%m,%l]
%q=phi i8**[%j,%i],[%n,%l]
%r=load i8*,i8**%q,align 8
%s=call i32@sml_obj_equal(i8*inreg%r,i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@aj,i64 0,i32 2,i64 0))#0
%t=icmp eq i32%s,0
br i1%t,label%u,label%S
u:
%v=load i8**,i8***%p,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%d,align 8
%x=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%x,i8**%f,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%y)
%I=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%I,i8**%d,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
%M=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@B,i64 0,i32 2,i64 0),i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%J)
br label%S
S:
%T=call fastcc i8*@_SMLFN4List3appE(i32 inreg 1,i32 inreg 8)
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%f,align 8
%Z=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aa=getelementptr inbounds i8,i8*%Z,i64 8
%ab=bitcast i8*%aa to i8**
%ac=load i8*,i8**%ab,align 8
store i8*%ac,i8**%d,align 8
%ad=call i8*@sml_alloc(i32 inreg 12)#0
%ae=getelementptr inbounds i8,i8*%ad,i64 -4
%af=bitcast i8*%ae to i32*
store i32 1342177288,i32*%af,align 4
store i8*%ad,i8**%e,align 8
%ag=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ah=bitcast i8*%ad to i8**
store i8*%ag,i8**%ah,align 8
%ai=getelementptr inbounds i8,i8*%ad,i64 8
%aj=bitcast i8*%ai to i32*
store i32 1,i32*%aj,align 4
%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**%e,align 8
store i8*null,i8**%e,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 void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top10printLinesE_146 to void(...)*),void(...)**%aq,align 8
%ar=getelementptr inbounds i8,i8*%ak,i64 16
%as=bitcast i8*%ar to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printLinesE_444 to void(...)*),void(...)**%as,align 8
%at=getelementptr inbounds i8,i8*%ak,i64 24
%au=bitcast i8*%at to i32*
store i32 -2147483647,i32*%au,align 4
%av=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aw=call fastcc i8*%W(i8*inreg%av,i8*inreg%ak)
%ax=getelementptr inbounds i8,i8*%aw,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=call fastcc i8*%az(i8*inreg%aB,i8*inreg%aC)
%aE=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
tail call fastcc void@_SMLFN6TextIO8flushOutE(i8*inreg%aE)
ret void
}
define internal fastcc i8*@_SMLLN3Top10printLinesE_148(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top10printLinesE_147 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printLinesE_445 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i32@_SMLLN3Top9printCodeE_156(i8*inreg%a)#4 gc"smlsharp"{
%b=bitcast i8*%a to i32*
%c=load i32,i32*%b,align 4
ret i32%c
}
define internal fastcc void@_SMLLN3Top9printCodeE_159(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%k,label%j
j:
call void@sml_check(i32 inreg%h)
br label%k
k:
%l=call fastcc i8*@_SMLFN4List3allE(i32 inreg 1,i32 inreg 8)
%m=getelementptr inbounds i8,i8*%l,i64 16
%n=bitcast i8*%m to i8*(i8*,i8*)**
%o=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n,align 8
%p=bitcast i8*%l to i8**
%q=load i8*,i8**%p,align 8
%r=call fastcc i8*%o(i8*inreg%q,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@b,i64 0,i32 2)to i8*))
%s=getelementptr inbounds i8,i8*%r,i64 16
%t=bitcast i8*%s to i8*(i8*,i8*)**
%u=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%t,align 8
%v=bitcast i8*%r to i8**
%w=load i8*,i8**%v,align 8
%x=bitcast i8**%f to i8***
%y=load i8**,i8***%x,align 8
%z=load i8*,i8**%y,align 8
%A=call fastcc i8*%u(i8*inreg%w,i8*inreg%z)
%B=bitcast i8*%A to i32*
%C=load i32,i32*%B,align 4
%D=icmp eq i32%C,0
br i1%D,label%az,label%E
E:
%F=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%F,i8**%g,align 8
%G=call i8*@sml_alloc(i32 inreg 20)#0
%H=getelementptr inbounds i8,i8*%G,i64 -4
%I=bitcast i8*%H to i32*
store i32 1342177296,i32*%I,align 4
%J=load i8*,i8**%g,align 8
store i8*null,i8**%g,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 i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[2x i8]}>,<{[4x i8],i32,[2x i8]}>*@c,i64 0,i32 2,i64 0),i8**%M,align 8
%N=getelementptr inbounds i8,i8*%G,i64 16
%O=bitcast i8*%N to i32*
store i32 3,i32*%O,align 4
call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%G)
%P=load i8*,i8**%f,align 8
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
%T=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%T)
%U=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%U)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%S,i8**%c,align 8
%V=call i8*@sml_alloc(i32 inreg 12)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177288,i32*%X,align 4
store i8*%V,i8**%d,align 8
%Y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=getelementptr inbounds i8,i8*%V,i64 8
%ab=bitcast i8*%aa to i32*
store i32 1,i32*%ab,align 4
%ac=call i8*@sml_alloc(i32 inreg 28)#0
%ad=getelementptr inbounds i8,i8*%ac,i64 -4
%ae=bitcast i8*%ad to i32*
store i32 1342177304,i32*%ae,align 4
%af=load i8*,i8**%d,align 8
%ag=bitcast i8*%ac to i8**
store i8*%af,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%ac,i64 8
%ai=bitcast i8*%ah to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printLinesE_148 to void(...)*),void(...)**%ai,align 8
%aj=getelementptr inbounds i8,i8*%ac,i64 16
%ak=bitcast i8*%aj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printLinesE_148 to void(...)*),void(...)**%ak,align 8
%al=getelementptr inbounds i8,i8*%ac,i64 24
%am=bitcast i8*%al to i32*
store i32 -2147483647,i32*%am,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%T)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%U)
%an=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ao=getelementptr inbounds i8,i8*%an,i64 8
%ap=bitcast i8*%ao to i8**
%aq=load i8*,i8**%ap,align 8
%ar=call fastcc i8*@_SMLLN3Top10printLinesE_148(i8*inreg%af,i8*inreg%aq)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ay=call fastcc i8*%au(i8*inreg%aw,i8*inreg%ax)
ret void
az:
ret void
}
define internal fastcc i8*@_SMLLN3Top9printCodeE_160(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,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**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
%B=load i8*,i8**%f,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top9printCodeE_159 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printCodeE_451 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLLN3Top9printCodeE_161(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printCodeE_160 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printCodeE_160 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printCodeE_161 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printCodeE_161 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top16printParseResultE_164(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*@_SMLFN14AbsynFormatter22format__unitparseresultE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top16printParseResultE_166(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%B(i8*inreg%D,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@d,i64 0,i32 2)to i8*))
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%H(i8*inreg%J,i8*inreg%N)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*null,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=call fastcc i8*%R(i8*inreg%ad,i8*inreg%U)
ret void
}
define internal fastcc i8*@_SMLLN3Top16printParseResultE_167(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top16printParseResultE_166 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printParseResultE_454 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top10printAbsynE_170(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*@_SMLFN14AbsynInterface19format__compile__unitE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top10printAbsynE_172(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%B(i8*inreg%D,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@e,i64 0,i32 2)to i8*))
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%H(i8*inreg%J,i8*inreg%N)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*null,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=call fastcc i8*%R(i8*inreg%ad,i8*inreg%U)
ret void
}
define internal fastcc i8*@_SMLLN3Top10printAbsynE_173(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top10printAbsynE_172 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printAbsynE_457 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top19printAbsynInterfaceE_176(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*@_SMLFN14AbsynInterface21format__interface__unitE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top19printAbsynInterfaceE_178(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*%r(i8*inreg%t,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@f,i64 0,i32 2)to i8*))
%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
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%x(i8*inreg%z,i8*inreg%D)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*null,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%U=call fastcc i8*%H(i8*inreg%T,i8*inreg%K)
ret void
}
define internal fastcc i8*@_SMLLN3Top19printAbsynInterfaceE_179(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top19printAbsynInterfaceE_178 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printAbsynInterfaceE_460 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top19printFileDependencyE_182(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*@_SMLFN13InterfaceName22format__file__dependencyE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top19printFileDependencyE_184(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*%r(i8*inreg%t,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@g,i64 0,i32 2)to i8*))
%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
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%x(i8*inreg%z,i8*inreg%D)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*null,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%U=call fastcc i8*%H(i8*inreg%T,i8*inreg%K)
ret void
}
define internal fastcc i8*@_SMLLN3Top19printFileDependencyE_185(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top19printFileDependencyE_184 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printFileDependencyE_463 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top19printFileDependencyE_186(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printFileDependencyE_185 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printFileDependencyE_185 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top16printPatternCalcE_188(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*@_SMLFN20PatternCalcInterface19format__compile__unitE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top16printPatternCalcE_190(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%B(i8*inreg%D,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@h,i64 0,i32 2)to i8*))
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%H(i8*inreg%J,i8*inreg%N)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*null,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=call fastcc i8*%R(i8*inreg%ad,i8*inreg%U)
ret void
}
define internal fastcc i8*@_SMLLN3Top16printPatternCalcE_191(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top16printPatternCalcE_190 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printPatternCalcE_466 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top25printPatternCalcInterfaceE_194(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*@_SMLFN20PatternCalcInterface21format__interface__unitE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top25printPatternCalcInterfaceE_196(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=call fastcc i8*%r(i8*inreg%t,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@i,i64 0,i32 2)to i8*))
%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
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=getelementptr inbounds i8,i8*%A,i64 8
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%x(i8*inreg%z,i8*inreg%D)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
store i8*%J,i8**%d,align 8
%K=call i8*@sml_alloc(i32 inreg 20)#0
%L=getelementptr inbounds i8,i8*%K,i64 -4
%M=bitcast i8*%L to i32*
store i32 1342177296,i32*%M,align 4
%N=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%O=bitcast i8*%K to i8**
store i8*%N,i8**%O,align 8
%P=getelementptr inbounds i8,i8*%K,i64 8
%Q=bitcast i8*%P to i8**
store i8*null,i8**%Q,align 8
%R=getelementptr inbounds i8,i8*%K,i64 16
%S=bitcast i8*%R to i32*
store i32 3,i32*%S,align 4
%T=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%U=call fastcc i8*%H(i8*inreg%T,i8*inreg%K)
ret void
}
define internal fastcc i8*@_SMLLN3Top25printPatternCalcInterfaceE_197(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top25printPatternCalcInterfaceE_196 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top25printPatternCalcInterfaceE_469 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top11printIDCalcE_200(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*@_SMLFN6IDCalc13format__icdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top11printIDCalcE_202(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*@_SMLFN6IDCalc21formatWithType__icdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top11printIDCalcE_204(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,0
%x=select i1%w,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*),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*)
%y=call fastcc i8*%r(i8*inreg%t,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
ret void
}
define internal fastcc i8*@_SMLLN3Top11printIDCalcE_205(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top11printIDCalcE_204 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printIDCalcE_473 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top11printIDCalcE_206(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printIDCalcE_205 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printIDCalcE_205 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top14printTypedCalcE_208(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*@_SMLFN9TypedCalc13format__tpdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top14printTypedCalcE_210(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*@_SMLFN9TypedCalc21formatWithType__tpdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top14printTypedCalcE_212(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,0
%x=select i1%w,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*),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*)
%y=call fastcc i8*%r(i8*inreg%t,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
ret void
}
define internal fastcc i8*@_SMLLN3Top14printTypedCalcE_213(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top14printTypedCalcE_212 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14printTypedCalcE_477 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14printTypedCalcE_213 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14printTypedCalcE_213 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top15printRecordCalcE_216(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*@_SMLFN10RecordCalc13format__rcdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top15printRecordCalcE_218(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*@_SMLFN10RecordCalc21formatWithType__rcdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top15printRecordCalcE_220(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,0
%x=select i1%w,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*),i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@o,i64 0,i32 2)to i8*)
%y=call fastcc i8*%r(i8*inreg%t,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
ret void
}
define internal fastcc i8*@_SMLLN3Top15printRecordCalcE_221(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top15printRecordCalcE_220 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15printRecordCalcE_481 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top16printTypedLambdaE_224(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*@_SMLFN11TypedLambda13format__tldeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top16printTypedLambdaE_226(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*@_SMLFN11TypedLambda21formatWithType__tldeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top16printTypedLambdaE_228(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,0
%x=select i1%w,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*),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*)
%y=call fastcc i8*%r(i8*inreg%t,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%P=call fastcc i8*%L(i8*inreg%N,i8*inreg%O)
ret void
}
define internal fastcc i8*@_SMLLN3Top16printTypedLambdaE_229(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top16printTypedLambdaE_228 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printTypedLambdaE_485 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top16printBitmapCalc2E_232(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*@_SMLFN11BitmapCalc213format__bcdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top16printBitmapCalc2E_234(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*@_SMLFN11BitmapCalc221formatWithType__bcdeclE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top16printBitmapCalc2E_236(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%F=load i32,i32*%E,align 4
%G=icmp eq i32%F,0
%H=select i1%G,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*),i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@s,i64 0,i32 2)to i8*)
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*%L(i8*inreg%N,i8*inreg%R)
%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**%c,align 8
store i8*null,i8**%c,align 8
%Z=call fastcc i8*%V(i8*inreg%X,i8*inreg%Y)
ret void
}
define internal fastcc i8*@_SMLLN3Top16printBitmapCalc2E_237(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top16printBitmapCalc2E_236 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printBitmapCalc2E_489 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top16printClosureCalcE_240(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*@_SMLFN11ClosureCalc14format__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top16printClosureCalcE_242(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*@_SMLFN11ClosureCalc22formatWithType__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top16printClosureCalcE_244(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%l
i:
call void@sml_check(i32 inreg%e)
%j=bitcast i8**%d to i8***
%k=load i8**,i8***%j,align 8
br label%l
l:
%m=phi i8**[%k,%i],[%h,%g]
%n=load i8*,i8**%m,align 8
%o=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%n)
%p=getelementptr inbounds i8,i8*%o,i64 16
%q=bitcast i8*%p to i8*(i8*,i8*)**
%r=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%q,align 8
%s=bitcast i8*%o to i8**
%t=load i8*,i8**%s,align 8
%u=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%v=load i32,i32*%u,align 4
%w=icmp eq i32%v,0
%x=select i1%w,i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@t,i64 0,i32 2)to i8*),i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@u,i64 0,i32 2)to i8*)
%y=call fastcc i8*%r(i8*inreg%t,i8*inreg%x)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%F=getelementptr inbounds i8,i8*%E,i64 8
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
store i8*%N,i8**%d,align 8
%O=call i8*@sml_alloc(i32 inreg 20)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177296,i32*%Q,align 4
%R=load i8*,i8**%c,align 8
store i8*null,i8**%c,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*null,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=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Y=call fastcc i8*%L(i8*inreg%X,i8*inreg%O)
ret void
}
define internal fastcc i8*@_SMLLN3Top16printClosureCalcE_245(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top16printClosureCalcE_244 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printClosureCalcE_493 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top16printRuntimeCalcE_248(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*@_SMLFN11RuntimeCalc14format__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top16printRuntimeCalcE_250(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*@_SMLFN11RuntimeCalc22formatWithType__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top16printRuntimeCalcE_252(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%F=load i32,i32*%E,align 4
%G=icmp eq i32%F,0
%H=select i1%G,i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@v,i64 0,i32 2)to i8*),i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@w,i64 0,i32 2)to i8*)
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*%L(i8*inreg%N,i8*inreg%R)
%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
store i8*%X,i8**%d,align 8
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i8**
store i8*null,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=call fastcc i8*%V(i8*inreg%ah,i8*inreg%Y)
ret void
}
define internal fastcc i8*@_SMLLN3Top16printRuntimeCalcE_253(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top16printRuntimeCalcE_252 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printRuntimeCalcE_497 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top12printANormalE_256(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*@_SMLFN7ANormal14format__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top12printANormalE_258(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*@_SMLFN7ANormal22formatWithType__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top12printANormalE_260(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=load i32*,i32**bitcast(i8**@_SMLZN7Control13printWithTypeE to i32**),align 8
%F=load i32,i32*%E,align 4
%G=icmp eq i32%F,0
%H=select i1%G,i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@x,i64 0,i32 2)to i8*),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*)
%I=call fastcc i8*%B(i8*inreg%D,i8*inreg%H)
%J=getelementptr inbounds i8,i8*%I,i64 16
%K=bitcast i8*%J to i8*(i8*,i8*)**
%L=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%K,align 8
%M=bitcast i8*%I to i8**
%N=load i8*,i8**%M,align 8
%O=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%P=getelementptr inbounds i8,i8*%O,i64 8
%Q=bitcast i8*%P to i8**
%R=load i8*,i8**%Q,align 8
%S=call fastcc i8*%L(i8*inreg%N,i8*inreg%R)
%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
store i8*%X,i8**%d,align 8
%Y=call i8*@sml_alloc(i32 inreg 20)#0
%Z=getelementptr inbounds i8,i8*%Y,i64 -4
%aa=bitcast i8*%Z to i32*
store i32 1342177296,i32*%aa,align 4
%ab=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ac=bitcast i8*%Y to i8**
store i8*%ab,i8**%ac,align 8
%ad=getelementptr inbounds i8,i8*%Y,i64 8
%ae=bitcast i8*%ad to i8**
store i8*null,i8**%ae,align 8
%af=getelementptr inbounds i8,i8*%Y,i64 16
%ag=bitcast i8*%af to i32*
store i32 3,i32*%ag,align 4
%ah=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ai=call fastcc i8*%V(i8*inreg%ah,i8*inreg%Y)
ret void
}
define internal fastcc i8*@_SMLLN3Top12printANormalE_261(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top12printANormalE_260 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top12printANormalE_501 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top16printMachineCodeE_264(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*@_SMLFN11MachineCode14format__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top16printMachineCodeE_266(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%B(i8*inreg%D,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@z,i64 0,i32 2)to i8*))
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%H(i8*inreg%J,i8*inreg%N)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*null,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=call fastcc i8*%R(i8*inreg%ad,i8*inreg%U)
ret void
}
define internal fastcc i8*@_SMLLN3Top16printMachineCodeE_267(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top16printMachineCodeE_266 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printMachineCodeE_504 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top16printMachineCodeE_268(i8*inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printMachineCodeE_267 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printMachineCodeE_267 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top11printLLVMIRE_270(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*@_SMLFN6LLVMIR14format__programE(i8*inreg%h)
%k=tail call fastcc i8*@_SMLFN3Bug11prettyPrintE(i8*inreg%j)
ret i8*%k
}
define internal fastcc void@_SMLLN3Top11printLLVMIRE_272(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i8**
br label%m
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%j],[%i,%h]
%o=load i8*,i8**%n,align 8
store i8*%o,i8**%e,align 8
%p=call i8*@sml_alloc(i32 inreg 20)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177296,i32*%r,align 4
%s=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to i8**
store i8*null,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to i32*
store i32 3,i32*%x,align 4
%y=call fastcc i8*@_SMLLN3Top9printCodeE_162(i8*inreg%p)
%z=getelementptr inbounds i8,i8*%y,i64 16
%A=bitcast i8*%z to i8*(i8*,i8*)**
%B=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%A,align 8
%C=bitcast i8*%y to i8**
%D=load i8*,i8**%C,align 8
%E=call fastcc i8*%B(i8*inreg%D,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@A,i64 0,i32 2)to i8*))
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=call fastcc i8*%H(i8*inreg%J,i8*inreg%N)
%P=getelementptr inbounds i8,i8*%O,i64 16
%Q=bitcast i8*%P to i8*(i8*,i8*)**
%R=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Q,align 8
%S=bitcast i8*%O to i8**
%T=load i8*,i8**%S,align 8
store i8*%T,i8**%d,align 8
%U=call i8*@sml_alloc(i32 inreg 20)#0
%V=getelementptr inbounds i8,i8*%U,i64 -4
%W=bitcast i8*%V to i32*
store i32 1342177296,i32*%W,align 4
%X=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%Y=bitcast i8*%U to i8**
store i8*%X,i8**%Y,align 8
%Z=getelementptr inbounds i8,i8*%U,i64 8
%aa=bitcast i8*%Z to i8**
store i8*null,i8**%aa,align 8
%ab=getelementptr inbounds i8,i8*%U,i64 16
%ac=bitcast i8*%ab to i32*
store i32 3,i32*%ac,align 4
%ad=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ae=call fastcc i8*%R(i8*inreg%ad,i8*inreg%U)
ret void
}
define internal fastcc i8*@_SMLLN3Top11printLLVMIRE_273(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top11printLLVMIRE_272 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printLLVMIRE_507 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc void@_SMLLN3Top9printFileE_277(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%h,label%j
h:
%i=bitcast i8*%a to i32**
br label%n
j:
call void@sml_check(i32 inreg%f)
%k=bitcast i8**%d to i32***
%l=load i32**,i32***%k,align 8
%m=bitcast i32**%l to i8*
br label%n
n:
%o=phi i8*[%m,%j],[%a,%h]
%p=phi i32**[%l,%j],[%i,%h]
%q=load i32*,i32**%p,align 8
%r=load i32,i32*%q,align 4
%s=icmp eq i32%r,0
br i1%s,label%ag,label%t
t:
%u=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%u,i8**%e,align 8
%v=getelementptr inbounds i8,i8*%o,i64 8
%w=bitcast i8*%v to i8**
%x=load i8*,i8**%w,align 8
store i8*%x,i8**%d,align 8
%y=call i8*@sml_alloc(i32 inreg 20)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177296,i32*%A,align 4
%B=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%E=getelementptr inbounds i8,i8*%y,i64 8
%F=bitcast i8*%E to i8**
store i8*%D,i8**%F,align 8
%G=getelementptr inbounds i8,i8*%y,i64 16
%H=bitcast i8*%G to i32*
store i32 3,i32*%H,align 4
call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%y)
%I=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%I,i8**%d,align 8
%J=call i8*@sml_alloc(i32 inreg 20)#0
%K=getelementptr inbounds i8,i8*%J,i64 -4
%L=bitcast i8*%K to i32*
store i32 1342177296,i32*%L,align 4
%M=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%N=bitcast i8*%J to i8**
store i8*%M,i8**%N,align 8
%O=getelementptr inbounds i8,i8*%J,i64 8
%P=bitcast i8*%O to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[3x i8]}>,<{[4x i8],i32,[3x i8]}>*@B,i64 0,i32 2,i64 0),i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%J,i64 16
%R=bitcast i8*%Q to i32*
store i32 3,i32*%R,align 4
call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%J)
%S=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
call fastcc void@_SMLFN6TextIO8flushOutE(i8*inreg%S)
%T=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%U=call fastcc i8*@_SMLFN9CoreUtils12readTextFileE(i8*inreg%T)
store i8*%U,i8**%c,align 8
%V=load i8*,i8**@_SMLZN6TextIO6stdErrE,align 8
store i8*%V,i8**%d,align 8
%W=call i8*@sml_alloc(i32 inreg 20)#0
%X=getelementptr inbounds i8,i8*%W,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177296,i32*%Y,align 4
%Z=load i8*,i8**%d,align 8
%aa=bitcast i8*%W to i8**
store i8*%Z,i8**%aa,align 8
%ab=load i8*,i8**%c,align 8
%ac=getelementptr inbounds i8,i8*%W,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%W,i64 16
%af=bitcast i8*%ae to i32*
store i32 3,i32*%af,align 4
tail call fastcc void@_SMLFN6TextIO6outputE(i8*inreg%W)
ret void
ag:
ret void
}
define internal fastcc i8*@_SMLLN3Top9printFileE_278(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top9printFileE_277 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printFileE_509 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i32@_SMLL7ptrsize_282(i8*inreg%a)#4 gc"smlsharp"{
%b=getelementptr inbounds i8,i8*%a,i64 16
%c=bitcast i8*%b to i8**
%d=load i8*,i8**%c,align 8
%e=tail call i32@sml_obj_equal(i8*inreg%d,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,i32,i32}>,<{[4x i8],i32,i32,i32,i32}>*@C,i64 0,i32 2)to i8*))#0
ret i32%e
}
define internal fastcc i8*@_SMLLN3Top10doLoadFileE_298(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%l,label%o
l:
%m=bitcast i8*%a to i8***
%n=bitcast i8*%a to i8**
br label%s
o:
call void@sml_check(i32 inreg%j)
%p=bitcast i8**%h to i8****
%q=load i8***,i8****%p,align 8
%r=bitcast i8***%q to i8**
br label%s
s:
%t=phi i8**[%n,%l],[%r,%o]
%u=phi i8***[%m,%l],[%q,%o]
%v=load i8**,i8***%u,align 8
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%f,align 8
%x=load i8*,i8**%t,align 8
%y=getelementptr inbounds i8,i8*%x,i64 8
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
store i8*%A,i8**%g,align 8
%B=load i8*,i8**%t,align 8
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i32*
%E=load i32,i32*%D,align 4
%F=getelementptr inbounds i8,i8*%B,i64 24
%G=bitcast i8*%F to i8**
%H=load i8*,i8**%G,align 8
store i8*%H,i8**%h,align 8
%I=load i8*,i8**@_SMLZN7Counter19loadFileTimeCounterE,align 8
%J=getelementptr inbounds i8,i8*%I,i64 24
%K=bitcast i8*%J to i8**
%L=load i8*,i8**%K,align 8
%M=getelementptr inbounds i8,i8*%L,i64 16
%N=bitcast i8*%M to i8*(i8*,i8*)**
%O=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%N,align 8
%P=bitcast i8*%L to i8**
%Q=load i8*,i8**%P,align 8
store i8*%Q,i8**%i,align 8
%R=call i8*@sml_alloc(i32 inreg 4)#0
%S=bitcast i8*%R to i32*
%T=getelementptr inbounds i8,i8*%R,i64 -4
%U=bitcast i8*%T to i32*
store i32 4,i32*%U,align 4
store i32 0,i32*%S,align 4
%V=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%W=call fastcc i8*%O(i8*inreg%V,i8*inreg%R)
%X=call i8*@sml_alloc(i32 inreg 36)#0
%Y=getelementptr inbounds i8,i8*%X,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 1342177312,i32*%Z,align 4
%aa=getelementptr inbounds i8,i8*%X,i64 20
%ab=bitcast i8*%aa to i32*
store i32 0,i32*%ab,align 1
%ac=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ad=bitcast i8*%X to i8**
store i8*%ac,i8**%ad,align 8
%ae=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%af=getelementptr inbounds i8,i8*%X,i64 8
%ag=bitcast i8*%af to i8**
store i8*%ae,i8**%ag,align 8
%ah=getelementptr inbounds i8,i8*%X,i64 16
%ai=bitcast i8*%ah to i32*
store i32%E,i32*%ai,align 4
%aj=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%ak=getelementptr inbounds i8,i8*%X,i64 24
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%X,i64 32
%an=bitcast i8*%am to i32*
store i32 11,i32*%an,align 4
%ao=call fastcc i8*@_SMLFN8LoadFile4loadE(i8*inreg%X)
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8*(i8*,i8*)**
%ar=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aq,align 8
%as=bitcast i8*%ao to i8**
%at=load i8*,i8**%as,align 8
%au=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%av=call fastcc i8*%ar(i8*inreg%at,i8*inreg%au)
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
store i8*%ax,i8**%e,align 8
%ay=getelementptr inbounds i8,i8*%av,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
store i8*%aA,i8**%f,align 8
%aB=getelementptr inbounds i8,i8*%av,i64 16
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%g,align 8
%aE=load i8*,i8**@_SMLZN7Counter19loadFileTimeCounterE,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 32
%aG=bitcast i8*%aF to i8**
%aH=load i8*,i8**%aG,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8*(i8*,i8*)**
%aK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aJ,align 8
%aL=bitcast i8*%aH to i8**
%aM=load i8*,i8**%aL,align 8
store i8*%aM,i8**%h,align 8
%aN=call i8*@sml_alloc(i32 inreg 4)#0
%aO=bitcast i8*%aN to i32*
%aP=getelementptr inbounds i8,i8*%aN,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 4,i32*%aQ,align 4
store i32 0,i32*%aO,align 4
%aR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aS=call fastcc i8*%aK(i8*inreg%aR,i8*inreg%aN)
%aT=load i8*,i8**@_SMLZN7Control13printLoadFileE,align 8
%aU=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aU)
%aV=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aV)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aT,i8**%c,align 8
%aW=call i8*@sml_alloc(i32 inreg 12)#0
%aX=getelementptr inbounds i8,i8*%aW,i64 -4
%aY=bitcast i8*%aX to i32*
store i32 1342177288,i32*%aY,align 4
store i8*%aW,i8**%d,align 8
%aZ=load i8*,i8**%c,align 8
store i8*null,i8**%c,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 i32*
store i32 1,i32*%a2,align 4
%a3=call i8*@sml_alloc(i32 inreg 28)#0
%a4=getelementptr inbounds i8,i8*%a3,i64 -4
%a5=bitcast i8*%a4 to i32*
store i32 1342177304,i32*%a5,align 4
%a6=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printAbsynE_173 to void(...)*),void(...)**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a3,i64 16
%bb=bitcast i8*%ba to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10printAbsynE_173 to void(...)*),void(...)**%bb,align 8
%bc=getelementptr inbounds i8,i8*%a3,i64 24
%bd=bitcast i8*%bc to i32*
store i32 -2147483647,i32*%bd,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aU)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aV)
%be=call fastcc i8*@_SMLLN3Top10printAbsynE_173(i8*inreg%a6,i8*inreg getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@J,i64 0,i32 2,i64 0))
%bf=getelementptr inbounds i8,i8*%be,i64 16
%bg=bitcast i8*%bf to i8*(i8*,i8*)**
%bh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bg,align 8
%bi=bitcast i8*%be to i8**
%bj=load i8*,i8**%bi,align 8
%bk=load i8*,i8**%g,align 8
%bl=call fastcc i8*%bh(i8*inreg%bj,i8*inreg%bk)
%bm=load i8*,i8**@_SMLZN7Control15printDependencyE,align 8
store i8*%bm,i8**%h,align 8
%bn=call i8*@sml_alloc(i32 inreg 20)#0
%bo=getelementptr inbounds i8,i8*%bn,i64 -4
%bp=bitcast i8*%bo to i32*
store i32 1342177296,i32*%bp,align 4
%bq=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%br=bitcast i8*%bn to i8**
store i8*%bq,i8**%br,align 8
%bs=getelementptr inbounds i8,i8*%bn,i64 8
%bt=bitcast i8*%bs to i8**
store i8*null,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bn,i64 16
%bv=bitcast i8*%bu to i32*
store i32 3,i32*%bv,align 4
%bw=call fastcc i8*@_SMLLN3Top19printFileDependencyE_186(i8*inreg%bn)
%bx=getelementptr inbounds i8,i8*%bw,i64 16
%by=bitcast i8*%bx to i8*(i8*,i8*)**
%bz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%by,align 8
%bA=bitcast i8*%bw to i8**
%bB=load i8*,i8**%bA,align 8
%bC=call fastcc i8*%bz(i8*inreg%bB,i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@K,i64 0,i32 2,i64 0))
%bD=getelementptr inbounds i8,i8*%bC,i64 16
%bE=bitcast i8*%bD to i8*(i8*,i8*)**
%bF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bE,align 8
%bG=bitcast i8*%bC to i8**
%bH=load i8*,i8**%bG,align 8
%bI=load i8*,i8**%e,align 8
%bJ=call fastcc i8*%bF(i8*inreg%bH,i8*inreg%bI)
%bK=call i8*@sml_alloc(i32 inreg 28)#0
%bL=getelementptr inbounds i8,i8*%bK,i64 -4
%bM=bitcast i8*%bL to i32*
store i32 1342177304,i32*%bM,align 4
%bN=load i8*,i8**%e,align 8
%bO=bitcast i8*%bK to i8**
store i8*%bN,i8**%bO,align 8
%bP=load i8*,i8**%f,align 8
%bQ=getelementptr inbounds i8,i8*%bK,i64 8
%bR=bitcast i8*%bQ to i8**
store i8*%bP,i8**%bR,align 8
%bS=load i8*,i8**%g,align 8
%bT=getelementptr inbounds i8,i8*%bK,i64 16
%bU=bitcast i8*%bT to i8**
store i8*%bS,i8**%bU,align 8
%bV=getelementptr inbounds i8,i8*%bK,i64 24
%bW=bitcast i8*%bV to i32*
store i32 7,i32*%bW,align 4
ret i8*%bK
}
define internal fastcc i8*@_SMLLN3Top10doLoadFileE_299(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%c,align 8
%g=call i8*@sml_alloc(i32 inreg 12)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177288,i32*%i,align 4
store i8*%g,i8**%d,align 8
%j=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k=bitcast i8*%g to i8**
store i8*%j,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%g,i64 8
%m=bitcast i8*%l to i32*
store i32 1,i32*%m,align 4
%n=call i8*@sml_alloc(i32 inreg 28)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177304,i32*%p,align 4
%q=load i8*,i8**%d,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%n,i64 8
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10doLoadFileE_298 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%n,i64 16
%v=bitcast i8*%u to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10doLoadFileE_298 to void(...)*),void(...)**%v,align 8
%w=getelementptr inbounds i8,i8*%n,i64 24
%x=bitcast i8*%w to i32*
store i32 -2147483647,i32*%x,align 4
ret i8*%n
}
define internal fastcc i8*@_SMLLN3Top15doLoadInterfaceE_304(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
p:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%n,label%l
l:
call void@sml_check(i32 inreg%j)
%m=load i8*,i8**%f,align 8
br label%n
n:
%o=phi i8*[%m,%l],[%a,%p]
%q=bitcast i8*%o to i8**
%r=load i8*,i8**%q,align 8
%s=getelementptr inbounds i8,i8*%o,i64 8
%t=bitcast i8*%s to i32*
%u=load i32,i32*%t,align 4
%v=sext i32%u to i64
%w=getelementptr inbounds i8,i8*%r,i64%v
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=getelementptr inbounds i8,i8*%o,i64 12
%A=bitcast i8*%z to i32*
%B=load i32,i32*%A,align 4
%C=sext i32%B to i64
%D=getelementptr inbounds i8,i8*%r,i64%C
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%f,align 8
%G=load i8*,i8**@_SMLZN7Counter19loadFileTimeCounterE,align 8
%H=getelementptr inbounds i8,i8*%G,i64 24
%I=bitcast i8*%H to i8**
%J=load i8*,i8**%I,align 8
%K=getelementptr inbounds i8,i8*%J,i64 16
%L=bitcast i8*%K to i8*(i8*,i8*)**
%M=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%L,align 8
%N=bitcast i8*%J to i8**
%O=load i8*,i8**%N,align 8
store i8*%O,i8**%g,align 8
%P=call i8*@sml_alloc(i32 inreg 4)#0
%Q=bitcast i8*%P to i32*
%R=getelementptr inbounds i8,i8*%P,i64 -4
%S=bitcast i8*%R to i32*
store i32 4,i32*%S,align 4
store i32 0,i32*%Q,align 4
%T=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%U=call fastcc i8*%M(i8*inreg%T,i8*inreg%P)
%V=call i8*@sml_alloc(i32 inreg 20)#0
%W=bitcast i8*%V to i32*
%X=getelementptr inbounds i8,i8*%V,i64 -4
%Y=bitcast i8*%X to i32*
store i32 1342177296,i32*%Y,align 4
%Z=getelementptr inbounds i8,i8*%V,i64 4
%aa=bitcast i8*%Z to i32*
store i32 0,i32*%aa,align 1
store i32%y,i32*%W,align 4
%ab=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ac=getelementptr inbounds i8,i8*%V,i64 8
%ad=bitcast i8*%ac to i8**
store i8*%ab,i8**%ad,align 8
%ae=getelementptr inbounds i8,i8*%V,i64 16
%af=bitcast i8*%ae to i32*
store i32 2,i32*%af,align 4
%ag=call fastcc i8*@_SMLFN8LoadFile18loadInterfaceFilesE(i8*inreg%V)
%ah=getelementptr inbounds i8,i8*%ag,i64 16
%ai=bitcast i8*%ah to i8*(i8*,i8*)**
%aj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ai,align 8
%ak=bitcast i8*%ag to i8**
%al=load i8*,i8**%ak,align 8
%am=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%an=call fastcc i8*%aj(i8*inreg%al,i8*inreg%am)
%ao=bitcast i8*%an to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%e,align 8
%aq=getelementptr inbounds i8,i8*%an,i64 8
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
store i8*%as,i8**%f,align 8
%at=load i8*,i8**@_SMLZN7Counter19loadFileTimeCounterE,align 8
%au=getelementptr inbounds i8,i8*%at,i64 32
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
%ax=getelementptr inbounds i8,i8*%aw,i64 16
%ay=bitcast i8*%ax to i8*(i8*,i8*)**
%az=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ay,align 8
%aA=bitcast i8*%aw to i8**
%aB=load i8*,i8**%aA,align 8
store i8*%aB,i8**%g,align 8
%aC=call i8*@sml_alloc(i32 inreg 4)#0
%aD=bitcast i8*%aC to i32*
%aE=getelementptr inbounds i8,i8*%aC,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 4,i32*%aF,align 4
store i32 0,i32*%aD,align 4
%aG=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aH=call fastcc i8*%az(i8*inreg%aG,i8*inreg%aC)
%aI=load i8*,i8**@_SMLZN7Control13printLoadFileE,align 8
store i8*%aI,i8**%g,align 8
%aJ=load i8*,i8**@_SMLZN7Control16printSystemDeclsE,align 8
store i8*%aJ,i8**%h,align 8
%aK=call i8*@sml_alloc(i32 inreg 20)#0
%aL=getelementptr inbounds i8,i8*%aK,i64 -4
%aM=bitcast i8*%aL to i32*
store i32 1342177296,i32*%aM,align 4
store i8*%aK,i8**%i,align 8
%aN=load i8*,i8**%h,align 8
store i8*null,i8**%h,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*null,i8**%aQ,align 8
%aR=getelementptr inbounds i8,i8*%aK,i64 16
%aS=bitcast i8*%aR to i32*
store i32 3,i32*%aS,align 4
%aT=call i8*@sml_alloc(i32 inreg 20)#0
%aU=getelementptr inbounds i8,i8*%aT,i64 -4
%aV=bitcast i8*%aU to i32*
store i32 1342177296,i32*%aV,align 4
%aW=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%aX=bitcast i8*%aT to i8**
store i8*%aW,i8**%aX,align 8
%aY=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%aZ=getelementptr inbounds i8,i8*%aT,i64 8
%a0=bitcast i8*%aZ to i8**
store i8*%aY,i8**%a0,align 8
%a1=getelementptr inbounds i8,i8*%aT,i64 16
%a2=bitcast i8*%a1 to i32*
store i32 3,i32*%a2,align 4
%a3=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%a3)
%a4=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%a4)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aT,i8**%c,align 8
%a5=call i8*@sml_alloc(i32 inreg 12)#0
%a6=getelementptr inbounds i8,i8*%a5,i64 -4
%a7=bitcast i8*%a6 to i32*
store i32 1342177288,i32*%a7,align 4
store i8*%a5,i8**%d,align 8
%a8=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%a9=bitcast i8*%a5 to i8**
store i8*%a8,i8**%a9,align 8
%ba=getelementptr inbounds i8,i8*%a5,i64 8
%bb=bitcast i8*%ba to i32*
store i32 1,i32*%bb,align 4
%bc=call i8*@sml_alloc(i32 inreg 28)#0
%bd=getelementptr inbounds i8,i8*%bc,i64 -4
%be=bitcast i8*%bd to i32*
store i32 1342177304,i32*%be,align 4
%bf=load i8*,i8**%d,align 8
%bg=bitcast i8*%bc to i8**
store i8*%bf,i8**%bg,align 8
%bh=getelementptr inbounds i8,i8*%bc,i64 8
%bi=bitcast i8*%bh to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printAbsynInterfaceE_179 to void(...)*),void(...)**%bi,align 8
%bj=getelementptr inbounds i8,i8*%bc,i64 16
%bk=bitcast i8*%bj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19printAbsynInterfaceE_179 to void(...)*),void(...)**%bk,align 8
%bl=getelementptr inbounds i8,i8*%bc,i64 24
%bm=bitcast i8*%bl to i32*
store i32 -2147483647,i32*%bm,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%a3)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%a4)
%bn=call fastcc i8*@_SMLLN3Top19printAbsynInterfaceE_179(i8*inreg%bf,i8*inreg getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@J,i64 0,i32 2,i64 0))
%bo=getelementptr inbounds i8,i8*%bn,i64 16
%bp=bitcast i8*%bo to i8*(i8*,i8*)**
%bq=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bp,align 8
%br=bitcast i8*%bn to i8**
%bs=load i8*,i8**%br,align 8
%bt=load i8*,i8**%f,align 8
%bu=call fastcc i8*%bq(i8*inreg%bs,i8*inreg%bt)
%bv=load i8*,i8**@_SMLZN7Control15printDependencyE,align 8
store i8*%bv,i8**%g,align 8
%bw=load i8*,i8**@_SMLZN7Control16printSystemDeclsE,align 8
store i8*%bw,i8**%h,align 8
%bx=call i8*@sml_alloc(i32 inreg 20)#0
%by=getelementptr inbounds i8,i8*%bx,i64 -4
%bz=bitcast i8*%by to i32*
store i32 1342177296,i32*%bz,align 4
store i8*%bx,i8**%i,align 8
%bA=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%bB=bitcast i8*%bx to i8**
store i8*%bA,i8**%bB,align 8
%bC=getelementptr inbounds i8,i8*%bx,i64 8
%bD=bitcast i8*%bC to i8**
store i8*null,i8**%bD,align 8
%bE=getelementptr inbounds i8,i8*%bx,i64 16
%bF=bitcast i8*%bE to i32*
store i32 3,i32*%bF,align 4
%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**%g,align 8
store i8*null,i8**%g,align 8
%bK=bitcast i8*%bG to i8**
store i8*%bJ,i8**%bK,align 8
%bL=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%bM=getelementptr inbounds i8,i8*%bG,i64 8
%bN=bitcast i8*%bM to i8**
store i8*%bL,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bG,i64 16
%bP=bitcast i8*%bO to i32*
store i32 3,i32*%bP,align 4
%bQ=call fastcc i8*@_SMLLN3Top19printFileDependencyE_186(i8*inreg%bG)
%bR=getelementptr inbounds i8,i8*%bQ,i64 16
%bS=bitcast i8*%bR to i8*(i8*,i8*)**
%bT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bS,align 8
%bU=bitcast i8*%bQ to i8**
%bV=load i8*,i8**%bU,align 8
%bW=call fastcc i8*%bT(i8*inreg%bV,i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@K,i64 0,i32 2,i64 0))
%bX=getelementptr inbounds i8,i8*%bW,i64 16
%bY=bitcast i8*%bX to i8*(i8*,i8*)**
%bZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bY,align 8
%b0=bitcast i8*%bW to i8**
%b1=load i8*,i8**%b0,align 8
%b2=load i8*,i8**%e,align 8
%b3=call fastcc i8*%bZ(i8*inreg%b1,i8*inreg%b2)
%b4=call i8*@sml_alloc(i32 inreg 20)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177296,i32*%b6,align 4
%b7=load i8*,i8**%e,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=load i8*,i8**%f,align 8
%ca=getelementptr inbounds i8,i8*%b4,i64 8
%cb=bitcast i8*%ca to i8**
store i8*%b9,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b4,i64 16
%cd=bitcast i8*%cc to i32*
store i32 3,i32*%cd,align 4
ret i8*%b4
}
define internal fastcc i8*@_SMLLN3Top15doLoadInterfaceE_305(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=getelementptr inbounds i8,i8*%a,i64 4
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%f,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%i,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doLoadInterfaceE_304 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doLoadInterfaceE_304 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN3Top15doLoadInterfaceE_306(i32 inreg%a,i32 inreg%b)unnamed_addr#4 gc"smlsharp"{
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=bitcast i8*%d to i32*
%f=getelementptr inbounds i8,i8*%d,i64 -4
%g=bitcast i8*%f to i32*
store i32 1342177288,i32*%g,align 4
store i8*%d,i8**%c,align 8
store i32%a,i32*%e,align 4
%h=getelementptr inbounds i8,i8*%d,i64 4
%i=bitcast i8*%h to i32*
store i32%b,i32*%i,align 4
%j=getelementptr inbounds i8,i8*%d,i64 8
%k=bitcast i8*%j to i32*
store i32 0,i32*%k,align 4
%l=call i8*@sml_alloc(i32 inreg 28)#0
%m=getelementptr inbounds i8,i8*%l,i64 -4
%n=bitcast i8*%m to i32*
store i32 1342177304,i32*%n,align 4
%o=load i8*,i8**%c,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=getelementptr inbounds i8,i8*%l,i64 8
%r=bitcast i8*%q to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doLoadInterfaceE_305 to void(...)*),void(...)**%r,align 8
%s=getelementptr inbounds i8,i8*%l,i64 16
%t=bitcast i8*%s to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doLoadInterfaceE_305 to void(...)*),void(...)**%t,align 8
%u=getelementptr inbounds i8,i8*%l,i64 24
%v=bitcast i8*%u to i32*
store i32 -2147483647,i32*%v,align 4
ret i8*%l
}
define internal fastcc i8*@_SMLLN3Top13doElaborationE_309(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%m,label%l
l:
call void@sml_check(i32 inreg%j)
br label%m
m:
%n=load i8*,i8**@_SMLZN7Counter22elaborationTimeCounterE,align 8
%o=getelementptr inbounds i8,i8*%n,i64 24
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%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**%f,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i32 0,i32*%x,align 4
%A=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%B=call fastcc i8*%t(i8*inreg%A,i8*inreg%w)
%C=load i8*,i8**%h,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=call fastcc i8*@_SMLFN10Elaborator9elaborateE(i8*inreg%F)
%H=getelementptr inbounds i8,i8*%G,i64 16
%I=bitcast i8*%H to i8*(i8*,i8*)**
%J=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%I,align 8
%K=bitcast i8*%G to i8**
%L=load i8*,i8**%K,align 8
%M=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%N=call fastcc i8*%J(i8*inreg%L,i8*inreg%M)
store i8*%N,i8**%g,align 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%e,align 8
%Q=getelementptr inbounds i8,i8*%N,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%f,align 8
%T=load i8*,i8**@_SMLZN7Counter22elaborationTimeCounterE,align 8
%U=getelementptr inbounds i8,i8*%T,i64 32
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
%X=getelementptr inbounds i8,i8*%W,i64 16
%Y=bitcast i8*%X to i8*(i8*,i8*)**
%Z=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Y,align 8
%aa=bitcast i8*%W to i8**
%ab=load i8*,i8**%aa,align 8
store i8*%ab,i8**%i,align 8
%ac=call i8*@sml_alloc(i32 inreg 4)#0
%ad=bitcast i8*%ac to i32*
%ae=getelementptr inbounds i8,i8*%ac,i64 -4
%af=bitcast i8*%ae to i32*
store i32 4,i32*%af,align 4
store i32 0,i32*%ad,align 4
%ag=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ah=call fastcc i8*%Z(i8*inreg%ag,i8*inreg%ac)
%ai=bitcast i8**%h to i8***
%aj=load i8**,i8***%ai,align 8
%ak=load i8*,i8**%aj,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
store i8*null,i8**%h,align 8
%ao=bitcast i8**%aj to i8***
%ap=load i8**,i8***%ao,align 8
%aq=load i8*,i8**%ap,align 8
%ar=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8**
%au=load i8*,i8**%at,align 8
%av=call fastcc i8*%an(i8*inreg%aq,i8*inreg%au)
%aw=load i8*,i8**@_SMLZN7Control9printElabE,align 8
%ax=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ax)
%ay=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ay)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aw,i8**%c,align 8
%az=call i8*@sml_alloc(i32 inreg 12)#0
%aA=getelementptr inbounds i8,i8*%az,i64 -4
%aB=bitcast i8*%aA to i32*
store i32 1342177288,i32*%aB,align 4
store i8*%az,i8**%d,align 8
%aC=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aD=bitcast i8*%az to i8**
store i8*%aC,i8**%aD,align 8
%aE=getelementptr inbounds i8,i8*%az,i64 8
%aF=bitcast i8*%aE to i32*
store i32 1,i32*%aF,align 4
%aG=call i8*@sml_alloc(i32 inreg 28)#0
%aH=getelementptr inbounds i8,i8*%aG,i64 -4
%aI=bitcast i8*%aH to i32*
store i32 1342177304,i32*%aI,align 4
%aJ=load i8*,i8**%d,align 8
%aK=bitcast i8*%aG to i8**
store i8*%aJ,i8**%aK,align 8
%aL=getelementptr inbounds i8,i8*%aG,i64 8
%aM=bitcast i8*%aL to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printPatternCalcE_191 to void(...)*),void(...)**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aG,i64 16
%aO=bitcast i8*%aN to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printPatternCalcE_191 to void(...)*),void(...)**%aO,align 8
%aP=getelementptr inbounds i8,i8*%aG,i64 24
%aQ=bitcast i8*%aP to i32*
store i32 -2147483647,i32*%aQ,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ax)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ay)
%aR=call fastcc i8*@_SMLLN3Top16printPatternCalcE_191(i8*inreg%aJ,i8*inreg getelementptr inbounds(<{[4x i8],i32,[11x i8]}>,<{[4x i8],i32,[11x i8]}>*@L,i64 0,i32 2,i64 0))
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
%aX=load i8*,i8**%f,align 8
%aY=call fastcc i8*%aU(i8*inreg%aW,i8*inreg%aX)
%aZ=call i8*@sml_alloc(i32 inreg 20)#0
%a0=getelementptr inbounds i8,i8*%aZ,i64 -4
%a1=bitcast i8*%a0 to i32*
store i32 1342177296,i32*%a1,align 4
%a2=load i8*,i8**%e,align 8
%a3=bitcast i8*%aZ to i8**
store i8*%a2,i8**%a3,align 8
%a4=load i8*,i8**%f,align 8
%a5=getelementptr inbounds i8,i8*%aZ,i64 8
%a6=bitcast i8*%a5 to i8**
store i8*%a4,i8**%a6,align 8
%a7=getelementptr inbounds i8,i8*%aZ,i64 16
%a8=bitcast i8*%a7 to i32*
store i32 3,i32*%a8,align 4
ret i8*%aZ
}
define internal fastcc i8*@_SMLLN3Top13doElaborationE_310(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doElaborationE_309 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doElaborationE_309 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top15doElabInterfaceE_314(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
call void@llvm.gcroot(i8**%i,i8*null)#0
store i8*%a,i8**%h,align 8
store i8*%b,i8**%e,align 8
%j=load atomic i32,i32*@sml_check_flag unordered,align 4
%k=icmp eq i32%j,0
br i1%k,label%m,label%l
l:
call void@sml_check(i32 inreg%j)
br label%m
m:
%n=load i8*,i8**@_SMLZN7Counter22elaborationTimeCounterE,align 8
%o=getelementptr inbounds i8,i8*%n,i64 24
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%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**%f,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i32 0,i32*%x,align 4
%A=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%B=call fastcc i8*%t(i8*inreg%A,i8*inreg%w)
%C=load i8*,i8**%h,align 8
%D=getelementptr inbounds i8,i8*%C,i64 8
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=getelementptr inbounds i8,i8*%C,i64 20
%H=bitcast i8*%G to i32*
%I=load i32,i32*%H,align 4
%J=sext i32%I to i64
%K=getelementptr inbounds i8,i8*%F,i64%J
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
%N=call fastcc i8*@_SMLFN10Elaborator18elaborateInterfaceE(i8*inreg%M)
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
%T=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%U=call fastcc i8*%Q(i8*inreg%S,i8*inreg%T)
store i8*%U,i8**%g,align 8
%V=bitcast i8*%U to i8**
%W=load i8*,i8**%V,align 8
store i8*%W,i8**%e,align 8
%X=getelementptr inbounds i8,i8*%U,i64 8
%Y=bitcast i8*%X to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%f,align 8
%aa=load i8*,i8**@_SMLZN7Counter22elaborationTimeCounterE,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 32
%ac=bitcast i8*%ab to i8**
%ad=load i8*,i8**%ac,align 8
%ae=getelementptr inbounds i8,i8*%ad,i64 16
%af=bitcast i8*%ae to i8*(i8*,i8*)**
%ag=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%af,align 8
%ah=bitcast i8*%ad to i8**
%ai=load i8*,i8**%ah,align 8
store i8*%ai,i8**%i,align 8
%aj=call i8*@sml_alloc(i32 inreg 4)#0
%ak=bitcast i8*%aj to i32*
%al=getelementptr inbounds i8,i8*%aj,i64 -4
%am=bitcast i8*%al to i32*
store i32 4,i32*%am,align 4
store i32 0,i32*%ak,align 4
%an=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%ao=call fastcc i8*%ag(i8*inreg%an,i8*inreg%aj)
%ap=load i8*,i8**%g,align 8
%aq=getelementptr inbounds i8,i8*%ap,i64 16
%ar=bitcast i8*%aq to i8**
%as=load i8*,i8**%ar,align 8
%at=icmp eq i8*%as,null
br i1%at,label%aL,label%au
au:
%av=load i8*,i8**%h,align 8
%aw=bitcast i8*%av to i8**
%ax=load i8*,i8**%aw,align 8
store i8*null,i8**%h,align 8
%ay=getelementptr inbounds i8,i8*%av,i64 16
%az=bitcast i8*%ay to i32*
%aA=load i32,i32*%az,align 4
%aB=sext i32%aA to i64
%aC=getelementptr inbounds i8,i8*%ax,i64%aB
%aD=bitcast i8*%aC to i8**
%aE=load i8*,i8**%aD,align 8
%aF=getelementptr inbounds i8,i8*%aE,i64 16
%aG=bitcast i8*%aF to i8*(i8*,i8*)**
%aH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aG,align 8
%aI=bitcast i8*%aE to i8**
%aJ=load i8*,i8**%aI,align 8
store i8*null,i8**%g,align 8
%aK=call fastcc i8*%aH(i8*inreg%aJ,i8*inreg%as)
br label%aL
aL:
%aM=load i8*,i8**@_SMLZN7Control9printElabE,align 8
store i8*%aM,i8**%g,align 8
%aN=load i8*,i8**@_SMLZN7Control16printSystemDeclsE,align 8
store i8*%aN,i8**%h,align 8
%aO=call i8*@sml_alloc(i32 inreg 20)#0
%aP=getelementptr inbounds i8,i8*%aO,i64 -4
%aQ=bitcast i8*%aP to i32*
store i32 1342177296,i32*%aQ,align 4
store i8*%aO,i8**%i,align 8
%aR=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aS=bitcast i8*%aO to i8**
store i8*%aR,i8**%aS,align 8
%aT=getelementptr inbounds i8,i8*%aO,i64 8
%aU=bitcast i8*%aT to i8**
store i8*null,i8**%aU,align 8
%aV=getelementptr inbounds i8,i8*%aO,i64 16
%aW=bitcast i8*%aV to i32*
store i32 3,i32*%aW,align 4
%aX=call i8*@sml_alloc(i32 inreg 20)#0
%aY=getelementptr inbounds i8,i8*%aX,i64 -4
%aZ=bitcast i8*%aY to i32*
store i32 1342177296,i32*%aZ,align 4
%a0=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%a1=bitcast i8*%aX to i8**
store i8*%a0,i8**%a1,align 8
%a2=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%a3=getelementptr inbounds i8,i8*%aX,i64 8
%a4=bitcast i8*%a3 to i8**
store i8*%a2,i8**%a4,align 8
%a5=getelementptr inbounds i8,i8*%aX,i64 16
%a6=bitcast i8*%a5 to i32*
store i32 3,i32*%a6,align 4
%a7=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%a7)
%a8=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%a8)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aX,i8**%c,align 8
%a9=call i8*@sml_alloc(i32 inreg 12)#0
%ba=getelementptr inbounds i8,i8*%a9,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 1342177288,i32*%bb,align 4
store i8*%a9,i8**%d,align 8
%bc=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%bd=bitcast i8*%a9 to i8**
store i8*%bc,i8**%bd,align 8
%be=getelementptr inbounds i8,i8*%a9,i64 8
%bf=bitcast i8*%be to i32*
store i32 1,i32*%bf,align 4
%bg=call i8*@sml_alloc(i32 inreg 28)#0
%bh=getelementptr inbounds i8,i8*%bg,i64 -4
%bi=bitcast i8*%bh to i32*
store i32 1342177304,i32*%bi,align 4
%bj=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top25printPatternCalcInterfaceE_197 to void(...)*),void(...)**%bm,align 8
%bn=getelementptr inbounds i8,i8*%bg,i64 16
%bo=bitcast i8*%bn to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top25printPatternCalcInterfaceE_197 to void(...)*),void(...)**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bg,i64 24
%bq=bitcast i8*%bp to i32*
store i32 -2147483647,i32*%bq,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%a7)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%a8)
%br=call fastcc i8*@_SMLLN3Top25printPatternCalcInterfaceE_197(i8*inreg%bj,i8*inreg getelementptr inbounds(<{[4x i8],i32,[10x i8]}>,<{[4x i8],i32,[10x i8]}>*@M,i64 0,i32 2,i64 0))
%bs=getelementptr inbounds i8,i8*%br,i64 16
%bt=bitcast i8*%bs to i8*(i8*,i8*)**
%bu=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bt,align 8
%bv=bitcast i8*%br to i8**
%bw=load i8*,i8**%bv,align 8
%bx=load i8*,i8**%f,align 8
%by=call fastcc i8*%bu(i8*inreg%bw,i8*inreg%bx)
%bz=call i8*@sml_alloc(i32 inreg 20)#0
%bA=getelementptr inbounds i8,i8*%bz,i64 -4
%bB=bitcast i8*%bA to i32*
store i32 1342177296,i32*%bB,align 4
%bC=load i8*,i8**%e,align 8
%bD=bitcast i8*%bz to i8**
store i8*%bC,i8**%bD,align 8
%bE=load i8*,i8**%f,align 8
%bF=getelementptr inbounds i8,i8*%bz,i64 8
%bG=bitcast i8*%bF to i8**
store i8*%bE,i8**%bG,align 8
%bH=getelementptr inbounds i8,i8*%bz,i64 16
%bI=bitcast i8*%bH to i32*
store i32 3,i32*%bI,align 4
ret i8*%bz
}
define internal fastcc i8*@_SMLLN3Top15doElabInterfaceE_315(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=getelementptr inbounds i8,i8*%a,i64 12
%l=bitcast i8*%k to i32*
%m=load i32,i32*%l,align 4
%n=call i8*@sml_alloc(i32 inreg 28)#0
%o=getelementptr inbounds i8,i8*%n,i64 -4
%p=bitcast i8*%o to i32*
store i32 1342177304,i32*%p,align 4
store i8*%n,i8**%e,align 8
%q=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%r=bitcast i8*%n to i8**
store i8*%q,i8**%r,align 8
%s=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%t=getelementptr inbounds i8,i8*%n,i64 8
%u=bitcast i8*%t to i8**
store i8*%s,i8**%u,align 8
%v=getelementptr inbounds i8,i8*%n,i64 16
%w=bitcast i8*%v to i32*
store i32%j,i32*%w,align 4
%x=getelementptr inbounds i8,i8*%n,i64 20
%y=bitcast i8*%x to i32*
store i32%m,i32*%y,align 4
%z=getelementptr inbounds i8,i8*%n,i64 24
%A=bitcast i8*%z to i32*
store i32 3,i32*%A,align 4
%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
%E=load i8*,i8**%e,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doElabInterfaceE_314 to void(...)*),void(...)**%H,align 8
%I=getelementptr inbounds i8,i8*%B,i64 16
%J=bitcast i8*%I to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doElabInterfaceE_314 to void(...)*),void(...)**%J,align 8
%K=getelementptr inbounds i8,i8*%B,i64 24
%L=bitcast i8*%K to i32*
store i32 -2147483647,i32*%L,align 4
ret i8*%B
}
define internal fastcc i8*@_SMLLN3Top15doElabInterfaceE_316(i8*inreg%a,i32 inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
%e=bitcast i8*%a to i8**
%f=load i8*,i8**%e,align 8
store i8*%f,i8**%c,align 8
%g=getelementptr inbounds i8,i8*%a,i64 8
%h=bitcast i8*%g to i32*
%i=load i32,i32*%h,align 4
%j=call i8*@sml_alloc(i32 inreg 20)#0
%k=getelementptr inbounds i8,i8*%j,i64 -4
%l=bitcast i8*%k to i32*
store i32 1342177296,i32*%l,align 4
store i8*%j,i8**%d,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%i,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%b,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32 1,i32*%t,align 4
%u=call i8*@sml_alloc(i32 inreg 28)#0
%v=getelementptr inbounds i8,i8*%u,i64 -4
%w=bitcast i8*%v to i32*
store i32 1342177304,i32*%w,align 4
%x=load i8*,i8**%d,align 8
%y=bitcast i8*%u to i8**
store i8*%x,i8**%y,align 8
%z=getelementptr inbounds i8,i8*%u,i64 8
%A=bitcast i8*%z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doElabInterfaceE_315 to void(...)*),void(...)**%A,align 8
%B=getelementptr inbounds i8,i8*%u,i64 16
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doElabInterfaceE_315 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%u,i64 24
%E=bitcast i8*%D to i32*
store i32 -2147483647,i32*%E,align 4
ret i8*%u
}
define internal fastcc i8*@_SMLLN3Top15doElabInterfaceE_317(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=call i8*@sml_alloc(i32 inreg 20)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177296,i32*%i,align 4
store i8*%g,i8**%d,align 8
%j=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k=bitcast i8*%g to i8**
store i8*%j,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%g,i64 8
%m=bitcast i8*%l to i32*
store i32%f,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%g,i64 16
%o=bitcast i8*%n to i32*
store i32 1,i32*%o,align 4
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
%s=load i8*,i8**%d,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to void(...)**
store void(...)*bitcast(i8*(i8*,i32)*@_SMLLN3Top15doElabInterfaceE_316 to void(...)*),void(...)**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doElabInterfaceE_517 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%p,i64 24
%z=bitcast i8*%y to i32*
store i32 -2147483647,i32*%z,align 4
ret i8*%p
}
define internal fastcc i8*@_SMLLN3Top15doElabInterfaceE_318(i32 inreg%a)unnamed_addr#4 gc"smlsharp"{
%b=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
%c=call i8*@sml_alloc(i32 inreg 12)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%c,i8**%b,align 8
store i32%a,i32*%d,align 4
%g=getelementptr inbounds i8,i8*%c,i64 8
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 4
%i=call i8*@sml_alloc(i32 inreg 28)#0
%j=getelementptr inbounds i8,i8*%i,i64 -4
%k=bitcast i8*%j to i32*
store i32 1342177304,i32*%k,align 4
%l=load i8*,i8**%b,align 8
%m=bitcast i8*%i to i8**
store i8*%l,i8**%m,align 8
%n=getelementptr inbounds i8,i8*%i,i64 8
%o=bitcast i8*%n to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doElabInterfaceE_317 to void(...)*),void(...)**%o,align 8
%p=getelementptr inbounds i8,i8*%i,i64 16
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doElabInterfaceE_317 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%i,i64 24
%s=bitcast i8*%r to i32*
store i32 -2147483647,i32*%s,align 4
ret i8*%i
}
define internal fastcc i8*@_SMLLN3Top16doNameEvaluationE_321(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
o:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%c,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%m,label%k
k:
call void@sml_check(i32 inreg%i)
%l=load i8*,i8**%g,align 8
br label%m
m:
%n=phi i8*[%l,%k],[%a,%o]
%p=getelementptr inbounds i8,i8*%n,i64 16
%q=bitcast i8*%p to i8***
%r=load i8**,i8***%q,align 8
%s=load i8*,i8**%r,align 8
store i8*%s,i8**%d,align 8
%t=getelementptr inbounds i8*,i8**%r,i64 2
%u=load i8*,i8**%t,align 8
store i8*%u,i8**%e,align 8
%v=getelementptr inbounds i8*,i8**%r,i64 3
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%f,align 8
%x=load i8*,i8**@_SMLZN7Counter25nameEvaluationTimeCounterE,align 8
%y=getelementptr inbounds i8,i8*%x,i64 24
%z=bitcast i8*%y to i8**
%A=load i8*,i8**%z,align 8
%B=getelementptr inbounds i8,i8*%A,i64 16
%C=bitcast i8*%B to i8*(i8*,i8*)**
%D=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C,align 8
%E=bitcast i8*%A to i8**
%F=load i8*,i8**%E,align 8
store i8*%F,i8**%h,align 8
%G=call i8*@sml_alloc(i32 inreg 4)#0
%H=bitcast i8*%G to i32*
%I=getelementptr inbounds i8,i8*%G,i64 -4
%J=bitcast i8*%I to i32*
store i32 4,i32*%J,align 4
store i32 0,i32*%H,align 4
%K=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%L=call fastcc i8*%D(i8*inreg%K,i8*inreg%G)
%M=bitcast i8**%g to i8***
%N=load i8**,i8***%M,align 8
%O=load i8*,i8**%N,align 8
%P=call fastcc i8*@_SMLFN8NameEval8nameEvalE(i8*inreg%O)
%Q=getelementptr inbounds i8,i8*%P,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%h,align 8
%V=call i8*@sml_alloc(i32 inreg 28)#0
%W=getelementptr inbounds i8,i8*%V,i64 -4
%X=bitcast i8*%W to i32*
store i32 1342177304,i32*%X,align 4
%Y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Z=bitcast i8*%V to i8**
store i8*%Y,i8**%Z,align 8
%aa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ab=getelementptr inbounds i8,i8*%V,i64 8
%ac=bitcast i8*%ab to i8**
store i8*%aa,i8**%ac,align 8
%ad=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ae=getelementptr inbounds i8,i8*%V,i64 16
%af=bitcast i8*%ae to i8**
store i8*%ad,i8**%af,align 8
%ag=getelementptr inbounds i8,i8*%V,i64 24
%ah=bitcast i8*%ag to i32*
store i32 7,i32*%ah,align 4
%ai=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aj=call fastcc i8*%S(i8*inreg%ai,i8*inreg%V)
%ak=getelementptr inbounds i8,i8*%aj,i64 16
%al=bitcast i8*%ak to i8*(i8*,i8*)**
%am=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%al,align 8
%an=bitcast i8*%aj to i8**
%ao=load i8*,i8**%an,align 8
%ap=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aq=call fastcc i8*%am(i8*inreg%ao,i8*inreg%ap)
store i8*%aq,i8**%f,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 8
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
store i8*%at,i8**%c,align 8
%au=getelementptr inbounds i8,i8*%aq,i64 16
%av=bitcast i8*%au to i8**
%aw=load i8*,i8**%av,align 8
store i8*%aw,i8**%d,align 8
%ax=bitcast i8*%aq to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%e,align 8
%az=load i8*,i8**@_SMLZN7Counter25nameEvaluationTimeCounterE,align 8
%aA=getelementptr inbounds i8,i8*%az,i64 32
%aB=bitcast i8*%aA to i8**
%aC=load i8*,i8**%aB,align 8
%aD=getelementptr inbounds i8,i8*%aC,i64 16
%aE=bitcast i8*%aD to i8*(i8*,i8*)**
%aF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aE,align 8
%aG=bitcast i8*%aC to i8**
%aH=load i8*,i8**%aG,align 8
store i8*%aH,i8**%h,align 8
%aI=call i8*@sml_alloc(i32 inreg 4)#0
%aJ=bitcast i8*%aI to i32*
%aK=getelementptr inbounds i8,i8*%aI,i64 -4
%aL=bitcast i8*%aK to i32*
store i32 4,i32*%aL,align 4
store i32 0,i32*%aJ,align 4
%aM=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%aN=call fastcc i8*%aF(i8*inreg%aM,i8*inreg%aI)
%aO=load i8*,i8**%g,align 8
%aP=getelementptr inbounds i8,i8*%aO,i64 8
%aQ=bitcast i8*%aP to i8**
%aR=load i8*,i8**%aQ,align 8
%aS=getelementptr inbounds i8,i8*%aR,i64 16
%aT=bitcast i8*%aS to i8*(i8*,i8*)**
%aU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aT,align 8
store i8*null,i8**%g,align 8
%aV=bitcast i8*%aR to i8**
%aW=load i8*,i8**%aV,align 8
%aX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aY=getelementptr inbounds i8,i8*%aX,i64 24
%aZ=bitcast i8*%aY to i8**
%a0=load i8*,i8**%aZ,align 8
%a1=call fastcc i8*%aU(i8*inreg%aW,i8*inreg%a0)
%a2=load i8*,i8**@_SMLZN7Control13printNameEvalE,align 8
store i8*%a2,i8**%f,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
%a6=load i8*,i8**%f,align 8
store i8*null,i8**%f,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*null,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 fastcc i8*@_SMLLN3Top11printIDCalcE_206(i8*inreg%a3)
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8*(i8*,i8*)**
%bf=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%be,align 8
%bg=bitcast i8*%bc to i8**
%bh=load i8*,i8**%bg,align 8
%bi=call fastcc i8*%bf(i8*inreg%bh,i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@N,i64 0,i32 2,i64 0))
%bj=getelementptr inbounds i8,i8*%bi,i64 16
%bk=bitcast i8*%bj to i8*(i8*,i8*)**
%bl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bk,align 8
%bm=bitcast i8*%bi to i8**
%bn=load i8*,i8**%bm,align 8
%bo=load i8*,i8**%e,align 8
%bp=call fastcc i8*%bl(i8*inreg%bn,i8*inreg%bo)
%bq=call i8*@sml_alloc(i32 inreg 28)#0
%br=getelementptr inbounds i8,i8*%bq,i64 -4
%bs=bitcast i8*%br to i32*
store i32 1342177304,i32*%bs,align 4
%bt=load i8*,i8**%c,align 8
%bu=bitcast i8*%bq to i8**
store i8*%bt,i8**%bu,align 8
%bv=load i8*,i8**%d,align 8
%bw=getelementptr inbounds i8,i8*%bq,i64 8
%bx=bitcast i8*%bw to i8**
store i8*%bv,i8**%bx,align 8
%by=load i8*,i8**%e,align 8
%bz=getelementptr inbounds i8,i8*%bq,i64 16
%bA=bitcast i8*%bz to i8**
store i8*%by,i8**%bA,align 8
%bB=getelementptr inbounds i8,i8*%bq,i64 24
%bC=bitcast i8*%bB to i32*
store i32 7,i32*%bC,align 4
ret i8*%bq
}
define internal fastcc i8*@_SMLLN3Top16doNameEvaluationE_322(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,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**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
%B=load i8*,i8**%f,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16doNameEvaluationE_321 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16doNameEvaluationE_321 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLLN3Top16doNameEvaluationE_323(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16doNameEvaluationE_322 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16doNameEvaluationE_322 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top19doNameEvalInterfaceE_326(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=load i8*,i8**@_SMLZN7Counter25nameEvaluationTimeCounterE,align 8
%k=getelementptr inbounds i8,i8*%j,i64 24
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
%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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32 0,i32*%t,align 4
%w=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%x=call fastcc i8*%p(i8*inreg%w,i8*inreg%s)
%y=load i8*,i8**%d,align 8
%z=getelementptr inbounds i8,i8*%y,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
%C=getelementptr inbounds i8,i8*%B,i64 16
%D=bitcast i8*%C to i8**
%E=load i8*,i8**%D,align 8
%F=call fastcc i8*@_SMLFN8NameEval17nameEvalInterfaceE(i8*inreg%E)
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=call fastcc i8*%I(i8*inreg%K,i8*inreg%L)
store i8*%M,i8**%c,align 8
%N=load i8*,i8**@_SMLZN7Counter25nameEvaluationTimeCounterE,align 8
%O=getelementptr inbounds i8,i8*%N,i64 32
%P=bitcast i8*%O to i8**
%Q=load i8*,i8**%P,align 8
%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**%e,align 8
%W=call i8*@sml_alloc(i32 inreg 4)#0
%X=bitcast i8*%W to i32*
%Y=getelementptr inbounds i8,i8*%W,i64 -4
%Z=bitcast i8*%Y to i32*
store i32 4,i32*%Z,align 4
store i32 0,i32*%X,align 4
%aa=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ab=call fastcc i8*%T(i8*inreg%aa,i8*inreg%W)
%ac=load i8*,i8**%c,align 8
%ad=getelementptr inbounds i8,i8*%ac,i64 8
%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%aj
ah:
%ai=bitcast i8*%ac to i8**
br label%aC
aj:
%ak=load i8*,i8**%d,align 8
%al=bitcast i8*%ak to i8**
%am=load i8*,i8**%al,align 8
store i8*null,i8**%d,align 8
%an=getelementptr inbounds i8,i8*%ak,i64 16
%ao=bitcast i8*%an to i32*
%ap=load i32,i32*%ao,align 4
%aq=sext i32%ap to i64
%ar=getelementptr inbounds i8,i8*%am,i64%aq
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%at to i8**
%ay=load i8*,i8**%ax,align 8
%az=call fastcc i8*%aw(i8*inreg%ay,i8*inreg%af)
%aA=bitcast i8**%c to i8***
%aB=load i8**,i8***%aA,align 8
br label%aC
aC:
%aD=phi i8**[%ai,%ah],[%aB,%aj]
%aE=load i8*,i8**%aD,align 8
ret i8*%aE
}
define internal fastcc i8*@_SMLLN3Top19doNameEvalInterfaceE_327(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
store i8*%k,i8**%e,align 8
%n=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%q=getelementptr inbounds i8,i8*%k,i64 8
%r=bitcast i8*%q to i8**
store i8*%p,i8**%r,align 8
%s=getelementptr inbounds i8,i8*%k,i64 16
%t=bitcast i8*%s to i32*
store i32%j,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%k,i64 24
%v=bitcast i8*%u to i32*
store i32 3,i32*%v,align 4
%w=call i8*@sml_alloc(i32 inreg 28)#0
%x=getelementptr inbounds i8,i8*%w,i64 -4
%y=bitcast i8*%x to i32*
store i32 1342177304,i32*%y,align 4
%z=load i8*,i8**%e,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19doNameEvalInterfaceE_326 to void(...)*),void(...)**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19doNameEvalInterfaceE_326 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%w,i64 24
%G=bitcast i8*%F to i32*
store i32 -2147483647,i32*%G,align 4
ret i8*%w
}
define internal fastcc i8*@_SMLLN3Top19doNameEvalInterfaceE_328(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%b,i8**%c,align 8
%e=bitcast i8*%a to i32*
%f=load i32,i32*%e,align 4
%g=call i8*@sml_alloc(i32 inreg 20)#0
%h=getelementptr inbounds i8,i8*%g,i64 -4
%i=bitcast i8*%h to i32*
store i32 1342177296,i32*%i,align 4
store i8*%g,i8**%d,align 8
%j=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%k=bitcast i8*%g to i8**
store i8*%j,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%g,i64 8
%m=bitcast i8*%l to i32*
store i32%f,i32*%m,align 4
%n=getelementptr inbounds i8,i8*%g,i64 16
%o=bitcast i8*%n to i32*
store i32 1,i32*%o,align 4
%p=call i8*@sml_alloc(i32 inreg 28)#0
%q=getelementptr inbounds i8,i8*%p,i64 -4
%r=bitcast i8*%q to i32*
store i32 1342177304,i32*%r,align 4
%s=load i8*,i8**%d,align 8
%t=bitcast i8*%p to i8**
store i8*%s,i8**%t,align 8
%u=getelementptr inbounds i8,i8*%p,i64 8
%v=bitcast i8*%u to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19doNameEvalInterfaceE_327 to void(...)*),void(...)**%v,align 8
%w=getelementptr inbounds i8,i8*%p,i64 16
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19doNameEvalInterfaceE_327 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%p,i64 24
%z=bitcast i8*%y to i32*
store i32 -2147483647,i32*%z,align 4
ret i8*%p
}
define internal fastcc i8*@_SMLLN3Top15doTypeInferenceE_332(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%f,align 8
store i8*%b,i8**%c,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%k,label%j
j:
call void@sml_check(i32 inreg%h)
br label%k
k:
%l=load i8*,i8**@_SMLZN7Counter24typeInferenceTimeCounterE,align 8
%m=getelementptr inbounds i8,i8*%l,i64 24
%n=bitcast i8*%m to i8**
%o=load i8*,i8**%n,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
store i8*%t,i8**%d,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 0,i32*%v,align 4
%y=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%z=call fastcc i8*%r(i8*inreg%y,i8*inreg%u)
%A=bitcast i8**%f to i8***
%B=load i8**,i8***%A,align 8
%C=load i8*,i8**%B,align 8
%D=call fastcc i8*@_SMLFN10InferTypes7typeinfE(i8*inreg%C)
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
%J=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%K=call fastcc i8*%G(i8*inreg%I,i8*inreg%J)
store i8*%K,i8**%e,align 8
%L=bitcast i8*%K to i8**
%M=load i8*,i8**%L,align 8
store i8*%M,i8**%c,align 8
%N=getelementptr inbounds i8,i8*%K,i64 8
%O=bitcast i8*%N to i8**
%P=load i8*,i8**%O,align 8
store i8*%P,i8**%d,align 8
%Q=load i8*,i8**@_SMLZN7Counter24typeInferenceTimeCounterE,align 8
%R=getelementptr inbounds i8,i8*%Q,i64 32
%S=bitcast i8*%R to i8**
%T=load i8*,i8**%S,align 8
%U=getelementptr inbounds i8,i8*%T,i64 16
%V=bitcast i8*%U to i8*(i8*,i8*)**
%W=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%V,align 8
%X=bitcast i8*%T to i8**
%Y=load i8*,i8**%X,align 8
store i8*%Y,i8**%g,align 8
%Z=call i8*@sml_alloc(i32 inreg 4)#0
%aa=bitcast i8*%Z to i32*
%ab=getelementptr inbounds i8,i8*%Z,i64 -4
%ac=bitcast i8*%ab to i32*
store i32 4,i32*%ac,align 4
store i32 0,i32*%aa,align 4
%ad=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ae=call fastcc i8*%W(i8*inreg%ad,i8*inreg%Z)
%af=load i8*,i8**%f,align 8
%ag=getelementptr inbounds i8,i8*%af,i64 8
%ah=bitcast i8*%ag to i8**
%ai=load i8*,i8**%ah,align 8
%aj=getelementptr inbounds i8,i8*%ai,i64 16
%ak=bitcast i8*%aj to i8*(i8*,i8*)**
%al=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ak,align 8
store i8*null,i8**%f,align 8
%am=bitcast i8*%ai to i8**
%an=load i8*,i8**%am,align 8
%ao=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ap=getelementptr inbounds i8,i8*%ao,i64 16
%aq=bitcast i8*%ap to i8**
%ar=load i8*,i8**%aq,align 8
%as=call fastcc i8*%al(i8*inreg%an,i8*inreg%ar)
%at=load i8*,i8**@_SMLZN7Control12printTypeInfE,align 8
store i8*%at,i8**%e,align 8
%au=call i8*@sml_alloc(i32 inreg 20)#0
%av=getelementptr inbounds i8,i8*%au,i64 -4
%aw=bitcast i8*%av to i32*
store i32 1342177296,i32*%aw,align 4
%ax=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ay=bitcast i8*%au to i8**
store i8*%ax,i8**%ay,align 8
%az=getelementptr inbounds i8,i8*%au,i64 8
%aA=bitcast i8*%az to i8**
store i8*null,i8**%aA,align 8
%aB=getelementptr inbounds i8,i8*%au,i64 16
%aC=bitcast i8*%aB to i32*
store i32 3,i32*%aC,align 4
%aD=call fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%au)
%aE=getelementptr inbounds i8,i8*%aD,i64 16
%aF=bitcast i8*%aE to i8*(i8*,i8*)**
%aG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aF,align 8
%aH=bitcast i8*%aD to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=call fastcc i8*%aG(i8*inreg%aI,i8*inreg getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@O,i64 0,i32 2,i64 0))
%aK=getelementptr inbounds i8,i8*%aJ,i64 16
%aL=bitcast i8*%aK to i8*(i8*,i8*)**
%aM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aL,align 8
%aN=bitcast i8*%aJ to i8**
%aO=load i8*,i8**%aN,align 8
%aP=load i8*,i8**%d,align 8
%aQ=call fastcc i8*%aM(i8*inreg%aO,i8*inreg%aP)
%aR=call i8*@sml_alloc(i32 inreg 20)#0
%aS=getelementptr inbounds i8,i8*%aR,i64 -4
%aT=bitcast i8*%aS to i32*
store i32 1342177296,i32*%aT,align 4
%aU=load i8*,i8**%c,align 8
%aV=bitcast i8*%aR to i8**
store i8*%aU,i8**%aV,align 8
%aW=load i8*,i8**%d,align 8
%aX=getelementptr inbounds i8,i8*%aR,i64 8
%aY=bitcast i8*%aX to i8**
store i8*%aW,i8**%aY,align 8
%aZ=getelementptr inbounds i8,i8*%aR,i64 16
%a0=bitcast i8*%aZ to i32*
store i32 3,i32*%a0,align 4
ret i8*%aR
}
define internal fastcc i8*@_SMLLN3Top15doTypeInferenceE_333(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doTypeInferenceE_332 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doTypeInferenceE_332 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top18doMatchCompilationE_352(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%f=load atomic i32,i32*@sml_check_flag unordered,align 4
%g=icmp eq i32%f,0
br i1%g,label%i,label%h
h:
call void@sml_check(i32 inreg%f)
br label%i
i:
%j=load i8*,i8**@_SMLZN7Counter27matchCompilationTimeCounterE,align 8
%k=getelementptr inbounds i8,i8*%j,i64 24
%l=bitcast i8*%k to i8**
%m=load i8*,i8**%l,align 8
%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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i32 0,i32*%t,align 4
%w=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%x=call fastcc i8*%p(i8*inreg%w,i8*inreg%s)
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=call fastcc i8*@_SMLFN13MatchCompiler7compileE(i8*inreg%y)
store i8*%z,i8**%c,align 8
%A=load i8*,i8**@_SMLZN7Counter27matchCompilationTimeCounterE,align 8
%B=getelementptr inbounds i8,i8*%A,i64 32
%C=bitcast i8*%B to i8**
%D=load i8*,i8**%C,align 8
%E=getelementptr inbounds i8,i8*%D,i64 16
%F=bitcast i8*%E to i8*(i8*,i8*)**
%G=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F,align 8
%H=bitcast i8*%D to i8**
%I=load i8*,i8**%H,align 8
store i8*%I,i8**%e,align 8
%J=call i8*@sml_alloc(i32 inreg 4)#0
%K=bitcast i8*%J to i32*
%L=getelementptr inbounds i8,i8*%J,i64 -4
%M=bitcast i8*%L to i32*
store i32 4,i32*%M,align 4
store i32 0,i32*%K,align 4
%N=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%O=call fastcc i8*%G(i8*inreg%N,i8*inreg%J)
%P=load i8*,i8**@_SMLZN7Control17printMatchCompileE,align 8
store i8*%P,i8**%e,align 8
%Q=call i8*@sml_alloc(i32 inreg 20)#0
%R=getelementptr inbounds i8,i8*%Q,i64 -4
%S=bitcast i8*%R to i32*
store i32 1342177296,i32*%S,align 4
%T=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%U=bitcast i8*%Q to i8**
store i8*%T,i8**%U,align 8
%V=getelementptr inbounds i8,i8*%Q,i64 8
%W=bitcast i8*%V to i8**
store i8*null,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%Q,i64 16
%Y=bitcast i8*%X to i32*
store i32 3,i32*%Y,align 4
%Z=call fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%Q)
%aa=getelementptr inbounds i8,i8*%Z,i64 16
%ab=bitcast i8*%aa to i8*(i8*,i8*)**
%ac=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ab,align 8
%ad=bitcast i8*%Z to i8**
%ae=load i8*,i8**%ad,align 8
%af=call fastcc i8*%ac(i8*inreg%ae,i8*inreg getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@U,i64 0,i32 2,i64 0))
%ag=getelementptr inbounds i8,i8*%af,i64 16
%ah=bitcast i8*%ag to i8*(i8*,i8*)**
%ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ah,align 8
%aj=bitcast i8*%af to i8**
%ak=load i8*,i8**%aj,align 8
%al=bitcast i8**%c to i8***
%am=load i8**,i8***%al,align 8
%an=load i8*,i8**%am,align 8
%ao=call fastcc i8*%ai(i8*inreg%ak,i8*inreg%an)
%ap=bitcast i8**%d to i8***
%aq=load i8**,i8***%ap,align 8
%ar=load i8*,i8**%aq,align 8
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
store i8*null,i8**%d,align 8
%av=bitcast i8**%aq to i8***
%aw=load i8**,i8***%av,align 8
%ax=load i8*,i8**%aw,align 8
%ay=load i8*,i8**%c,align 8
%az=getelementptr inbounds i8,i8*%ay,i64 8
%aA=bitcast i8*%az to i8**
%aB=load i8*,i8**%aA,align 8
%aC=call fastcc i8*%au(i8*inreg%ax,i8*inreg%aB)
%aD=load i8**,i8***%al,align 8
%aE=load i8*,i8**%aD,align 8
ret i8*%aE
}
define internal fastcc i8*@_SMLLN3Top13doReifyTopEnvE_359(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**%c,align 8
store i8*%b,i8**%d,align 8
%g=load atomic i32,i32*@sml_check_flag unordered,align 4
%h=icmp eq i32%g,0
br i1%h,label%k,label%i
i:
call void@sml_check(i32 inreg%g)
%j=load i8*,i8**%d,align 8
br label%k
k:
%l=phi i8*[%j,%i],[%b,%m]
store i8*%l,i8**%e,align 8
%n=load i8*,i8**@_SMLZN7Counter22reifyTopEnvTimeCounterE,align 8
%o=getelementptr inbounds i8,i8*%n,i64 24
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%q,i64 16
%s=bitcast i8*%r to i8*(i8*,i8*)**
%t=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s,align 8
%u=bitcast i8*%q to i8**
%v=load i8*,i8**%u,align 8
store i8*%v,i8**%d,align 8
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i32 0,i32*%x,align 4
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=call fastcc i8*%t(i8*inreg%A,i8*inreg%w)
%C=bitcast i8**%c to i8***
%D=load i8**,i8***%C,align 8
%E=load i8*,i8**%D,align 8
%F=call fastcc i8*@_SMLFN11ReifyTopEnv10topEnvBindE(i8*inreg%E)
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
%L=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%M=getelementptr inbounds i8,i8*%L,i64 8
%N=bitcast i8*%M to i8**
%O=load i8*,i8**%N,align 8
%P=call fastcc i8*%I(i8*inreg%K,i8*inreg%O)
%Q=getelementptr inbounds i8,i8*%P,i64 8
%R=bitcast i8*%Q to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%c,align 8
%T=bitcast i8*%P to i8**
%U=load i8*,i8**%T,align 8
store i8*%U,i8**%d,align 8
%V=load i8*,i8**@_SMLZN7Counter22reifyTopEnvTimeCounterE,align 8
%W=getelementptr inbounds i8,i8*%V,i64 32
%X=bitcast i8*%W to i8**
%Y=load i8*,i8**%X,align 8
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%f,align 8
%ae=call i8*@sml_alloc(i32 inreg 4)#0
%af=bitcast i8*%ae to i32*
%ag=getelementptr inbounds i8,i8*%ae,i64 -4
%ah=bitcast i8*%ag to i32*
store i32 4,i32*%ah,align 4
store i32 0,i32*%af,align 4
%ai=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aj=call fastcc i8*%ab(i8*inreg%ai,i8*inreg%ae)
%ak=call fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
%al=getelementptr inbounds i8,i8*%ak,i64 16
%am=bitcast i8*%al to i8*(i8*,i8*)**
%an=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%am,align 8
%ao=bitcast i8*%ak to i8**
%ap=load i8*,i8**%ao,align 8
store i8*%ap,i8**%f,align 8
%aq=call i8*@sml_alloc(i32 inreg 20)#0
%ar=getelementptr inbounds i8,i8*%aq,i64 -4
%as=bitcast i8*%ar to i32*
store i32 1342177296,i32*%as,align 4
%at=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%au=bitcast i8*%aq to i8**
store i8*%at,i8**%au,align 8
%av=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%aw=getelementptr inbounds i8,i8*%aq,i64 8
%ax=bitcast i8*%aw to i8**
store i8*%av,i8**%ax,align 8
%ay=getelementptr inbounds i8,i8*%aq,i64 16
%az=bitcast i8*%ay to i32*
store i32 3,i32*%az,align 4
%aA=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aB=call fastcc i8*%an(i8*inreg%aA,i8*inreg%aq)
store i8*%aB,i8**%d,align 8
%aC=load i8*,i8**@_SMLZN7Control16printReifyTopEnvE,align 8
store i8*%aC,i8**%e,align 8
%aD=call i8*@sml_alloc(i32 inreg 20)#0
%aE=getelementptr inbounds i8,i8*%aD,i64 -4
%aF=bitcast i8*%aE to i32*
store i32 1342177296,i32*%aF,align 4
%aG=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aH=bitcast i8*%aD to i8**
store i8*%aG,i8**%aH,align 8
%aI=getelementptr inbounds i8,i8*%aD,i64 8
%aJ=bitcast i8*%aI to i8**
store i8*null,i8**%aJ,align 8
%aK=getelementptr inbounds i8,i8*%aD,i64 16
%aL=bitcast i8*%aK to i32*
store i32 3,i32*%aL,align 4
%aM=call fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%aD)
%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
%aS=call fastcc i8*%aP(i8*inreg%aR,i8*inreg getelementptr inbounds(<{[4x i8],i32,[12x i8]}>,<{[4x i8],i32,[12x i8]}>*@W,i64 0,i32 2,i64 0))
%aT=getelementptr inbounds i8,i8*%aS,i64 16
%aU=bitcast i8*%aT to i8*(i8*,i8*)**
%aV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aU,align 8
%aW=bitcast i8*%aS to i8**
%aX=load i8*,i8**%aW,align 8
%aY=load i8*,i8**%d,align 8
%aZ=call fastcc i8*%aV(i8*inreg%aX,i8*inreg%aY)
%a0=call i8*@sml_alloc(i32 inreg 20)#0
%a1=getelementptr inbounds i8,i8*%a0,i64 -4
%a2=bitcast i8*%a1 to i32*
store i32 1342177296,i32*%a2,align 4
%a3=load i8*,i8**%c,align 8
%a4=bitcast i8*%a0 to i8**
store i8*%a3,i8**%a4,align 8
%a5=load i8*,i8**%d,align 8
%a6=getelementptr inbounds i8,i8*%a0,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*%a5,i8**%a7,align 8
%a8=getelementptr inbounds i8,i8*%a0,i64 16
%a9=bitcast i8*%a8 to i32*
store i32 3,i32*%a9,align 4
ret i8*%a0
}
define internal fastcc i8*@_SMLLN3Top13doReifyTopEnvE_360(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doReifyTopEnvE_359 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doReifyTopEnvE_359 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define internal fastcc i8*@_SMLLN3Top9doLLVMGenE_394(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%a,i8**%e,align 8
store i8*%b,i8**%f,align 8
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%k,label%m
k:
%l=bitcast i8*%a to i8**
br label%q
m:
call void@sml_check(i32 inreg%i)
%n=load i8*,i8**%f,align 8
%o=bitcast i8**%e to i8***
%p=load i8**,i8***%o,align 8
br label%q
q:
%r=phi i8**[%p,%m],[%l,%k]
%s=phi i8*[%n,%m],[%b,%k]
%t=load i8*,i8**%r,align 8
%u=getelementptr inbounds i8,i8*%t,i64 56
%v=bitcast i8*%u to i8**
%w=load i8*,i8**%v,align 8
store i8*%w,i8**%e,align 8
%x=bitcast i8*%s to i8**
%y=load i8*,i8**%x,align 8
store i8*%y,i8**%f,align 8
%z=getelementptr inbounds i8,i8*%s,i64 8
%A=bitcast i8*%z to i8**
%B=load i8*,i8**%A,align 8
store i8*%B,i8**%g,align 8
%C=load i8*,i8**@_SMLZN7Counter18llvmGenTimeCounterE,align 8
%D=getelementptr inbounds i8,i8*%C,i64 24
%E=bitcast i8*%D to i8**
%F=load i8*,i8**%E,align 8
%G=getelementptr inbounds i8,i8*%F,i64 16
%H=bitcast i8*%G to i8*(i8*,i8*)**
%I=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%H,align 8
%J=bitcast i8*%F to i8**
%K=load i8*,i8**%J,align 8
store i8*%K,i8**%h,align 8
%L=call i8*@sml_alloc(i32 inreg 4)#0
%M=bitcast i8*%L to i32*
%N=getelementptr inbounds i8,i8*%L,i64 -4
%O=bitcast i8*%N to i32*
store i32 4,i32*%O,align 4
store i32 0,i32*%M,align 4
%P=load i8*,i8**%h,align 8
store i8*null,i8**%h,align 8
%Q=call fastcc i8*%I(i8*inreg%P,i8*inreg%L)
%R=call i8*@sml_alloc(i32 inreg 12)#0
%S=getelementptr inbounds i8,i8*%R,i64 -4
%T=bitcast i8*%S to i32*
store i32 1342177288,i32*%T,align 4
%U=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%V=bitcast i8*%R to i8**
store i8*%U,i8**%V,align 8
%W=getelementptr inbounds i8,i8*%R,i64 8
%X=bitcast i8*%W to i32*
store i32 1,i32*%X,align 4
%Y=call fastcc i8*@_SMLFN7LLVMGen7compileE(i8*inreg%R)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%e,align 8
%ae=call i8*@sml_alloc(i32 inreg 20)#0
%af=getelementptr inbounds i8,i8*%ae,i64 -4
%ag=bitcast i8*%af to i32*
store i32 1342177296,i32*%ag,align 4
%ah=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ai=bitcast i8*%ae to i8**
store i8*%ah,i8**%ai,align 8
%aj=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%ak=getelementptr inbounds i8,i8*%ae,i64 8
%al=bitcast i8*%ak to i8**
store i8*%aj,i8**%al,align 8
%am=getelementptr inbounds i8,i8*%ae,i64 16
%an=bitcast i8*%am to i32*
store i32 3,i32*%an,align 4
%ao=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%ap=call fastcc i8*%ab(i8*inreg%ao,i8*inreg%ae)
store i8*%ap,i8**%e,align 8
%aq=load i8*,i8**@_SMLZN7Counter18llvmGenTimeCounterE,align 8
%ar=getelementptr inbounds i8,i8*%aq,i64 32
%as=bitcast i8*%ar to i8**
%at=load i8*,i8**%as,align 8
%au=getelementptr inbounds i8,i8*%at,i64 16
%av=bitcast i8*%au to i8*(i8*,i8*)**
%aw=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%av,align 8
%ax=bitcast i8*%at to i8**
%ay=load i8*,i8**%ax,align 8
store i8*%ay,i8**%f,align 8
%az=call i8*@sml_alloc(i32 inreg 4)#0
%aA=bitcast i8*%az to i32*
%aB=getelementptr inbounds i8,i8*%az,i64 -4
%aC=bitcast i8*%aB to i32*
store i32 4,i32*%aC,align 4
store i32 0,i32*%aA,align 4
%aD=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aE=call fastcc i8*%aw(i8*inreg%aD,i8*inreg%az)
%aF=load i8*,i8**@_SMLZN7Control12printLLVMGenE,align 8
%aG=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aG)
%aH=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%aH)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%aF,i8**%c,align 8
%aI=call i8*@sml_alloc(i32 inreg 12)#0
%aJ=getelementptr inbounds i8,i8*%aI,i64 -4
%aK=bitcast i8*%aJ to i32*
store i32 1342177288,i32*%aK,align 4
store i8*%aI,i8**%d,align 8
%aL=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%aM=bitcast i8*%aI to i8**
store i8*%aL,i8**%aM,align 8
%aN=getelementptr inbounds i8,i8*%aI,i64 8
%aO=bitcast i8*%aN to i32*
store i32 1,i32*%aO,align 4
%aP=call i8*@sml_alloc(i32 inreg 28)#0
%aQ=getelementptr inbounds i8,i8*%aP,i64 -4
%aR=bitcast i8*%aQ to i32*
store i32 1342177304,i32*%aR,align 4
%aS=load i8*,i8**%d,align 8
%aT=bitcast i8*%aP to i8**
store i8*%aS,i8**%aT,align 8
%aU=getelementptr inbounds i8,i8*%aP,i64 8
%aV=bitcast i8*%aU to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printLLVMIRE_273 to void(...)*),void(...)**%aV,align 8
%aW=getelementptr inbounds i8,i8*%aP,i64 16
%aX=bitcast i8*%aW to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top11printLLVMIRE_273 to void(...)*),void(...)**%aX,align 8
%aY=getelementptr inbounds i8,i8*%aP,i64 24
%aZ=bitcast i8*%aY to i32*
store i32 -2147483647,i32*%aZ,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aG)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%aH)
%a0=call fastcc i8*@_SMLLN3Top11printLLVMIRE_273(i8*inreg%aS,i8*inreg getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@ah,i64 0,i32 2,i64 0))
%a1=getelementptr inbounds i8,i8*%a0,i64 16
%a2=bitcast i8*%a1 to i8*(i8*,i8*)**
%a3=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a2,align 8
%a4=bitcast i8*%a0 to i8**
%a5=load i8*,i8**%a4,align 8
%a6=load i8*,i8**%e,align 8
%a7=call fastcc i8*%a3(i8*inreg%a5,i8*inreg%a6)
%a8=load i8*,i8**%e,align 8
ret i8*%a8
}
define internal fastcc void@_SMLLN3Top7compileE_404(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%d,align 8
%l=icmp eq i8*%j,null
br i1%l,label%m,label%n
m:
ret void
n:
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
store i8*null,i8**%c,align 8
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%q,i64 32
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%w(i8*inreg%y,i8*inreg%j)
ret void
}
define internal fastcc void@_SMLLN3Top7compileE_406(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%d,align 8
%l=icmp eq i8*%j,null
br i1%l,label%m,label%n
m:
ret void
n:
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
store i8*null,i8**%c,align 8
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%q,i64 32
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%w(i8*inreg%y,i8*inreg%j)
ret void
}
define internal fastcc void@_SMLLN3Top7compileE_407(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%d,align 8
%l=icmp eq i8*%j,null
br i1%l,label%m,label%n
m:
ret void
n:
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
store i8*null,i8**%c,align 8
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%q,i64 32
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%w(i8*inreg%y,i8*inreg%j)
ret void
}
define internal fastcc i8*@_SMLL13externalDecls_408(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 20)#0
%d=bitcast i8*%c to i32*
%e=getelementptr inbounds i8,i8*%c,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177296,i32*%f,align 4
%g=getelementptr inbounds i8,i8*%c,i64 4
%h=bitcast i8*%g to i32*
store i32 0,i32*%h,align 1
store i32 6,i32*%d,align 4
%i=load i8*,i8**%b,align 8
%j=getelementptr inbounds i8,i8*%c,i64 8
%k=bitcast i8*%j to i8**
store i8*%i,i8**%k,align 8
%l=getelementptr inbounds i8,i8*%c,i64 16
%m=bitcast i8*%l to i32*
store i32 2,i32*%m,align 4
ret i8*%c
}
define internal fastcc void@_SMLL6tpdecs_410(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,align 8
br label%i
i:
%j=phi i8*[%h,%g],[%b,%k]
store i8*null,i8**%d,align 8
%l=icmp eq i8*%j,null
br i1%l,label%m,label%n
m:
ret void
n:
%o=bitcast i8**%c to i8***
%p=load i8**,i8***%o,align 8
store i8*null,i8**%c,align 8
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%q,i64 32
%s=bitcast i8*%r to i8**
%t=load i8*,i8**%s,align 8
%u=getelementptr inbounds i8,i8*%t,i64 16
%v=bitcast i8*%u to i8*(i8*,i8*)**
%w=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%v,align 8
%x=bitcast i8*%t to i8**
%y=load i8*,i8**%x,align 8
%z=call fastcc i8*%w(i8*inreg%y,i8*inreg%j)
ret void
}
define internal fastcc i8*@_SMLLN3Top7compileE_413(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
aL:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
%i=alloca i8*,align 8
%j=alloca i8*,align 8
%k=alloca i8*,align 8
%l=alloca i8*,align 8
%m=alloca i8*,align 8
%n=alloca i8*,align 8
%o=alloca i8*,align 8
%p=alloca i8*,align 8
%q=alloca i8*,align 8
%r=alloca i8*,align 8
%s=alloca i8*,align 8
%t=alloca i8*,align 8
%u=alloca i8*,align 8
%v=alloca i8*,align 8
%w=alloca i8*,align 8
%x=alloca i8*,align 8
%y=alloca i8*,align 8
%z=alloca i8*,align 8
%A=alloca i8*,align 8
%B=alloca i8*,align 8
%C=alloca i8*,align 8
%D=alloca i8*,align 8
%E=alloca i8*,align 8
%F=alloca i8*,align 8
%G=alloca i8*,align 8
%H=alloca i8*,align 8
%I=alloca i8*,align 8
%J=alloca i8*,align 8
%K=alloca i8*,align 8
%L=alloca i8*,align 8
%M=alloca i8*,align 8
%N=alloca i8*,align 8
%O=alloca i8*,align 8
%P=alloca i8*,align 8
%Q=alloca i8*,align 8
%R=alloca i8*,align 8
%S=alloca i8*,align 8
%T=alloca i8*,align 8
%U=alloca i8*,align 8
%V=alloca i8*,align 8
%W=alloca i8*,align 8
%X=alloca i8*,align 8
%Y=alloca i8*,align 8
%Z=alloca i8*,align 8
%aa=alloca i8*,align 8
%ab=alloca i8*,align 8
%ac=alloca i8*,align 8
%ad=alloca i8*,align 8
%ae=alloca i8*,align 8
%af=alloca i8*,align 8
%ag=alloca i8*,align 8
%ah=alloca i8*,align 8
%ai=alloca i8*,align 8
%aj=alloca i8*,align 8
%ak=alloca i8*,align 8
%al=alloca i8*,align 8
%am=alloca i8*,align 8
%an=alloca i8*,align 8
%ao=alloca i8*,align 8
%ap=alloca i8*,align 8
%aq=alloca i8*,align 8
%ar=alloca i8*,align 8
%as=alloca i8*,align 8
%at=alloca i8*,align 8
%au=alloca i8*,align 8
%av=alloca i8*,align 8
%aw=alloca i8*,align 8
%ax=alloca i8*,align 8
%ay=alloca i8*,align 8
%az=alloca i8*,align 8
%aA=alloca i8*,align 8
%aB=alloca i8*,align 8
%aC=alloca i8*,align 8
%aD=alloca i8*,align 8
call void@llvm.gcroot(i8**%au,i8*null)#0
call void@llvm.gcroot(i8**%av,i8*null)#0
call void@llvm.gcroot(i8**%aw,i8*null)#0
call void@llvm.gcroot(i8**%ax,i8*null)#0
call void@llvm.gcroot(i8**%ay,i8*null)#0
call void@llvm.gcroot(i8**%az,i8*null)#0
call void@llvm.gcroot(i8**%aA,i8*null)#0
call void@llvm.gcroot(i8**%aB,i8*null)#0
call void@llvm.gcroot(i8**%aC,i8*null)#0
call void@llvm.gcroot(i8**%aD,i8*null)#0
store i8*%a,i8**%aB,align 8
store i8*%b,i8**%au,align 8
%aE=load atomic i32,i32*@sml_check_flag unordered,align 4
%aF=icmp eq i32%aE,0
br i1%aF,label%aJ,label%aG
aG:
call void@sml_check(i32 inreg%aE)
%aH=load i8*,i8**%au,align 8
%aI=load i8*,i8**%aB,align 8
br label%aJ
aJ:
%aK=phi i8*[%aI,%aG],[%a,%aL]
%aM=phi i8*[%aH,%aG],[%b,%aL]
store i8*%aM,i8**%ax,align 8
%aN=getelementptr inbounds i8,i8*%aK,i64 8
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=getelementptr inbounds i8,i8*%aP,i64 40
%aR=bitcast i8*%aQ to i32*
%aS=load i32,i32*%aR,align 4
%aT=getelementptr inbounds i8,i8*%aK,i64 16
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
%aW=getelementptr inbounds i8,i8*%aV,i64 16
%aX=bitcast i8*%aW to i8**
%aY=load i8*,i8**%aX,align 8
store i8*%aY,i8**%aA,align 8
%aZ=load i8*,i8**@_SMLZN7Counter22compilationTimeCounterE,align 8
%a0=getelementptr inbounds i8,i8*%aZ,i64 24
%a1=bitcast i8*%a0 to i8**
%a2=load i8*,i8**%a1,align 8
%a3=getelementptr inbounds i8,i8*%a2,i64 16
%a4=bitcast i8*%a3 to i8*(i8*,i8*)**
%a5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%a4,align 8
%a6=bitcast i8*%a2 to i8**
%a7=load i8*,i8**%a6,align 8
store i8*%a7,i8**%au,align 8
%a8=call i8*@sml_alloc(i32 inreg 4)#0
%a9=bitcast i8*%a8 to i32*
%ba=getelementptr inbounds i8,i8*%a8,i64 -4
%bb=bitcast i8*%ba to i32*
store i32 4,i32*%bb,align 4
store i32 0,i32*%a9,align 4
%bc=load i8*,i8**%au,align 8
store i8*null,i8**%au,align 8
%bd=invoke fastcc i8*%a5(i8*inreg%bc,i8*inreg%a8)
to label%be unwind label%JZ
be:
%bf=load i8*,i8**@_SMLZN9Analyzers17analyzeIdRefForUPE,align 8
store i8*%bf,i8**%au,align 8
%bg=load i8*,i8**@_SMLZN9Analyzers19analyzeTstrRefForUPE,align 8
store i8*%bg,i8**%av,align 8
%bh=call i8*@sml_alloc(i32 inreg 20)#0
%bi=getelementptr inbounds i8,i8*%bh,i64 -4
%bj=bitcast i8*%bi to i32*
store i32 1342177296,i32*%bj,align 4
%bk=load i8*,i8**%au,align 8
store i8*null,i8**%au,align 8
%bl=bitcast i8*%bh to i8**
store i8*%bk,i8**%bl,align 8
%bm=load i8*,i8**%av,align 8
store i8*null,i8**%av,align 8
%bn=getelementptr inbounds i8,i8*%bh,i64 8
%bo=bitcast i8*%bn to i8**
store i8*%bm,i8**%bo,align 8
%bp=getelementptr inbounds i8,i8*%bh,i64 16
%bq=bitcast i8*%bp to i32*
store i32 3,i32*%bq,align 4
invoke fastcc void@_SMLFN18UserLevelPrimitive11initAnalyzeE(i8*inreg%bh)
to label%br unwind label%JZ
br:
%bs=bitcast i8**%aB to i8***
%bt=load i8**,i8***%bs,align 8
%bu=load i8*,i8**%bt,align 8
%bv=bitcast i8**%aq to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bv)
%bw=bitcast i8**%ar to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bw)
%bx=bitcast i8**%as to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bx)
%by=bitcast i8**%at to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%by)
call void@llvm.gcroot(i8**%aq,i8*null)#0
call void@llvm.gcroot(i8**%ar,i8*null)#0
call void@llvm.gcroot(i8**%as,i8*null)#0
call void@llvm.gcroot(i8**%at,i8*null)#0
store i8*%bu,i8**%aq,align 8
%bz=load atomic i32,i32*@sml_check_flag unordered,align 4
%bA=icmp eq i32%bz,0
br i1%bA,label%bE,label%bB
bB:
invoke void@sml_check(i32 inreg%bz)
to label%bC unwind label%JZ
bC:
%bD=load i8*,i8**%aq,align 8
br label%bE
bE:
%bF=phi i8*[%bD,%bC],[%bu,%br]
store i8*null,i8**%aq,align 8
%bG=invoke fastcc i8*@_SMLFN9LLVMUtils13getDataLayoutE(i8*inreg%bF)
to label%bH unwind label%JZ
bH:
store i8*%bG,i8**%aq,align 8
%bI=invoke fastcc i8*@_SMLFN4List4findE(i32 inreg 1,i32 inreg 8)
to label%bJ unwind label%JZ
bJ:
%bK=getelementptr inbounds i8,i8*%bI,i64 16
%bL=bitcast i8*%bK to i8*(i8*,i8*)**
%bM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bL,align 8
%bN=bitcast i8*%bI to i8**
%bO=load i8*,i8**%bN,align 8
%bP=invoke fastcc i8*%bM(i8*inreg%bO,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@D,i64 0,i32 2)to i8*))
to label%bQ unwind label%JZ
bQ:
%bR=getelementptr inbounds i8,i8*%bP,i64 16
%bS=bitcast i8*%bR to i8*(i8*,i8*)**
%bT=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bS,align 8
%bU=bitcast i8*%bP to i8**
%bV=load i8*,i8**%bU,align 8
%bW=bitcast i8**%aq to i8***
%bX=load i8**,i8***%bW,align 8
store i8*null,i8**%aq,align 8
%bY=load i8*,i8**%bX,align 8
%bZ=invoke fastcc i8*%bT(i8*inreg%bV,i8*inreg%bY)
to label%b0 unwind label%JZ
b0:
%b1=icmp eq i8*%bZ,null
br i1%b1,label%b2,label%cn
b2:
%b3=load i8*,i8**@_SMLZN3Bug3BugE,align 8
store i8*%b3,i8**%aq,align 8
%b4=call i8*@sml_alloc(i32 inreg 28)#0
%b5=getelementptr inbounds i8,i8*%b4,i64 -4
%b6=bitcast i8*%b5 to i32*
store i32 1342177304,i32*%b6,align 4
store i8*%b4,i8**%ar,align 8
%b7=load i8*,i8**%aq,align 8
store i8*null,i8**%aq,align 8
%b8=bitcast i8*%b4 to i8**
store i8*%b7,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b4,i64 8
%ca=bitcast i8*%b9 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[62x i8]}>,<{[4x i8],i32,[62x i8]}>*@E,i64 0,i32 2,i64 0),i8**%ca,align 8
%cb=getelementptr inbounds i8,i8*%b4,i64 16
%cc=bitcast i8*%cb to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@F,i64 0,i32 2,i64 0),i8**%cc,align 8
%cd=getelementptr inbounds i8,i8*%b4,i64 24
%ce=bitcast i8*%cd to i32*
store i32 7,i32*%ce,align 4
%cf=call i8*@sml_alloc(i32 inreg 60)#0
%cg=getelementptr inbounds i8,i8*%cf,i64 -4
%ch=bitcast i8*%cg to i32*
store i32 1342177336,i32*%ch,align 4
%ci=getelementptr inbounds i8,i8*%cf,i64 56
%cj=bitcast i8*%ci to i32*
store i32 1,i32*%cj,align 4
%ck=load i8*,i8**%ar,align 8
%cl=bitcast i8*%cf to i8**
store i8*%ck,i8**%cl,align 8
invoke void@sml_raise(i8*inreg%cf)#1
to label%cm unwind label%JZ
cm:
unreachable
cn:
%co=bitcast i8*%bZ to i8**
%cp=load i8*,i8**%co,align 8
%cq=getelementptr inbounds i8,i8*%cp,i64 8
%cr=bitcast i8*%cq to i32*
%cs=load i32,i32*%cr,align 4
switch i32%cs,label%cL[
i32 64,label%ct
i32 32,label%ct
]
ct:
%cu=trunc i32%cs to i8
%cv=lshr i8%cu,3
%cw=zext i8%cv to i32
%cx=lshr i32%cs,31
%cy=and i32%cs,7
%cz=icmp ne i32%cy,0
%cA=zext i1%cz to i32
%cB=and i32%cx,%cA
%cC=sub nsw i32%cw,%cB
%cD=call i8*@sml_alloc(i32 inreg 12)#0
%cE=bitcast i8*%cD to i32*
%cF=getelementptr inbounds i8,i8*%cD,i64 -4
%cG=bitcast i8*%cF to i32*
store i32 1342177288,i32*%cG,align 4
%cH=getelementptr inbounds i8,i8*%cD,i64 4
%cI=bitcast i8*%cH to i32*
store i32 0,i32*%cI,align 1
store i32%cC,i32*%cE,align 4
%cJ=getelementptr inbounds i8,i8*%cD,i64 8
%cK=bitcast i8*%cJ to i32*
store i32 0,i32*%cK,align 4
invoke fastcc void@_SMLFN12RuntimeTypes4initE(i8*inreg%cD)
to label%dH unwind label%JZ
cL:
%cM=load i8*,i8**@_SMLZN9UserError10UserErrorsE,align 8
store i8*%cM,i8**%ar,align 8
%cN=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%cN,i8**%as,align 8
%cO=load i8*,i8**@_SMLZN7TopData22UnsupportedPointerSizeE,align 8
store i8*%cO,i8**%aq,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**%at,align 8
%cS=getelementptr inbounds i8,i8*%cP,i64 20
%cT=bitcast i8*%cS to i32*
store i32 0,i32*%cT,align 1
%cU=load i8*,i8**%aq,align 8
%cV=bitcast i8*%cP to i8**
store i8*null,i8**%aq,align 8
store i8*%cU,i8**%cV,align 8
%cW=getelementptr inbounds i8,i8*%cP,i64 8
%cX=bitcast i8*%cW to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[62x i8]}>,<{[4x i8],i32,[62x i8]}>*@H,i64 0,i32 2,i64 0),i8**%cX,align 8
%cY=getelementptr inbounds i8,i8*%cP,i64 16
%cZ=bitcast i8*%cY to i32*
store i32%cs,i32*%cZ,align 4
%c0=getelementptr inbounds i8,i8*%cP,i64 24
%c1=bitcast i8*%c0 to i32*
store i32 3,i32*%c1,align 4
%c2=call i8*@sml_alloc(i32 inreg 28)#0
%c3=getelementptr inbounds i8,i8*%c2,i64 -4
%c4=bitcast i8*%c3 to i32*
store i32 1342177304,i32*%c4,align 4
store i8*%c2,i8**%aq,align 8
%c5=load i8*,i8**%as,align 8
store i8*null,i8**%as,align 8
%c6=bitcast i8*%c2 to i8**
store i8*%c5,i8**%c6,align 8
%c7=getelementptr inbounds i8,i8*%c2,i64 8
%c8=bitcast i8*%c7 to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@ay,i64 0,i32 2)to i8*),i8**%c8,align 8
%c9=load i8*,i8**%at,align 8
store i8*null,i8**%at,align 8
%da=getelementptr inbounds i8,i8*%c2,i64 16
%db=bitcast i8*%da to i8**
store i8*%c9,i8**%db,align 8
%dc=getelementptr inbounds i8,i8*%c2,i64 24
%dd=bitcast i8*%dc to i32*
store i32 7,i32*%dd,align 4
%de=call i8*@sml_alloc(i32 inreg 20)#0
%df=getelementptr inbounds i8,i8*%de,i64 -4
%dg=bitcast i8*%df to i32*
store i32 1342177296,i32*%dg,align 4
store i8*%de,i8**%as,align 8
%dh=load i8*,i8**%aq,align 8
store i8*null,i8**%aq,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*null,i8**%dk,align 8
%dl=getelementptr inbounds i8,i8*%de,i64 16
%dm=bitcast i8*%dl to i32*
store i32 3,i32*%dm,align 4
%dn=call i8*@sml_alloc(i32 inreg 28)#0
%do=getelementptr inbounds i8,i8*%dn,i64 -4
%dp=bitcast i8*%do to i32*
store i32 1342177304,i32*%dp,align 4
store i8*%dn,i8**%aq,align 8
%dq=load i8*,i8**%ar,align 8
store i8*null,i8**%ar,align 8
%dr=bitcast i8*%dn to i8**
store i8*%dq,i8**%dr,align 8
%ds=getelementptr inbounds i8,i8*%dn,i64 8
%dt=bitcast i8*%ds to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[62x i8]}>,<{[4x i8],i32,[62x i8]}>*@G,i64 0,i32 2,i64 0),i8**%dt,align 8
%du=load i8*,i8**%as,align 8
store i8*null,i8**%as,align 8
%dv=getelementptr inbounds i8,i8*%dn,i64 16
%dw=bitcast i8*%dv to i8**
store i8*%du,i8**%dw,align 8
%dx=getelementptr inbounds i8,i8*%dn,i64 24
%dy=bitcast i8*%dx to i32*
store i32 7,i32*%dy,align 4
%dz=call i8*@sml_alloc(i32 inreg 60)#0
%dA=getelementptr inbounds i8,i8*%dz,i64 -4
%dB=bitcast i8*%dA to i32*
store i32 1342177336,i32*%dB,align 4
%dC=getelementptr inbounds i8,i8*%dz,i64 56
%dD=bitcast i8*%dC to i32*
store i32 1,i32*%dD,align 4
%dE=load i8*,i8**%aq,align 8
%dF=bitcast i8*%dz to i8**
store i8*%dE,i8**%dF,align 8
invoke void@sml_raise(i8*inreg%dz)#1
to label%dG unwind label%JZ
dG:
unreachable
dH:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bv)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bw)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bx)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%by)
%dI=load i8*,i8**%ax,align 8
%dJ=bitcast i8**%ao to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dJ)
%dK=bitcast i8**%ap to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%dK)
call void@llvm.gcroot(i8**%ao,i8*null)#0
call void@llvm.gcroot(i8**%ap,i8*null)#0
store i8*%dI,i8**%ao,align 8
%dL=load atomic i32,i32*@sml_check_flag unordered,align 4
%dM=icmp eq i32%dL,0
br i1%dM,label%dO,label%dN
dN:
invoke void@sml_check(i32 inreg%dL)
to label%dO unwind label%JZ
dO:
%dP=load i8*,i8**@_SMLZN7Counter16parseTimeCounterE,align 8
%dQ=getelementptr inbounds i8,i8*%dP,i64 24
%dR=bitcast i8*%dQ to i8**
%dS=load i8*,i8**%dR,align 8
%dT=getelementptr inbounds i8,i8*%dS,i64 16
%dU=bitcast i8*%dT to i8*(i8*,i8*)**
%dV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%dU,align 8
%dW=bitcast i8*%dS to i8**
%dX=load i8*,i8**%dW,align 8
store i8*%dX,i8**%ap,align 8
%dY=call i8*@sml_alloc(i32 inreg 4)#0
%dZ=bitcast i8*%dY to i32*
%d0=getelementptr inbounds i8,i8*%dY,i64 -4
%d1=bitcast i8*%d0 to i32*
store i32 4,i32*%d1,align 4
store i32 0,i32*%dZ,align 4
%d2=load i8*,i8**%ap,align 8
store i8*null,i8**%ap,align 8
%d3=invoke fastcc i8*%dV(i8*inreg%d2,i8*inreg%dY)
to label%d4 unwind label%JZ
d4:
%d5=load i8*,i8**%ao,align 8
store i8*null,i8**%ao,align 8
%d6=invoke fastcc i8*@_SMLFN6Parser5parseE(i8*inreg%d5)
to label%d7 unwind label%JZ
d7:
store i8*%d6,i8**%ao,align 8
%d8=load i8*,i8**@_SMLZN7Counter16parseTimeCounterE,align 8
%d9=getelementptr inbounds i8,i8*%d8,i64 32
%ea=bitcast i8*%d9 to i8**
%eb=load i8*,i8**%ea,align 8
%ec=getelementptr inbounds i8,i8*%eb,i64 16
%ed=bitcast i8*%ec to i8*(i8*,i8*)**
%ee=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ed,align 8
%ef=bitcast i8*%eb to i8**
%eg=load i8*,i8**%ef,align 8
store i8*%eg,i8**%ap,align 8
%eh=call i8*@sml_alloc(i32 inreg 4)#0
%ei=bitcast i8*%eh to i32*
%ej=getelementptr inbounds i8,i8*%eh,i64 -4
%ek=bitcast i8*%ej to i32*
store i32 4,i32*%ek,align 4
store i32 0,i32*%ei,align 4
%el=load i8*,i8**%ap,align 8
store i8*null,i8**%ap,align 8
%em=invoke fastcc i8*%ee(i8*inreg%el,i8*inreg%eh)
to label%en unwind label%JZ
en:
%eo=load i8*,i8**@_SMLZN7Control10printParseE,align 8
%ep=bitcast i8**%am to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ep)
%eq=bitcast i8**%an to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%eq)
call void@llvm.gcroot(i8**%am,i8*null)#0
call void@llvm.gcroot(i8**%an,i8*null)#0
store i8*%eo,i8**%am,align 8
%er=call i8*@sml_alloc(i32 inreg 12)#0
%es=getelementptr inbounds i8,i8*%er,i64 -4
%et=bitcast i8*%es to i32*
store i32 1342177288,i32*%et,align 4
store i8*%er,i8**%an,align 8
%eu=load i8*,i8**%am,align 8
store i8*null,i8**%am,align 8
%ev=bitcast i8*%er to i8**
store i8*%eu,i8**%ev,align 8
%ew=getelementptr inbounds i8,i8*%er,i64 8
%ex=bitcast i8*%ew to i32*
store i32 1,i32*%ex,align 4
%ey=call i8*@sml_alloc(i32 inreg 28)#0
%ez=getelementptr inbounds i8,i8*%ey,i64 -4
%eA=bitcast i8*%ez to i32*
store i32 1342177304,i32*%eA,align 4
%eB=load i8*,i8**%an,align 8
%eC=bitcast i8*%ey to i8**
store i8*%eB,i8**%eC,align 8
%eD=getelementptr inbounds i8,i8*%ey,i64 8
%eE=bitcast i8*%eD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printParseResultE_167 to void(...)*),void(...)**%eE,align 8
%eF=getelementptr inbounds i8,i8*%ey,i64 16
%eG=bitcast i8*%eF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printParseResultE_167 to void(...)*),void(...)**%eG,align 8
%eH=getelementptr inbounds i8,i8*%ey,i64 24
%eI=bitcast i8*%eH to i32*
store i32 -2147483647,i32*%eI,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ep)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%eq)
%eJ=call fastcc i8*@_SMLLN3Top16printParseResultE_167(i8*inreg%eB,i8*inreg getelementptr inbounds(<{[4x i8],i32,[7x i8]}>,<{[4x i8],i32,[7x i8]}>*@I,i64 0,i32 2,i64 0))
%eK=getelementptr inbounds i8,i8*%eJ,i64 16
%eL=bitcast i8*%eK to i8*(i8*,i8*)**
%eM=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%eL,align 8
%eN=bitcast i8*%eJ to i8**
%eO=load i8*,i8**%eN,align 8
%eP=load i8*,i8**%ao,align 8
%eQ=invoke fastcc i8*%eM(i8*inreg%eO,i8*inreg%eP)
to label%eR unwind label%JZ
eR:
%eS=load i8*,i8**%ao,align 8
%eT=icmp eq i8*%eS,null
br i1%eT,label%eU,label%e7
eU:
%eV=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%eV,i8**%ao,align 8
%eW=call i8*@sml_alloc(i32 inreg 28)#0
%eX=getelementptr inbounds i8,i8*%eW,i64 -4
%eY=bitcast i8*%eX to i32*
store i32 1342177304,i32*%eY,align 4
%eZ=bitcast i8*%eW to i8**
store i8*null,i8**%eZ,align 8
%e0=load i8*,i8**%ao,align 8
%e1=getelementptr inbounds i8,i8*%eW,i64 8
%e2=bitcast i8*%e1 to i8**
store i8*%e0,i8**%e2,align 8
%e3=getelementptr inbounds i8,i8*%eW,i64 16
%e4=bitcast i8*%e3 to i8**
store i8*null,i8**%e4,align 8
%e5=getelementptr inbounds i8,i8*%eW,i64 24
%e6=bitcast i8*%e5 to i32*
store i32 7,i32*%e6,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dJ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dK)
br label%e8
e7:
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dJ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%dK)
br label%e8
e8:
%e9=phi i8*[%eW,%eU],[%eS,%e7]
store i8*%e9,i8**%au,align 8
%fa=load i8*,i8**%aB,align 8
%fb=getelementptr inbounds i8,i8*%fa,i64 8
%fc=bitcast i8*%fb to i8**
%fd=load i8*,i8**%fc,align 8
%fe=bitcast i8**%ak to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%fe)
%ff=bitcast i8**%al to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ff)
call void@llvm.gcroot(i8**%ak,i8*null)#0
call void@llvm.gcroot(i8**%al,i8*null)#0
store i8*%fd,i8**%ak,align 8
%fg=call i8*@sml_alloc(i32 inreg 12)#0
%fh=getelementptr inbounds i8,i8*%fg,i64 -4
%fi=bitcast i8*%fh to i32*
store i32 1342177288,i32*%fi,align 4
store i8*%fg,i8**%al,align 8
%fj=load i8*,i8**%ak,align 8
store i8*null,i8**%ak,align 8
%fk=bitcast i8*%fg to i8**
store i8*%fj,i8**%fk,align 8
%fl=getelementptr inbounds i8,i8*%fg,i64 8
%fm=bitcast i8*%fl to i32*
store i32 1,i32*%fm,align 4
%fn=call i8*@sml_alloc(i32 inreg 28)#0
%fo=getelementptr inbounds i8,i8*%fn,i64 -4
%fp=bitcast i8*%fo to i32*
store i32 1342177304,i32*%fp,align 4
%fq=load i8*,i8**%al,align 8
%fr=bitcast i8*%fn to i8**
store i8*%fq,i8**%fr,align 8
%fs=getelementptr inbounds i8,i8*%fn,i64 8
%ft=bitcast i8*%fs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10doLoadFileE_299 to void(...)*),void(...)**%ft,align 8
%fu=getelementptr inbounds i8,i8*%fn,i64 16
%fv=bitcast i8*%fu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top10doLoadFileE_299 to void(...)*),void(...)**%fv,align 8
%fw=getelementptr inbounds i8,i8*%fn,i64 24
%fx=bitcast i8*%fw to i32*
store i32 -2147483647,i32*%fx,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%fe)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ff)
%fy=load i8*,i8**%aB,align 8
%fz=getelementptr inbounds i8,i8*%fy,i64 16
%fA=bitcast i8*%fz to i8**
%fB=load i8*,i8**%fA,align 8
%fC=call fastcc i8*@_SMLLN3Top10doLoadFileE_299(i8*inreg%fq,i8*inreg%fB)
%fD=getelementptr inbounds i8,i8*%fC,i64 16
%fE=bitcast i8*%fD to i8*(i8*,i8*)**
%fF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%fE,align 8
%fG=bitcast i8*%fC to i8**
%fH=load i8*,i8**%fG,align 8
%fI=load i8*,i8**%au,align 8
store i8*null,i8**%au,align 8
%fJ=invoke fastcc i8*%fF(i8*inreg%fH,i8*inreg%fI)
to label%fK unwind label%JZ
fK:
store i8*%fJ,i8**%aw,align 8
%fL=bitcast i8*%fJ to i8**
%fM=load i8*,i8**%fL,align 8
store i8*%fM,i8**%au,align 8
%fN=getelementptr inbounds i8,i8*%fJ,i64 8
%fO=bitcast i8*%fN to i8**
%fP=load i8*,i8**%fO,align 8
store i8*%fP,i8**%av,align 8
%fQ=load i8*,i8**%aB,align 8
%fR=getelementptr inbounds i8,i8*%fQ,i64 8
%fS=bitcast i8*%fR to i8**
%fT=load i8*,i8**%fS,align 8
store i8*%fT,i8**%ay,align 8
%fU=call i8*@sml_alloc(i32 inreg 12)#0
%fV=getelementptr inbounds i8,i8*%fU,i64 -4
%fW=bitcast i8*%fV to i32*
store i32 1342177288,i32*%fW,align 4
store i8*%fU,i8**%az,align 8
%fX=load i8*,i8**%ay,align 8
store i8*null,i8**%ay,align 8
%fY=bitcast i8*%fU to i8**
store i8*%fX,i8**%fY,align 8
%fZ=getelementptr inbounds i8,i8*%fU,i64 8
%f0=bitcast i8*%fZ to i32*
store i32 1,i32*%f0,align 4
%f1=call i8*@sml_alloc(i32 inreg 28)#0
%f2=getelementptr inbounds i8,i8*%f1,i64 -4
%f3=bitcast i8*%f2 to i32*
store i32 1342177304,i32*%f3,align 4
%f4=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%f5=bitcast i8*%f1 to i8**
store i8*%f4,i8**%f5,align 8
%f6=getelementptr inbounds i8,i8*%f1,i64 8
%f7=bitcast i8*%f6 to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top7compileE_404 to void(...)*),void(...)**%f7,align 8
%f8=getelementptr inbounds i8,i8*%f1,i64 16
%f9=bitcast i8*%f8 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_542 to void(...)*),void(...)**%f9,align 8
%ga=getelementptr inbounds i8,i8*%f1,i64 24
%gb=bitcast i8*%ga to i32*
store i32 -2147483647,i32*%gb,align 4
%gc=bitcast i8**%ai to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%gc)
%gd=bitcast i8**%aj to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%gd)
call void@llvm.gcroot(i8**%ai,i8*null)#0
call void@llvm.gcroot(i8**%aj,i8*null)#0
store i8*%f1,i8**%ai,align 8
%ge=call i8*@sml_alloc(i32 inreg 12)#0
%gf=getelementptr inbounds i8,i8*%ge,i64 -4
%gg=bitcast i8*%gf to i32*
store i32 1342177288,i32*%gg,align 4
store i8*%ge,i8**%aj,align 8
%gh=load i8*,i8**%ai,align 8
store i8*null,i8**%ai,align 8
%gi=bitcast i8*%ge to i8**
store i8*%gh,i8**%gi,align 8
%gj=getelementptr inbounds i8,i8*%ge,i64 8
%gk=bitcast i8*%gj to i32*
store i32 1,i32*%gk,align 4
%gl=call i8*@sml_alloc(i32 inreg 28)#0
%gm=getelementptr inbounds i8,i8*%gl,i64 -4
%gn=bitcast i8*%gm to i32*
store i32 1342177304,i32*%gn,align 4
%go=load i8*,i8**%aj,align 8
%gp=bitcast i8*%gl to i8**
store i8*%go,i8**%gp,align 8
%gq=getelementptr inbounds i8,i8*%gl,i64 8
%gr=bitcast i8*%gq to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doElaborationE_310 to void(...)*),void(...)**%gr,align 8
%gs=getelementptr inbounds i8,i8*%gl,i64 16
%gt=bitcast i8*%gs to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doElaborationE_310 to void(...)*),void(...)**%gt,align 8
%gu=getelementptr inbounds i8,i8*%gl,i64 24
%gv=bitcast i8*%gu to i32*
store i32 -2147483647,i32*%gv,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%gc)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%gd)
%gw=load i8*,i8**%aB,align 8
%gx=getelementptr inbounds i8,i8*%gw,i64 16
%gy=bitcast i8*%gx to i8**
%gz=load i8*,i8**%gy,align 8
%gA=getelementptr inbounds i8,i8*%gz,i64 8
%gB=bitcast i8*%gA to i8**
%gC=load i8*,i8**%gB,align 8
%gD=call fastcc i8*@_SMLLN3Top13doElaborationE_310(i8*inreg%go,i8*inreg%gC)
%gE=getelementptr inbounds i8,i8*%gD,i64 16
%gF=bitcast i8*%gE to i8*(i8*,i8*)**
%gG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%gF,align 8
%gH=bitcast i8*%gD to i8**
%gI=load i8*,i8**%gH,align 8
%gJ=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%gK=getelementptr inbounds i8,i8*%gJ,i64 16
%gL=bitcast i8*%gK to i8**
%gM=load i8*,i8**%gL,align 8
%gN=invoke fastcc i8*%gG(i8*inreg%gI,i8*inreg%gM)
to label%gO unwind label%JZ
gO:
store i8*%gN,i8**%ay,align 8
%gP=bitcast i8*%gN to i8**
%gQ=load i8*,i8**%gP,align 8
store i8*%gQ,i8**%aw,align 8
%gR=icmp eq i32%aS,3
br i1%gR,label%gS,label%hd
gS:
store i8*null,i8**%av,align 8
store i8*null,i8**%aw,align 8
store i8*null,i8**%ax,align 8
store i8*null,i8**%ay,align 8
store i8*null,i8**%aA,align 8
store i8*null,i8**%aB,align 8
%gT=call i8*@sml_alloc(i32 inreg 20)#0
%gU=getelementptr inbounds i8,i8*%gT,i64 -4
%gV=bitcast i8*%gU to i32*
store i32 1342177296,i32*%gV,align 4
store i8*%gT,i8**%av,align 8
%gW=load i8*,i8**%au,align 8
store i8*null,i8**%au,align 8
%gX=bitcast i8*%gT to i8**
store i8*%gW,i8**%gX,align 8
%gY=getelementptr inbounds i8,i8*%gT,i64 8
%gZ=bitcast i8*%gY to i8**
store i8*null,i8**%gZ,align 8
%g0=getelementptr inbounds i8,i8*%gT,i64 16
%g1=bitcast i8*%g0 to i32*
store i32 3,i32*%g1,align 4
%g2=call i8*@sml_alloc(i32 inreg 28)#0
%g3=getelementptr inbounds i8,i8*%g2,i64 -4
%g4=bitcast i8*%g3 to i32*
store i32 1342177304,i32*%g4,align 4
%g5=bitcast i8*%g2 to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL403,i64 0,i32 2)to i8*),i8**%g5,align 8
%g6=getelementptr inbounds i8,i8*%g2,i64 8
%g7=bitcast i8*%g6 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@ak,i64 0,i32 2,i64 0),i8**%g7,align 8
%g8=load i8*,i8**%av,align 8
%g9=getelementptr inbounds i8,i8*%g2,i64 16
%ha=bitcast i8*%g9 to i8**
store i8*%g8,i8**%ha,align 8
%hb=getelementptr inbounds i8,i8*%g2,i64 24
%hc=bitcast i8*%hb to i32*
store i32 7,i32*%hc,align 4
store i8*%g2,i8**%au,align 8
br label%J4
hd:
%he=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%hf=invoke fastcc i8*@_SMLFN6Parser13sourceOfInputE(i8*inreg%he)
to label%hg unwind label%JZ
hg:
%hh=bitcast i8**%ag to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hh)
%hi=bitcast i8**%ah to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%hi)
call void@llvm.gcroot(i8**%ag,i8*null)#0
call void@llvm.gcroot(i8**%ah,i8*null)#0
store i8*%hf,i8**%ag,align 8
%hj=call i8*@sml_alloc(i32 inreg 12)#0
%hk=getelementptr inbounds i8,i8*%hj,i64 -4
%hl=bitcast i8*%hk to i32*
store i32 1342177288,i32*%hl,align 4
store i8*%hj,i8**%ah,align 8
%hm=load i8*,i8**%ag,align 8
store i8*null,i8**%ag,align 8
%hn=bitcast i8*%hj to i8**
store i8*%hm,i8**%hn,align 8
%ho=getelementptr inbounds i8,i8*%hj,i64 8
%hp=bitcast i8*%ho to i32*
store i32 1,i32*%hp,align 4
%hq=call i8*@sml_alloc(i32 inreg 28)#0
%hr=getelementptr inbounds i8,i8*%hq,i64 -4
%hs=bitcast i8*%hr to i32*
store i32 1342177304,i32*%hs,align 4
%ht=load i8*,i8**%ah,align 8
%hu=bitcast i8*%hq to i8**
store i8*%ht,i8**%hu,align 8
%hv=getelementptr inbounds i8,i8*%hq,i64 8
%hw=bitcast i8*%hv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16doNameEvaluationE_323 to void(...)*),void(...)**%hw,align 8
%hx=getelementptr inbounds i8,i8*%hq,i64 16
%hy=bitcast i8*%hx to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16doNameEvaluationE_323 to void(...)*),void(...)**%hy,align 8
%hz=getelementptr inbounds i8,i8*%hq,i64 24
%hA=bitcast i8*%hz to i32*
store i32 -2147483647,i32*%hA,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hh)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%hi)
store i8*%ht,i8**%az,align 8
%hB=load i8*,i8**%aB,align 8
%hC=getelementptr inbounds i8,i8*%hB,i64 8
%hD=bitcast i8*%hC to i8**
%hE=load i8*,i8**%hD,align 8
store i8*%hE,i8**%ax,align 8
%hF=call i8*@sml_alloc(i32 inreg 12)#0
%hG=getelementptr inbounds i8,i8*%hF,i64 -4
%hH=bitcast i8*%hG to i32*
store i32 1342177288,i32*%hH,align 4
store i8*%hF,i8**%aC,align 8
%hI=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%hJ=bitcast i8*%hF to i8**
store i8*%hI,i8**%hJ,align 8
%hK=getelementptr inbounds i8,i8*%hF,i64 8
%hL=bitcast i8*%hK to i32*
store i32 1,i32*%hL,align 4
%hM=call i8*@sml_alloc(i32 inreg 28)#0
%hN=getelementptr inbounds i8,i8*%hM,i64 -4
%hO=bitcast i8*%hN to i32*
store i32 1342177304,i32*%hO,align 4
%hP=load i8*,i8**%aC,align 8
store i8*null,i8**%aC,align 8
%hQ=bitcast i8*%hM to i8**
store i8*%hP,i8**%hQ,align 8
%hR=getelementptr inbounds i8,i8*%hM,i64 8
%hS=bitcast i8*%hR to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top7compileE_406 to void(...)*),void(...)**%hS,align 8
%hT=getelementptr inbounds i8,i8*%hM,i64 16
%hU=bitcast i8*%hT to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_543 to void(...)*),void(...)**%hU,align 8
%hV=getelementptr inbounds i8,i8*%hM,i64 24
%hW=bitcast i8*%hV to i32*
store i32 -2147483647,i32*%hW,align 4
%hX=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%hY=call fastcc i8*@_SMLLN3Top16doNameEvaluationE_323(i8*inreg%hX,i8*inreg%hM)
%hZ=getelementptr inbounds i8,i8*%hY,i64 16
%h0=bitcast i8*%hZ to i8*(i8*,i8*)**
%h1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%h0,align 8
%h2=bitcast i8*%hY to i8**
%h3=load i8*,i8**%h2,align 8
%h4=load i8*,i8**%aB,align 8
%h5=getelementptr inbounds i8,i8*%h4,i64 16
%h6=bitcast i8*%h5 to i8**
%h7=load i8*,i8**%h6,align 8
%h8=invoke fastcc i8*%h1(i8*inreg%h3,i8*inreg%h7)
to label%h9 unwind label%JZ
h9:
%ia=getelementptr inbounds i8,i8*%h8,i64 16
%ib=bitcast i8*%ia to i8*(i8*,i8*)**
%ic=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ib,align 8
%id=bitcast i8*%h8 to i8**
%ie=load i8*,i8**%id,align 8
%if=load i8*,i8**%ay,align 8
store i8*null,i8**%ay,align 8
%ig=getelementptr inbounds i8,i8*%if,i64 8
%ih=bitcast i8*%ig to i8**
%ii=load i8*,i8**%ih,align 8
%ij=invoke fastcc i8*%ic(i8*inreg%ie,i8*inreg%ii)
to label%ik unwind label%JZ
ik:
store i8*%ij,i8**%az,align 8
%il=bitcast i8*%ij to i8**
%im=load i8*,i8**%il,align 8
store i8*%im,i8**%ax,align 8
%in=getelementptr inbounds i8,i8*%ij,i64 8
%io=bitcast i8*%in to i8**
%ip=load i8*,i8**%io,align 8
store i8*%ip,i8**%ay,align 8
%iq=call i8*@sml_alloc(i32 inreg 12)#0
%ir=getelementptr inbounds i8,i8*%iq,i64 -4
%is=bitcast i8*%ir to i32*
store i32 1342177288,i32*%is,align 4
%it=load i8*,i8**%ax,align 8
%iu=bitcast i8*%iq to i8**
store i8*%it,i8**%iu,align 8
%iv=getelementptr inbounds i8,i8*%iq,i64 8
%iw=bitcast i8*%iv to i32*
store i32 1,i32*%iw,align 4
invoke fastcc void@_SMLFN18UserLevelPrimitive4initE(i8*inreg%iq)
to label%ix unwind label%JZ
ix:
%iy=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%iz=getelementptr inbounds i8,i8*%iy,i64 16
%iA=bitcast i8*%iz to i8**
%iB=load i8*,i8**%iA,align 8
%iC=bitcast i8**%ae to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%iC)
%iD=bitcast i8**%af to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%iD)
call void@llvm.gcroot(i8**%ae,i8*null)#0
call void@llvm.gcroot(i8**%af,i8*null)#0
store i8*%iB,i8**%ae,align 8
%iE=load atomic i32,i32*@sml_check_flag unordered,align 4
%iF=icmp eq i32%iE,0
br i1%iF,label%iH,label%iG
iG:
invoke void@sml_check(i32 inreg%iE)
to label%iH unwind label%JZ
iH:
%iI=load i8*,i8**@_SMLZN7Counter27typedElaborationTimeCounterE,align 8
%iJ=getelementptr inbounds i8,i8*%iI,i64 24
%iK=bitcast i8*%iJ to i8**
%iL=load i8*,i8**%iK,align 8
%iM=getelementptr inbounds i8,i8*%iL,i64 16
%iN=bitcast i8*%iM to i8*(i8*,i8*)**
%iO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%iN,align 8
%iP=bitcast i8*%iL to i8**
%iQ=load i8*,i8**%iP,align 8
store i8*%iQ,i8**%af,align 8
%iR=call i8*@sml_alloc(i32 inreg 4)#0
%iS=bitcast i8*%iR to i32*
%iT=getelementptr inbounds i8,i8*%iR,i64 -4
%iU=bitcast i8*%iT to i32*
store i32 4,i32*%iU,align 4
store i32 0,i32*%iS,align 4
%iV=load i8*,i8**%af,align 8
store i8*null,i8**%af,align 8
%iW=invoke fastcc i8*%iO(i8*inreg%iV,i8*inreg%iR)
to label%iX unwind label%JZ
iX:
%iY=load i8*,i8**%ae,align 8
store i8*null,i8**%ae,align 8
%iZ=invoke fastcc i8*@_SMLFN16TypedElaboration9elaborateE(i8*inreg%iY)
to label%i0 unwind label%JZ
i0:
store i8*%iZ,i8**%ae,align 8
%i1=load i8*,i8**@_SMLZN7Counter27typedElaborationTimeCounterE,align 8
%i2=getelementptr inbounds i8,i8*%i1,i64 32
%i3=bitcast i8*%i2 to i8**
%i4=load i8*,i8**%i3,align 8
%i5=getelementptr inbounds i8,i8*%i4,i64 16
%i6=bitcast i8*%i5 to i8*(i8*,i8*)**
%i7=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%i6,align 8
%i8=bitcast i8*%i4 to i8**
%i9=load i8*,i8**%i8,align 8
store i8*%i9,i8**%af,align 8
%ja=call i8*@sml_alloc(i32 inreg 4)#0
%jb=bitcast i8*%ja to i32*
%jc=getelementptr inbounds i8,i8*%ja,i64 -4
%jd=bitcast i8*%jc to i32*
store i32 4,i32*%jd,align 4
store i32 0,i32*%jb,align 4
%je=load i8*,i8**%af,align 8
store i8*null,i8**%af,align 8
%jf=invoke fastcc i8*%i7(i8*inreg%je,i8*inreg%ja)
to label%jg unwind label%JZ
jg:
%jh=load i8*,i8**@_SMLZN7Control21printTypedElaborationE,align 8
store i8*%jh,i8**%af,align 8
%ji=call i8*@sml_alloc(i32 inreg 20)#0
%jj=getelementptr inbounds i8,i8*%ji,i64 -4
%jk=bitcast i8*%jj to i32*
store i32 1342177296,i32*%jk,align 4
%jl=load i8*,i8**%af,align 8
store i8*null,i8**%af,align 8
%jm=bitcast i8*%ji to i8**
store i8*%jl,i8**%jm,align 8
%jn=getelementptr inbounds i8,i8*%ji,i64 8
%jo=bitcast i8*%jn to i8**
store i8*null,i8**%jo,align 8
%jp=getelementptr inbounds i8,i8*%ji,i64 16
%jq=bitcast i8*%jp to i32*
store i32 3,i32*%jq,align 4
%jr=call fastcc i8*@_SMLLN3Top11printIDCalcE_206(i8*inreg%ji)
%js=getelementptr inbounds i8,i8*%jr,i64 16
%jt=bitcast i8*%js to i8*(i8*,i8*)**
%ju=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jt,align 8
%jv=bitcast i8*%jr to i8**
%jw=load i8*,i8**%jv,align 8
%jx=invoke fastcc i8*%ju(i8*inreg%jw,i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@V,i64 0,i32 2,i64 0))
to label%jy unwind label%JZ
jy:
%jz=getelementptr inbounds i8,i8*%jx,i64 16
%jA=bitcast i8*%jz to i8*(i8*,i8*)**
%jB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jA,align 8
%jC=bitcast i8*%jx to i8**
%jD=load i8*,i8**%jC,align 8
%jE=load i8*,i8**%ae,align 8
%jF=invoke fastcc i8*%jB(i8*inreg%jD,i8*inreg%jE)
to label%jG unwind label%JZ
jG:
%jH=load i8*,i8**%ae,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%iC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%iD)
%jI=bitcast i8**%ac to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%jI)
%jJ=bitcast i8**%ad to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%jJ)
call void@llvm.gcroot(i8**%ac,i8*null)#0
call void@llvm.gcroot(i8**%ad,i8*null)#0
store i8*%jH,i8**%ac,align 8
%jK=load atomic i32,i32*@sml_check_flag unordered,align 4
%jL=icmp eq i32%jK,0
br i1%jL,label%jN,label%jM
jM:
invoke void@sml_check(i32 inreg%jK)
to label%jN unwind label%JZ
jN:
%jO=load i8*,i8**@_SMLZN7Counter29valRecOptimizationTimeCounterE,align 8
%jP=getelementptr inbounds i8,i8*%jO,i64 24
%jQ=bitcast i8*%jP to i8**
%jR=load i8*,i8**%jQ,align 8
%jS=getelementptr inbounds i8,i8*%jR,i64 16
%jT=bitcast i8*%jS to i8*(i8*,i8*)**
%jU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%jT,align 8
%jV=bitcast i8*%jR to i8**
%jW=load i8*,i8**%jV,align 8
store i8*%jW,i8**%ad,align 8
%jX=call i8*@sml_alloc(i32 inreg 4)#0
%jY=bitcast i8*%jX to i32*
%jZ=getelementptr inbounds i8,i8*%jX,i64 -4
%j0=bitcast i8*%jZ to i32*
store i32 4,i32*%j0,align 4
store i32 0,i32*%jY,align 4
%j1=load i8*,i8**%ad,align 8
store i8*null,i8**%ad,align 8
%j2=invoke fastcc i8*%jU(i8*inreg%j1,i8*inreg%jX)
to label%j3 unwind label%JZ
j3:
%j4=load i8*,i8**%ac,align 8
store i8*null,i8**%ac,align 8
%j5=invoke fastcc i8*@_SMLFN16VALREC__Optimizer8optimizeE(i8*inreg%j4)
to label%j6 unwind label%JZ
j6:
store i8*%j5,i8**%ac,align 8
%j7=load i8*,i8**@_SMLZN7Counter29valRecOptimizationTimeCounterE,align 8
%j8=getelementptr inbounds i8,i8*%j7,i64 32
%j9=bitcast i8*%j8 to i8**
%ka=load i8*,i8**%j9,align 8
%kb=getelementptr inbounds i8,i8*%ka,i64 16
%kc=bitcast i8*%kb to i8*(i8*,i8*)**
%kd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kc,align 8
%ke=bitcast i8*%ka to i8**
%kf=load i8*,i8**%ke,align 8
store i8*%kf,i8**%ad,align 8
%kg=call i8*@sml_alloc(i32 inreg 4)#0
%kh=bitcast i8*%kg to i32*
%ki=getelementptr inbounds i8,i8*%kg,i64 -4
%kj=bitcast i8*%ki to i32*
store i32 4,i32*%kj,align 4
store i32 0,i32*%kh,align 4
%kk=load i8*,i8**%ad,align 8
store i8*null,i8**%ad,align 8
%kl=invoke fastcc i8*%kd(i8*inreg%kk,i8*inreg%kg)
to label%km unwind label%JZ
km:
%kn=load i8*,i8**@_SMLZN7Control14printVALRECOptE,align 8
store i8*%kn,i8**%ad,align 8
%ko=call i8*@sml_alloc(i32 inreg 20)#0
%kp=getelementptr inbounds i8,i8*%ko,i64 -4
%kq=bitcast i8*%kp to i32*
store i32 1342177296,i32*%kq,align 4
%kr=load i8*,i8**%ad,align 8
store i8*null,i8**%ad,align 8
%ks=bitcast i8*%ko to i8**
store i8*%kr,i8**%ks,align 8
%kt=getelementptr inbounds i8,i8*%ko,i64 8
%ku=bitcast i8*%kt to i8**
store i8*null,i8**%ku,align 8
%kv=getelementptr inbounds i8,i8*%ko,i64 16
%kw=bitcast i8*%kv to i32*
store i32 3,i32*%kw,align 4
%kx=call fastcc i8*@_SMLLN3Top11printIDCalcE_206(i8*inreg%ko)
%ky=getelementptr inbounds i8,i8*%kx,i64 16
%kz=bitcast i8*%ky to i8*(i8*,i8*)**
%kA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kz,align 8
%kB=bitcast i8*%kx to i8**
%kC=load i8*,i8**%kB,align 8
%kD=invoke fastcc i8*%kA(i8*inreg%kC,i8*inreg getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@S,i64 0,i32 2,i64 0))
to label%kE unwind label%JZ
kE:
%kF=getelementptr inbounds i8,i8*%kD,i64 16
%kG=bitcast i8*%kF to i8*(i8*,i8*)**
%kH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%kG,align 8
%kI=bitcast i8*%kD to i8**
%kJ=load i8*,i8**%kI,align 8
%kK=load i8*,i8**%ac,align 8
%kL=invoke fastcc i8*%kH(i8*inreg%kJ,i8*inreg%kK)
to label%kM unwind label%JZ
kM:
%kN=load i8*,i8**%ac,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%jI)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%jJ)
%kO=load i32*,i32**bitcast(i8**@_SMLZN7Control21doUncurryOptimizationE to i32**),align 8
%kP=load i32,i32*%kO,align 4
%kQ=icmp eq i32%kP,0
br i1%kQ,label%kR,label%lY
kR:
%kS=bitcast i8**%aa to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%kS)
%kT=bitcast i8**%ab to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%kT)
call void@llvm.gcroot(i8**%aa,i8*null)#0
call void@llvm.gcroot(i8**%ab,i8*null)#0
store i8*%kN,i8**%aa,align 8
%kU=load atomic i32,i32*@sml_check_flag unordered,align 4
%kV=icmp eq i32%kU,0
br i1%kV,label%kX,label%kW
kW:
invoke void@sml_check(i32 inreg%kU)
to label%kX unwind label%JZ
kX:
%kY=load i8*,i8**@_SMLZN7Counter29fundeclElaborationTimeCounterE,align 8
%kZ=getelementptr inbounds i8,i8*%kY,i64 24
%k0=bitcast i8*%kZ to i8**
%k1=load i8*,i8**%k0,align 8
%k2=getelementptr inbounds i8,i8*%k1,i64 16
%k3=bitcast i8*%k2 to i8*(i8*,i8*)**
%k4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%k3,align 8
%k5=bitcast i8*%k1 to i8**
%k6=load i8*,i8**%k5,align 8
store i8*%k6,i8**%ab,align 8
%k7=call i8*@sml_alloc(i32 inreg 4)#0
%k8=bitcast i8*%k7 to i32*
%k9=getelementptr inbounds i8,i8*%k7,i64 -4
%la=bitcast i8*%k9 to i32*
store i32 4,i32*%la,align 4
store i32 0,i32*%k8,align 4
%lb=load i8*,i8**%ab,align 8
store i8*null,i8**%ab,align 8
%lc=invoke fastcc i8*%k4(i8*inreg%lb,i8*inreg%k7)
to label%ld unwind label%JZ
ld:
%le=load i8*,i8**%aa,align 8
store i8*null,i8**%aa,align 8
%lf=invoke fastcc i8*@_SMLFN12TransFundecl15transIcdeclListE(i8*inreg%le)
to label%lg unwind label%JZ
lg:
store i8*%lf,i8**%aa,align 8
%lh=load i8*,i8**@_SMLZN7Counter29fundeclElaborationTimeCounterE,align 8
%li=getelementptr inbounds i8,i8*%lh,i64 32
%lj=bitcast i8*%li to i8**
%lk=load i8*,i8**%lj,align 8
%ll=getelementptr inbounds i8,i8*%lk,i64 16
%lm=bitcast i8*%ll to i8*(i8*,i8*)**
%ln=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lm,align 8
%lo=bitcast i8*%lk to i8**
%lp=load i8*,i8**%lo,align 8
store i8*%lp,i8**%ab,align 8
%lq=call i8*@sml_alloc(i32 inreg 4)#0
%lr=bitcast i8*%lq to i32*
%ls=getelementptr inbounds i8,i8*%lq,i64 -4
%lt=bitcast i8*%ls to i32*
store i32 4,i32*%lt,align 4
store i32 0,i32*%lr,align 4
%lu=load i8*,i8**%ab,align 8
store i8*null,i8**%ab,align 8
%lv=invoke fastcc i8*%ln(i8*inreg%lu,i8*inreg%lq)
to label%lw unwind label%JZ
lw:
%lx=load i8*,i8**@_SMLZN7Control16printFundeclElabE,align 8
store i8*%lx,i8**%ab,align 8
%ly=call i8*@sml_alloc(i32 inreg 20)#0
%lz=getelementptr inbounds i8,i8*%ly,i64 -4
%lA=bitcast i8*%lz to i32*
store i32 1342177296,i32*%lA,align 4
%lB=load i8*,i8**%ab,align 8
store i8*null,i8**%ab,align 8
%lC=bitcast i8*%ly to i8**
store i8*%lB,i8**%lC,align 8
%lD=getelementptr inbounds i8,i8*%ly,i64 8
%lE=bitcast i8*%lD to i8**
store i8*null,i8**%lE,align 8
%lF=getelementptr inbounds i8,i8*%ly,i64 16
%lG=bitcast i8*%lF to i32*
store i32 3,i32*%lG,align 4
%lH=call fastcc i8*@_SMLLN3Top11printIDCalcE_206(i8*inreg%ly)
%lI=getelementptr inbounds i8,i8*%lH,i64 16
%lJ=bitcast i8*%lI to i8*(i8*,i8*)**
%lK=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lJ,align 8
%lL=bitcast i8*%lH to i8**
%lM=load i8*,i8**%lL,align 8
%lN=invoke fastcc i8*%lK(i8*inreg%lM,i8*inreg getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@T,i64 0,i32 2,i64 0))
to label%lO unwind label%JZ
lO:
%lP=getelementptr inbounds i8,i8*%lN,i64 16
%lQ=bitcast i8*%lP to i8*(i8*,i8*)**
%lR=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%lQ,align 8
%lS=bitcast i8*%lN to i8**
%lT=load i8*,i8**%lS,align 8
%lU=load i8*,i8**%aa,align 8
%lV=invoke fastcc i8*%lR(i8*inreg%lT,i8*inreg%lU)
to label%lW unwind label%JZ
lW:
%lX=load i8*,i8**%aa,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%kS)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%kT)
br label%lY
lY:
%lZ=phi i8*[%kN,%kM],[%lX,%lW]
store i8*%lZ,i8**%az,align 8
%l0=call i8*@sml_alloc(i32 inreg 20)#0
%l1=getelementptr inbounds i8,i8*%l0,i64 -4
%l2=bitcast i8*%l1 to i32*
store i32 1342177296,i32*%l2,align 4
%l3=load i8*,i8**%ax,align 8
%l4=bitcast i8*%l0 to i8**
store i8*%l3,i8**%l4,align 8
%l5=load i8*,i8**%ay,align 8
%l6=getelementptr inbounds i8,i8*%l0,i64 8
%l7=bitcast i8*%l6 to i8**
store i8*%l5,i8**%l7,align 8
%l8=getelementptr inbounds i8,i8*%l0,i64 16
%l9=bitcast i8*%l8 to i32*
store i32 3,i32*%l9,align 4
%ma=invoke fastcc i8*@_SMLFN16NameEvalEnvPrims16topEnvWithTopEnvE(i8*inreg%l0)
to label%mb unwind label%JZ
mb:
invoke fastcc void@_SMLFN11TopEnvUtils13setCurrentEnvE(i8*inreg%ma)
to label%mc unwind label%JZ
mc:
%md=call i8*@sml_alloc(i32 inreg 20)#0
%me=getelementptr inbounds i8,i8*%md,i64 -4
%mf=bitcast i8*%me to i32*
store i32 1342177296,i32*%mf,align 4
%mg=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%mh=bitcast i8*%md to i8**
store i8*%mg,i8**%mh,align 8
%mi=load i8*,i8**%ay,align 8
%mj=getelementptr inbounds i8,i8*%md,i64 8
%mk=bitcast i8*%mj to i8**
store i8*%mi,i8**%mk,align 8
%ml=getelementptr inbounds i8,i8*%md,i64 16
%mm=bitcast i8*%ml to i32*
store i32 3,i32*%mm,align 4
%mn=invoke fastcc i8*@_SMLFN16NameEvalEnvPrims16topEnvWithTopEnvE(i8*inreg%md)
to label%mo unwind label%nk
mo:
%mp=bitcast i8**%Y to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%mp)
%mq=bitcast i8**%Z to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%mq)
call void@llvm.gcroot(i8**%Y,i8*null)#0
call void@llvm.gcroot(i8**%Z,i8*null)#0
store i8*%mn,i8**%Y,align 8
%mr=call i8*@sml_alloc(i32 inreg 12)#0
%ms=getelementptr inbounds i8,i8*%mr,i64 -4
%mt=bitcast i8*%ms to i32*
store i32 1342177288,i32*%mt,align 4
store i8*%mr,i8**%Z,align 8
%mu=load i8*,i8**%Y,align 8
store i8*null,i8**%Y,align 8
%mv=bitcast i8*%mr to i8**
store i8*%mu,i8**%mv,align 8
%mw=getelementptr inbounds i8,i8*%mr,i64 8
%mx=bitcast i8*%mw to i32*
store i32 1,i32*%mx,align 4
%my=call i8*@sml_alloc(i32 inreg 28)#0
%mz=getelementptr inbounds i8,i8*%my,i64 -4
%mA=bitcast i8*%mz to i32*
store i32 1342177304,i32*%mA,align 4
%mB=load i8*,i8**%Z,align 8
%mC=bitcast i8*%my to i8**
store i8*%mB,i8**%mC,align 8
%mD=getelementptr inbounds i8,i8*%my,i64 8
%mE=bitcast i8*%mD to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doTypeInferenceE_333 to void(...)*),void(...)**%mE,align 8
%mF=getelementptr inbounds i8,i8*%my,i64 16
%mG=bitcast i8*%mF to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15doTypeInferenceE_333 to void(...)*),void(...)**%mG,align 8
%mH=getelementptr inbounds i8,i8*%my,i64 24
%mI=bitcast i8*%mH to i32*
store i32 -2147483647,i32*%mI,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%mp)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%mq)
store i8*%mB,i8**%aC,align 8
%mJ=load i8*,i8**%aB,align 8
%mK=getelementptr inbounds i8,i8*%mJ,i64 8
%mL=bitcast i8*%mK to i8**
%mM=load i8*,i8**%mL,align 8
store i8*%mM,i8**%ax,align 8
%mN=call i8*@sml_alloc(i32 inreg 12)#0
%mO=getelementptr inbounds i8,i8*%mN,i64 -4
%mP=bitcast i8*%mO to i32*
store i32 1342177288,i32*%mP,align 4
store i8*%mN,i8**%aD,align 8
%mQ=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%mR=bitcast i8*%mN to i8**
store i8*%mQ,i8**%mR,align 8
%mS=getelementptr inbounds i8,i8*%mN,i64 8
%mT=bitcast i8*%mS to i32*
store i32 1,i32*%mT,align 4
%mU=call i8*@sml_alloc(i32 inreg 28)#0
%mV=getelementptr inbounds i8,i8*%mU,i64 -4
%mW=bitcast i8*%mV to i32*
store i32 1342177304,i32*%mW,align 4
%mX=load i8*,i8**%aD,align 8
store i8*null,i8**%aD,align 8
%mY=bitcast i8*%mU to i8**
store i8*%mX,i8**%mY,align 8
%mZ=getelementptr inbounds i8,i8*%mU,i64 8
%m0=bitcast i8*%mZ to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLLN3Top7compileE_407 to void(...)*),void(...)**%m0,align 8
%m1=getelementptr inbounds i8,i8*%mU,i64 16
%m2=bitcast i8*%m1 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_544 to void(...)*),void(...)**%m2,align 8
%m3=getelementptr inbounds i8,i8*%mU,i64 24
%m4=bitcast i8*%m3 to i32*
store i32 -2147483647,i32*%m4,align 4
%m5=load i8*,i8**%aC,align 8
store i8*null,i8**%aC,align 8
%m6=call fastcc i8*@_SMLLN3Top15doTypeInferenceE_333(i8*inreg%m5,i8*inreg%mU)
%m7=getelementptr inbounds i8,i8*%m6,i64 16
%m8=bitcast i8*%m7 to i8*(i8*,i8*)**
%m9=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%m8,align 8
%na=bitcast i8*%m6 to i8**
%nb=load i8*,i8**%na,align 8
%nc=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%nd=invoke fastcc i8*%m9(i8*inreg%nb,i8*inreg%nc)
to label%ne unwind label%nk
ne:
store i8*%nd,i8**%az,align 8
%nf=bitcast i8*%nd to i8**
%ng=load i8*,i8**%nf,align 8
store i8*%ng,i8**%ax,align 8
%nh=load i32*,i32**bitcast(i8**@_SMLZN7Control15interactiveModeE to i32**),align 8
%ni=load i32,i32*%nh,align 4
%nj=icmp eq i32%ni,0
br i1%nj,label%nB,label%np
nk:
%nl=landingpad{i8*,i8*}
catch i8*null
%nm=extractvalue{i8*,i8*}%nl,1
%nn=bitcast i8*%nm to i8**
%no=load i8*,i8**%nn,align 8
store i8*null,i8**%av,align 8
store i8*null,i8**%aw,align 8
store i8*null,i8**%ay,align 8
store i8*null,i8**%az,align 8
store i8*null,i8**%aA,align 8
store i8*null,i8**%aB,align 8
store i8*%no,i8**%au,align 8
br label%J4
np:
%nq=call i8*@sml_alloc(i32 inreg 20)#0
%nr=getelementptr inbounds i8,i8*%nq,i64 -4
%ns=bitcast i8*%nr to i32*
store i32 1342177296,i32*%ns,align 4
%nt=load i8*,i8**%ay,align 8
store i8*null,i8**%ay,align 8
%nu=bitcast i8*%nq to i8**
store i8*%nt,i8**%nu,align 8
%nv=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%nw=getelementptr inbounds i8,i8*%nq,i64 8
%nx=bitcast i8*%nw to i8**
store i8*%nv,i8**%nx,align 8
%ny=getelementptr inbounds i8,i8*%nq,i64 16
%nz=bitcast i8*%ny to i32*
store i32 3,i32*%nz,align 4
%nA=invoke fastcc i8*@_SMLFN16NameEvalEnvUtils12mergeTypeEnvE(i8*inreg%nq)
to label%nD unwind label%JZ
nB:
store i8*null,i8**%ax,align 8
%nC=load i8*,i8**%ay,align 8
store i8*null,i8**%ay,align 8
br label%nD
nD:
%nE=phi i8*[%nC,%nB],[%nA,%np]
%nF=invoke fastcc i8*@_SMLFN16NameEvalEnvUtils15resetInternalIdE(i8*inreg%nE)
to label%nG unwind label%JZ
nG:
store i8*%nF,i8**%ax,align 8
%nH=load i32*,i32**bitcast(i8**@_SMLZN7Control21doUncurryOptimizationE to i32**),align 8
%nI=load i32,i32*%nH,align 4
%nJ=icmp eq i32%nI,0
%nK=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%nL=getelementptr inbounds i8,i8*%nK,i64 8
%nM=bitcast i8*%nL to i8**
%nN=load i8*,i8**%nM,align 8
br i1%nJ,label%oV,label%nO
nO:
%nP=bitcast i8**%W to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%nP)
%nQ=bitcast i8**%X to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%nQ)
call void@llvm.gcroot(i8**%W,i8*null)#0
call void@llvm.gcroot(i8**%X,i8*null)#0
store i8*%nN,i8**%W,align 8
%nR=load atomic i32,i32*@sml_check_flag unordered,align 4
%nS=icmp eq i32%nR,0
br i1%nS,label%nU,label%nT
nT:
invoke void@sml_check(i32 inreg%nR)
to label%nU unwind label%JZ
nU:
%nV=load i8*,i8**@_SMLZN7Counter30UncurryOptimizationTimeCounterE,align 8
%nW=getelementptr inbounds i8,i8*%nV,i64 24
%nX=bitcast i8*%nW to i8**
%nY=load i8*,i8**%nX,align 8
%nZ=getelementptr inbounds i8,i8*%nY,i64 16
%n0=bitcast i8*%nZ to i8*(i8*,i8*)**
%n1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%n0,align 8
%n2=bitcast i8*%nY to i8**
%n3=load i8*,i8**%n2,align 8
store i8*%n3,i8**%X,align 8
%n4=call i8*@sml_alloc(i32 inreg 4)#0
%n5=bitcast i8*%n4 to i32*
%n6=getelementptr inbounds i8,i8*%n4,i64 -4
%n7=bitcast i8*%n6 to i32*
store i32 4,i32*%n7,align 4
store i32 0,i32*%n5,align 4
%n8=load i8*,i8**%X,align 8
store i8*null,i8**%X,align 8
%n9=invoke fastcc i8*%n1(i8*inreg%n8,i8*inreg%n4)
to label%oa unwind label%JZ
oa:
%ob=load i8*,i8**%W,align 8
store i8*null,i8**%W,align 8
%oc=invoke fastcc i8*@_SMLFN14UncurryFundecl8optimizeE(i8*inreg%ob)
to label%od unwind label%JZ
od:
store i8*%oc,i8**%W,align 8
%oe=load i8*,i8**@_SMLZN7Counter30UncurryOptimizationTimeCounterE,align 8
%of=getelementptr inbounds i8,i8*%oe,i64 32
%og=bitcast i8*%of to i8**
%oh=load i8*,i8**%og,align 8
%oi=getelementptr inbounds i8,i8*%oh,i64 16
%oj=bitcast i8*%oi to i8*(i8*,i8*)**
%ok=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oj,align 8
%ol=bitcast i8*%oh to i8**
%om=load i8*,i8**%ol,align 8
store i8*%om,i8**%X,align 8
%on=call i8*@sml_alloc(i32 inreg 4)#0
%oo=bitcast i8*%on to i32*
%op=getelementptr inbounds i8,i8*%on,i64 -4
%oq=bitcast i8*%op to i32*
store i32 4,i32*%oq,align 4
store i32 0,i32*%oo,align 4
%or=load i8*,i8**%X,align 8
store i8*null,i8**%X,align 8
%os=invoke fastcc i8*%ok(i8*inreg%or,i8*inreg%on)
to label%ot unwind label%JZ
ot:
%ou=load i8*,i8**@_SMLZN7Control15printUncurryOptE,align 8
store i8*%ou,i8**%X,align 8
%ov=call i8*@sml_alloc(i32 inreg 20)#0
%ow=getelementptr inbounds i8,i8*%ov,i64 -4
%ox=bitcast i8*%ow to i32*
store i32 1342177296,i32*%ox,align 4
%oy=load i8*,i8**%X,align 8
store i8*null,i8**%X,align 8
%oz=bitcast i8*%ov to i8**
store i8*%oy,i8**%oz,align 8
%oA=getelementptr inbounds i8,i8*%ov,i64 8
%oB=bitcast i8*%oA to i8**
store i8*null,i8**%oB,align 8
%oC=getelementptr inbounds i8,i8*%ov,i64 16
%oD=bitcast i8*%oC to i32*
store i32 3,i32*%oD,align 4
%oE=call fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%ov)
%oF=getelementptr inbounds i8,i8*%oE,i64 16
%oG=bitcast i8*%oF to i8*(i8*,i8*)**
%oH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oG,align 8
%oI=bitcast i8*%oE to i8**
%oJ=load i8*,i8**%oI,align 8
%oK=invoke fastcc i8*%oH(i8*inreg%oJ,i8*inreg getelementptr inbounds(<{[4x i8],i32,[21x i8]}>,<{[4x i8],i32,[21x i8]}>*@P,i64 0,i32 2,i64 0))
to label%oL unwind label%JZ
oL:
%oM=getelementptr inbounds i8,i8*%oK,i64 16
%oN=bitcast i8*%oM to i8*(i8*,i8*)**
%oO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%oN,align 8
%oP=bitcast i8*%oK to i8**
%oQ=load i8*,i8**%oP,align 8
%oR=load i8*,i8**%W,align 8
%oS=invoke fastcc i8*%oO(i8*inreg%oQ,i8*inreg%oR)
to label%oT unwind label%JZ
oT:
%oU=load i8*,i8**%W,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%nP)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%nQ)
br label%oV
oV:
%oW=phi i8*[%oU,%oT],[%nN,%nG]
store i8*%oW,i8**%ay,align 8
%oX=load i32*,i32**bitcast(i8**@_SMLZN7Control15interactiveModeE to i32**),align 8
%oY=load i32,i32*%oX,align 4
%oZ=icmp eq i32%oY,0
br i1%oZ,label%pS,label%o0
o0:
%o1=load i32*,i32**bitcast(i8**@_SMLZN7Control11skipPrinterE to i32**),align 8
%o2=load i32,i32*%o1,align 4
%o3=invoke fastcc i32@_SMLFN4Bool3notE(i32 inreg%o2)
to label%o4 unwind label%JZ
o4:
%o5=icmp eq i32%o3,0
br i1%o5,label%pS,label%o6
o6:
%o7=call i8*@sml_alloc(i32 inreg 20)#0
%o8=getelementptr inbounds i8,i8*%o7,i64 -4
%o9=bitcast i8*%o8 to i32*
store i32 1342177296,i32*%o9,align 4
%pa=load i8*,i8**%aA,align 8
store i8*null,i8**%aA,align 8
%pb=bitcast i8*%o7 to i8**
store i8*%pa,i8**%pb,align 8
%pc=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%pd=getelementptr inbounds i8,i8*%o7,i64 8
%pe=bitcast i8*%pd to i8**
store i8*%pc,i8**%pe,align 8
%pf=getelementptr inbounds i8,i8*%o7,i64 16
%pg=bitcast i8*%pf to i32*
store i32 3,i32*%pg,align 4
%ph=bitcast i8**%U to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ph)
%pi=bitcast i8**%V to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%pi)
call void@llvm.gcroot(i8**%U,i8*null)#0
call void@llvm.gcroot(i8**%V,i8*null)#0
store i8*%o7,i8**%U,align 8
%pj=call i8*@sml_alloc(i32 inreg 12)#0
%pk=getelementptr inbounds i8,i8*%pj,i64 -4
%pl=bitcast i8*%pk to i32*
store i32 1342177288,i32*%pl,align 4
store i8*%pj,i8**%V,align 8
%pm=load i8*,i8**%U,align 8
store i8*null,i8**%U,align 8
%pn=bitcast i8*%pj to i8**
store i8*%pm,i8**%pn,align 8
%po=getelementptr inbounds i8,i8*%pj,i64 8
%pp=bitcast i8*%po to i32*
store i32 1,i32*%pp,align 4
%pq=call i8*@sml_alloc(i32 inreg 28)#0
%pr=getelementptr inbounds i8,i8*%pq,i64 -4
%ps=bitcast i8*%pr to i32*
store i32 1342177304,i32*%ps,align 4
%pt=load i8*,i8**%V,align 8
%pu=bitcast i8*%pq to i8**
store i8*%pt,i8**%pu,align 8
%pv=getelementptr inbounds i8,i8*%pq,i64 8
%pw=bitcast i8*%pv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doReifyTopEnvE_360 to void(...)*),void(...)**%pw,align 8
%px=getelementptr inbounds i8,i8*%pq,i64 16
%py=bitcast i8*%px to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top13doReifyTopEnvE_360 to void(...)*),void(...)**%py,align 8
%pz=getelementptr inbounds i8,i8*%pq,i64 24
%pA=bitcast i8*%pz to i32*
store i32 -2147483647,i32*%pA,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ph)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%pi)
%pB=load i8*,i8**%aB,align 8
%pC=getelementptr inbounds i8,i8*%pB,i64 16
%pD=bitcast i8*%pC to i8**
%pE=load i8*,i8**%pD,align 8
%pF=getelementptr inbounds i8,i8*%pE,i64 24
%pG=bitcast i8*%pF to i8**
%pH=load i8*,i8**%pG,align 8
%pI=call fastcc i8*@_SMLLN3Top13doReifyTopEnvE_360(i8*inreg%pt,i8*inreg%pH)
%pJ=getelementptr inbounds i8,i8*%pI,i64 16
%pK=bitcast i8*%pJ to i8*(i8*,i8*)**
%pL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%pK,align 8
%pM=bitcast i8*%pI to i8**
%pN=load i8*,i8**%pM,align 8
%pO=load i8*,i8**%ay,align 8
store i8*null,i8**%ay,align 8
%pP=invoke fastcc i8*%pL(i8*inreg%pN,i8*inreg%pO)
to label%pQ unwind label%JZ
pQ:
%pR=bitcast i8*%pP to i8**
br label%p3
pS:
store i8*null,i8**%aA,align 8
%pT=call i8*@sml_alloc(i32 inreg 20)#0
%pU=getelementptr inbounds i8,i8*%pT,i64 -4
%pV=bitcast i8*%pU to i32*
store i32 1342177296,i32*%pV,align 4
%pW=load i8*,i8**%ax,align 8
%pX=bitcast i8*%pT to i8**
store i8*%pW,i8**%pX,align 8
%pY=load i8*,i8**%ay,align 8
store i8*null,i8**%ay,align 8
%pZ=getelementptr inbounds i8,i8*%pT,i64 8
%p0=bitcast i8*%pZ to i8**
store i8*%pY,i8**%p0,align 8
%p1=getelementptr inbounds i8,i8*%pT,i64 16
%p2=bitcast i8*%p1 to i32*
store i32 3,i32*%p2,align 4
br label%p3
p3:
%p4=phi i8**[%pR,%pQ],[%pX,%pS]
%p5=phi i8*[%pP,%pQ],[%pT,%pS]
store i8*%p5,i8**%az,align 8
%p6=load i8*,i8**%p4,align 8
store i8*%p6,i8**%ax,align 8
%p7=call i8*@sml_alloc(i32 inreg 20)#0
%p8=getelementptr inbounds i8,i8*%p7,i64 -4
%p9=bitcast i8*%p8 to i32*
store i32 1342177296,i32*%p9,align 4
store i8*%p7,i8**%ay,align 8
%qa=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%qb=bitcast i8*%p7 to i8**
store i8*%qa,i8**%qb,align 8
%qc=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%qd=getelementptr inbounds i8,i8*%p7,i64 8
%qe=bitcast i8*%qd to i8**
store i8*%qc,i8**%qe,align 8
%qf=getelementptr inbounds i8,i8*%p7,i64 16
%qg=bitcast i8*%qf to i32*
store i32 3,i32*%qg,align 4
%qh=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%qi=getelementptr inbounds i8,i8*%qh,i64 8
%qj=bitcast i8*%qi to i8**
%qk=load i8*,i8**%qj,align 8
%ql=bitcast i8**%S to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ql)
%qm=bitcast i8**%T to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%qm)
call void@llvm.gcroot(i8**%S,i8*null)#0
call void@llvm.gcroot(i8**%T,i8*null)#0
store i8*%qk,i8**%S,align 8
%qn=load atomic i32,i32*@sml_check_flag unordered,align 4
%qo=icmp eq i32%qn,0
br i1%qo,label%qq,label%qp
qp:
invoke void@sml_check(i32 inreg%qn)
to label%qq unwind label%JZ
qq:
%qr=load i8*,i8**@_SMLZN7Counter25ffiCompilationTimeCounterE,align 8
%qs=getelementptr inbounds i8,i8*%qr,i64 24
%qt=bitcast i8*%qs to i8**
%qu=load i8*,i8**%qt,align 8
%qv=getelementptr inbounds i8,i8*%qu,i64 16
%qw=bitcast i8*%qv to i8*(i8*,i8*)**
%qx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qw,align 8
%qy=bitcast i8*%qu to i8**
%qz=load i8*,i8**%qy,align 8
store i8*%qz,i8**%T,align 8
%qA=call i8*@sml_alloc(i32 inreg 4)#0
%qB=bitcast i8*%qA to i32*
%qC=getelementptr inbounds i8,i8*%qA,i64 -4
%qD=bitcast i8*%qC to i32*
store i32 4,i32*%qD,align 4
store i32 0,i32*%qB,align 4
%qE=load i8*,i8**%T,align 8
store i8*null,i8**%T,align 8
%qF=invoke fastcc i8*%qx(i8*inreg%qE,i8*inreg%qA)
to label%qG unwind label%JZ
qG:
%qH=load i8*,i8**%S,align 8
store i8*null,i8**%S,align 8
%qI=invoke fastcc i8*@_SMLFN14FFICompilation7compileE(i8*inreg%qH)
to label%qJ unwind label%JZ
qJ:
store i8*%qI,i8**%S,align 8
%qK=load i8*,i8**@_SMLZN7Counter25ffiCompilationTimeCounterE,align 8
%qL=getelementptr inbounds i8,i8*%qK,i64 32
%qM=bitcast i8*%qL to i8**
%qN=load i8*,i8**%qM,align 8
%qO=getelementptr inbounds i8,i8*%qN,i64 16
%qP=bitcast i8*%qO to i8*(i8*,i8*)**
%qQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%qP,align 8
%qR=bitcast i8*%qN to i8**
%qS=load i8*,i8**%qR,align 8
store i8*%qS,i8**%T,align 8
%qT=call i8*@sml_alloc(i32 inreg 4)#0
%qU=bitcast i8*%qT to i32*
%qV=getelementptr inbounds i8,i8*%qT,i64 -4
%qW=bitcast i8*%qV to i32*
store i32 4,i32*%qW,align 4
store i32 0,i32*%qU,align 4
%qX=load i8*,i8**%T,align 8
store i8*null,i8**%T,align 8
%qY=invoke fastcc i8*%qQ(i8*inreg%qX,i8*inreg%qT)
to label%qZ unwind label%JZ
qZ:
%q0=load i8*,i8**@_SMLZN7Control15printFFICompileE,align 8
store i8*%q0,i8**%T,align 8
%q1=call i8*@sml_alloc(i32 inreg 20)#0
%q2=getelementptr inbounds i8,i8*%q1,i64 -4
%q3=bitcast i8*%q2 to i32*
store i32 1342177296,i32*%q3,align 4
%q4=load i8*,i8**%T,align 8
store i8*null,i8**%T,align 8
%q5=bitcast i8*%q1 to i8**
store i8*%q4,i8**%q5,align 8
%q6=getelementptr inbounds i8,i8*%q1,i64 8
%q7=bitcast i8*%q6 to i8**
store i8*null,i8**%q7,align 8
%q8=getelementptr inbounds i8,i8*%q1,i64 16
%q9=bitcast i8*%q8 to i32*
store i32 3,i32*%q9,align 4
%ra=call fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%q1)
%rb=getelementptr inbounds i8,i8*%ra,i64 16
%rc=bitcast i8*%rb to i8*(i8*,i8*)**
%rd=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rc,align 8
%re=bitcast i8*%ra to i8**
%rf=load i8*,i8**%re,align 8
%rg=invoke fastcc i8*%rd(i8*inreg%rf,i8*inreg getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@X,i64 0,i32 2,i64 0))
to label%rh unwind label%JZ
rh:
%ri=getelementptr inbounds i8,i8*%rg,i64 16
%rj=bitcast i8*%ri to i8*(i8*,i8*)**
%rk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rj,align 8
%rl=bitcast i8*%rg to i8**
%rm=load i8*,i8**%rl,align 8
%rn=load i8*,i8**%S,align 8
%ro=invoke fastcc i8*%rk(i8*inreg%rm,i8*inreg%rn)
to label%rp unwind label%JZ
rp:
%rq=load i8*,i8**%S,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ql)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%qm)
store i8*%rq,i8**%aw,align 8
%rr=invoke fastcc i8*@_SMLFN4List3mapE(i32 inreg 1,i32 inreg 8,i32 inreg 1,i32 inreg 8)
to label%rs unwind label%JZ
rs:
%rt=getelementptr inbounds i8,i8*%rr,i64 16
%ru=bitcast i8*%rt to i8*(i8*,i8*)**
%rv=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ru,align 8
%rw=bitcast i8*%rr to i8**
%rx=load i8*,i8**%rw,align 8
%ry=invoke fastcc i8*%rv(i8*inreg%rx,i8*inreg bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>,<{[4x i8],i32,i8*,void(...)*,void(...)*,i32}>*@al,i64 0,i32 2)to i8*))
to label%rz unwind label%JZ
rz:
%rA=getelementptr inbounds i8,i8*%ry,i64 16
%rB=bitcast i8*%rA to i8*(i8*,i8*)**
%rC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rB,align 8
%rD=bitcast i8*%ry to i8**
%rE=load i8*,i8**%rD,align 8
store i8*%rE,i8**%ax,align 8
%rF=invoke fastcc i8*@_SMLFN18UserLevelPrimitive14getExternDeclsE(i32 inreg 0)
to label%rG unwind label%JZ
rG:
%rH=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%rI=invoke fastcc i8*%rC(i8*inreg%rH,i8*inreg%rF)
to label%rJ unwind label%JZ
rJ:
store i8*%rI,i8**%ax,align 8
%rK=invoke fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
to label%rL unwind label%JZ
rL:
%rM=getelementptr inbounds i8,i8*%rK,i64 16
%rN=bitcast i8*%rM to i8*(i8*,i8*)**
%rO=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%rN,align 8
%rP=bitcast i8*%rK to i8**
%rQ=load i8*,i8**%rP,align 8
store i8*%rQ,i8**%az,align 8
%rR=call i8*@sml_alloc(i32 inreg 20)#0
%rS=getelementptr inbounds i8,i8*%rR,i64 -4
%rT=bitcast i8*%rS to i32*
store i32 1342177296,i32*%rT,align 4
%rU=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%rV=bitcast i8*%rR to i8**
store i8*%rU,i8**%rV,align 8
%rW=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%rX=getelementptr inbounds i8,i8*%rR,i64 8
%rY=bitcast i8*%rX to i8**
store i8*%rW,i8**%rY,align 8
%rZ=getelementptr inbounds i8,i8*%rR,i64 16
%r0=bitcast i8*%rZ to i32*
store i32 3,i32*%r0,align 4
%r1=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%r2=invoke fastcc i8*%rO(i8*inreg%r1,i8*inreg%rR)
to label%r3 unwind label%JZ
r3:
store i8*%r2,i8**%aw,align 8
%r4=load i8*,i8**%aB,align 8
%r5=getelementptr inbounds i8,i8*%r4,i64 8
%r6=bitcast i8*%r5 to i8**
%r7=load i8*,i8**%r6,align 8
store i8*%r7,i8**%ax,align 8
%r8=call i8*@sml_alloc(i32 inreg 12)#0
%r9=getelementptr inbounds i8,i8*%r8,i64 -4
%sa=bitcast i8*%r9 to i32*
store i32 1342177288,i32*%sa,align 4
store i8*%r8,i8**%az,align 8
%sb=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%sc=bitcast i8*%r8 to i8**
store i8*%sb,i8**%sc,align 8
%sd=getelementptr inbounds i8,i8*%r8,i64 8
%se=bitcast i8*%sd to i32*
store i32 1,i32*%se,align 4
%sf=call i8*@sml_alloc(i32 inreg 28)#0
%sg=getelementptr inbounds i8,i8*%sf,i64 -4
%sh=bitcast i8*%sg to i32*
store i32 1342177304,i32*%sh,align 4
%si=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%sj=bitcast i8*%sf to i8**
store i8*%si,i8**%sj,align 8
%sk=getelementptr inbounds i8,i8*%sf,i64 8
%sl=bitcast i8*%sk to void(...)**
store void(...)*bitcast(void(i8*,i8*)*@_SMLL6tpdecs_410 to void(...)*),void(...)**%sl,align 8
%sm=getelementptr inbounds i8,i8*%sf,i64 16
%sn=bitcast i8*%sm to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLL6tpdecs_546 to void(...)*),void(...)**%sn,align 8
%so=getelementptr inbounds i8,i8*%sf,i64 24
%sp=bitcast i8*%so to i32*
store i32 -2147483647,i32*%sp,align 4
%sq=bitcast i8**%Q to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%sq)
%sr=bitcast i8**%R to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%sr)
call void@llvm.gcroot(i8**%Q,i8*null)#0
call void@llvm.gcroot(i8**%R,i8*null)#0
store i8*%sf,i8**%Q,align 8
%ss=call i8*@sml_alloc(i32 inreg 12)#0
%st=getelementptr inbounds i8,i8*%ss,i64 -4
%su=bitcast i8*%st to i32*
store i32 1342177288,i32*%su,align 4
store i8*%ss,i8**%R,align 8
%sv=load i8*,i8**%Q,align 8
store i8*null,i8**%Q,align 8
%sw=bitcast i8*%ss to i8**
store i8*%sv,i8**%sw,align 8
%sx=getelementptr inbounds i8,i8*%ss,i64 8
%sy=bitcast i8*%sx to i32*
store i32 1,i32*%sy,align 4
%sz=call i8*@sml_alloc(i32 inreg 28)#0
%sA=getelementptr inbounds i8,i8*%sz,i64 -4
%sB=bitcast i8*%sA to i32*
store i32 1342177304,i32*%sB,align 4
%sC=load i8*,i8**%R,align 8
%sD=bitcast i8*%sz to i8**
store i8*%sC,i8**%sD,align 8
%sE=getelementptr inbounds i8,i8*%sz,i64 8
%sF=bitcast i8*%sE to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top18doMatchCompilationE_352 to void(...)*),void(...)**%sF,align 8
%sG=getelementptr inbounds i8,i8*%sz,i64 16
%sH=bitcast i8*%sG to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top18doMatchCompilationE_352 to void(...)*),void(...)**%sH,align 8
%sI=getelementptr inbounds i8,i8*%sz,i64 24
%sJ=bitcast i8*%sI to i32*
store i32 -2147483647,i32*%sJ,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%sq)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%sr)
%sK=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%sL=invoke fastcc i8*@_SMLLN3Top18doMatchCompilationE_352(i8*inreg%sC,i8*inreg%sK)
to label%sM unwind label%JZ
sM:
%sN=icmp ne i32%aS,0
br i1%sN,label%sO,label%vb
sO:
%sP=load i32*,i32**bitcast(i8**@_SMLZN7Control19doPolyTyEliminationE to i32**),align 8
%sQ=load i32,i32*%sP,align 4
%sR=icmp eq i32%sQ,0
br i1%sR,label%tZ,label%sS
sS:
%sT=bitcast i8**%O to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%sT)
%sU=bitcast i8**%P to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%sU)
call void@llvm.gcroot(i8**%O,i8*null)#0
call void@llvm.gcroot(i8**%P,i8*null)#0
store i8*%sL,i8**%O,align 8
%sV=load atomic i32,i32*@sml_check_flag unordered,align 4
%sW=icmp eq i32%sV,0
br i1%sW,label%sY,label%sX
sX:
invoke void@sml_check(i32 inreg%sV)
to label%sY unwind label%JZ
sY:
%sZ=load i8*,i8**@_SMLZN7Counter24polyTyEliminationCounterE,align 8
%s0=getelementptr inbounds i8,i8*%sZ,i64 24
%s1=bitcast i8*%s0 to i8**
%s2=load i8*,i8**%s1,align 8
%s3=getelementptr inbounds i8,i8*%s2,i64 16
%s4=bitcast i8*%s3 to i8*(i8*,i8*)**
%s5=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%s4,align 8
%s6=bitcast i8*%s2 to i8**
%s7=load i8*,i8**%s6,align 8
store i8*%s7,i8**%P,align 8
%s8=call i8*@sml_alloc(i32 inreg 4)#0
%s9=bitcast i8*%s8 to i32*
%ta=getelementptr inbounds i8,i8*%s8,i64 -4
%tb=bitcast i8*%ta to i32*
store i32 4,i32*%tb,align 4
store i32 0,i32*%s9,align 4
%tc=load i8*,i8**%P,align 8
store i8*null,i8**%P,align 8
%td=invoke fastcc i8*%s5(i8*inreg%tc,i8*inreg%s8)
to label%te unwind label%JZ
te:
%tf=load i8*,i8**%O,align 8
store i8*null,i8**%O,align 8
%tg=invoke fastcc i8*@_SMLFN17PolyTyElimination7compileE(i8*inreg%tf)
to label%th unwind label%JZ
th:
store i8*%tg,i8**%O,align 8
%ti=load i8*,i8**@_SMLZN7Counter24polyTyEliminationCounterE,align 8
%tj=getelementptr inbounds i8,i8*%ti,i64 32
%tk=bitcast i8*%tj to i8**
%tl=load i8*,i8**%tk,align 8
%tm=getelementptr inbounds i8,i8*%tl,i64 16
%tn=bitcast i8*%tm to i8*(i8*,i8*)**
%to=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tn,align 8
%tp=bitcast i8*%tl to i8**
%tq=load i8*,i8**%tp,align 8
store i8*%tq,i8**%P,align 8
%tr=call i8*@sml_alloc(i32 inreg 4)#0
%ts=bitcast i8*%tr to i32*
%tt=getelementptr inbounds i8,i8*%tr,i64 -4
%tu=bitcast i8*%tt to i32*
store i32 4,i32*%tu,align 4
store i32 0,i32*%ts,align 4
%tv=load i8*,i8**%P,align 8
store i8*null,i8**%P,align 8
%tw=invoke fastcc i8*%to(i8*inreg%tv,i8*inreg%tr)
to label%tx unwind label%JZ
tx:
%ty=load i8*,i8**@_SMLZN7Control15printPolyTyElimE,align 8
store i8*%ty,i8**%P,align 8
%tz=call i8*@sml_alloc(i32 inreg 20)#0
%tA=getelementptr inbounds i8,i8*%tz,i64 -4
%tB=bitcast i8*%tA to i32*
store i32 1342177296,i32*%tB,align 4
%tC=load i8*,i8**%P,align 8
store i8*null,i8**%P,align 8
%tD=bitcast i8*%tz to i8**
store i8*%tC,i8**%tD,align 8
%tE=getelementptr inbounds i8,i8*%tz,i64 8
%tF=bitcast i8*%tE to i8**
store i8*null,i8**%tF,align 8
%tG=getelementptr inbounds i8,i8*%tz,i64 16
%tH=bitcast i8*%tG to i32*
store i32 3,i32*%tH,align 4
%tI=call fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%tz)
%tJ=getelementptr inbounds i8,i8*%tI,i64 16
%tK=bitcast i8*%tJ to i8*(i8*,i8*)**
%tL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tK,align 8
%tM=bitcast i8*%tI to i8**
%tN=load i8*,i8**%tM,align 8
%tO=invoke fastcc i8*%tL(i8*inreg%tN,i8*inreg getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@Q,i64 0,i32 2,i64 0))
to label%tP unwind label%JZ
tP:
%tQ=getelementptr inbounds i8,i8*%tO,i64 16
%tR=bitcast i8*%tQ to i8*(i8*,i8*)**
%tS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%tR,align 8
%tT=bitcast i8*%tO to i8**
%tU=load i8*,i8**%tT,align 8
%tV=load i8*,i8**%O,align 8
%tW=invoke fastcc i8*%tS(i8*inreg%tU,i8*inreg%tV)
to label%tX unwind label%JZ
tX:
%tY=load i8*,i8**%O,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%sT)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%sU)
br label%tZ
tZ:
%t0=phi i8*[%sL,%sO],[%tY,%tX]
%t1=load i32*,i32**bitcast(i8**@_SMLZN7Control16doTCOptimizationE to i32**),align 8
%t2=load i32,i32*%t1,align 4
%t3=icmp eq i32%t2,0
br i1%t3,label%vb,label%t4
t4:
%t5=bitcast i8**%M to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t5)
%t6=bitcast i8**%N to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%t6)
call void@llvm.gcroot(i8**%M,i8*null)#0
call void@llvm.gcroot(i8**%N,i8*null)#0
store i8*%t0,i8**%M,align 8
%t7=load atomic i32,i32*@sml_check_flag unordered,align 4
%t8=icmp eq i32%t7,0
br i1%t8,label%ua,label%t9
t9:
invoke void@sml_check(i32 inreg%t7)
to label%ua unwind label%JZ
ua:
%ub=load i8*,i8**@_SMLZN7Counter32TypedCalcOptimizationTimeCounterE,align 8
%uc=getelementptr inbounds i8,i8*%ub,i64 24
%ud=bitcast i8*%uc to i8**
%ue=load i8*,i8**%ud,align 8
%uf=getelementptr inbounds i8,i8*%ue,i64 16
%ug=bitcast i8*%uf to i8*(i8*,i8*)**
%uh=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ug,align 8
%ui=bitcast i8*%ue to i8**
%uj=load i8*,i8**%ui,align 8
store i8*%uj,i8**%N,align 8
%uk=call i8*@sml_alloc(i32 inreg 4)#0
%ul=bitcast i8*%uk to i32*
%um=getelementptr inbounds i8,i8*%uk,i64 -4
%un=bitcast i8*%um to i32*
store i32 4,i32*%un,align 4
store i32 0,i32*%ul,align 4
%uo=load i8*,i8**%N,align 8
store i8*null,i8**%N,align 8
%up=invoke fastcc i8*%uh(i8*inreg%uo,i8*inreg%uk)
to label%uq unwind label%JZ
uq:
%ur=load i8*,i8**%M,align 8
store i8*null,i8**%M,align 8
%us=invoke fastcc i8*@_SMLFN10TPOptimize8optimizeE(i8*inreg%ur)
to label%ut unwind label%JZ
ut:
store i8*%us,i8**%M,align 8
%uu=load i8*,i8**@_SMLZN7Counter32TypedCalcOptimizationTimeCounterE,align 8
%uv=getelementptr inbounds i8,i8*%uu,i64 32
%uw=bitcast i8*%uv to i8**
%ux=load i8*,i8**%uw,align 8
%uy=getelementptr inbounds i8,i8*%ux,i64 16
%uz=bitcast i8*%uy to i8*(i8*,i8*)**
%uA=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uz,align 8
%uB=bitcast i8*%ux to i8**
%uC=load i8*,i8**%uB,align 8
store i8*%uC,i8**%N,align 8
%uD=call i8*@sml_alloc(i32 inreg 4)#0
%uE=bitcast i8*%uD to i32*
%uF=getelementptr inbounds i8,i8*%uD,i64 -4
%uG=bitcast i8*%uF to i32*
store i32 4,i32*%uG,align 4
store i32 0,i32*%uE,align 4
%uH=load i8*,i8**%N,align 8
store i8*null,i8**%N,align 8
%uI=invoke fastcc i8*%uA(i8*inreg%uH,i8*inreg%uD)
to label%uJ unwind label%JZ
uJ:
%uK=load i8*,i8**@_SMLZN7Control10printTCOptE,align 8
store i8*%uK,i8**%N,align 8
%uL=call i8*@sml_alloc(i32 inreg 20)#0
%uM=getelementptr inbounds i8,i8*%uL,i64 -4
%uN=bitcast i8*%uM to i32*
store i32 1342177296,i32*%uN,align 4
%uO=load i8*,i8**%N,align 8
store i8*null,i8**%N,align 8
%uP=bitcast i8*%uL to i8**
store i8*%uO,i8**%uP,align 8
%uQ=getelementptr inbounds i8,i8*%uL,i64 8
%uR=bitcast i8*%uQ to i8**
store i8*null,i8**%uR,align 8
%uS=getelementptr inbounds i8,i8*%uL,i64 16
%uT=bitcast i8*%uS to i32*
store i32 3,i32*%uT,align 4
%uU=call fastcc i8*@_SMLLN3Top14printTypedCalcE_214(i8*inreg%uL)
%uV=getelementptr inbounds i8,i8*%uU,i64 16
%uW=bitcast i8*%uV to i8*(i8*,i8*)**
%uX=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%uW,align 8
%uY=bitcast i8*%uU to i8**
%uZ=load i8*,i8**%uY,align 8
%u0=invoke fastcc i8*%uX(i8*inreg%uZ,i8*inreg getelementptr inbounds(<{[4x i8],i32,[20x i8]}>,<{[4x i8],i32,[20x i8]}>*@R,i64 0,i32 2,i64 0))
to label%u1 unwind label%JZ
u1:
%u2=getelementptr inbounds i8,i8*%u0,i64 16
%u3=bitcast i8*%u2 to i8*(i8*,i8*)**
%u4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%u3,align 8
%u5=bitcast i8*%u0 to i8**
%u6=load i8*,i8**%u5,align 8
%u7=load i8*,i8**%M,align 8
%u8=invoke fastcc i8*%u4(i8*inreg%u6,i8*inreg%u7)
to label%u9 unwind label%JZ
u9:
%va=load i8*,i8**%M,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t5)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%t6)
br label%vb
vb:
%vc=phi i8*[%va,%u9],[%t0,%tZ],[%sL,%sM]
%vd=bitcast i8**%K to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%vd)
%ve=bitcast i8**%L to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ve)
call void@llvm.gcroot(i8**%K,i8*null)#0
call void@llvm.gcroot(i8**%L,i8*null)#0
store i8*%vc,i8**%K,align 8
%vf=load atomic i32,i32*@sml_check_flag unordered,align 4
%vg=icmp eq i32%vf,0
br i1%vg,label%vi,label%vh
vh:
invoke void@sml_check(i32 inreg%vf)
to label%vi unwind label%JZ
vi:
%vj=load i8*,i8**@_SMLZN7Counter30datatypeCompilationTimeCounterE,align 8
%vk=getelementptr inbounds i8,i8*%vj,i64 24
%vl=bitcast i8*%vk to i8**
%vm=load i8*,i8**%vl,align 8
%vn=getelementptr inbounds i8,i8*%vm,i64 16
%vo=bitcast i8*%vn to i8*(i8*,i8*)**
%vp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%vo,align 8
%vq=bitcast i8*%vm to i8**
%vr=load i8*,i8**%vq,align 8
store i8*%vr,i8**%L,align 8
%vs=call i8*@sml_alloc(i32 inreg 4)#0
%vt=bitcast i8*%vs to i32*
%vu=getelementptr inbounds i8,i8*%vs,i64 -4
%vv=bitcast i8*%vu to i32*
store i32 4,i32*%vv,align 4
store i32 0,i32*%vt,align 4
%vw=load i8*,i8**%L,align 8
store i8*null,i8**%L,align 8
%vx=invoke fastcc i8*%vp(i8*inreg%vw,i8*inreg%vs)
to label%vy unwind label%JZ
vy:
%vz=load i8*,i8**%K,align 8
store i8*null,i8**%K,align 8
%vA=invoke fastcc i8*@_SMLFN19DatatypeCompilation7compileE(i8*inreg%vz)
to label%vB unwind label%JZ
vB:
store i8*%vA,i8**%K,align 8
%vC=load i8*,i8**@_SMLZN7Counter30datatypeCompilationTimeCounterE,align 8
%vD=getelementptr inbounds i8,i8*%vC,i64 32
%vE=bitcast i8*%vD to i8**
%vF=load i8*,i8**%vE,align 8
%vG=getelementptr inbounds i8,i8*%vF,i64 16
%vH=bitcast i8*%vG to i8*(i8*,i8*)**
%vI=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%vH,align 8
%vJ=bitcast i8*%vF to i8**
%vK=load i8*,i8**%vJ,align 8
store i8*%vK,i8**%L,align 8
%vL=call i8*@sml_alloc(i32 inreg 4)#0
%vM=bitcast i8*%vL to i32*
%vN=getelementptr inbounds i8,i8*%vL,i64 -4
%vO=bitcast i8*%vN to i32*
store i32 4,i32*%vO,align 4
store i32 0,i32*%vM,align 4
%vP=load i8*,i8**%L,align 8
store i8*null,i8**%L,align 8
%vQ=invoke fastcc i8*%vI(i8*inreg%vP,i8*inreg%vL)
to label%vR unwind label%JZ
vR:
%vS=load i8*,i8**@_SMLZN7Control20printDatatypeCompileE,align 8
store i8*%vS,i8**%L,align 8
%vT=call i8*@sml_alloc(i32 inreg 20)#0
%vU=getelementptr inbounds i8,i8*%vT,i64 -4
%vV=bitcast i8*%vU to i32*
store i32 1342177296,i32*%vV,align 4
%vW=load i8*,i8**%L,align 8
store i8*null,i8**%L,align 8
%vX=bitcast i8*%vT to i8**
store i8*%vW,i8**%vX,align 8
%vY=getelementptr inbounds i8,i8*%vT,i64 8
%vZ=bitcast i8*%vY to i8**
store i8*null,i8**%vZ,align 8
%v0=getelementptr inbounds i8,i8*%vT,i64 16
%v1=bitcast i8*%v0 to i32*
store i32 3,i32*%v1,align 4
%v2=bitcast i8**%I to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v2)
%v3=bitcast i8**%J to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%v3)
call void@llvm.gcroot(i8**%I,i8*null)#0
call void@llvm.gcroot(i8**%J,i8*null)#0
store i8*%vT,i8**%I,align 8
%v4=call i8*@sml_alloc(i32 inreg 12)#0
%v5=getelementptr inbounds i8,i8*%v4,i64 -4
%v6=bitcast i8*%v5 to i32*
store i32 1342177288,i32*%v6,align 4
store i8*%v4,i8**%J,align 8
%v7=load i8*,i8**%I,align 8
store i8*null,i8**%I,align 8
%v8=bitcast i8*%v4 to i8**
store i8*%v7,i8**%v8,align 8
%v9=getelementptr inbounds i8,i8*%v4,i64 8
%wa=bitcast i8*%v9 to i32*
store i32 1,i32*%wa,align 4
%wb=call i8*@sml_alloc(i32 inreg 28)#0
%wc=getelementptr inbounds i8,i8*%wb,i64 -4
%wd=bitcast i8*%wc to i32*
store i32 1342177304,i32*%wd,align 4
%we=load i8*,i8**%J,align 8
%wf=bitcast i8*%wb to i8**
store i8*%we,i8**%wf,align 8
%wg=getelementptr inbounds i8,i8*%wb,i64 8
%wh=bitcast i8*%wg to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printTypedLambdaE_229 to void(...)*),void(...)**%wh,align 8
%wi=getelementptr inbounds i8,i8*%wb,i64 16
%wj=bitcast i8*%wi to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printTypedLambdaE_229 to void(...)*),void(...)**%wj,align 8
%wk=getelementptr inbounds i8,i8*%wb,i64 24
%wl=bitcast i8*%wk to i32*
store i32 -2147483647,i32*%wl,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v2)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%v3)
%wm=call fastcc i8*@_SMLLN3Top16printTypedLambdaE_229(i8*inreg%we,i8*inreg getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@Z,i64 0,i32 2,i64 0))
%wn=getelementptr inbounds i8,i8*%wm,i64 16
%wo=bitcast i8*%wn to i8*(i8*,i8*)**
%wp=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%wo,align 8
%wq=bitcast i8*%wm to i8**
%wr=load i8*,i8**%wq,align 8
%ws=load i8*,i8**%K,align 8
%wt=invoke fastcc i8*%wp(i8*inreg%wr,i8*inreg%ws)
to label%wu unwind label%JZ
wu:
%wv=load i8*,i8**%K,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%vd)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ve)
br i1%sN,label%wR,label%ww
ww:
store i8*null,i8**%av,align 8
store i8*null,i8**%ay,align 8
store i8*null,i8**%aB,align 8
%wx=call i8*@sml_alloc(i32 inreg 20)#0
%wy=getelementptr inbounds i8,i8*%wx,i64 -4
%wz=bitcast i8*%wy to i32*
store i32 1342177296,i32*%wz,align 4
store i8*%wx,i8**%av,align 8
%wA=load i8*,i8**%au,align 8
store i8*null,i8**%au,align 8
%wB=bitcast i8*%wx to i8**
store i8*%wA,i8**%wB,align 8
%wC=getelementptr inbounds i8,i8*%wx,i64 8
%wD=bitcast i8*%wC to i8**
store i8*null,i8**%wD,align 8
%wE=getelementptr inbounds i8,i8*%wx,i64 16
%wF=bitcast i8*%wE to i32*
store i32 3,i32*%wF,align 4
%wG=call i8*@sml_alloc(i32 inreg 28)#0
%wH=getelementptr inbounds i8,i8*%wG,i64 -4
%wI=bitcast i8*%wH to i32*
store i32 1342177304,i32*%wI,align 4
%wJ=bitcast i8*%wG to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL403,i64 0,i32 2)to i8*),i8**%wJ,align 8
%wK=getelementptr inbounds i8,i8*%wG,i64 8
%wL=bitcast i8*%wK to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@am,i64 0,i32 2,i64 0),i8**%wL,align 8
%wM=load i8*,i8**%av,align 8
%wN=getelementptr inbounds i8,i8*%wG,i64 16
%wO=bitcast i8*%wN to i8**
store i8*%wM,i8**%wO,align 8
%wP=getelementptr inbounds i8,i8*%wG,i64 24
%wQ=bitcast i8*%wP to i32*
store i32 7,i32*%wQ,align 4
store i8*%wG,i8**%au,align 8
br label%J4
wR:
%wS=bitcast i8**%G to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%wS)
%wT=bitcast i8**%H to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%wT)
call void@llvm.gcroot(i8**%G,i8*null)#0
call void@llvm.gcroot(i8**%H,i8*null)#0
store i8*%wv,i8**%G,align 8
%wU=load atomic i32,i32*@sml_check_flag unordered,align 4
%wV=icmp eq i32%wU,0
br i1%wV,label%wX,label%wW
wW:
invoke void@sml_check(i32 inreg%wU)
to label%wX unwind label%JZ
wX:
%wY=load i8*,i8**@_SMLZN7Counter28recordCompilationTimeCounterE,align 8
%wZ=getelementptr inbounds i8,i8*%wY,i64 24
%w0=bitcast i8*%wZ to i8**
%w1=load i8*,i8**%w0,align 8
%w2=getelementptr inbounds i8,i8*%w1,i64 16
%w3=bitcast i8*%w2 to i8*(i8*,i8*)**
%w4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%w3,align 8
%w5=bitcast i8*%w1 to i8**
%w6=load i8*,i8**%w5,align 8
store i8*%w6,i8**%H,align 8
%w7=call i8*@sml_alloc(i32 inreg 4)#0
%w8=bitcast i8*%w7 to i32*
%w9=getelementptr inbounds i8,i8*%w7,i64 -4
%xa=bitcast i8*%w9 to i32*
store i32 4,i32*%xa,align 4
store i32 0,i32*%w8,align 4
%xb=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%xc=invoke fastcc i8*%w4(i8*inreg%xb,i8*inreg%w7)
to label%xd unwind label%JZ
xd:
%xe=load i8*,i8**%G,align 8
store i8*null,i8**%G,align 8
%xf=invoke fastcc i8*@_SMLFN17RecordCompilation7compileE(i8*inreg%xe)
to label%xg unwind label%JZ
xg:
store i8*%xf,i8**%G,align 8
%xh=load i8*,i8**@_SMLZN7Counter28recordCompilationTimeCounterE,align 8
%xi=getelementptr inbounds i8,i8*%xh,i64 32
%xj=bitcast i8*%xi to i8**
%xk=load i8*,i8**%xj,align 8
%xl=getelementptr inbounds i8,i8*%xk,i64 16
%xm=bitcast i8*%xl to i8*(i8*,i8*)**
%xn=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%xm,align 8
%xo=bitcast i8*%xk to i8**
%xp=load i8*,i8**%xo,align 8
store i8*%xp,i8**%H,align 8
%xq=call i8*@sml_alloc(i32 inreg 4)#0
%xr=bitcast i8*%xq to i32*
%xs=getelementptr inbounds i8,i8*%xq,i64 -4
%xt=bitcast i8*%xs to i32*
store i32 4,i32*%xt,align 4
store i32 0,i32*%xr,align 4
%xu=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%xv=invoke fastcc i8*%xn(i8*inreg%xu,i8*inreg%xq)
to label%xw unwind label%JZ
xw:
%xx=load i8*,i8**@_SMLZN7Control18printRecordCompileE,align 8
store i8*%xx,i8**%H,align 8
%xy=call i8*@sml_alloc(i32 inreg 20)#0
%xz=getelementptr inbounds i8,i8*%xy,i64 -4
%xA=bitcast i8*%xz to i32*
store i32 1342177296,i32*%xA,align 4
%xB=load i8*,i8**%H,align 8
store i8*null,i8**%H,align 8
%xC=bitcast i8*%xy to i8**
store i8*%xB,i8**%xC,align 8
%xD=getelementptr inbounds i8,i8*%xy,i64 8
%xE=bitcast i8*%xD to i8**
store i8*null,i8**%xE,align 8
%xF=getelementptr inbounds i8,i8*%xy,i64 16
%xG=bitcast i8*%xF to i32*
store i32 3,i32*%xG,align 4
%xH=bitcast i8**%E to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%xH)
%xI=bitcast i8**%F to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%xI)
call void@llvm.gcroot(i8**%E,i8*null)#0
call void@llvm.gcroot(i8**%F,i8*null)#0
store i8*%xy,i8**%E,align 8
%xJ=call i8*@sml_alloc(i32 inreg 12)#0
%xK=getelementptr inbounds i8,i8*%xJ,i64 -4
%xL=bitcast i8*%xK to i32*
store i32 1342177288,i32*%xL,align 4
store i8*%xJ,i8**%F,align 8
%xM=load i8*,i8**%E,align 8
store i8*null,i8**%E,align 8
%xN=bitcast i8*%xJ to i8**
store i8*%xM,i8**%xN,align 8
%xO=getelementptr inbounds i8,i8*%xJ,i64 8
%xP=bitcast i8*%xO to i32*
store i32 1,i32*%xP,align 4
%xQ=call i8*@sml_alloc(i32 inreg 28)#0
%xR=getelementptr inbounds i8,i8*%xQ,i64 -4
%xS=bitcast i8*%xR to i32*
store i32 1342177304,i32*%xS,align 4
%xT=load i8*,i8**%F,align 8
%xU=bitcast i8*%xQ to i8**
store i8*%xT,i8**%xU,align 8
%xV=getelementptr inbounds i8,i8*%xQ,i64 8
%xW=bitcast i8*%xV to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15printRecordCalcE_221 to void(...)*),void(...)**%xW,align 8
%xX=getelementptr inbounds i8,i8*%xQ,i64 16
%xY=bitcast i8*%xX to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top15printRecordCalcE_221 to void(...)*),void(...)**%xY,align 8
%xZ=getelementptr inbounds i8,i8*%xQ,i64 24
%x0=bitcast i8*%xZ to i32*
store i32 -2147483647,i32*%x0,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%xH)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%xI)
%x1=call fastcc i8*@_SMLLN3Top15printRecordCalcE_221(i8*inreg%xT,i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@Y,i64 0,i32 2,i64 0))
%x2=getelementptr inbounds i8,i8*%x1,i64 16
%x3=bitcast i8*%x2 to i8*(i8*,i8*)**
%x4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%x3,align 8
%x5=bitcast i8*%x1 to i8**
%x6=load i8*,i8**%x5,align 8
%x7=load i8*,i8**%G,align 8
%x8=invoke fastcc i8*%x4(i8*inreg%x6,i8*inreg%x7)
to label%x9 unwind label%JZ
x9:
%ya=load i8*,i8**%G,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%wS)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%wT)
store i8*%ya,i8**%aw,align 8
%yb=icmp eq i32%aS,1
br i1%yb,label%yc,label%yx
yc:
store i8*null,i8**%av,align 8
store i8*null,i8**%ay,align 8
store i8*null,i8**%aw,align 8
store i8*null,i8**%aB,align 8
%yd=call i8*@sml_alloc(i32 inreg 20)#0
%ye=getelementptr inbounds i8,i8*%yd,i64 -4
%yf=bitcast i8*%ye to i32*
store i32 1342177296,i32*%yf,align 4
store i8*%yd,i8**%av,align 8
%yg=load i8*,i8**%au,align 8
store i8*null,i8**%au,align 8
%yh=bitcast i8*%yd to i8**
store i8*%yg,i8**%yh,align 8
%yi=getelementptr inbounds i8,i8*%yd,i64 8
%yj=bitcast i8*%yi to i8**
store i8*null,i8**%yj,align 8
%yk=getelementptr inbounds i8,i8*%yd,i64 16
%yl=bitcast i8*%yk to i32*
store i32 3,i32*%yl,align 4
%ym=call i8*@sml_alloc(i32 inreg 28)#0
%yn=getelementptr inbounds i8,i8*%ym,i64 -4
%yo=bitcast i8*%yn to i32*
store i32 1342177304,i32*%yo,align 4
%yp=bitcast i8*%ym to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL403,i64 0,i32 2)to i8*),i8**%yp,align 8
%yq=getelementptr inbounds i8,i8*%ym,i64 8
%yr=bitcast i8*%yq to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@an,i64 0,i32 2,i64 0),i8**%yr,align 8
%ys=load i8*,i8**%av,align 8
%yt=getelementptr inbounds i8,i8*%ym,i64 16
%yu=bitcast i8*%yt to i8**
store i8*%ys,i8**%yu,align 8
%yv=getelementptr inbounds i8,i8*%ym,i64 24
%yw=bitcast i8*%yv to i32*
store i32 7,i32*%yw,align 4
store i8*%ym,i8**%au,align 8
br label%J4
yx:
%yy=invoke fastcc i8*@_SMLFN18UserLevelPrimitive14getExternDeclsE(i32 inreg 0)
to label%yz unwind label%JZ
yz:
%yA=invoke fastcc i8*@_SMLFN17RecordCompilation33makeUerlelvelPrimitiveExternDeclsE(i8*inreg%yy)
to label%yB unwind label%JZ
yB:
store i8*%yA,i8**%ax,align 8
%yC=invoke fastcc i8*@_SMLFN4List1_VE(i32 inreg 1,i32 inreg 8)
to label%yD unwind label%JZ
yD:
%yE=getelementptr inbounds i8,i8*%yC,i64 16
%yF=bitcast i8*%yE to i8*(i8*,i8*)**
%yG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%yF,align 8
%yH=bitcast i8*%yC to i8**
%yI=load i8*,i8**%yH,align 8
store i8*%yI,i8**%az,align 8
%yJ=call i8*@sml_alloc(i32 inreg 20)#0
%yK=getelementptr inbounds i8,i8*%yJ,i64 -4
%yL=bitcast i8*%yK to i32*
store i32 1342177296,i32*%yL,align 4
%yM=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%yN=bitcast i8*%yJ to i8**
store i8*%yM,i8**%yN,align 8
%yO=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%yP=getelementptr inbounds i8,i8*%yJ,i64 8
%yQ=bitcast i8*%yP to i8**
store i8*%yO,i8**%yQ,align 8
%yR=getelementptr inbounds i8,i8*%yJ,i64 16
%yS=bitcast i8*%yR to i32*
store i32 3,i32*%yS,align 4
%yT=load i8*,i8**%az,align 8
store i8*null,i8**%az,align 8
%yU=invoke fastcc i8*%yG(i8*inreg%yT,i8*inreg%yJ)
to label%yV unwind label%JZ
yV:
%yW=bitcast i8**%C to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%yW)
%yX=bitcast i8**%D to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%yX)
call void@llvm.gcroot(i8**%C,i8*null)#0
call void@llvm.gcroot(i8**%D,i8*null)#0
store i8*%yU,i8**%C,align 8
%yY=load atomic i32,i32*@sml_check_flag unordered,align 4
%yZ=icmp eq i32%yY,0
br i1%yZ,label%y1,label%y0
y0:
invoke void@sml_check(i32 inreg%yY)
to label%y1 unwind label%JZ
y1:
%y2=load i8*,i8**@_SMLZN7Counter28bitmapCompilationTimeCounterE,align 8
%y3=getelementptr inbounds i8,i8*%y2,i64 24
%y4=bitcast i8*%y3 to i8**
%y5=load i8*,i8**%y4,align 8
%y6=getelementptr inbounds i8,i8*%y5,i64 16
%y7=bitcast i8*%y6 to i8*(i8*,i8*)**
%y8=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%y7,align 8
%y9=bitcast i8*%y5 to i8**
%za=load i8*,i8**%y9,align 8
store i8*%za,i8**%D,align 8
%zb=call i8*@sml_alloc(i32 inreg 4)#0
%zc=bitcast i8*%zb to i32*
%zd=getelementptr inbounds i8,i8*%zb,i64 -4
%ze=bitcast i8*%zd to i32*
store i32 4,i32*%ze,align 4
store i32 0,i32*%zc,align 4
%zf=load i8*,i8**%D,align 8
store i8*null,i8**%D,align 8
%zg=invoke fastcc i8*%y8(i8*inreg%zf,i8*inreg%zb)
to label%zh unwind label%JZ
zh:
%zi=load i8*,i8**%C,align 8
store i8*null,i8**%C,align 8
%zj=invoke fastcc i8*@_SMLFN17BitmapCompilation7compileE(i8*inreg%zi)
to label%zk unwind label%JZ
zk:
store i8*%zj,i8**%C,align 8
%zl=load i8*,i8**@_SMLZN7Counter28bitmapCompilationTimeCounterE,align 8
%zm=getelementptr inbounds i8,i8*%zl,i64 32
%zn=bitcast i8*%zm to i8**
%zo=load i8*,i8**%zn,align 8
%zp=getelementptr inbounds i8,i8*%zo,i64 16
%zq=bitcast i8*%zp to i8*(i8*,i8*)**
%zr=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%zq,align 8
%zs=bitcast i8*%zo to i8**
%zt=load i8*,i8**%zs,align 8
store i8*%zt,i8**%D,align 8
%zu=call i8*@sml_alloc(i32 inreg 4)#0
%zv=bitcast i8*%zu to i32*
%zw=getelementptr inbounds i8,i8*%zu,i64 -4
%zx=bitcast i8*%zw to i32*
store i32 4,i32*%zx,align 4
store i32 0,i32*%zv,align 4
%zy=load i8*,i8**%D,align 8
store i8*null,i8**%D,align 8
%zz=invoke fastcc i8*%zr(i8*inreg%zy,i8*inreg%zu)
to label%zA unwind label%JZ
zA:
%zB=load i8*,i8**@_SMLZN7Control18printBitmapCompileE,align 8
%zC=bitcast i8**%A to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zC)
%zD=bitcast i8**%B to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%zD)
call void@llvm.gcroot(i8**%A,i8*null)#0
call void@llvm.gcroot(i8**%B,i8*null)#0
store i8*%zB,i8**%A,align 8
%zE=call i8*@sml_alloc(i32 inreg 12)#0
%zF=getelementptr inbounds i8,i8*%zE,i64 -4
%zG=bitcast i8*%zF to i32*
store i32 1342177288,i32*%zG,align 4
store i8*%zE,i8**%B,align 8
%zH=load i8*,i8**%A,align 8
store i8*null,i8**%A,align 8
%zI=bitcast i8*%zE to i8**
store i8*%zH,i8**%zI,align 8
%zJ=getelementptr inbounds i8,i8*%zE,i64 8
%zK=bitcast i8*%zJ to i32*
store i32 1,i32*%zK,align 4
%zL=call i8*@sml_alloc(i32 inreg 28)#0
%zM=getelementptr inbounds i8,i8*%zL,i64 -4
%zN=bitcast i8*%zM to i32*
store i32 1342177304,i32*%zN,align 4
%zO=load i8*,i8**%B,align 8
%zP=bitcast i8*%zL to i8**
store i8*%zO,i8**%zP,align 8
%zQ=getelementptr inbounds i8,i8*%zL,i64 8
%zR=bitcast i8*%zQ to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printBitmapCalc2E_237 to void(...)*),void(...)**%zR,align 8
%zS=getelementptr inbounds i8,i8*%zL,i64 16
%zT=bitcast i8*%zS to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printBitmapCalc2E_237 to void(...)*),void(...)**%zT,align 8
%zU=getelementptr inbounds i8,i8*%zL,i64 24
%zV=bitcast i8*%zU to i32*
store i32 -2147483647,i32*%zV,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zC)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%zD)
%zW=call fastcc i8*@_SMLLN3Top16printBitmapCalc2E_237(i8*inreg%zO,i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@aa,i64 0,i32 2,i64 0))
%zX=getelementptr inbounds i8,i8*%zW,i64 16
%zY=bitcast i8*%zX to i8*(i8*,i8*)**
%zZ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%zY,align 8
%z0=bitcast i8*%zW to i8**
%z1=load i8*,i8**%z0,align 8
%z2=load i8*,i8**%C,align 8
%z3=invoke fastcc i8*%zZ(i8*inreg%z1,i8*inreg%z2)
to label%z4 unwind label%JZ
z4:
%z5=load i8*,i8**%C,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%yW)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%yX)
%z6=bitcast i8**%y to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z6)
%z7=bitcast i8**%z to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%z7)
call void@llvm.gcroot(i8**%y,i8*null)#0
call void@llvm.gcroot(i8**%z,i8*null)#0
store i8*%z5,i8**%y,align 8
%z8=load atomic i32,i32*@sml_check_flag unordered,align 4
%z9=icmp eq i32%z8,0
br i1%z9,label%Ab,label%Aa
Aa:
invoke void@sml_check(i32 inreg%z8)
to label%Ab unwind label%JZ
Ab:
%Ac=load i8*,i8**@_SMLZN7Counter28closureConversionTimeCounterE,align 8
%Ad=getelementptr inbounds i8,i8*%Ac,i64 24
%Ae=bitcast i8*%Ad to i8**
%Af=load i8*,i8**%Ae,align 8
%Ag=getelementptr inbounds i8,i8*%Af,i64 16
%Ah=bitcast i8*%Ag to i8*(i8*,i8*)**
%Ai=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Ah,align 8
%Aj=bitcast i8*%Af to i8**
%Ak=load i8*,i8**%Aj,align 8
store i8*%Ak,i8**%z,align 8
%Al=call i8*@sml_alloc(i32 inreg 4)#0
%Am=bitcast i8*%Al to i32*
%An=getelementptr inbounds i8,i8*%Al,i64 -4
%Ao=bitcast i8*%An to i32*
store i32 4,i32*%Ao,align 4
store i32 0,i32*%Am,align 4
%Ap=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%Aq=invoke fastcc i8*%Ai(i8*inreg%Ap,i8*inreg%Al)
to label%Ar unwind label%JZ
Ar:
%As=load i8*,i8**%y,align 8
store i8*null,i8**%y,align 8
%At=invoke fastcc i8*@_SMLFN18ClosureConversion27convertE(i8*inreg%As)
to label%Au unwind label%JZ
Au:
store i8*%At,i8**%y,align 8
%Av=load i8*,i8**@_SMLZN7Counter28closureConversionTimeCounterE,align 8
%Aw=getelementptr inbounds i8,i8*%Av,i64 32
%Ax=bitcast i8*%Aw to i8**
%Ay=load i8*,i8**%Ax,align 8
%Az=getelementptr inbounds i8,i8*%Ay,i64 16
%AA=bitcast i8*%Az to i8*(i8*,i8*)**
%AB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%AA,align 8
%AC=bitcast i8*%Ay to i8**
%AD=load i8*,i8**%AC,align 8
store i8*%AD,i8**%z,align 8
%AE=call i8*@sml_alloc(i32 inreg 4)#0
%AF=bitcast i8*%AE to i32*
%AG=getelementptr inbounds i8,i8*%AE,i64 -4
%AH=bitcast i8*%AG to i32*
store i32 4,i32*%AH,align 4
store i32 0,i32*%AF,align 4
%AI=load i8*,i8**%z,align 8
store i8*null,i8**%z,align 8
%AJ=invoke fastcc i8*%AB(i8*inreg%AI,i8*inreg%AE)
to label%AK unwind label%JZ
AK:
%AL=load i8*,i8**@_SMLZN7Control22printClosureConversionE,align 8
store i8*%AL,i8**%z,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**%z,align 8
store i8*null,i8**%z,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*null,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=bitcast i8**%w to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%AV)
%AW=bitcast i8**%x to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%AW)
call void@llvm.gcroot(i8**%w,i8*null)#0
call void@llvm.gcroot(i8**%x,i8*null)#0
store i8*%AM,i8**%w,align 8
%AX=call i8*@sml_alloc(i32 inreg 12)#0
%AY=getelementptr inbounds i8,i8*%AX,i64 -4
%AZ=bitcast i8*%AY to i32*
store i32 1342177288,i32*%AZ,align 4
store i8*%AX,i8**%x,align 8
%A0=load i8*,i8**%w,align 8
store i8*null,i8**%w,align 8
%A1=bitcast i8*%AX to i8**
store i8*%A0,i8**%A1,align 8
%A2=getelementptr inbounds i8,i8*%AX,i64 8
%A3=bitcast i8*%A2 to i32*
store i32 1,i32*%A3,align 4
%A4=call i8*@sml_alloc(i32 inreg 28)#0
%A5=getelementptr inbounds i8,i8*%A4,i64 -4
%A6=bitcast i8*%A5 to i32*
store i32 1342177304,i32*%A6,align 4
%A7=load i8*,i8**%x,align 8
%A8=bitcast i8*%A4 to i8**
store i8*%A7,i8**%A8,align 8
%A9=getelementptr inbounds i8,i8*%A4,i64 8
%Ba=bitcast i8*%A9 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printClosureCalcE_245 to void(...)*),void(...)**%Ba,align 8
%Bb=getelementptr inbounds i8,i8*%A4,i64 16
%Bc=bitcast i8*%Bb to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printClosureCalcE_245 to void(...)*),void(...)**%Bc,align 8
%Bd=getelementptr inbounds i8,i8*%A4,i64 24
%Be=bitcast i8*%Bd to i32*
store i32 -2147483647,i32*%Be,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%AV)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%AW)
%Bf=call fastcc i8*@_SMLLN3Top16printClosureCalcE_245(i8*inreg%A7,i8*inreg getelementptr inbounds(<{[4x i8],i32,[18x i8]}>,<{[4x i8],i32,[18x i8]}>*@ab,i64 0,i32 2,i64 0))
%Bg=getelementptr inbounds i8,i8*%Bf,i64 16
%Bh=bitcast i8*%Bg to i8*(i8*,i8*)**
%Bi=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Bh,align 8
%Bj=bitcast i8*%Bf to i8**
%Bk=load i8*,i8**%Bj,align 8
%Bl=load i8*,i8**%y,align 8
%Bm=invoke fastcc i8*%Bi(i8*inreg%Bk,i8*inreg%Bl)
to label%Bn unwind label%JZ
Bn:
%Bo=load i8*,i8**%y,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z6)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%z7)
%Bp=bitcast i8**%u to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Bp)
%Bq=bitcast i8**%v to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Bq)
call void@llvm.gcroot(i8**%u,i8*null)#0
call void@llvm.gcroot(i8**%v,i8*null)#0
store i8*%Bo,i8**%u,align 8
%Br=load atomic i32,i32*@sml_check_flag unordered,align 4
%Bs=icmp eq i32%Br,0
br i1%Bs,label%Bu,label%Bt
Bt:
invoke void@sml_check(i32 inreg%Br)
to label%Bu unwind label%JZ
Bu:
%Bv=load i8*,i8**@_SMLZN7Counter35callingConventionCompileTimeCounterE,align 8
%Bw=getelementptr inbounds i8,i8*%Bv,i64 24
%Bx=bitcast i8*%Bw to i8**
%By=load i8*,i8**%Bx,align 8
%Bz=getelementptr inbounds i8,i8*%By,i64 16
%BA=bitcast i8*%Bz to i8*(i8*,i8*)**
%BB=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%BA,align 8
%BC=bitcast i8*%By to i8**
%BD=load i8*,i8**%BC,align 8
store i8*%BD,i8**%v,align 8
%BE=call i8*@sml_alloc(i32 inreg 4)#0
%BF=bitcast i8*%BE to i32*
%BG=getelementptr inbounds i8,i8*%BE,i64 -4
%BH=bitcast i8*%BG to i32*
store i32 4,i32*%BH,align 4
store i32 0,i32*%BF,align 4
%BI=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%BJ=invoke fastcc i8*%BB(i8*inreg%BI,i8*inreg%BE)
to label%BK unwind label%JZ
BK:
%BL=load i8*,i8**%u,align 8
store i8*null,i8**%u,align 8
%BM=invoke fastcc i8*@_SMLFN24CallingConventionCompile7compileE(i8*inreg%BL)
to label%BN unwind label%JZ
BN:
store i8*%BM,i8**%u,align 8
%BO=load i8*,i8**@_SMLZN7Counter35callingConventionCompileTimeCounterE,align 8
%BP=getelementptr inbounds i8,i8*%BO,i64 32
%BQ=bitcast i8*%BP to i8**
%BR=load i8*,i8**%BQ,align 8
%BS=getelementptr inbounds i8,i8*%BR,i64 16
%BT=bitcast i8*%BS to i8*(i8*,i8*)**
%BU=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%BT,align 8
%BV=bitcast i8*%BR to i8**
%BW=load i8*,i8**%BV,align 8
store i8*%BW,i8**%v,align 8
%BX=call i8*@sml_alloc(i32 inreg 4)#0
%BY=bitcast i8*%BX to i32*
%BZ=getelementptr inbounds i8,i8*%BX,i64 -4
%B0=bitcast i8*%BZ to i32*
store i32 4,i32*%B0,align 4
store i32 0,i32*%BY,align 4
%B1=load i8*,i8**%v,align 8
store i8*null,i8**%v,align 8
%B2=invoke fastcc i8*%BU(i8*inreg%B1,i8*inreg%BX)
to label%B3 unwind label%JZ
B3:
%B4=load i8*,i8**@_SMLZN7Control17printCConvCompileE,align 8
%B5=bitcast i8**%s to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%B5)
%B6=bitcast i8**%t to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%B6)
call void@llvm.gcroot(i8**%s,i8*null)#0
call void@llvm.gcroot(i8**%t,i8*null)#0
store i8*%B4,i8**%s,align 8
%B7=call i8*@sml_alloc(i32 inreg 12)#0
%B8=getelementptr inbounds i8,i8*%B7,i64 -4
%B9=bitcast i8*%B8 to i32*
store i32 1342177288,i32*%B9,align 4
store i8*%B7,i8**%t,align 8
%Ca=load i8*,i8**%s,align 8
store i8*null,i8**%s,align 8
%Cb=bitcast i8*%B7 to i8**
store i8*%Ca,i8**%Cb,align 8
%Cc=getelementptr inbounds i8,i8*%B7,i64 8
%Cd=bitcast i8*%Cc to i32*
store i32 1,i32*%Cd,align 4
%Ce=call i8*@sml_alloc(i32 inreg 28)#0
%Cf=getelementptr inbounds i8,i8*%Ce,i64 -4
%Cg=bitcast i8*%Cf to i32*
store i32 1342177304,i32*%Cg,align 4
%Ch=load i8*,i8**%t,align 8
%Ci=bitcast i8*%Ce to i8**
store i8*%Ch,i8**%Ci,align 8
%Cj=getelementptr inbounds i8,i8*%Ce,i64 8
%Ck=bitcast i8*%Cj to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printRuntimeCalcE_253 to void(...)*),void(...)**%Ck,align 8
%Cl=getelementptr inbounds i8,i8*%Ce,i64 16
%Cm=bitcast i8*%Cl to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top16printRuntimeCalcE_253 to void(...)*),void(...)**%Cm,align 8
%Cn=getelementptr inbounds i8,i8*%Ce,i64 24
%Co=bitcast i8*%Cn to i32*
store i32 -2147483647,i32*%Co,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%B5)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%B6)
%Cp=call fastcc i8*@_SMLLN3Top16printRuntimeCalcE_253(i8*inreg%Ch,i8*inreg getelementptr inbounds(<{[4x i8],i32,[28x i8]}>,<{[4x i8],i32,[28x i8]}>*@ac,i64 0,i32 2,i64 0))
%Cq=getelementptr inbounds i8,i8*%Cp,i64 16
%Cr=bitcast i8*%Cq to i8*(i8*,i8*)**
%Cs=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Cr,align 8
%Ct=bitcast i8*%Cp to i8**
%Cu=load i8*,i8**%Ct,align 8
%Cv=load i8*,i8**%u,align 8
%Cw=invoke fastcc i8*%Cs(i8*inreg%Cu,i8*inreg%Cv)
to label%Cx unwind label%JZ
Cx:
%Cy=load i8*,i8**%u,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Bp)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Bq)
%Cz=bitcast i8**%q to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Cz)
%CA=bitcast i8**%r to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%CA)
call void@llvm.gcroot(i8**%q,i8*null)#0
call void@llvm.gcroot(i8**%r,i8*null)#0
store i8*%Cy,i8**%q,align 8
%CB=load atomic i32,i32*@sml_check_flag unordered,align 4
%CC=icmp eq i32%CB,0
br i1%CC,label%CE,label%CD
CD:
invoke void@sml_check(i32 inreg%CB)
to label%CE unwind label%JZ
CE:
%CF=load i8*,i8**@_SMLZN7Counter21anormalizeTimeCounterE,align 8
%CG=getelementptr inbounds i8,i8*%CF,i64 24
%CH=bitcast i8*%CG to i8**
%CI=load i8*,i8**%CH,align 8
%CJ=getelementptr inbounds i8,i8*%CI,i64 16
%CK=bitcast i8*%CJ to i8*(i8*,i8*)**
%CL=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%CK,align 8
%CM=bitcast i8*%CI to i8**
%CN=load i8*,i8**%CM,align 8
store i8*%CN,i8**%r,align 8
%CO=call i8*@sml_alloc(i32 inreg 4)#0
%CP=bitcast i8*%CO to i32*
%CQ=getelementptr inbounds i8,i8*%CO,i64 -4
%CR=bitcast i8*%CQ to i32*
store i32 4,i32*%CR,align 4
store i32 0,i32*%CP,align 4
%CS=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%CT=invoke fastcc i8*%CL(i8*inreg%CS,i8*inreg%CO)
to label%CU unwind label%JZ
CU:
%CV=load i8*,i8**%q,align 8
store i8*null,i8**%q,align 8
%CW=invoke fastcc i8*@_SMLFN10ANormalize7compileE(i8*inreg%CV)
to label%CX unwind label%JZ
CX:
store i8*%CW,i8**%q,align 8
%CY=load i8*,i8**@_SMLZN7Counter21anormalizeTimeCounterE,align 8
%CZ=getelementptr inbounds i8,i8*%CY,i64 32
%C0=bitcast i8*%CZ to i8**
%C1=load i8*,i8**%C0,align 8
%C2=getelementptr inbounds i8,i8*%C1,i64 16
%C3=bitcast i8*%C2 to i8*(i8*,i8*)**
%C4=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%C3,align 8
%C5=bitcast i8*%C1 to i8**
%C6=load i8*,i8**%C5,align 8
store i8*%C6,i8**%r,align 8
%C7=call i8*@sml_alloc(i32 inreg 4)#0
%C8=bitcast i8*%C7 to i32*
%C9=getelementptr inbounds i8,i8*%C7,i64 -4
%Da=bitcast i8*%C9 to i32*
store i32 4,i32*%Da,align 4
store i32 0,i32*%C8,align 4
%Db=load i8*,i8**%r,align 8
store i8*null,i8**%r,align 8
%Dc=invoke fastcc i8*%C4(i8*inreg%Db,i8*inreg%C7)
to label%Dd unwind label%JZ
Dd:
%De=load i8*,i8**@_SMLZN7Control12printANormalE,align 8
%Df=bitcast i8**%o to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Df)
%Dg=bitcast i8**%p to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Dg)
call void@llvm.gcroot(i8**%o,i8*null)#0
call void@llvm.gcroot(i8**%p,i8*null)#0
store i8*%De,i8**%o,align 8
%Dh=call i8*@sml_alloc(i32 inreg 12)#0
%Di=getelementptr inbounds i8,i8*%Dh,i64 -4
%Dj=bitcast i8*%Di to i32*
store i32 1342177288,i32*%Dj,align 4
store i8*%Dh,i8**%p,align 8
%Dk=load i8*,i8**%o,align 8
store i8*null,i8**%o,align 8
%Dl=bitcast i8*%Dh to i8**
store i8*%Dk,i8**%Dl,align 8
%Dm=getelementptr inbounds i8,i8*%Dh,i64 8
%Dn=bitcast i8*%Dm to i32*
store i32 1,i32*%Dn,align 4
%Do=call i8*@sml_alloc(i32 inreg 28)#0
%Dp=getelementptr inbounds i8,i8*%Do,i64 -4
%Dq=bitcast i8*%Dp to i32*
store i32 1342177304,i32*%Dq,align 4
%Dr=load i8*,i8**%p,align 8
%Ds=bitcast i8*%Do to i8**
store i8*%Dr,i8**%Ds,align 8
%Dt=getelementptr inbounds i8,i8*%Do,i64 8
%Du=bitcast i8*%Dt to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top12printANormalE_261 to void(...)*),void(...)**%Du,align 8
%Dv=getelementptr inbounds i8,i8*%Do,i64 16
%Dw=bitcast i8*%Dv to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top12printANormalE_261 to void(...)*),void(...)**%Dw,align 8
%Dx=getelementptr inbounds i8,i8*%Do,i64 24
%Dy=bitcast i8*%Dx to i32*
store i32 -2147483647,i32*%Dy,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Df)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Dg)
%Dz=call fastcc i8*@_SMLLN3Top12printANormalE_261(i8*inreg%Dr,i8*inreg getelementptr inbounds(<{[4x i8],i32,[13x i8]}>,<{[4x i8],i32,[13x i8]}>*@ad,i64 0,i32 2,i64 0))
%DA=getelementptr inbounds i8,i8*%Dz,i64 16
%DB=bitcast i8*%DA to i8*(i8*,i8*)**
%DC=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%DB,align 8
%DD=bitcast i8*%Dz to i8**
%DE=load i8*,i8**%DD,align 8
%DF=load i8*,i8**%q,align 8
%DG=invoke fastcc i8*%DC(i8*inreg%DE,i8*inreg%DF)
to label%DH unwind label%JZ
DH:
%DI=load i32*,i32**bitcast(i8**@_SMLZN7Control9checkTypeE to i32**),align 8
%DJ=load i32,i32*%DI,align 4
%DK=icmp eq i32%DJ,0
br i1%DK,label%DN,label%DL
DL:
%DM=load i8*,i8**%q,align 8
invoke fastcc void@_SMLFN16ANormalTypeCheck5checkE(i8*inreg%DM)
to label%DN unwind label%JZ
DN:
%DO=load i8*,i8**%q,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Cz)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%CA)
%DP=bitcast i8**%m to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%DP)
%DQ=bitcast i8**%n to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%DQ)
call void@llvm.gcroot(i8**%m,i8*null)#0
call void@llvm.gcroot(i8**%n,i8*null)#0
store i8*%DO,i8**%m,align 8
%DR=load atomic i32,i32*@sml_check_flag unordered,align 4
%DS=icmp eq i32%DR,0
br i1%DS,label%DU,label%DT
DT:
invoke void@sml_check(i32 inreg%DR)
to label%DU unwind label%JZ
DU:
%DV=load i8*,i8**@_SMLZN7Counter25machineCodeGenTimeCounterE,align 8
%DW=getelementptr inbounds i8,i8*%DV,i64 24
%DX=bitcast i8*%DW to i8**
%DY=load i8*,i8**%DX,align 8
%DZ=getelementptr inbounds i8,i8*%DY,i64 16
%D0=bitcast i8*%DZ to i8*(i8*,i8*)**
%D1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%D0,align 8
%D2=bitcast i8*%DY to i8**
%D3=load i8*,i8**%D2,align 8
store i8*%D3,i8**%n,align 8
%D4=call i8*@sml_alloc(i32 inreg 4)#0
%D5=bitcast i8*%D4 to i32*
%D6=getelementptr inbounds i8,i8*%D4,i64 -4
%D7=bitcast i8*%D6 to i32*
store i32 4,i32*%D7,align 4
store i32 0,i32*%D5,align 4
%D8=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%D9=invoke fastcc i8*%D1(i8*inreg%D8,i8*inreg%D4)
to label%Ea unwind label%JZ
Ea:
%Eb=load i8*,i8**%m,align 8
store i8*null,i8**%m,align 8
%Ec=invoke fastcc i8*@_SMLFN14MachineCodeGen7compileE(i8*inreg%Eb)
to label%Ed unwind label%JZ
Ed:
store i8*%Ec,i8**%m,align 8
%Ee=load i8*,i8**@_SMLZN7Counter25machineCodeGenTimeCounterE,align 8
%Ef=getelementptr inbounds i8,i8*%Ee,i64 32
%Eg=bitcast i8*%Ef to i8**
%Eh=load i8*,i8**%Eg,align 8
%Ei=getelementptr inbounds i8,i8*%Eh,i64 16
%Ej=bitcast i8*%Ei to i8*(i8*,i8*)**
%Ek=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Ej,align 8
%El=bitcast i8*%Eh to i8**
%Em=load i8*,i8**%El,align 8
store i8*%Em,i8**%n,align 8
%En=call i8*@sml_alloc(i32 inreg 4)#0
%Eo=bitcast i8*%En to i32*
%Ep=getelementptr inbounds i8,i8*%En,i64 -4
%Eq=bitcast i8*%Ep to i32*
store i32 4,i32*%Eq,align 4
store i32 0,i32*%Eo,align 4
%Er=load i8*,i8**%n,align 8
store i8*null,i8**%n,align 8
%Es=invoke fastcc i8*%Ek(i8*inreg%Er,i8*inreg%En)
to label%Et unwind label%JZ
Et:
%Eu=load i8*,i8**@_SMLZN7Control19printMachineCodeGenE,align 8
%Ev=call fastcc i8*@_SMLLN3Top16printMachineCodeE_268(i8*inreg%Eu)
%Ew=getelementptr inbounds i8,i8*%Ev,i64 16
%Ex=bitcast i8*%Ew to i8*(i8*,i8*)**
%Ey=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Ex,align 8
%Ez=bitcast i8*%Ev to i8**
%EA=load i8*,i8**%Ez,align 8
%EB=invoke fastcc i8*%Ey(i8*inreg%EA,i8*inreg getelementptr inbounds(<{[4x i8],i32,[15x i8]}>,<{[4x i8],i32,[15x i8]}>*@ae,i64 0,i32 2,i64 0))
to label%EC unwind label%JZ
EC:
%ED=getelementptr inbounds i8,i8*%EB,i64 16
%EE=bitcast i8*%ED to i8*(i8*,i8*)**
%EF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%EE,align 8
%EG=bitcast i8*%EB to i8**
%EH=load i8*,i8**%EG,align 8
%EI=load i8*,i8**%m,align 8
%EJ=invoke fastcc i8*%EF(i8*inreg%EH,i8*inreg%EI)
to label%EK unwind label%JZ
EK:
%EL=load i8*,i8**%m,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%DP)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%DQ)
%EM=load i32*,i32**bitcast(i8**@_SMLZN7Control13insertCheckGCE to i32**),align 8
%EN=load i32,i32*%EM,align 4
%EO=icmp eq i32%EN,0
br i1%EO,label%FN,label%EP
EP:
%EQ=bitcast i8**%k to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%EQ)
%ER=bitcast i8**%l to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%ER)
call void@llvm.gcroot(i8**%k,i8*null)#0
call void@llvm.gcroot(i8**%l,i8*null)#0
store i8*%EL,i8**%k,align 8
%ES=load atomic i32,i32*@sml_check_flag unordered,align 4
%ET=icmp eq i32%ES,0
br i1%ET,label%EV,label%EU
EU:
invoke void@sml_check(i32 inreg%ES)
to label%EV unwind label%JZ
EV:
%EW=load i8*,i8**@_SMLZN7Counter24insertCheckGCTimeCounterE,align 8
%EX=getelementptr inbounds i8,i8*%EW,i64 24
%EY=bitcast i8*%EX to i8**
%EZ=load i8*,i8**%EY,align 8
%E0=getelementptr inbounds i8,i8*%EZ,i64 16
%E1=bitcast i8*%E0 to i8*(i8*,i8*)**
%E2=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%E1,align 8
%E3=bitcast i8*%EZ to i8**
%E4=load i8*,i8**%E3,align 8
store i8*%E4,i8**%l,align 8
%E5=call i8*@sml_alloc(i32 inreg 4)#0
%E6=bitcast i8*%E5 to i32*
%E7=getelementptr inbounds i8,i8*%E5,i64 -4
%E8=bitcast i8*%E7 to i32*
store i32 4,i32*%E8,align 4
store i32 0,i32*%E6,align 4
%E9=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%Fa=invoke fastcc i8*%E2(i8*inreg%E9,i8*inreg%E5)
to label%Fb unwind label%JZ
Fb:
%Fc=load i8*,i8**%k,align 8
store i8*null,i8**%k,align 8
%Fd=invoke fastcc i8*@_SMLFN18ConcurrencySupport13insertCheckGCE(i8*inreg%Fc)
to label%Fe unwind label%JZ
Fe:
store i8*%Fd,i8**%k,align 8
%Ff=load i8*,i8**@_SMLZN7Counter24insertCheckGCTimeCounterE,align 8
%Fg=getelementptr inbounds i8,i8*%Ff,i64 32
%Fh=bitcast i8*%Fg to i8**
%Fi=load i8*,i8**%Fh,align 8
%Fj=getelementptr inbounds i8,i8*%Fi,i64 16
%Fk=bitcast i8*%Fj to i8*(i8*,i8*)**
%Fl=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Fk,align 8
%Fm=bitcast i8*%Fi to i8**
%Fn=load i8*,i8**%Fm,align 8
store i8*%Fn,i8**%l,align 8
%Fo=call i8*@sml_alloc(i32 inreg 4)#0
%Fp=bitcast i8*%Fo to i32*
%Fq=getelementptr inbounds i8,i8*%Fo,i64 -4
%Fr=bitcast i8*%Fq to i32*
store i32 4,i32*%Fr,align 4
store i32 0,i32*%Fp,align 4
%Fs=load i8*,i8**%l,align 8
store i8*null,i8**%l,align 8
%Ft=invoke fastcc i8*%Fl(i8*inreg%Fs,i8*inreg%Fo)
to label%Fu unwind label%JZ
Fu:
%Fv=load i8*,i8**@_SMLZN7Control18printInsertCheckGCE,align 8
%Fw=call fastcc i8*@_SMLLN3Top16printMachineCodeE_268(i8*inreg%Fv)
%Fx=getelementptr inbounds i8,i8*%Fw,i64 16
%Fy=bitcast i8*%Fx to i8*(i8*,i8*)**
%Fz=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Fy,align 8
%FA=bitcast i8*%Fw to i8**
%FB=load i8*,i8**%FA,align 8
%FC=invoke fastcc i8*%Fz(i8*inreg%FB,i8*inreg getelementptr inbounds(<{[4x i8],i32,[16x i8]}>,<{[4x i8],i32,[16x i8]}>*@af,i64 0,i32 2,i64 0))
to label%FD unwind label%JZ
FD:
%FE=getelementptr inbounds i8,i8*%FC,i64 16
%FF=bitcast i8*%FE to i8*(i8*,i8*)**
%FG=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%FF,align 8
%FH=bitcast i8*%FC to i8**
%FI=load i8*,i8**%FH,align 8
%FJ=load i8*,i8**%k,align 8
%FK=invoke fastcc i8*%FG(i8*inreg%FI,i8*inreg%FJ)
to label%FL unwind label%JZ
FL:
%FM=load i8*,i8**%k,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%EQ)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%ER)
br label%FN
FN:
%FO=phi i8*[%FM,%FL],[%EL,%EK]
%FP=bitcast i8**%i to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%FP)
%FQ=bitcast i8**%j to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%FQ)
call void@llvm.gcroot(i8**%i,i8*null)#0
call void@llvm.gcroot(i8**%j,i8*null)#0
store i8*%FO,i8**%i,align 8
%FR=load atomic i32,i32*@sml_check_flag unordered,align 4
%FS=icmp eq i32%FR,0
br i1%FS,label%FU,label%FT
FT:
invoke void@sml_check(i32 inreg%FR)
to label%FU unwind label%JZ
FU:
%FV=load i8*,i8**@_SMLZN7Counter26stackAllocationTimeCounterE,align 8
%FW=getelementptr inbounds i8,i8*%FV,i64 24
%FX=bitcast i8*%FW to i8**
%FY=load i8*,i8**%FX,align 8
%FZ=getelementptr inbounds i8,i8*%FY,i64 16
%F0=bitcast i8*%FZ to i8*(i8*,i8*)**
%F1=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%F0,align 8
%F2=bitcast i8*%FY to i8**
%F3=load i8*,i8**%F2,align 8
store i8*%F3,i8**%j,align 8
%F4=call i8*@sml_alloc(i32 inreg 4)#0
%F5=bitcast i8*%F4 to i32*
%F6=getelementptr inbounds i8,i8*%F4,i64 -4
%F7=bitcast i8*%F6 to i32*
store i32 4,i32*%F7,align 4
store i32 0,i32*%F5,align 4
%F8=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%F9=invoke fastcc i8*%F1(i8*inreg%F8,i8*inreg%F4)
to label%Ga unwind label%JZ
Ga:
%Gb=load i8*,i8**%i,align 8
store i8*null,i8**%i,align 8
%Gc=invoke fastcc i8*@_SMLFN15StackAllocation7compileE(i8*inreg%Gb)
to label%Gd unwind label%JZ
Gd:
store i8*%Gc,i8**%i,align 8
%Ge=load i8*,i8**@_SMLZN7Counter26stackAllocationTimeCounterE,align 8
%Gf=getelementptr inbounds i8,i8*%Ge,i64 32
%Gg=bitcast i8*%Gf to i8**
%Gh=load i8*,i8**%Gg,align 8
%Gi=getelementptr inbounds i8,i8*%Gh,i64 16
%Gj=bitcast i8*%Gi to i8*(i8*,i8*)**
%Gk=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Gj,align 8
%Gl=bitcast i8*%Gh to i8**
%Gm=load i8*,i8**%Gl,align 8
store i8*%Gm,i8**%j,align 8
%Gn=call i8*@sml_alloc(i32 inreg 4)#0
%Go=bitcast i8*%Gn to i32*
%Gp=getelementptr inbounds i8,i8*%Gn,i64 -4
%Gq=bitcast i8*%Gp to i32*
store i32 4,i32*%Gq,align 4
store i32 0,i32*%Go,align 4
%Gr=load i8*,i8**%j,align 8
store i8*null,i8**%j,align 8
%Gs=invoke fastcc i8*%Gk(i8*inreg%Gr,i8*inreg%Gn)
to label%Gt unwind label%JZ
Gt:
%Gu=load i8*,i8**@_SMLZN7Control20printStackAllocationE,align 8
%Gv=call fastcc i8*@_SMLLN3Top16printMachineCodeE_268(i8*inreg%Gu)
%Gw=getelementptr inbounds i8,i8*%Gv,i64 16
%Gx=bitcast i8*%Gw to i8*(i8*,i8*)**
%Gy=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Gx,align 8
%Gz=bitcast i8*%Gv to i8**
%GA=load i8*,i8**%Gz,align 8
%GB=invoke fastcc i8*%Gy(i8*inreg%GA,i8*inreg getelementptr inbounds(<{[4x i8],i32,[17x i8]}>,<{[4x i8],i32,[17x i8]}>*@ag,i64 0,i32 2,i64 0))
to label%GC unwind label%JZ
GC:
%GD=getelementptr inbounds i8,i8*%GB,i64 16
%GE=bitcast i8*%GD to i8*(i8*,i8*)**
%GF=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%GE,align 8
%GG=bitcast i8*%GB to i8**
%GH=load i8*,i8**%GG,align 8
%GI=load i8*,i8**%i,align 8
%GJ=invoke fastcc i8*%GF(i8*inreg%GH,i8*inreg%GI)
to label%GK unwind label%JZ
GK:
%GL=load i8*,i8**%i,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%FP)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%FQ)
store i8*%GL,i8**%aw,align 8
%GM=load i8**,i8***%bs,align 8
store i8*null,i8**%aB,align 8
%GN=load i8*,i8**%GM,align 8
%GO=bitcast i8**%g to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%GO)
%GP=bitcast i8**%h to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%GP)
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
store i8*%GN,i8**%g,align 8
%GQ=call i8*@sml_alloc(i32 inreg 12)#0
%GR=getelementptr inbounds i8,i8*%GQ,i64 -4
%GS=bitcast i8*%GR to i32*
store i32 1342177288,i32*%GS,align 4
store i8*%GQ,i8**%h,align 8
%GT=load i8*,i8**%g,align 8
store i8*null,i8**%g,align 8
%GU=bitcast i8*%GQ to i8**
store i8*%GT,i8**%GU,align 8
%GV=getelementptr inbounds i8,i8*%GQ,i64 8
%GW=bitcast i8*%GV to i32*
store i32 1,i32*%GW,align 4
%GX=call i8*@sml_alloc(i32 inreg 28)#0
%GY=getelementptr inbounds i8,i8*%GX,i64 -4
%GZ=bitcast i8*%GY to i32*
store i32 1342177304,i32*%GZ,align 4
%G0=load i8*,i8**%h,align 8
%G1=bitcast i8*%GX to i8**
store i8*%G0,i8**%G1,align 8
%G2=getelementptr inbounds i8,i8*%GX,i64 8
%G3=bitcast i8*%G2 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9doLLVMGenE_394 to void(...)*),void(...)**%G3,align 8
%G4=getelementptr inbounds i8,i8*%GX,i64 16
%G5=bitcast i8*%G4 to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9doLLVMGenE_394 to void(...)*),void(...)**%G5,align 8
%G6=getelementptr inbounds i8,i8*%GX,i64 24
%G7=bitcast i8*%G6 to i32*
store i32 -2147483647,i32*%G7,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%GO)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%GP)
store i8*%G0,i8**%ax,align 8
%G8=call i8*@sml_alloc(i32 inreg 20)#0
%G9=getelementptr inbounds i8,i8*%G8,i64 -4
%Ha=bitcast i8*%G9 to i32*
store i32 1342177296,i32*%Ha,align 4
%Hb=load i8*,i8**%av,align 8
store i8*null,i8**%av,align 8
%Hc=bitcast i8*%G8 to i8**
store i8*%Hb,i8**%Hc,align 8
%Hd=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%He=getelementptr inbounds i8,i8*%G8,i64 8
%Hf=bitcast i8*%He to i8**
store i8*%Hd,i8**%Hf,align 8
%Hg=getelementptr inbounds i8,i8*%G8,i64 16
%Hh=bitcast i8*%Hg to i32*
store i32 3,i32*%Hh,align 4
%Hi=load i8*,i8**%ax,align 8
store i8*null,i8**%ax,align 8
%Hj=invoke fastcc i8*@_SMLLN3Top9doLLVMGenE_394(i8*inreg%Hi,i8*inreg%G8)
to label%Hk unwind label%JZ
Hk:
%Hl=bitcast i8**%e to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Hl)
%Hm=bitcast i8**%f to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%Hm)
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%Hj,i8**%e,align 8
%Hn=load atomic i32,i32*@sml_check_flag unordered,align 4
%Ho=icmp eq i32%Hn,0
br i1%Ho,label%Hq,label%Hp
Hp:
invoke void@sml_check(i32 inreg%Hn)
to label%Hq unwind label%JZ
Hq:
%Hr=load i8*,i8**@_SMLZN7Counter19llvmEmitTimeCounterE,align 8
%Hs=getelementptr inbounds i8,i8*%Hr,i64 24
%Ht=bitcast i8*%Hs to i8**
%Hu=load i8*,i8**%Ht,align 8
%Hv=getelementptr inbounds i8,i8*%Hu,i64 16
%Hw=bitcast i8*%Hv to i8*(i8*,i8*)**
%Hx=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Hw,align 8
%Hy=bitcast i8*%Hu to i8**
%Hz=load i8*,i8**%Hy,align 8
store i8*%Hz,i8**%f,align 8
%HA=call i8*@sml_alloc(i32 inreg 4)#0
%HB=bitcast i8*%HA to i32*
%HC=getelementptr inbounds i8,i8*%HA,i64 -4
%HD=bitcast i8*%HC to i32*
store i32 4,i32*%HD,align 4
store i32 0,i32*%HB,align 4
%HE=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%HF=invoke fastcc i8*%Hx(i8*inreg%HE,i8*inreg%HA)
to label%HG unwind label%JZ
HG:
%HH=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%HI=invoke fastcc i8*@_SMLFN8LLVMEmit4emitE(i8*inreg%HH)
to label%HJ unwind label%JZ
HJ:
store i8*%HI,i8**%e,align 8
%HK=load i8*,i8**@_SMLZN7Counter19llvmEmitTimeCounterE,align 8
%HL=getelementptr inbounds i8,i8*%HK,i64 32
%HM=bitcast i8*%HL to i8**
%HN=load i8*,i8**%HM,align 8
%HO=getelementptr inbounds i8,i8*%HN,i64 16
%HP=bitcast i8*%HO to i8*(i8*,i8*)**
%HQ=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%HP,align 8
%HR=bitcast i8*%HN to i8**
%HS=load i8*,i8**%HR,align 8
store i8*%HS,i8**%f,align 8
%HT=call i8*@sml_alloc(i32 inreg 4)#0
%HU=bitcast i8*%HT to i32*
%HV=getelementptr inbounds i8,i8*%HT,i64 -4
%HW=bitcast i8*%HV to i32*
store i32 4,i32*%HW,align 4
store i32 0,i32*%HU,align 4
%HX=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%HY=invoke fastcc i8*%HQ(i8*inreg%HX,i8*inreg%HT)
to label%HZ unwind label%JZ
HZ:
%H0=load i8*,i8**@_SMLZN7Control13printLLVMEmitE,align 8
%H1=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%H1)
%H2=bitcast i8**%d to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%H2)
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%H0,i8**%c,align 8
%H3=call i8*@sml_alloc(i32 inreg 12)#0
%H4=getelementptr inbounds i8,i8*%H3,i64 -4
%H5=bitcast i8*%H4 to i32*
store i32 1342177288,i32*%H5,align 4
store i8*%H3,i8**%d,align 8
%H6=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%H7=bitcast i8*%H3 to i8**
store i8*%H6,i8**%H7,align 8
%H8=getelementptr inbounds i8,i8*%H3,i64 8
%H9=bitcast i8*%H8 to i32*
store i32 1,i32*%H9,align 4
%Ia=call i8*@sml_alloc(i32 inreg 28)#0
%Ib=getelementptr inbounds i8,i8*%Ia,i64 -4
%Ic=bitcast i8*%Ib to i32*
store i32 1342177304,i32*%Ic,align 4
%Id=load i8*,i8**%d,align 8
%Ie=bitcast i8*%Ia to i8**
store i8*%Id,i8**%Ie,align 8
%If=getelementptr inbounds i8,i8*%Ia,i64 8
%Ig=bitcast i8*%If to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printFileE_278 to void(...)*),void(...)**%Ig,align 8
%Ih=getelementptr inbounds i8,i8*%Ia,i64 16
%Ii=bitcast i8*%Ih to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top9printFileE_278 to void(...)*),void(...)**%Ii,align 8
%Ij=getelementptr inbounds i8,i8*%Ia,i64 24
%Ik=bitcast i8*%Ij to i32*
store i32 -2147483647,i32*%Ik,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H1)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%H2)
%Il=call fastcc i8*@_SMLLN3Top9printFileE_278(i8*inreg%Id,i8*inreg getelementptr inbounds(<{[4x i8],i32,[10x i8]}>,<{[4x i8],i32,[10x i8]}>*@ai,i64 0,i32 2,i64 0))
%Im=getelementptr inbounds i8,i8*%Il,i64 16
%In=bitcast i8*%Im to i8*(i8*,i8*)**
%Io=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%In,align 8
%Ip=bitcast i8*%Il to i8**
%Iq=load i8*,i8**%Ip,align 8
%Ir=load i8*,i8**%e,align 8
%Is=invoke fastcc i8*%Io(i8*inreg%Iq,i8*inreg%Ir)
to label%It unwind label%JZ
It:
%Iu=load i8**,i8***bitcast(i8**@_SMLZN7Control12dumpLLVMEmitE to i8***),align 8
%Iv=load i8*,i8**%Iu,align 8
%Iw=call i32@sml_obj_equal(i8*inreg%Iv,i8*inreg getelementptr inbounds(<{[4x i8],i32,[1x i8]}>,<{[4x i8],i32,[1x i8]}>*@aj,i64 0,i32 2,i64 0))#0
%Ix=icmp eq i32%Iw,0
br i1%Ix,label%Iy,label%IN
Iy:
%Iz=load i8*,i8**%e,align 8
%IA=invoke fastcc i8*@_SMLFN9CoreUtils2cpE(i8*inreg%Iz)
to label%IB unwind label%JZ
IB:
%IC=getelementptr inbounds i8,i8*%IA,i64 16
%ID=bitcast i8*%IC to i8*(i8*,i8*)**
%IE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ID,align 8
%IF=bitcast i8*%IA to i8**
%IG=load i8*,i8**%IF,align 8
store i8*%IG,i8**%f,align 8
%IH=load i8**,i8***bitcast(i8**@_SMLZN7Control12dumpLLVMEmitE to i8***),align 8
%II=load i8*,i8**%IH,align 8
%IJ=invoke fastcc i8*@_SMLFN8Filename10fromStringE(i8*inreg%II)
to label%IK unwind label%JZ
IK:
%IL=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%IM=invoke fastcc i8*%IE(i8*inreg%IL,i8*inreg%IJ)
to label%IN unwind label%JZ
IN:
%IO=load i8*,i8**%e,align 8
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Hl)
call void@llvm.lifetime.end.p0i8(i64 8,i8*%Hm)
store i8*%IO,i8**%av,align 8
%IP=load i8*,i8**@_SMLZN7Counter19assembleTimeCounterE,align 8
%IQ=getelementptr inbounds i8,i8*%IP,i64 24
%IR=bitcast i8*%IQ to i8**
%IS=load i8*,i8**%IR,align 8
%IT=getelementptr inbounds i8,i8*%IS,i64 16
%IU=bitcast i8*%IT to i8*(i8*,i8*)**
%IV=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%IU,align 8
%IW=bitcast i8*%IS to i8**
%IX=load i8*,i8**%IW,align 8
store i8*%IX,i8**%aw,align 8
%IY=call i8*@sml_alloc(i32 inreg 4)#0
%IZ=bitcast i8*%IY to i32*
%I0=getelementptr inbounds i8,i8*%IY,i64 -4
%I1=bitcast i8*%I0 to i32*
store i32 4,i32*%I1,align 4
store i32 0,i32*%IZ,align 4
%I2=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%I3=invoke fastcc i8*%IV(i8*inreg%I2,i8*inreg%IY)
to label%I4 unwind label%JZ
I4:
%I5=load i8*,i8**%av,align 8
store i8*null,i8**%av,align 8
%I6=invoke fastcc i8*@_SMLFN9LLVMUtils8assembleE(i8*inreg%I5)
to label%I7 unwind label%JZ
I7:
store i8*%I6,i8**%av,align 8
%I8=load i8*,i8**@_SMLZN7Counter19assembleTimeCounterE,align 8
%I9=getelementptr inbounds i8,i8*%I8,i64 32
%Ja=bitcast i8*%I9 to i8**
%Jb=load i8*,i8**%Ja,align 8
%Jc=getelementptr inbounds i8,i8*%Jb,i64 16
%Jd=bitcast i8*%Jc to i8*(i8*,i8*)**
%Je=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Jd,align 8
%Jf=bitcast i8*%Jb to i8**
%Jg=load i8*,i8**%Jf,align 8
store i8*%Jg,i8**%aw,align 8
%Jh=call i8*@sml_alloc(i32 inreg 4)#0
%Ji=bitcast i8*%Jh to i32*
%Jj=getelementptr inbounds i8,i8*%Jh,i64 -4
%Jk=bitcast i8*%Jj to i32*
store i32 4,i32*%Jk,align 4
store i32 0,i32*%Ji,align 4
%Jl=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%Jm=invoke fastcc i8*%Je(i8*inreg%Jl,i8*inreg%Jh)
to label%Jn unwind label%JZ
Jn:
%Jo=load i8*,i8**@_SMLZN7Counter22compilationTimeCounterE,align 8
%Jp=getelementptr inbounds i8,i8*%Jo,i64 32
%Jq=bitcast i8*%Jp to i8**
%Jr=load i8*,i8**%Jq,align 8
%Js=getelementptr inbounds i8,i8*%Jr,i64 16
%Jt=bitcast i8*%Js to i8*(i8*,i8*)**
%Ju=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Jt,align 8
%Jv=bitcast i8*%Jr to i8**
%Jw=load i8*,i8**%Jv,align 8
store i8*%Jw,i8**%aw,align 8
%Jx=call i8*@sml_alloc(i32 inreg 4)#0
%Jy=bitcast i8*%Jx to i32*
%Jz=getelementptr inbounds i8,i8*%Jx,i64 -4
%JA=bitcast i8*%Jz to i32*
store i32 4,i32*%JA,align 4
store i32 0,i32*%Jy,align 4
%JB=load i8*,i8**%aw,align 8
store i8*null,i8**%aw,align 8
%JC=invoke fastcc i8*%Ju(i8*inreg%JB,i8*inreg%Jx)
to label%JD unwind label%JZ
JD:
invoke fastcc void@_SMLFN12RuntimeTypes6uninitE(i32 inreg 0)
to label%JE unwind label%JZ
JE:
%JF=call i8*@sml_alloc(i32 inreg 20)#0
%JG=getelementptr inbounds i8,i8*%JF,i64 -4
%JH=bitcast i8*%JG to i32*
store i32 1342177296,i32*%JH,align 4
store i8*%JF,i8**%aw,align 8
%JI=load i8*,i8**%ay,align 8
store i8*null,i8**%ay,align 8
%JJ=bitcast i8*%JF to i8**
store i8*%JI,i8**%JJ,align 8
%JK=load i8*,i8**%av,align 8
store i8*null,i8**%av,align 8
%JL=getelementptr inbounds i8,i8*%JF,i64 8
%JM=bitcast i8*%JL to i8**
store i8*%JK,i8**%JM,align 8
%JN=getelementptr inbounds i8,i8*%JF,i64 16
%JO=bitcast i8*%JN to i32*
store i32 3,i32*%JO,align 4
%JP=call i8*@sml_alloc(i32 inreg 20)#0
%JQ=getelementptr inbounds i8,i8*%JP,i64 -4
%JR=bitcast i8*%JQ to i32*
store i32 1342177296,i32*%JR,align 4
%JS=load i8*,i8**%au,align 8
%JT=bitcast i8*%JP to i8**
store i8*%JS,i8**%JT,align 8
%JU=load i8*,i8**%aw,align 8
%JV=getelementptr inbounds i8,i8*%JP,i64 8
%JW=bitcast i8*%JV to i8**
store i8*%JU,i8**%JW,align 8
%JX=getelementptr inbounds i8,i8*%JP,i64 16
%JY=bitcast i8*%JX to i32*
store i32 3,i32*%JY,align 4
ret i8*%JP
JZ:
%J0=landingpad{i8*,i8*}
catch i8*null
%J1=extractvalue{i8*,i8*}%J0,1
%J2=bitcast i8*%J1 to i8**
%J3=load i8*,i8**%J2,align 8
store i8*null,i8**%aw,align 8
store i8*null,i8**%ay,align 8
store i8*null,i8**%aA,align 8
store i8*null,i8**%av,align 8
store i8*null,i8**%aB,align 8
store i8*null,i8**%ax,align 8
store i8*null,i8**%az,align 8
store i8*%J3,i8**%au,align 8
br label%J4
J4:
%J5=phi i8*[%J3,%JZ],[%ym,%yc],[%wG,%ww],[%no,%nk],[%g2,%gS]
%J6=bitcast i8*%J5 to i8**
%J7=load i8*,i8**%J6,align 8
%J8=icmp eq i8*%J7,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL403,i64 0,i32 2)to i8*)
br i1%J8,label%J9,label%Kt
J9:
%Ka=getelementptr inbounds i8,i8*%J5,i64 16
%Kb=bitcast i8*%Ka to i8**
%Kc=load i8*,i8**%Kb,align 8
store i8*%Kc,i8**%au,align 8
%Kd=load i8*,i8**@_SMLZN7Counter22compilationTimeCounterE,align 8
%Ke=getelementptr inbounds i8,i8*%Kd,i64 32
%Kf=bitcast i8*%Ke to i8**
%Kg=load i8*,i8**%Kf,align 8
%Kh=getelementptr inbounds i8,i8*%Kg,i64 16
%Ki=bitcast i8*%Kh to i8*(i8*,i8*)**
%Kj=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%Ki,align 8
%Kk=bitcast i8*%Kg to i8**
%Kl=load i8*,i8**%Kk,align 8
store i8*%Kl,i8**%av,align 8
%Km=call i8*@sml_alloc(i32 inreg 4)#0
%Kn=bitcast i8*%Km to i32*
%Ko=getelementptr inbounds i8,i8*%Km,i64 -4
%Kp=bitcast i8*%Ko to i32*
store i32 4,i32*%Kp,align 4
store i32 0,i32*%Kn,align 4
%Kq=load i8*,i8**%av,align 8
store i8*null,i8**%av,align 8
%Kr=call fastcc i8*%Kj(i8*inreg%Kq,i8*inreg%Km)
call fastcc void@_SMLFN12RuntimeTypes6uninitE(i32 inreg 0)
%Ks=load i8*,i8**%au,align 8
ret i8*%Ks
Kt:
call fastcc void@_SMLFN12RuntimeTypes6uninitE(i32 inreg 0)
%Ku=call i8*@sml_alloc(i32 inreg 60)#0
%Kv=getelementptr inbounds i8,i8*%Ku,i64 -4
%Kw=bitcast i8*%Kv to i32*
store i32 1342177336,i32*%Kw,align 4
%Kx=getelementptr inbounds i8,i8*%Ku,i64 56
%Ky=bitcast i8*%Kx to i32*
store i32 1,i32*%Ky,align 4
%Kz=load i8*,i8**%au,align 8
%KA=bitcast i8*%Ku to i8**
store i8*%Kz,i8**%KA,align 8
call void@sml_raise(i8*inreg%Ku)#1
unreachable
}
define internal fastcc i8*@_SMLLN3Top7compileE_414(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,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**%f,align 8
%o=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%p=bitcast i8*%l to i8**
store i8*%o,i8**%p,align 8
%q=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%r=getelementptr inbounds i8,i8*%l,i64 8
%s=bitcast i8*%r to i8**
store i8*%q,i8**%s,align 8
%t=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%u=getelementptr inbounds i8,i8*%l,i64 16
%v=bitcast i8*%u to i8**
store i8*%t,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%l,i64 24
%x=bitcast i8*%w to i32*
store i32 7,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
%B=load i8*,i8**%f,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_413 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_413 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i8*@_SMLLN3Top7compileE_415(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=call i8*@sml_alloc(i32 inreg 20)#0
%i=getelementptr inbounds i8,i8*%h,i64 -4
%j=bitcast i8*%i to i32*
store i32 1342177296,i32*%j,align 4
store i8*%h,i8**%e,align 8
%k=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%l=bitcast i8*%h to i8**
store i8*%k,i8**%l,align 8
%m=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%n=getelementptr inbounds i8,i8*%h,i64 8
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%h,i64 16
%q=bitcast i8*%p to i32*
store i32 3,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 28)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177304,i32*%t,align 4
%u=load i8*,i8**%e,align 8
%v=bitcast i8*%r to i8**
store i8*%u,i8**%v,align 8
%w=getelementptr inbounds i8,i8*%r,i64 8
%x=bitcast i8*%w to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_414 to void(...)*),void(...)**%x,align 8
%y=getelementptr inbounds i8,i8*%r,i64 16
%z=bitcast i8*%y to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_414 to void(...)*),void(...)**%z,align 8
%A=getelementptr inbounds i8,i8*%r,i64 24
%B=bitcast i8*%A to i32*
store i32 -2147483647,i32*%B,align 4
ret i8*%r
}
define fastcc i8*@_SMLFN3Top7compileE(i8*inreg%a)#4 gc"smlsharp"{
%b=alloca i8*,align 8
%c=alloca i8*,align 8
call void@llvm.gcroot(i8**%b,i8*null)#0
call void@llvm.gcroot(i8**%c,i8*null)#0
store i8*%a,i8**%b,align 8
%d=call i8*@sml_alloc(i32 inreg 12)#0
%e=getelementptr inbounds i8,i8*%d,i64 -4
%f=bitcast i8*%e to i32*
store i32 1342177288,i32*%f,align 4
store i8*%d,i8**%c,align 8
%g=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%h=bitcast i8*%d to i8**
store i8*%g,i8**%h,align 8
%i=getelementptr inbounds i8,i8*%d,i64 8
%j=bitcast i8*%i to i32*
store i32 1,i32*%j,align 4
%k=call i8*@sml_alloc(i32 inreg 28)#0
%l=getelementptr inbounds i8,i8*%k,i64 -4
%m=bitcast i8*%l to i32*
store i32 1342177304,i32*%m,align 4
%n=load i8*,i8**%c,align 8
%o=bitcast i8*%k to i8**
store i8*%n,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%k,i64 8
%q=bitcast i8*%p to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_415 to void(...)*),void(...)**%q,align 8
%r=getelementptr inbounds i8,i8*%k,i64 16
%s=bitcast i8*%r to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top7compileE_415 to void(...)*),void(...)**%s,align 8
%t=getelementptr inbounds i8,i8*%k,i64 24
%u=bitcast i8*%t to i32*
store i32 -2147483647,i32*%u,align 4
ret i8*%k
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_422(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"personality i32(...)*@sml_personality{
n:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
store i8*%a,i8**%g,align 8
store i8*%b,i8**%d,align 8
%h=load atomic i32,i32*@sml_check_flag unordered,align 4
%i=icmp eq i32%h,0
br i1%i,label%l,label%j
j:
call void@sml_check(i32 inreg%h)
%k=load i8*,i8**%g,align 8
br label%l
l:
%m=phi i8*[%a,%n],[%k,%j]
%o=getelementptr inbounds i8,i8*%m,i64 8
%p=bitcast i8*%o to i8**
%q=load i8*,i8**%p,align 8
%r=getelementptr inbounds i8,i8*%m,i64 36
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=sext i32%t to i64
%v=getelementptr inbounds i8,i8*%q,i64%u
%w=bitcast i8*%v to i32*
%x=load i32,i32*%w,align 4
%y=getelementptr inbounds i8,i8*%m,i64 24
%z=bitcast i8*%y to i32*
%A=load i32,i32*%z,align 4
%B=getelementptr inbounds i8,i8*%m,i64 28
%C=bitcast i8*%B to i32*
%D=load i32,i32*%C,align 4
%E=call fastcc i8*@_SMLLN3Top15doLoadInterfaceE_306(i32 inreg%A,i32 inreg%D)
%F=getelementptr inbounds i8,i8*%E,i64 16
%G=bitcast i8*%F to i8*(i8*,i8*)**
%H=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%G,align 8
%I=bitcast i8*%E to i8**
%J=load i8*,i8**%I,align 8
%K=load i8*,i8**%g,align 8
%L=getelementptr inbounds i8,i8*%K,i64 8
%M=bitcast i8*%L to i8**
%N=load i8*,i8**%M,align 8
%O=invoke fastcc i8*%H(i8*inreg%J,i8*inreg%N)
to label%P unwind label%cl
P:
%Q=getelementptr inbounds i8,i8*%O,i64 16
%R=bitcast i8*%Q to i8*(i8*,i8*)**
%S=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%R,align 8
%T=bitcast i8*%O to i8**
%U=load i8*,i8**%T,align 8
%V=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%W=invoke fastcc i8*%S(i8*inreg%U,i8*inreg%V)
to label%X unwind label%cl
X:
store i8*%W,i8**%e,align 8
%Y=bitcast i8*%W to i8**
%Z=load i8*,i8**%Y,align 8
store i8*%Z,i8**%d,align 8
%aa=load i8*,i8**%g,align 8
%ab=getelementptr inbounds i8,i8*%aa,i64 32
%ac=bitcast i8*%ab to i32*
%ad=load i32,i32*%ac,align 4
%ae=call fastcc i8*@_SMLLN3Top15doElabInterfaceE_318(i32 inreg%ad)
%af=getelementptr inbounds i8,i8*%ae,i64 16
%ag=bitcast i8*%af to i8*(i8*,i8*)**
%ah=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ag,align 8
%ai=bitcast i8*%ae to i8**
%aj=load i8*,i8**%ai,align 8
%ak=load i8*,i8**%g,align 8
%al=getelementptr inbounds i8,i8*%ak,i64 8
%am=bitcast i8*%al to i8**
%an=load i8*,i8**%am,align 8
%ao=invoke fastcc i8*%ah(i8*inreg%aj,i8*inreg%an)
to label%ap unwind label%cl
ap:
%aq=getelementptr inbounds i8,i8*%ao,i64 16
%ar=bitcast i8*%aq to i8*(i8*,i8*)**
%as=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%ar,align 8
%at=bitcast i8*%ao to i8**
%au=load i8*,i8**%at,align 8
store i8*%au,i8**%f,align 8
%av=call i8*@sml_alloc(i32 inreg 4)#0
%aw=bitcast i8*%av to i32*
%ax=getelementptr inbounds i8,i8*%av,i64 -4
%ay=bitcast i8*%ax to i32*
store i32 4,i32*%ay,align 4
store i32 8,i32*%aw,align 4
%az=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%aA=invoke fastcc i8*%as(i8*inreg%az,i8*inreg%av)
to label%aB unwind label%cl
aB:
%aC=getelementptr inbounds i8,i8*%aA,i64 16
%aD=bitcast i8*%aC to i8*(i8*,i8*)**
%aE=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aD,align 8
%aF=bitcast i8*%aA to i8**
%aG=load i8*,i8**%aF,align 8
%aH=load i8*,i8**%g,align 8
%aI=getelementptr inbounds i8,i8*%aH,i64 16
%aJ=bitcast i8*%aI to i8**
%aK=load i8*,i8**%aJ,align 8
%aL=invoke fastcc i8*%aE(i8*inreg%aG,i8*inreg%aK)
to label%aM unwind label%cl
aM:
%aN=getelementptr inbounds i8,i8*%aL,i64 16
%aO=bitcast i8*%aN to i8*(i8*,i8*)**
%aP=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aO,align 8
%aQ=bitcast i8*%aL to i8**
%aR=load i8*,i8**%aQ,align 8
%aS=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%aT=getelementptr inbounds i8,i8*%aS,i64 8
%aU=bitcast i8*%aT to i8**
%aV=load i8*,i8**%aU,align 8
%aW=invoke fastcc i8*%aP(i8*inreg%aR,i8*inreg%aV)
to label%aX unwind label%cl
aX:
store i8*%aW,i8**%f,align 8
%aY=bitcast i8*%aW to i8**
%aZ=load i8*,i8**%aY,align 8
store i8*%aZ,i8**%e,align 8
%a0=icmp eq i32%x,3
br i1%a0,label%a1,label%bd
a1:
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%a2=call i8*@sml_alloc(i32 inreg 28)#0
%a3=getelementptr inbounds i8,i8*%a2,i64 -4
%a4=bitcast i8*%a3 to i32*
store i32 1342177304,i32*%a4,align 4
%a5=bitcast i8*%a2 to i8**
store i8*bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL420,i64 0,i32 2)to i8*),i8**%a5,align 8
%a6=getelementptr inbounds i8,i8*%a2,i64 8
%a7=bitcast i8*%a6 to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@ar,i64 0,i32 2,i64 0),i8**%a7,align 8
%a8=load i8*,i8**%d,align 8
%a9=getelementptr inbounds i8,i8*%a2,i64 16
%ba=bitcast i8*%a9 to i8**
store i8*%a8,i8**%ba,align 8
%bb=getelementptr inbounds i8,i8*%a2,i64 24
%bc=bitcast i8*%bb to i32*
store i32 7,i32*%bc,align 4
br label%cr
bd:
%be=load i8*,i8**%g,align 8
%bf=getelementptr inbounds i8,i8*%be,i64 32
%bg=bitcast i8*%bf to i32*
%bh=load i32,i32*%bg,align 4
%bi=bitcast i8**%c to i8*
call void@llvm.lifetime.start.p0i8(i64 8,i8*%bi)
call void@llvm.gcroot(i8**%c,i8*null)#0
%bj=call i8*@sml_alloc(i32 inreg 12)#0
%bk=bitcast i8*%bj to i32*
%bl=getelementptr inbounds i8,i8*%bj,i64 -4
%bm=bitcast i8*%bl to i32*
store i32 1342177288,i32*%bm,align 4
store i8*%bj,i8**%c,align 8
store i32%bh,i32*%bk,align 4
%bn=getelementptr inbounds i8,i8*%bj,i64 8
%bo=bitcast i8*%bn to i32*
store i32 0,i32*%bo,align 4
%bp=call i8*@sml_alloc(i32 inreg 28)#0
%bq=getelementptr inbounds i8,i8*%bp,i64 -4
%br=bitcast i8*%bq to i32*
store i32 1342177304,i32*%br,align 4
%bs=load i8*,i8**%c,align 8
%bt=bitcast i8*%bp to i8**
store i8*%bs,i8**%bt,align 8
%bu=getelementptr inbounds i8,i8*%bp,i64 8
%bv=bitcast i8*%bu to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19doNameEvalInterfaceE_328 to void(...)*),void(...)**%bv,align 8
%bw=getelementptr inbounds i8,i8*%bp,i64 16
%bx=bitcast i8*%bw to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top19doNameEvalInterfaceE_328 to void(...)*),void(...)**%bx,align 8
%by=getelementptr inbounds i8,i8*%bp,i64 24
%bz=bitcast i8*%by to i32*
store i32 -2147483647,i32*%bz,align 4
call void@llvm.lifetime.end.p0i8(i64 8,i8*%bi)
%bA=load i8*,i8**%g,align 8
%bB=getelementptr inbounds i8,i8*%bA,i64 8
%bC=bitcast i8*%bB to i8**
%bD=load i8*,i8**%bC,align 8
%bE=call fastcc i8*@_SMLLN3Top19doNameEvalInterfaceE_328(i8*inreg%bs,i8*inreg%bD)
%bF=getelementptr inbounds i8,i8*%bE,i64 16
%bG=bitcast i8*%bF to i8*(i8*,i8*)**
%bH=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bG,align 8
%bI=bitcast i8*%bE to i8**
%bJ=load i8*,i8**%bI,align 8
%bK=load i8*,i8**%g,align 8
%bL=getelementptr inbounds i8,i8*%bK,i64 16
%bM=bitcast i8*%bL to i8**
%bN=load i8*,i8**%bM,align 8
%bO=invoke fastcc i8*%bH(i8*inreg%bJ,i8*inreg%bN)
to label%bP unwind label%cl
bP:
%bQ=getelementptr inbounds i8,i8*%bO,i64 16
%bR=bitcast i8*%bQ to i8*(i8*,i8*)**
%bS=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%bR,align 8
%bT=bitcast i8*%bO to i8**
%bU=load i8*,i8**%bT,align 8
%bV=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%bW=getelementptr inbounds i8,i8*%bV,i64 8
%bX=bitcast i8*%bW to i8**
%bY=load i8*,i8**%bX,align 8
%bZ=invoke fastcc i8*%bS(i8*inreg%bU,i8*inreg%bY)
to label%b0 unwind label%cl
b0:
store i8*%bZ,i8**%f,align 8
store i8*null,i8**%g,align 8
%b1=call i8*@sml_alloc(i32 inreg 20)#0
%b2=getelementptr inbounds i8,i8*%b1,i64 -4
%b3=bitcast i8*%b2 to i32*
store i32 1342177296,i32*%b3,align 4
store i8*%b1,i8**%g,align 8
%b4=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%b5=bitcast i8*%b1 to i8**
store i8*%b4,i8**%b5,align 8
%b6=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b7=getelementptr inbounds i8,i8*%b1,i64 8
%b8=bitcast i8*%b7 to i8**
store i8*%b6,i8**%b8,align 8
%b9=getelementptr inbounds i8,i8*%b1,i64 16
%ca=bitcast i8*%b9 to i32*
store i32 3,i32*%ca,align 4
%cb=call i8*@sml_alloc(i32 inreg 20)#0
%cc=getelementptr inbounds i8,i8*%cb,i64 -4
%cd=bitcast i8*%cc to i32*
store i32 1342177296,i32*%cd,align 4
%ce=load i8*,i8**%d,align 8
%cf=bitcast i8*%cb to i8**
store i8*%ce,i8**%cf,align 8
%cg=load i8*,i8**%g,align 8
%ch=getelementptr inbounds i8,i8*%cb,i64 8
%ci=bitcast i8*%ch to i8**
store i8*%cg,i8**%ci,align 8
%cj=getelementptr inbounds i8,i8*%cb,i64 16
%ck=bitcast i8*%cj to i32*
store i32 3,i32*%ck,align 4
ret i8*%cb
cl:
%cm=landingpad{i8*,i8*}
catch i8*null
%cn=extractvalue{i8*,i8*}%cm,1
%co=bitcast i8*%cn to i8**
%cp=load i8*,i8**%co,align 8
store i8*null,i8**%d,align 8
store i8*null,i8**%e,align 8
store i8*null,i8**%f,align 8
%cq=bitcast i8*%cp to i8**
br label%cr
cr:
%cs=phi i8**[%cq,%cl],[%a5,%a1]
%ct=phi i8*[%cp,%cl],[%a2,%a1]
store i8*%ct,i8**%d,align 8
%cu=load i8*,i8**%cs,align 8
%cv=icmp eq i8*%cu,bitcast(i8**getelementptr inbounds(<{[4x i8],i32,i8*}>,<{[4x i8],i32,i8*}>*@_SMLDL420,i64 0,i32 2)to i8*)
br i1%cv,label%cw,label%cN
cw:
%cx=getelementptr inbounds i8,i8*%ct,i64 16
%cy=bitcast i8*%cx to i8**
%cz=load i8*,i8**%cy,align 8
store i8*%cz,i8**%d,align 8
%cA=bitcast i8**%g to i8***
%cB=load i8**,i8***%cA,align 8
store i8*null,i8**%g,align 8
%cC=load i8*,i8**%cB,align 8
store i8*%cC,i8**%e,align 8
%cD=call i8*@sml_alloc(i32 inreg 20)#0
%cE=getelementptr inbounds i8,i8*%cD,i64 -4
%cF=bitcast i8*%cE to i32*
store i32 1342177296,i32*%cF,align 4
%cG=load i8*,i8**%d,align 8
%cH=bitcast i8*%cD to i8**
store i8*%cG,i8**%cH,align 8
%cI=load i8*,i8**%e,align 8
%cJ=getelementptr inbounds i8,i8*%cD,i64 8
%cK=bitcast i8*%cJ to i8**
store i8*%cI,i8**%cK,align 8
%cL=getelementptr inbounds i8,i8*%cD,i64 16
%cM=bitcast i8*%cL to i32*
store i32 3,i32*%cM,align 4
ret i8*%cD
cN:
store i8*null,i8**%g,align 8
%cO=call i8*@sml_alloc(i32 inreg 60)#0
%cP=getelementptr inbounds i8,i8*%cO,i64 -4
%cQ=bitcast i8*%cP to i32*
store i32 1342177336,i32*%cQ,align 4
%cR=getelementptr inbounds i8,i8*%cO,i64 56
%cS=bitcast i8*%cR to i32*
store i32 1,i32*%cS,align 4
%cT=load i8*,i8**%d,align 8
%cU=bitcast i8*%cO to i8**
store i8*%cT,i8**%cU,align 8
call void@sml_raise(i8*inreg%cO)#1
unreachable
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_423(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
%f=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
store i8*%b,i8**%c,align 8
%g=bitcast i8*%a to i8**
%h=load i8*,i8**%g,align 8
store i8*%h,i8**%d,align 8
%i=getelementptr inbounds i8,i8*%a,i64 8
%j=bitcast i8*%i to i8**
%k=load i8*,i8**%j,align 8
store i8*%k,i8**%e,align 8
%l=getelementptr inbounds i8,i8*%a,i64 16
%m=bitcast i8*%l to i32*
%n=load i32,i32*%m,align 4
%o=getelementptr inbounds i8,i8*%a,i64 20
%p=bitcast i8*%o to i32*
%q=load i32,i32*%p,align 4
%r=getelementptr inbounds i8,i8*%a,i64 24
%s=bitcast i8*%r to i32*
%t=load i32,i32*%s,align 4
%u=getelementptr inbounds i8,i8*%a,i64 28
%v=bitcast i8*%u to i32*
%w=load i32,i32*%v,align 4
%x=call i8*@sml_alloc(i32 inreg 44)#0
%y=getelementptr inbounds i8,i8*%x,i64 -4
%z=bitcast i8*%y to i32*
store i32 1342177320,i32*%z,align 4
store i8*%x,i8**%f,align 8
%A=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%B=bitcast i8*%x to i8**
store i8*%A,i8**%B,align 8
%C=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%D=getelementptr inbounds i8,i8*%x,i64 8
%E=bitcast i8*%D to i8**
store i8*%C,i8**%E,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=getelementptr inbounds i8,i8*%x,i64 16
%H=bitcast i8*%G to i8**
store i8*%F,i8**%H,align 8
%I=getelementptr inbounds i8,i8*%x,i64 24
%J=bitcast i8*%I to i32*
store i32%n,i32*%J,align 4
%K=getelementptr inbounds i8,i8*%x,i64 28
%L=bitcast i8*%K to i32*
store i32%q,i32*%L,align 4
%M=getelementptr inbounds i8,i8*%x,i64 32
%N=bitcast i8*%M to i32*
store i32%t,i32*%N,align 4
%O=getelementptr inbounds i8,i8*%x,i64 36
%P=bitcast i8*%O to i32*
store i32%w,i32*%P,align 4
%Q=getelementptr inbounds i8,i8*%x,i64 40
%R=bitcast i8*%Q to i32*
store i32 7,i32*%R,align 4
%S=call i8*@sml_alloc(i32 inreg 28)#0
%T=getelementptr inbounds i8,i8*%S,i64 -4
%U=bitcast i8*%T to i32*
store i32 1342177304,i32*%U,align 4
%V=load i8*,i8**%f,align 8
%W=bitcast i8*%S to i8**
store i8*%V,i8**%W,align 8
%X=getelementptr inbounds i8,i8*%S,i64 8
%Y=bitcast i8*%X to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_422 to void(...)*),void(...)**%Y,align 8
%Z=getelementptr inbounds i8,i8*%S,i64 16
%aa=bitcast i8*%Z to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_422 to void(...)*),void(...)**%aa,align 8
%ab=getelementptr inbounds i8,i8*%S,i64 24
%ac=bitcast i8*%ab to i32*
store i32 -2147483647,i32*%ac,align 4
ret i8*%S
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_424(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
%e=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
call void@llvm.gcroot(i8**%e,i8*null)#0
store i8*%b,i8**%c,align 8
%f=bitcast i8*%a to i8**
%g=load i8*,i8**%f,align 8
store i8*%g,i8**%d,align 8
%h=getelementptr inbounds i8,i8*%a,i64 8
%i=bitcast i8*%h to i32*
%j=load i32,i32*%i,align 4
%k=getelementptr inbounds i8,i8*%a,i64 12
%l=bitcast i8*%k to i32*
%m=load i32,i32*%l,align 4
%n=getelementptr inbounds i8,i8*%a,i64 16
%o=bitcast i8*%n to i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%a,i64 20
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=call i8*@sml_alloc(i32 inreg 36)#0
%u=getelementptr inbounds i8,i8*%t,i64 -4
%v=bitcast i8*%u to i32*
store i32 1342177312,i32*%v,align 4
store i8*%t,i8**%e,align 8
%w=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%x=bitcast i8*%t to i8**
store i8*%w,i8**%x,align 8
%y=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%z=getelementptr inbounds i8,i8*%t,i64 8
%A=bitcast i8*%z to i8**
store i8*%y,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%t,i64 16
%C=bitcast i8*%B to i32*
store i32%j,i32*%C,align 4
%D=getelementptr inbounds i8,i8*%t,i64 20
%E=bitcast i8*%D to i32*
store i32%m,i32*%E,align 4
%F=getelementptr inbounds i8,i8*%t,i64 24
%G=bitcast i8*%F to i32*
store i32%p,i32*%G,align 4
%H=getelementptr inbounds i8,i8*%t,i64 28
%I=bitcast i8*%H to i32*
store i32%s,i32*%I,align 4
%J=getelementptr inbounds i8,i8*%t,i64 32
%K=bitcast i8*%J to i32*
store i32 3,i32*%K,align 4
%L=call i8*@sml_alloc(i32 inreg 28)#0
%M=getelementptr inbounds i8,i8*%L,i64 -4
%N=bitcast i8*%M to i32*
store i32 1342177304,i32*%N,align 4
%O=load i8*,i8**%e,align 8
%P=bitcast i8*%L to i8**
store i8*%O,i8**%P,align 8
%Q=getelementptr inbounds i8,i8*%L,i64 8
%R=bitcast i8*%Q to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_423 to void(...)*),void(...)**%R,align 8
%S=getelementptr inbounds i8,i8*%L,i64 16
%T=bitcast i8*%S to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_423 to void(...)*),void(...)**%T,align 8
%U=getelementptr inbounds i8,i8*%L,i64 24
%V=bitcast i8*%U to i32*
store i32 -2147483647,i32*%V,align 4
ret i8*%L
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_425(i8*inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e)#4 gc"smlsharp"{
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
%h=bitcast i8*%a to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%f,align 8
%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
store i8*%j,i8**%g,align 8
%m=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%b,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%c,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32%d,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%j,i64 20
%v=bitcast i8*%u to i32*
store i32%e,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%j,i64 24
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
%B=load i8*,i8**%g,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_424 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_424 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define internal fastcc i32@_SMLLN3Top11loadBuiltinE_427(i8*inreg%a)#5 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 i8*,i8**@_SMLZN9UserError10UserErrorsE,align 8
store i8*%e,i8**%c,align 8
%f=call i8*@sml_alloc(i32 inreg 28)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177304,i32*%h,align 4
store i8*%f,i8**%d,align 8
%i=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%j=bitcast i8*%f to i8**
store i8*%i,i8**%j,align 8
%k=getelementptr inbounds i8,i8*%f,i64 8
%l=bitcast i8*%k to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@au,i64 0,i32 2,i64 0),i8**%l,align 8
%m=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%f,i64 16
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%f,i64 24
%q=bitcast i8*%p to i32*
store i32 7,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 60)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177336,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%r,i64 56
%v=bitcast i8*%u to i32*
store i32 1,i32*%v,align 4
%w=load i8*,i8**%d,align 8
%x=bitcast i8*%r to i8**
store i8*%w,i8**%x,align 8
call void@sml_raise(i8*inreg%r)#1
unreachable
}
define internal fastcc void@_SMLLN3Top11loadBuiltinE_431(i8*inreg%a)#5 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 i8*,i8**@_SMLZN9UserError10UserErrorsE,align 8
store i8*%e,i8**%c,align 8
%f=call i8*@sml_alloc(i32 inreg 28)#0
%g=getelementptr inbounds i8,i8*%f,i64 -4
%h=bitcast i8*%g to i32*
store i32 1342177304,i32*%h,align 4
store i8*%f,i8**%d,align 8
%i=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%j=bitcast i8*%f to i8**
store i8*%i,i8**%j,align 8
%k=getelementptr inbounds i8,i8*%f,i64 8
%l=bitcast i8*%k to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@au,i64 0,i32 2,i64 0),i8**%l,align 8
%m=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%n=getelementptr inbounds i8,i8*%f,i64 16
%o=bitcast i8*%n to i8**
store i8*%m,i8**%o,align 8
%p=getelementptr inbounds i8,i8*%f,i64 24
%q=bitcast i8*%p to i32*
store i32 7,i32*%q,align 4
%r=call i8*@sml_alloc(i32 inreg 60)#0
%s=getelementptr inbounds i8,i8*%r,i64 -4
%t=bitcast i8*%s to i32*
store i32 1342177336,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%r,i64 56
%v=bitcast i8*%u to i32*
store i32 1,i32*%v,align 4
%w=load i8*,i8**%d,align 8
%x=bitcast i8*%r to i8**
store i8*%w,i8**%x,align 8
call void@sml_raise(i8*inreg%r)#1
unreachable
}
define fastcc i8*@_SMLFN3Top11loadBuiltinE(i8*inreg%a)#2 gc"smlsharp"{
%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*@_SMLLN3Top15doLoadInterfaceE_306(i32 inreg 0,i32 inreg 8)
%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
%q=call fastcc i8*%n(i8*inreg%p,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i8*,i32}>*@at,i64 0,i32 2)to i8*))
%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=load i8*,i8**%b,align 8
%A=bitcast i8*%w to i8**
store i8*%z,i8**%A,align 8
%B=getelementptr inbounds i8,i8*%w,i64 8
%C=bitcast i8*%B to i8**
store i8*null,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%w,i64 16
%E=bitcast i8*%D to i32*
store i32 3,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)
store i8*%G,i8**%c,align 8
%H=call fastcc i8*@_SMLLN3Top15doElabInterfaceE_318(i32 inreg 16)
%I=getelementptr inbounds i8,i8*%H,i64 16
%J=bitcast i8*%I to i8*(i8*,i8*)**
%K=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%J,align 8
%L=bitcast i8*%H to i8**
%M=load i8*,i8**%L,align 8
%N=call fastcc i8*%K(i8*inreg%M,i8*inreg bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i8*,i8*,i32}>,<{[4x i8],i32,i32,[4x i8],i8*,i8*,i32}>*@aw,i64 0,i32 2)to i8*))
%O=getelementptr inbounds i8,i8*%N,i64 16
%P=bitcast i8*%O to i8*(i8*,i8*)**
%Q=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%P,align 8
%R=bitcast i8*%N to i8**
%S=load i8*,i8**%R,align 8
store i8*%S,i8**%d,align 8
%T=call i8*@sml_alloc(i32 inreg 4)#0
%U=bitcast i8*%T to i32*
%V=getelementptr inbounds i8,i8*%T,i64 -4
%W=bitcast i8*%V to i32*
store i32 4,i32*%W,align 4
store i32 0,i32*%U,align 4
%X=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%Y=call fastcc i8*%Q(i8*inreg%X,i8*inreg%T)
%Z=getelementptr inbounds i8,i8*%Y,i64 16
%aa=bitcast i8*%Z to i8*(i8*,i8*)**
%ab=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%aa,align 8
%ac=bitcast i8*%Y to i8**
%ad=load i8*,i8**%ac,align 8
store i8*%ad,i8**%f,align 8
%ae=call fastcc i8*@_SMLFN9SymbolEnv5emptyE(i32 inreg 1,i32 inreg 8)
store i8*%ae,i8**%d,align 8
%af=load i8*,i8**@_SMLZN11NameEvalEnv11emptyTopEnvE,align 8
store i8*%af,i8**%e,align 8
%ag=call i8*@sml_alloc(i32 inreg 20)#0
%ah=getelementptr inbounds i8,i8*%ag,i64 -4
%ai=bitcast i8*%ah to i32*
store i32 1342177296,i32*%ai,align 4
%aj=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%ak=bitcast i8*%ag to i8**
store i8*%aj,i8**%ak,align 8
%al=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%am=getelementptr inbounds i8,i8*%ag,i64 8
%an=bitcast i8*%am to i8**
store i8*%al,i8**%an,align 8
%ao=getelementptr inbounds i8,i8*%ag,i64 16
%ap=bitcast i8*%ao to i32*
store i32 3,i32*%ap,align 4
%aq=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%ar=call fastcc i8*%ab(i8*inreg%aq,i8*inreg%ag)
%as=getelementptr inbounds i8,i8*%ar,i64 16
%at=bitcast i8*%as to i8*(i8*,i8*)**
%au=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%at,align 8
%av=bitcast i8*%ar to i8**
%aw=load i8*,i8**%av,align 8
%ax=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ay=getelementptr inbounds i8,i8*%ax,i64 8
%az=bitcast i8*%ay to i8**
%aA=load i8*,i8**%az,align 8
%aB=call fastcc i8*%au(i8*inreg%aw,i8*inreg%aA)
%aC=bitcast i8*%aB to i8**
%aD=load i8*,i8**%aC,align 8
store i8*%aD,i8**%c,align 8
%aE=getelementptr inbounds i8,i8*%aB,i64 8
%aF=bitcast i8*%aE to i8**
%aG=load i8*,i8**%aF,align 8
%aH=bitcast i8*%aG to i8**
%aI=load i8*,i8**%aH,align 8
%aJ=icmp eq i8*%aI,null
br i1%aJ,label%bB,label%aK
aK:
%aL=bitcast i8*%aI to i8**
%aM=load i8*,i8**%aL,align 8
%aN=getelementptr inbounds i8,i8*%aM,i64 24
%aO=bitcast i8*%aN to i8**
%aP=load i8*,i8**%aO,align 8
%aQ=icmp eq i8*%aP,null
br i1%aQ,label%aR,label%bB
aR:
%aS=getelementptr inbounds i8,i8*%aI,i64 8
%aT=bitcast i8*%aS to i8**
%aU=load i8*,i8**%aT,align 8
%aV=icmp eq i8*%aU,null
br i1%aV,label%aW,label%bB
aW:
%aX=getelementptr inbounds i8,i8*%aG,i64 8
%aY=bitcast i8*%aX to i8**
%aZ=load i8*,i8**%aY,align 8
%a0=icmp eq i8*%aZ,null
br i1%a0,label%bB,label%a1
a1:
%a2=getelementptr inbounds i8,i8*%aZ,i64 8
%a3=bitcast i8*%a2 to i8**
%a4=load i8*,i8**%a3,align 8
%a5=icmp eq i8*%a4,null
br i1%a5,label%a6,label%bB
a6:
%a7=getelementptr inbounds i8,i8*%aG,i64 16
%a8=bitcast i8*%a7 to i8**
%a9=load i8*,i8**%a8,align 8
%ba=icmp eq i8*%a9,null
br i1%ba,label%bb,label%bB
bb:
store i8*null,i8**%b,align 8
%bc=load i8*,i8**%aL,align 8
%bd=getelementptr inbounds i8,i8*%bc,i64 16
%be=bitcast i8*%bd to i8**
%bf=load i8*,i8**%be,align 8
%bg=call fastcc i8*@_SMLFN8NameEval11evalBuiltinE(i8*inreg%bf)
%bh=bitcast i8*%bg to i8**
%bi=load i8*,i8**%bh,align 8
store i8*%bi,i8**%b,align 8
%bj=getelementptr inbounds i8,i8*%bg,i64 8
%bk=bitcast i8*%bj to i8**
%bl=load i8*,i8**%bk,align 8
store i8*%bl,i8**%d,align 8
%bm=call i8*@sml_alloc(i32 inreg 36)#0
%bn=getelementptr inbounds i8,i8*%bm,i64 -4
%bo=bitcast i8*%bn to i32*
store i32 1342177312,i32*%bo,align 4
%bp=load i8*,i8**%d,align 8
%bq=bitcast i8*%bm to i8**
store i8*%bp,i8**%bq,align 8
%br=load i8*,i8**%c,align 8
%bs=getelementptr inbounds i8,i8*%bm,i64 8
%bt=bitcast i8*%bs to i8**
store i8*%br,i8**%bt,align 8
%bu=load i8*,i8**%b,align 8
%bv=getelementptr inbounds i8,i8*%bm,i64 16
%bw=bitcast i8*%bv to i8**
store i8*%bu,i8**%bw,align 8
%bx=getelementptr inbounds i8,i8*%bm,i64 24
%by=bitcast i8*%bx to i8**
store i8*null,i8**%by,align 8
%bz=getelementptr inbounds i8,i8*%bm,i64 32
%bA=bitcast i8*%bz to i32*
store i32 15,i32*%bA,align 4
ret i8*%bm
bB:
%bC=load i8*,i8**@_SMLZN9UserError10UserErrorsE,align 8
store i8*%bC,i8**%c,align 8
%bD=load i8*,i8**@_SMLZN3Loc5nolocE,align 8
store i8*%bD,i8**%d,align 8
%bE=load i8*,i8**@_SMLZN7TopData14IllegalBuiltinE,align 8
store i8*%bE,i8**%e,align 8
%bF=load i8*,i8**%b,align 8
%bG=getelementptr inbounds i8,i8*%bF,i64 8
%bH=bitcast i8*%bG to i8**
%bI=load i8*,i8**%bH,align 8
store i8*%bI,i8**%b,align 8
%bJ=call i8*@sml_alloc(i32 inreg 28)#0
%bK=getelementptr inbounds i8,i8*%bJ,i64 -4
%bL=bitcast i8*%bK to i32*
store i32 1342177304,i32*%bL,align 4
store i8*%bJ,i8**%f,align 8
%bM=load i8*,i8**%e,align 8
store i8*null,i8**%e,align 8
%bN=bitcast i8*%bJ to i8**
store i8*%bM,i8**%bN,align 8
%bO=getelementptr inbounds i8,i8*%bJ,i64 8
%bP=bitcast i8*%bO to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@az,i64 0,i32 2,i64 0),i8**%bP,align 8
%bQ=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%bR=getelementptr inbounds i8,i8*%bJ,i64 16
%bS=bitcast i8*%bR to i8**
store i8*%bQ,i8**%bS,align 8
%bT=getelementptr inbounds i8,i8*%bJ,i64 24
%bU=bitcast i8*%bT to i32*
store i32 7,i32*%bU,align 4
%bV=call i8*@sml_alloc(i32 inreg 28)#0
%bW=getelementptr inbounds i8,i8*%bV,i64 -4
%bX=bitcast i8*%bW to i32*
store i32 1342177304,i32*%bX,align 4
store i8*%bV,i8**%b,align 8
%bY=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%bZ=bitcast i8*%bV to i8**
store i8*%bY,i8**%bZ,align 8
%b0=getelementptr inbounds i8,i8*%bV,i64 8
%b1=bitcast i8*%b0 to i8**
store i8*bitcast(i32*getelementptr inbounds(<{[4x i8],i32,i32,[4x i8],i32}>,<{[4x i8],i32,i32,[4x i8],i32}>*@ay,i64 0,i32 2)to i8*),i8**%b1,align 8
%b2=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%b3=getelementptr inbounds i8,i8*%bV,i64 16
%b4=bitcast i8*%b3 to i8**
store i8*%b2,i8**%b4,align 8
%b5=getelementptr inbounds i8,i8*%bV,i64 24
%b6=bitcast i8*%b5 to i32*
store i32 7,i32*%b6,align 4
%b7=call i8*@sml_alloc(i32 inreg 20)#0
%b8=getelementptr inbounds i8,i8*%b7,i64 -4
%b9=bitcast i8*%b8 to i32*
store i32 1342177296,i32*%b9,align 4
store i8*%b7,i8**%d,align 8
%ca=load i8*,i8**%b,align 8
store i8*null,i8**%b,align 8
%cb=bitcast i8*%b7 to i8**
store i8*%ca,i8**%cb,align 8
%cc=getelementptr inbounds i8,i8*%b7,i64 8
%cd=bitcast i8*%cc to i8**
store i8*null,i8**%cd,align 8
%ce=getelementptr inbounds i8,i8*%b7,i64 16
%cf=bitcast i8*%ce to i32*
store i32 3,i32*%cf,align 4
%cg=call i8*@sml_alloc(i32 inreg 28)#0
%ch=getelementptr inbounds i8,i8*%cg,i64 -4
%ci=bitcast i8*%ch to i32*
store i32 1342177304,i32*%ci,align 4
store i8*%cg,i8**%b,align 8
%cj=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%ck=bitcast i8*%cg to i8**
store i8*%cj,i8**%ck,align 8
%cl=getelementptr inbounds i8,i8*%cg,i64 8
%cm=bitcast i8*%cl to i8**
store i8*getelementptr inbounds(<{[4x i8],i32,[63x i8]}>,<{[4x i8],i32,[63x i8]}>*@ax,i64 0,i32 2,i64 0),i8**%cm,align 8
%cn=load i8*,i8**%d,align 8
store i8*null,i8**%d,align 8
%co=getelementptr inbounds i8,i8*%cg,i64 16
%cp=bitcast i8*%co to i8**
store i8*%cn,i8**%cp,align 8
%cq=getelementptr inbounds i8,i8*%cg,i64 24
%cr=bitcast i8*%cq to i32*
store i32 7,i32*%cr,align 4
%cs=call i8*@sml_alloc(i32 inreg 60)#0
%ct=getelementptr inbounds i8,i8*%cs,i64 -4
%cu=bitcast i8*%ct to i32*
store i32 1342177336,i32*%cu,align 4
%cv=getelementptr inbounds i8,i8*%cs,i64 56
%cw=bitcast i8*%cv to i32*
store i32 1,i32*%cw,align 4
%cx=load i8*,i8**%b,align 8
%cy=bitcast i8*%cs to i8**
store i8*%cx,i8**%cy,align 8
call void@sml_raise(i8*inreg%cs)#1
unreachable
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_439(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%c,align 8
store i8*%b,i8**%d,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%g,label%i
g:
%h=bitcast i8*%a to i8**
br label%m
i:
call void@sml_check(i32 inreg%e)
%j=load i8*,i8**%d,align 8
%k=bitcast i8**%c to i8***
%l=load i8**,i8***%k,align 8
br label%m
m:
%n=phi i8**[%l,%i],[%h,%g]
%o=phi i8*[%j,%i],[%b,%g]
store i8*null,i8**%d,align 8
%p=load i8*,i8**%n,align 8
%q=getelementptr inbounds i8,i8*%p,i64 16
%r=bitcast i8*%q to i8*(i8*,i8*)**
%s=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%r,align 8
store i8*null,i8**%c,align 8
%t=bitcast i8**%n to i8***
%u=load i8**,i8***%t,align 8
%v=load i8*,i8**%u,align 8
%w=call fastcc i8*%s(i8*inreg%v,i8*inreg%o)
ret i8*%w
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_440(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
k:
%c=alloca i8*,align 8
%d=alloca i8*,align 8
call void@llvm.gcroot(i8**%c,i8*null)#0
call void@llvm.gcroot(i8**%d,i8*null)#0
store i8*%a,i8**%d,align 8
store i8*%b,i8**%c,align 8
%e=load atomic i32,i32*@sml_check_flag unordered,align 4
%f=icmp eq i32%e,0
br i1%f,label%i,label%g
g:
call void@sml_check(i32 inreg%e)
%h=load i8*,i8**%d,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 i32*
%p=load i32,i32*%o,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
%s=load i32,i32*%r,align 4
%t=getelementptr inbounds i8,i8*%j,i64 16
%u=bitcast i8*%t to i32*
%v=load i32,i32*%u,align 4
store i8*null,i8**%d,align 8
%w=getelementptr inbounds i8,i8*%j,i64 20
%x=bitcast i8*%w to i32*
%y=load i32,i32*%x,align 4
%z=call fastcc i8*@_SMLLN3Top14loadInterfacesE_425(i8*inreg%m,i32 inreg%p,i32 inreg%s,i32 inreg%v,i32 inreg%y)
%A=getelementptr inbounds i8,i8*%z,i64 16
%B=bitcast i8*%A to i8*(i8*,i8*)**
%C=load i8*(i8*,i8*)*,i8*(i8*,i8*)**%B,align 8
%D=bitcast i8*%z to i8**
%E=load i8*,i8**%D,align 8
%F=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%G=call fastcc i8*%C(i8*inreg%E,i8*inreg%F)
store i8*%G,i8**%c,align 8
%H=call i8*@sml_alloc(i32 inreg 12)#0
%I=getelementptr inbounds i8,i8*%H,i64 -4
%J=bitcast i8*%I to i32*
store i32 1342177288,i32*%J,align 4
store i8*%H,i8**%d,align 8
%K=load i8*,i8**%c,align 8
store i8*null,i8**%c,align 8
%L=bitcast i8*%H to i8**
store i8*%K,i8**%L,align 8
%M=getelementptr inbounds i8,i8*%H,i64 8
%N=bitcast i8*%M to i32*
store i32 1,i32*%N,align 4
%O=call i8*@sml_alloc(i32 inreg 28)#0
%P=getelementptr inbounds i8,i8*%O,i64 -4
%Q=bitcast i8*%P to i32*
store i32 1342177304,i32*%Q,align 4
%R=load i8*,i8**%d,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 void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_439 to void(...)*),void(...)**%U,align 8
%V=getelementptr inbounds i8,i8*%O,i64 16
%W=bitcast i8*%V to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_439 to void(...)*),void(...)**%W,align 8
%X=getelementptr inbounds i8,i8*%O,i64 24
%Y=bitcast i8*%X to i32*
store i32 -2147483647,i32*%Y,align 4
ret i8*%O
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_441(i8*inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d,i32 inreg%e)#4 gc"smlsharp"{
%f=alloca i8*,align 8
%g=alloca i8*,align 8
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
%h=bitcast i8*%a to i8**
%i=load i8*,i8**%h,align 8
store i8*%i,i8**%f,align 8
%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
store i8*%j,i8**%g,align 8
%m=load i8*,i8**%f,align 8
store i8*null,i8**%f,align 8
%n=bitcast i8*%j to i8**
store i8*%m,i8**%n,align 8
%o=getelementptr inbounds i8,i8*%j,i64 8
%p=bitcast i8*%o to i32*
store i32%b,i32*%p,align 4
%q=getelementptr inbounds i8,i8*%j,i64 12
%r=bitcast i8*%q to i32*
store i32%c,i32*%r,align 4
%s=getelementptr inbounds i8,i8*%j,i64 16
%t=bitcast i8*%s to i32*
store i32%d,i32*%t,align 4
%u=getelementptr inbounds i8,i8*%j,i64 20
%v=bitcast i8*%u to i32*
store i32%e,i32*%v,align 4
%w=getelementptr inbounds i8,i8*%j,i64 24
%x=bitcast i8*%w to i32*
store i32 1,i32*%x,align 4
%y=call i8*@sml_alloc(i32 inreg 28)#0
%z=getelementptr inbounds i8,i8*%y,i64 -4
%A=bitcast i8*%z to i32*
store i32 1342177304,i32*%A,align 4
%B=load i8*,i8**%g,align 8
%C=bitcast i8*%y to i8**
store i8*%B,i8**%C,align 8
%D=getelementptr inbounds i8,i8*%y,i64 8
%E=bitcast i8*%D to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_440 to void(...)*),void(...)**%E,align 8
%F=getelementptr inbounds i8,i8*%y,i64 16
%G=bitcast i8*%F to void(...)**
store void(...)*bitcast(i8*(i8*,i8*)*@_SMLLN3Top14loadInterfacesE_440 to void(...)*),void(...)**%G,align 8
%H=getelementptr inbounds i8,i8*%y,i64 24
%I=bitcast i8*%H to i32*
store i32 -2147483647,i32*%I,align 4
ret i8*%y
}
define fastcc i8*@_SMLFN3Top14loadInterfacesE(i32 inreg%a,i32 inreg%b,i32 inreg%c,i32 inreg%d)local_unnamed_addr#2 gc"smlsharp"{
%e=alloca i8*,align 8
%f=alloca i8*,align 8
%g=alloca i8*,align 8
%h=alloca i8*,align 8
call void@llvm.gcroot(i8**%e,i8*null)#0
call void@llvm.gcroot(i8**%f,i8*null)#0
call void@llvm.gcroot(i8**%g,i8*null)#0
call void@llvm.gcroot(i8**%h,i8*null)#0
%i=load atomic i32,i32*@sml_check_flag unordered,align 4
%j=icmp eq i32%i,0
br i1%j,label%l,label%k
k:
call void@sml_check(i32 inreg%i)
br label%l
l:
%m=load i8*,i8**getelementptr inbounds(<{[4x i8],i32,[2x i8*]}>,<{[4x i8],i32,[2x i8*]}>*@_SML_gvarcb5a0a099c103866_Top,i64 0,i32 2,i64 1),align 8
%n=getelementptr inbounds i8,i8*%m,i64 16
%o=bitcast i8*%n to i8*(i8*,i8*,i8*,i8*,i8*)**
%p=load i8*(i8*,i8*,i8*,i8*,i8*)*,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**%e,align 8
%s=call i8*@sml_alloc(i32 inreg 4)#0
%t=bitcast i8*%s to i32*
%u=getelementptr inbounds i8,i8*%s,i64 -4
%v=bitcast i8*%u to i32*
store i32 4,i32*%v,align 4
store i8*%s,i8**%f,align 8
store i32%a,i32*%t,align 4
%w=call i8*@sml_alloc(i32 inreg 4)#0
%x=bitcast i8*%w to i32*
%y=getelementptr inbounds i8,i8*%w,i64 -4
%z=bitcast i8*%y to i32*
store i32 4,i32*%z,align 4
store i8*%w,i8**%g,align 8
store i32%b,i32*%x,align 4
%A=call i8*@sml_alloc(i32 inreg 4)#0
%B=bitcast i8*%A to i32*
%C=getelementptr inbounds i8,i8*%A,i64 -4
%D=bitcast i8*%C to i32*
store i32 4,i32*%D,align 4
store i8*%A,i8**%h,align 8
store i32%c,i32*%B,align 4
%E=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%d,i32*%F,align 4
%I=load i8*,i8**%e,align 8
%J=load i8*,i8**%f,align 8
%K=load i8*,i8**%g,align 8
%L=load i8*,i8**%h,align 8
%M=call fastcc i8*%p(i8*inreg%I,i8*inreg%J,i8*inreg%K,i8*inreg%L,i8*inreg%E)
ret i8*%M
}
define internal fastcc i8*@_SMLLN3Top13extendContextE_443(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN3Top13extendContextE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top10printLinesE_444(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top10printLinesE_146(i8*inreg%a,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*@_SMLLN3Top10printLinesE_445(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top10printLinesE_147(i8*inreg%a,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*@_SMLLN3Top9printCodeE_450(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call 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%d,i32*%f,align 4
ret i8*%e
}
define internal fastcc i8*@_SMLLN3Top9printCodeE_451(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top9printCodeE_159(i8*inreg%a,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*@_SMLLN3Top16printParseResultE_453(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printParseResultE_164(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printParseResultE_454(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top16printParseResultE_166(i8*inreg%a,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*@_SMLLN3Top10printAbsynE_456(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top10printAbsynE_170(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top10printAbsynE_457(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top10printAbsynE_172(i8*inreg%a,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*@_SMLLN3Top19printAbsynInterfaceE_459(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top19printAbsynInterfaceE_176(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top19printAbsynInterfaceE_460(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top19printAbsynInterfaceE_178(i8*inreg%a,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*@_SMLLN3Top19printFileDependencyE_462(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top19printFileDependencyE_182(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top19printFileDependencyE_463(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top19printFileDependencyE_184(i8*inreg%a,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*@_SMLLN3Top16printPatternCalcE_465(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printPatternCalcE_188(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printPatternCalcE_466(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top16printPatternCalcE_190(i8*inreg%a,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*@_SMLLN3Top25printPatternCalcInterfaceE_468(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top25printPatternCalcInterfaceE_194(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top25printPatternCalcInterfaceE_469(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top25printPatternCalcInterfaceE_196(i8*inreg%a,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*@_SMLLN3Top11printIDCalcE_471(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top11printIDCalcE_200(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top11printIDCalcE_472(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top11printIDCalcE_202(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top11printIDCalcE_473(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top11printIDCalcE_204(i8*inreg%a,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*@_SMLLN3Top14printTypedCalcE_475(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top14printTypedCalcE_208(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top14printTypedCalcE_476(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top14printTypedCalcE_210(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top14printTypedCalcE_477(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top14printTypedCalcE_212(i8*inreg%a,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*@_SMLLN3Top15printRecordCalcE_479(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top15printRecordCalcE_216(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top15printRecordCalcE_480(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top15printRecordCalcE_218(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top15printRecordCalcE_481(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top15printRecordCalcE_220(i8*inreg%a,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*@_SMLLN3Top16printTypedLambdaE_483(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printTypedLambdaE_224(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printTypedLambdaE_484(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printTypedLambdaE_226(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printTypedLambdaE_485(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top16printTypedLambdaE_228(i8*inreg%a,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*@_SMLLN3Top16printBitmapCalc2E_487(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printBitmapCalc2E_232(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printBitmapCalc2E_488(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printBitmapCalc2E_234(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printBitmapCalc2E_489(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top16printBitmapCalc2E_236(i8*inreg%a,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*@_SMLLN3Top16printClosureCalcE_491(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printClosureCalcE_240(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printClosureCalcE_492(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printClosureCalcE_242(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printClosureCalcE_493(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top16printClosureCalcE_244(i8*inreg%a,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*@_SMLLN3Top16printRuntimeCalcE_495(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printRuntimeCalcE_248(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printRuntimeCalcE_496(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printRuntimeCalcE_250(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printRuntimeCalcE_497(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top16printRuntimeCalcE_252(i8*inreg%a,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*@_SMLLN3Top12printANormalE_499(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top12printANormalE_256(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top12printANormalE_500(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top12printANormalE_258(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top12printANormalE_501(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top12printANormalE_260(i8*inreg%a,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*@_SMLLN3Top16printMachineCodeE_503(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top16printMachineCodeE_264(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top16printMachineCodeE_504(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top16printMachineCodeE_266(i8*inreg%a,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*@_SMLLN3Top11printLLVMIRE_506(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLLN3Top11printLLVMIRE_270(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top11printLLVMIRE_507(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top11printLLVMIRE_272(i8*inreg%a,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*@_SMLLN3Top9printFileE_509(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top9printFileE_277(i8*inreg%a,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*@_SMLL7ptrsize_511(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i32@_SMLL7ptrsize_282(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*@_SMLLN3Top15doElabInterfaceE_517(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=bitcast i8*%b to i32*
%d=load i32,i32*%c,align 4
%e=tail call fastcc i8*@_SMLLN3Top15doElabInterfaceE_316(i8*inreg%a,i32 inreg%d)
ret i8*%e
}
define internal fastcc i8*@_SMLLN3Top7compileE_542(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top7compileE_404(i8*inreg%a,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*@_SMLLN3Top7compileE_543(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top7compileE_406(i8*inreg%a,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*@_SMLLN3Top7compileE_544(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top7compileE_407(i8*inreg%a,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*@_SMLL13externalDecls_545(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLL13externalDecls_408(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLL6tpdecs_546(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
tail call fastcc void@_SMLL6tpdecs_410(i8*inreg%a,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*@_SMLLN3Top7compileE_547(i8*inreg%a,i8*inreg%b)#4 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN3Top7compileE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_548(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#4 gc"smlsharp"{
%f=bitcast i8*%b to i32*
%g=load i32,i32*%f,align 4
%h=bitcast i8*%c to i32*
%i=load i32,i32*%h,align 4
%j=bitcast i8*%d to i32*
%k=load i32,i32*%j,align 4
%l=bitcast i8*%e to i32*
%m=load i32,i32*%l,align 4
%n=tail call fastcc i8*@_SMLLN3Top14loadInterfacesE_425(i8*inreg%a,i32 inreg%g,i32 inreg%i,i32 inreg%k,i32 inreg%m)
ret i8*%n
}
define internal fastcc i8*@_SMLLN3Top11loadBuiltinE_549(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
%c=tail call fastcc i32@_SMLLN3Top11loadBuiltinE_427(i8*inreg%b)
unreachable
}
define internal fastcc i8*@_SMLLN3Top11loadBuiltinE_550(i8*inreg%a,i8*inreg%b)#5 gc"smlsharp"{
tail call fastcc void@_SMLLN3Top11loadBuiltinE_431(i8*inreg%b)
unreachable
}
define internal fastcc i8*@_SMLLN3Top11loadBuiltinE_551(i8*inreg%a,i8*inreg%b)#2 gc"smlsharp"{
%c=tail call fastcc i8*@_SMLFN3Top11loadBuiltinE(i8*inreg%b)
ret i8*%c
}
define internal fastcc i8*@_SMLLN3Top14loadInterfacesE_552(i8*inreg%a,i8*inreg%b,i8*inreg%c,i8*inreg%d,i8*inreg%e)#4 gc"smlsharp"{
%f=bitcast i8*%b to i32*
%g=load i32,i32*%f,align 4
%h=bitcast i8*%c to i32*
%i=load i32,i32*%h,align 4
%j=bitcast i8*%d to i32*
%k=load i32,i32*%j,align 4
%l=bitcast i8*%e to i32*
%m=load i32,i32*%l,align 4
%n=tail call fastcc i8*@_SMLLN3Top14loadInterfacesE_441(i8*inreg%a,i32 inreg%g,i32 inreg%i,i32 inreg%k,i32 inreg%m)
ret i8*%n
}
declare void@llvm.lifetime.start.p0i8(i64,i8*)#0
declare void@llvm.lifetime.end.p0i8(i64,i8*)#0
attributes#0={nounwind}
attributes#1={noreturn}
attributes#2={uwtable}
attributes#3={noreturn nounwind}
attributes#4={nounwind uwtable}
attributes#5={noreturn uwtable}
