# loki.backend

Backend classes that convert Loki IR into output code in various languages.

Modules

`cgen`(ir, **kwargs) | Generate standardized C code from one or many IR objects/trees.
`cppgen`(ir, **kwargs) | Generate standardized C++ code from one or many IR objects/trees.
`cudagen`(ir, **kwargs) | Generate standardized CUDA code from one or many IR objects/trees.
`cufgen`(ir[, style, depth]) | Generate CUDA Fortran code from one or many IR objects/trees.
`dacegen`(ir) | Generate standard Python 3 code with Dace-specializations (and Numpy) from one or many IR objects/trees.
`fgen`(ir[, style, depth, conservative]) | Generate standardized Fortran code from one or many IR objects/trees.
`fgencon` |
`pprint`(ir[, stream]) | Pretty-print the given IR using `Stringifier`.
`pygen`(ir) | Generate standard Python 3 code (that uses Numpy) from one or many IR objects/trees.
`style` |
`tests` |