Transforms the code to XAIF XML format.
Name | Default value | Filters | Description | Toolchains |
---|
activityAnalysis | | | Controls if-then-else. | forward-ad, prepare-fm, prepare-rm, reverse-ad, taylor-ad, xaif |
forward-deriv-function-prefix | $forward-deriv-prefix | xsl/replicate-funref-assignments.xsl | the prefix for forward-ad derivative variables | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
forward-deriv-variable-prefix | $forward-deriv-prefix | xsl/replicate-funref-assignments.xsl | the prefix for forward-ad derivative variables | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
nocanonicalize | | | Controls if-then-else. | forward-ad, prepare-fm, prepare-rm, reverse-ad, taylor-ad, xaif |
prefix | | xsl/replicate-funref-assignments.xsl | the prefix for both derivative variables and functions | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
rec-prefix | | xsl/replicate-funref-assignments.xsl | the prefix for the recording (forward) sweep version
of a differentiated function | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
ret-prefix | | xsl/replicate-funref-assignments.xsl | the prefix for the return sweep version
of a differentiated function | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
rev-prefix | | xsl/replicate-funref-assignments.xsl | the prefix for the adjoint (recording + return) version
of a differentiated function | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
source-line-numbers | 1 | xsl/lhs-lists.xsl, xsl/min-nargin.xsl, xsl/replicate-funref-assignments.xsl | Include source line numbers in stmt. labels if set to 1. | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
tmp-mode | 'short' | xsl/which-to-canonicalize.xsl, xsl/canonicalize.xsl, xsl/canonicalize-outline-index-lhs.xsl | How to name temporary variables. | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
tmp-prefix | 'tmp' | xsl/which-to-canonicalize.xsl, xsl/canonicalize.xsl, xsl/canonicalize-outline-index-lhs.xsl | Prefix of temporary variables. | basic-block-to-call, brackets-to-hvcat, for-insert-iteration-indexvar, forward-ad, hvcat-to-brackets, ind-to-subs, nested-to-sub-function, prepare-fm, prepare-rm, pretty-print, rename, reverse-ad, taylor-ad, xaif |
XSLT filter:
xsl/directives.xsl
XSLT filter:
xsl/preprocess.xsl
XSLT filter:
xsl/brackets-to-hvcat.xsl
XSLT filter:
xsl/for-insert-iteration-indexvar.xsl
XSLT filter:
xsl/add-tmp-vars-to-scope-graph.xsl
XSLT filter:
xsl/rebin.xsl
XSLT filter:
xsl/function-index.xsl
XSLT filter:
xsl/loop-index.xsl
XSLT filter:
xsl/assign-loops-to-breaks.xsl
XSLT filter:
xsl/funrefs.xsl
XSLT filter:
xsl/lhs-var-lists.xsl
XSLT filter:
xsl/lhs-var-lists2.xsl
XSLT filter:
xsl/lhs-var-lists3.xsl
XSLT filter:
xsl/calls-and-arrays.xsl
XSLT filter:
xsl/in-index.xsl
XSLT filter:
xsl/principal-values.xsl
XSLT filter:
xsl/call-index.xsl
XSLT filter:
xsl/ident-info.xsl
XSLT filter:
xsl/structs2.xsl
XSLT filter:
xsl/side-effects.xsl
XSLT filter:
xsl/side-effects2.xsl
XSLT filter:
xsl/recompute-directive.xsl
XSLT filter:
xsl/directive-differentiate-condition.xsl
XSLT filter:
xsl/directive-differentiate-expression.xsl
XSLT filter:
xsl/lhs-lists.xsl
Parameters: source-line-numbers
XSLT filter:
xsl/lhs-var-lists2.xsl
XSLT filter:
xsl/kill-parentheses.xsl
XSLT filter:
xsl/analyse.xsl
if activityAnalysis == "0"
then:
XSLT filter:
xsl/all-active.xsl: Mark all functions, variables, and expressions as active.
else:
XSLT filter:
xsl/activity.xsl
XSLT filter:
xsl/activity2.xsl
XSLT filter:
xsl/activity3.xsl
XSLT filter:
xsl/activity4.xsl
XSLT filter:
xsl/local-variables.xsl
XSLT filter:
xsl/local-variables2.xsl
XSLT filter:
xsl/initialize-variables.xsl
XSLT filter:
xsl/signatures.xsl
XSLT filter:
xsl/indeps.xsl
XSLT filter:
xsl/min-nargin.xsl
Parameters: source-line-numbersif nocanonicalize == "1"
then:
XSLT filter:
xsl/copy.xsl
else:
XSLT filter:
xsl/which-to-canonicalize.xsl
Parameters: tmp-mode, tmp-prefix
XSLT filter:
xsl/number-canonicalized.xsl
XSLT filter:
xsl/number-canonicalized2.xsl
XSLT filter:
xsl/canonicalize.xsl
Parameters: tmp-mode, tmp-prefix
XSLT filter:
xsl/canonicalize-outline-index-lhs.xsl
Parameters: tmp-mode, tmp-prefix
XSLT filter:
xsl/lhs-lists.xsl
Parameters: source-line-numbers
XSLT filter:
xsl/lhs-var-lists2.xsl
XSLT filter:
xsl/replicate-funref-assignments.xsl
Parameters: forward-deriv-function-prefix, forward-deriv-variable-prefix, prefix, rec-prefix, ret-prefix, rev-prefix, source-line-numbers
XSLT filter:
xsl/local-variables.xsl
XSLT filter:
xsl/local-variables2.xsl
XSLT filter:
xsl/analyse.xsl
XSLT filter:
xsl/linebreaks.xsl
XSLT filter:
xsl/initialize-variables.xsl
XSLT filter:
xsl/principal-values.xsl
XSLT filter:
xsl/basic-blocks.xsl
XSLT filter:
xsl/to-xaif.xsl