Toolchains - Parameters - Filters
ADiMat Toolchains
Toolchain adm: AST XML (XML output of parser)
Returns the AST of the input in XML format. Some preprocessing is done on the output of the parser.
View details here.
Toolchain basic-block-to-call: Outline functions
Translate any basic block to a function call of the form [v1 v2 v3] = f(v1, v2, v3, ...).
View details here.
Toolchain brackets-to-hvcat: Brackets to horzcat/vertcat
Translate instances of brackets [] to calls to the functions horzcat and/or vertcat.
View details here.
Toolchain builtins: Function list (builtins only)
List of builtin functions used in the code.
View details here.
Toolchain code-metrics: Code metrics (ASCII)
Some code metrics and statistics in ASCII text format.
View details here.
Toolchain code-metrics-latex: Code metrics (Latex)
Some code metrics and statistics in Latex format.
View details here.
Toolchain code-metrics-xml: Code metrics (XML)
Some code metrics and statistics in XML format.
View details here.
Toolchain dep-files: Function files list (user functions only)
List of files with user functions used in the code.
View details here.
Toolchain for-insert-iteration-indexvar: Normalize for loops
Canonicalize for loops to the form for i=first:last.
View details here.
Toolchain forward-ad: New forward mode differentiation (experimental)
Transforms the code in forward mode AD.
View details here.
Toolchain hvcat-to-brackets: Horzcat/vertcat to brackets
Rewrite calls of functions horzcat and/or vertcat with brackets [].
View details here.
Toolchain ind-to-subs: Indices to subsref/subsasgn
Translate index expression to calls to the functions subsref (RHSs) and subsasgn (LHSs).
View details here.
Toolchain nested-to-sub-function: Nested to sub function
Change nested functions to sub functions. This only works when the nested function only reads variables from the superior scope. These are then passed as additional arguments.
View details here.
Toolchain null: XML output of parser
Returns the raw XML output of the parser in the adimat tool. Results of activity analysis for each variable and the function call graph are also included.
View details here.
Toolchain prepare-fm: Preprocessing for new forward mode differentiation
Transforms the code in forward mode AD.
View details here.
Toolchain prepare-rm: Preprocessing for reverse mode differentiation
Transforms the code in reverse mode AD.
View details here.
Toolchain pretty-print: Parse and unparse program
Returns the same program, just parsed and unparsed back to MATLAB source. All the functions will be in one file, you can use parameter output-mode=split-all to write each function to a different file.
View details here.
Toolchain rename: Rename
Renames all identifiers given by parameter "from" to the value of parameter "to".
View details here.
Toolchain reverse-ad: Reverse mode differentiation
Transforms the code in reverse mode AD.
View details here.
Toolchain taylor-ad: Taylor forward mode differentiation (experimental)
Transforms the code in taylor forward mode AD.
View details here.
Toolchain user-functions: Function list (user functions only)
List of user functions used in the code.
View details here.