ADiMat Server | Interactive | Documentation | Downloads | Login

ADiMat Interactive

Toolchains - Parameters - Filters

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, ...).

Parameters

NameDefault valueFiltersDescriptionToolchains
comment-char'%'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
comment-spacer' '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-start$comment-charxsl/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-prefixxsl/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-prefixxsl/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-namexsl/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-directoryxsl/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-pathxsl/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-prefixxsl/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
prefixxsl/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-prefixxsl/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-prefixxsl/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-prefixxsl/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-banner1xsl/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-disclaimer1xsl/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-ids0xsl/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-stepsxsl/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-steps0xsl/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-numbers1xsl/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
spookcontains($show-comments, 'spook') or $show-disclaimer = 0 or $show-authors = 0xsl/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

Filter list

  1. XSLT filter: xsl/directives.xsl

  2. XSLT filter: xsl/preprocess.xsl

  3. XSLT filter: xsl/generate-id.xsl

  4. XSLT filter: xsl/calls-and-arrays.xsl

  5. XSLT filter: xsl/function-index.xsl

  6. XSLT filter: xsl/ident-info.xsl

  7. XSLT filter: xsl/lhs-var-lists.xsl

  8. XSLT filter: xsl/lhs-var-lists2.xsl

  9. XSLT filter: xsl/lhs-var-lists3.xsl

  10. XSLT filter: xsl/rhs-var-lists.xsl


    Parameters:
    source-line-numbers
  11. XSLT filter: xsl/rhs-var-lists2.xsl


    Parameters:
    source-line-numbers
  12. XSLT filter: xsl/analyse.xsl

  13. XSLT filter: xsl/local-variables.xsl

  14. XSLT filter: xsl/local-variables2.xsl

  15. XSLT filter: xsl/unconditionally-initialize-variables.xsl

  16. XSLT filter: xsl/lhs-var-lists.xsl

  17. XSLT filter: xsl/lhs-var-lists2.xsl

  18. XSLT filter: xsl/lhs-var-lists3.xsl

  19. XSLT filter: xsl/rhs-var-lists.xsl


    Parameters:
    source-line-numbers
  20. XSLT filter: xsl/rhs-var-lists2.xsl


    Parameters:
    source-line-numbers
  21. XSLT filter: xsl/local-variables.xsl

  22. XSLT filter: xsl/local-variables2.xsl

  23. XSLT filter: xsl/input-var-lists.xsl


    Parameters:
    source-line-numbers
  24. XSLT filter: xsl/principal-values.xsl

  25. XSLT filter: xsl/loop-index.xsl

  26. XSLT filter: xsl/assign-loops-to-breaks.xsl

  27. XSLT filter: xsl/basic-block-to-fun.xsl

  28. XSLT filter: xsl/basic-block-to-call.xsl

  29. XSLT filter: xsl/update-toplevel-function-name.xsl

  30. 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