A cost model for a graph-based intermediate-representation in a dynamic compiler

Author(s):  
David Leopoldseder ◽  
Lukas Stadler ◽  
Manuel Rigger ◽  
Thomas Würthinger ◽  
Hanspeter Mössenböck
Author(s):  
Maximilian P. L. Haslbeck ◽  
Peter Lammich

AbstractWe present a framework to verify both, functional correctness and worst-case complexity of practically efficient algorithms. We implemented a stepwise refinement approach, using the novel concept of resource currencies to naturally structure the resource analysis along the refinement chain, and allow a fine-grained analysis of operation counts. Our framework targets the LLVM intermediate representation. We extend its semantics from earlier work with a cost model. As case study, we verify the correctness and $$O(n\log n)$$ O ( n log n ) worst-case complexity of an implementation of the introsort algorithm, whose performance is on par with the state-of-the-art implementation found in the GNU C++ Library.


1994 ◽  
Vol 11 (1) ◽  
pp. 47-56
Author(s):  
Virginia C. Day ◽  
Zachary F. Lansdowne ◽  
Richard A Moynihan ◽  
John A. Vitkevich

2012 ◽  
Author(s):  
Tom Busey ◽  
Chen Yu ◽  
Francisco Parada ◽  
Brandi Emerick ◽  
John Vanderkolk

2016 ◽  
Vol 7 (2) ◽  
pp. 1-24
Author(s):  
Neto Jose Alves da Silva ◽  
◽  
Giacaglia Giorgio Eugenio Oscare ◽  

1980 ◽  
Author(s):  
L. FINIZIE ◽  
M. CADDY
Keyword(s):  

1990 ◽  
Author(s):  
J. GREEN ◽  
K. KLENK ◽  
L. TREINISH
Keyword(s):  

1984 ◽  
Author(s):  
S. L. Penn ◽  
H. D. Frear ◽  
W. J. Bauman ◽  
T. A. Rose
Keyword(s):  

1988 ◽  
Author(s):  
Patricia A. Yee ◽  
Constantino P. Heon ◽  
Kirsten M. Pehrsson ◽  
Richard Katz ◽  
Thad T. Konopnicki
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document