dc.rights.license | CC-BY-NC-ND | |
dc.contributor.advisor | Bodlaender, H. L. | |
dc.contributor.advisor | Dijkstra, A. | |
dc.contributor.author | Heijer, S.K. den | |
dc.date.accessioned | 2018-07-19T17:04:27Z | |
dc.date.available | 2018-07-19T17:04:27Z | |
dc.identifier.uri | https://studenttheses.uu.nl/handle/20.500.12932/29549 | |
dc.description.abstract | When inlining recursive functions care must be taken to ensure termination of the inliner. The Glasgow Haskell Compiler does this by choosing a loop breaker (which may never be inlined) for each recursion loop in the program. These breakers are currently chosen by a simple heuristic which makes little effort to minimise the number of breaker vertices chosen, even though there are several cases where a smarter choice of of a set of loop breaker vertices can be much smaller. In this paper we apply algorithmic techniques (related to the Directed Feedback Vertex Set and Feedback Arc Set) to determine the minimum size set of breakers necessary to break every loop. Our approach requires significantly fewer loop breakers. | |
dc.description.sponsorship | Utrecht University | |
dc.format.extent | 1679693 | |
dc.format.mimetype | application/pdf | |
dc.language.iso | en | |
dc.title | Optimal Loop Breaker Choice for Inlining | |
dc.type.content | Master Thesis | |
dc.rights.accessrights | Open Access | |
dc.subject.keywords | compiler, Haskell, GHC, optimisation, inlining, directed blackout feedback vertex set, blackout feedback arc set | |
dc.subject.courseuu | Applied Computing Science | |