Translate any basic block to a function call of the form [v1 v2 v3] = f(v1, v2, v3, ...).
Name | Default value | Filters | Description | Toolchains |
---|
'%' | xsl/to-source.xsl | Comment start character | 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 |
' ' | xsl/to-source.xsl | Space to insert after comment start character | 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 |
$comment-char | xsl/to-source.xsl | Comment start text | 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 |
forward-deriv-function-prefix | $forward-deriv-prefix | xsl/to-source.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/to-source.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 |
indent-unit | ' ' | xsl/to-source.xsl | Indentation unit | 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 |
input-file-name | $tl-input-file-name | xsl/to-source.xsl | For informational purposes only. | 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 |
output-directory | $tl-output-directory | xsl/update-toplevel-function-name.xsl, xsl/to-source.xsl | Only used when output-mode=split-all. | 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 |
output-file-path | $tl-output-file-path | xsl/to-source.xsl | For informational purposes only. | 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 |
output-file-prefix | $tl-output-file-prefix | xsl/to-source.xsl | Only used when output-mode=split-all. | 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 |
output-mode | 'plain' | xsl/to-source.xsl | Set to split-all for one file per function. Otherwise all
functions go to "stdout", or the file given with option -o. | 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 |
prefix | | xsl/to-source.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/to-source.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/to-source.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/to-source.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 |
show-banner | 1 | xsl/to-source.xsl | Insert transformation date into transformed file | 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 |
show-disclaimer | 1 | xsl/to-source.xsl | Insert disclaimer into transformed file | 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 |
show-step-ids | 0 | xsl/to-source.xsl | Show transformation step ids | 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 |
show-step-params | $show-steps | xsl/to-source.xsl | Show transformation step parameters | 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 |
show-steps | 0 | xsl/to-source.xsl | Show transformation steps | 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 |
source-line-numbers | 1 | xsl/rhs-var-lists.xsl, xsl/rhs-var-lists2.xsl, xsl/input-var-lists.xsl, xsl/to-source.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 |
spook | contains($show-comments, 'spook') or $show-disclaimer = 0 or $show-authors = 0 | xsl/to-source.xsl |
codes anarchy Whitehouse Majic defense information warfare Tamil
Tigers afsatcom Jet Taiwan insurgency Secure Border Initiative
Facility Rule Psix Help Federal Aviation Administration
| 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 |
tmp-mode | 'short' | xsl/to-source.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/to-source.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/generate-id.xsl
XSLT filter:
xsl/calls-and-arrays.xsl
XSLT filter:
xsl/function-index.xsl
XSLT filter:
xsl/ident-info.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/rhs-var-lists.xsl
Parameters: source-line-numbers
XSLT filter:
xsl/rhs-var-lists2.xsl
Parameters: source-line-numbers
XSLT filter:
xsl/analyse.xsl
XSLT filter:
xsl/local-variables.xsl
XSLT filter:
xsl/local-variables2.xsl
XSLT filter:
xsl/unconditionally-initialize-variables.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/rhs-var-lists.xsl
Parameters: source-line-numbers
XSLT filter:
xsl/rhs-var-lists2.xsl
Parameters: source-line-numbers
XSLT filter:
xsl/local-variables.xsl
XSLT filter:
xsl/local-variables2.xsl
XSLT filter:
xsl/input-var-lists.xsl
Parameters: source-line-numbers
XSLT filter:
xsl/principal-values.xsl
XSLT filter:
xsl/loop-index.xsl
XSLT filter:
xsl/assign-loops-to-breaks.xsl
XSLT filter:
xsl/basic-block-to-fun.xsl
XSLT filter:
xsl/basic-block-to-call.xsl
XSLT filter:
xsl/update-toplevel-function-name.xsl
XSLT filter:
xsl/to-source.xsl
Parameters: comment-char, comment-spacer, comment-start, forward-deriv-function-prefix, forward-deriv-variable-prefix, indent-unit, input-file-name, output-directory, output-file-path, output-file-prefix, output-mode, prefix, rec-prefix, ret-prefix, rev-prefix, show-banner, show-disclaimer, show-step-ids, show-step-params, show-steps, source-line-numbers, spook, tmp-mode, tmp-prefix