Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
Loading...
Searching...
No Matches
srn_jit_config_t Struct Reference

Tuning for a JIT engine, passed to srn_jit_create. More...

#include <jit.h>

Data Fields

int opt_level
 Optimisation level applied to added modules, 0 (none) through 3.
bool install_default_pipeline
 When true, the default middle-end optimisation pipeline runs over each module before it is compiled; when false, modules are compiled as emitted.

Detailed Description

Tuning for a JIT engine, passed to srn_jit_create.

A null config selects the defaults (optimisation level 2, default pipeline installed).

Definition at line 74 of file jit.h.

Field Documentation

◆ install_default_pipeline

bool srn_jit_config_t::install_default_pipeline

When true, the default middle-end optimisation pipeline runs over each module before it is compiled; when false, modules are compiled as emitted.

Definition at line 80 of file jit.h.

◆ opt_level

int srn_jit_config_t::opt_level

Optimisation level applied to added modules, 0 (none) through 3.

Definition at line 76 of file jit.h.


The documentation for this struct was generated from the following file: