Type-based specialization in a telescoping compiler for Matlab

Files in this item

Files Size Format View
1414281.PDF 4.663Mb application/pdf Thumbnail

Show full item record

Item Metadata

Title: Type-based specialization in a telescoping compiler for Matlab
Author: McCosh, Cheryl Hom
Advisor: Kennedy, Ken
Degree: Master of Science thesis
Abstract: This thesis develops telescoping-language technology for automatically generating high performance libraries from development code written in high-level languages, like Matlab. The generated library subroutines have pre-optimized variants based on possible uses of the library. Specifically, a specialized variant is generated for each possible type configuration on inputs to the library. This thesis develops an efficient graph-theoretical, constraint-based algorithm for inferring types in Matlab needed for translation into lower-level languages, optimization, and determination of which specialized variants to generate. The algorithm computes type jump functions, which allows it to infer types interprocedurally. To illustrate the power of the technology, this thesis develops ARGen, a system which generates code equivalent to ARPACK, a Fortran linear algebra library, from its Matlab development code. By accomplishing the type inferencing algorithm and ARGen, which uses it, this thesis provides a basis for a general system for telescoping languages.
Citation: McCosh, Cheryl Hom. (2003) "Type-based specialization in a telescoping compiler for Matlab." Masters Thesis, Rice University.
Date: 2003

This item appears in the following Collection(s)