Camil Demetrescu edited intro.tex  over 8 years ago

Commit id: 231b6a91aae86f68db064f77e240763e02785386

deletions | additions      

       

Our implementation is shipped 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 then 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 - a source of bottlenecks in many MATLAB programs - that could not have been implemented using extant OSR techniques.    The rest of this paper is organized as follows. In Section~\ref{se:related}, we illustrate the state of the art of OSR in literature and discuss related work. In Section~\ref{se:approach}, we present our OSR technique and outline its implementation and Application Program Interface (API) for VM builders. In Section~\ref{se:experiments}, we present the experimental study in TinyVM and discuss implications of inserting OSR points in a LLVM function, while in Section XXX we illustrate our case study in McVM. Section XXX concludes the paper and presents some ideas for future research directions.