<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This is cool! Thanks!<div class=""><br class=""></div><div class="">- mish</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 4, 2015, at 5:27 AM, Alex Blewitt <<a href="mailto:alex.blewitt@gmail.com" class="">alex.blewitt@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I wrote a small utility SILInspector [1] (which wraps around the output of xcrun swiftc -emit-sil and friends) for my presentation at GotoCon Berlin yesterday [2]. It’s primarily a tool that’s useful for seeing what gets generated by each stage of the pipeline and (for example) showing how in-lining optimisations can lead to further optimisations resulting in functions being completely excluded in compiled output.<div class=""><br class=""></div><div class="">It might be of interest to those experimenting with the compiler and/optimisations, although as I said, there’s nothing that can’t be done from the command line.</div><div class=""><br class=""></div><div class="">Alex</div><div class=""><br class=""></div><div class="">[1] <a href="https://github.com/alblue/SILInspector" class="">https://github.com/alblue/SILInspector</a></div><div class="">[2] <a href="https://speakerdeck.com/alblue/swift-2-under-the-hood-gotober-2015" class="">https://speakerdeck.com/alblue/swift-2-under-the-hood-gotober-2015</a> </div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=xTF6JWnt2pl7kNka7081D3VajDoXFZTI5JEuSuQLncohCxxlGIdL0AMrQ5DGUzdDLul-2BH9GtDC2X4xcm9vIvEXZryd0qIYajYHsk2BSiU4k5cc2J22HN9GGGK2DUmIC7gheHfhYvZlQLdV519Y-2BhykhkbbrjVM4FlTFpSEbaJMbSnOCSMGXhewmJZTnqjlNb28LybYp3kjPv6-2FoPm-2Byk8yzUqsNs0ncgzo-2BZCDOVNJ8-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;" class="">
</div>
_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""></div></body></html>