Daniele Cono D'Elia edited intro.tex  over 8 years ago

Commit id: 9a7f46939da2c2b25229f7a79e1816f5b6db5ea1

deletions | additions      

       

%\item Providing support for the redirection of future invocations of a function to the latest compiled version without recompiling the callers or performing linking again.  \end{itemize}  \noindent Our implementation ships as a library for IR manipulation, and we present a preliminary experimental study of our technique in \tinyvm\, a proof-of-concept virtual machine for run-time IR manipulation and compilation based on MCJIT. We also present a case study on the integration of our technique in McVM~\cite{chevalier2010mcvm}: we show the potential of our approach by enabling an aggressive specialization mechanism for the {\tt feval} construct construct\  - a source of bottlenecks in many MATLAB programs programs~\cite{radpour2013refactoring, lameed2013feval}  - that could not have been implemented using extant OSR techniques. \paragraph{Structure of the paper.}  The remainder of this paper is organized as follows. In \mysection\ref{se:overview} we present our OSR technique and in \mysection\ref{se:osr-llvm} we outline its implementation and Application Program Interface (API) in LLVM. \mysection\ref{case-study} illustrates a case study in McVM. In \mysection\ref{se:experiments}, we present our experimental study and discuss implications of inserting OSR points in a LLVM function, while \mysection\ref{se:related} addresses related work. \mysection\ref{se:conclusions} concludes the paper and presents some ideas for future research directions.