heyoka.code_model

Contents

heyoka.code_model#

class heyoka.code_model#

Enum for selecting the LLVM code model used during JIT compilation.

Added in version 6.0.0.

The default code model used by heyoka.py is small. Large computational graphs may require the use of the large code model. Note that currently only the small and large code models are supported on all platforms.

Members:

tiny : Tiny code model (corresponds to llvm::CodeModel::Model::Tiny).

small : Small code model (corresponds to llvm::CodeModel::Model::Small).

kernel : Kernel code model (corresponds to llvm::CodeModel::Model::Kernel).

medium : Medium code model (corresponds to llvm::CodeModel::Model::Medium).

large : Large code model (corresponds to llvm::CodeModel::Model::Large).