COMPILER TECHNIQUES FOR MATLAB PROGRAMS ... - CiteSeerX
COMPILER TECHNIQUES FOR MATLAB PROGRAMS ... - CiteSeerX
COMPILER TECHNIQUES FOR MATLAB PROGRAMS ... - CiteSeerX
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
3.2.7 Code Generator : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 31<br />
4 INTERNAL REPRESENTATION ::::::::::::::::::::::::::::::::::::::::::: 32<br />
4.1 Distinguishing Variables from Functions in <strong>MATLAB</strong> : : : : : : : : : : : : : 32<br />
4.2 Static Single Assignment : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 35<br />
4.2.1 Extensions to the Symbol Table for the SSA Representation : : : : : 35<br />
4.2.2 SSA Representation for Scalar and Full Array Assignments : : : : : : 36<br />
4.2.3 Extension of the SSA Representation to Support Indexed Array Assignments<br />
: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 37<br />
5 THE STATIC INFERENCE MECHANISM :::::::::::::::::::::::::::::::: 40<br />
5.1 Intrinsic Type Inference : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 40<br />
5.1.1 Propagation of Intrinsic Type Information Through ' Functions : : : 42<br />
5.1.2 Propagation of Intrinsic Type Information Through Functions : : : 44<br />
5.2 Value Propagation : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 46<br />
5.3 Shape and Rank Inference : : : : : : : : : : : : : : : : : : : : : : : : : : : : 49<br />
5.3.1 Propagation of Rank and Shape Information Through Both and '<br />
Functions : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 51<br />
5.3.2 Propagation of Rank and Shape Information Through Functions : : 52<br />
5.4 Functions : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 54<br />
5.5 Structural Inference : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 55<br />
6 THE DYNAMIC INFERENCE MECHANISM :::::::::::::::::::::::::::: 61<br />
6.1 Dynamic Denition of Intrinsic Types : : : : : : : : : : : : : : : : : : : : : : 61<br />
6.2 Dynamic Shape Inference : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 64<br />
6.2.1 Symbolic Dimension Propagation : : : : : : : : : : : : : : : : : : : : 67<br />
6.2.2 Coverage Analysis : : : : : : : : : : : : : : : : : : : : : : : : : : : : 72<br />
6.2.3 Placement of Dynamic Allocation : : : : : : : : : : : : : : : : : : : : 73<br />
viii