View Item 
        •   Utrecht University Student Theses Repository Home
        • UU Theses Repository
        • Theses
        • View Item
        •   Utrecht University Student Theses Repository Home
        • UU Theses Repository
        • Theses
        • View Item
        JavaScript is disabled for your browser. Some features of this site may not work without it.

        Browse

        All of UU Student Theses RepositoryBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

        Implementing Counting Analysis in UHC

        Thumbnail
        View/Open
        thesisBremer.pdf (787.6Kb)
        Publication date
        2018
        Author
        Bremer, T.
        Metadata
        Show full item record
        Summary
        This thesis describes and implements an extension to counting analysis (defined be Verstoep in [?]). We also describe and implement a strictness optimization based on the results of the extended counting analysis. Counting analysis is a analysis that combines four analyses that count how many times a certain expression is used and demanded. These analyses are absence, sharing, strictness and uniqueness analysis. Having a single analysis that can be used for multiple optimizations is useful in that it is easier to maintain and it prevents cross analysis bugs. It also saves compile time as less analyses are run 1 . The goal of this thesis is to extend counting analysis to the whole of UHC core 2 and give an imple- mentation of counting analysis in the Utrecht Haskell Compiler 3 . Only running the analysis will not result in any faster runtimes, so a strictness optimization is also presented that when run will transform the source code in such a way that the resulting binary runs faster.
        URI
        https://studenttheses.uu.nl/handle/20.500.12932/28883
        Collections
        • Theses
        Utrecht university logo