2014
DOI: 10.1145/2692915.2628153
|View full text |Cite
|
Sign up to set email alerts
|

Practical and effective higher-order optimizations

Abstract: Inlining is an optimization that replaces a call to a function with that function's body. This optimization not only reduces the overhead of a function call, but can expose additional optimization opportunities to the compiler, such as removing redundant operations or unused conditional branches. Another optimization, copy propagation, replaces a redundant copy of a still-live variable with the original. Copy propagation can reduce the total number of live variables, reducing register pressure and memory usage… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2015
2015
2019
2019

Publication Types

Select...
2

Relationship

1
1

Authors

Journals

citations
Cited by 2 publications
(2 citation statements)
references
References 25 publications
0
2
0
Order By: Relevance
“…In general, k-CFA (where k > 0) is considered impractical to be used as a compiler pass, due to its EXPTIME lower bound [Van Horn and Mairson 2008]. However, several variants of 0-CFA were developed and shown to be useful in practice [Adams et al 2011;Ashley and Dybvig 1998;Bergstrom et al 2014;Reppy 2006].…”
Section: Related Workmentioning
confidence: 99%
“…In general, k-CFA (where k > 0) is considered impractical to be used as a compiler pass, due to its EXPTIME lower bound [Van Horn and Mairson 2008]. However, several variants of 0-CFA were developed and shown to be useful in practice [Adams et al 2011;Ashley and Dybvig 1998;Bergstrom et al 2014;Reppy 2006].…”
Section: Related Workmentioning
confidence: 99%
“…The translation from direct style to continuation-passing style eliminates the special handling of continuations, so that capturing a continuation is effectively a variable-variable copy and subject to copy propagation, and makes control flow explicit. Using higher-order control-flow analysis, we perform a number of further optimizations on the CPS IR program, such as arity-raising [6] and aggressive inlining [5].…”
Section: Cps Cfg and Heap-allocated Continuationsmentioning
confidence: 99%