package binaryen

  1. Overview
  2. Docs

Module Binaryen.SettingsSource

Sourceval get_optimize_level : unit -> int
Sourceval set_optimize_level : int -> unit
Sourceval get_shrink_level : unit -> int
Sourceval set_shrink_level : int -> unit
Sourceval get_debug_info : unit -> bool
Sourceval set_debug_info : bool -> unit
Sourceval get_traps_never_happen : unit -> bool
Sourceval set_traps_never_happen : bool -> unit
Sourceval get_closed_world : unit -> bool
Sourceval set_closed_world : bool -> unit
Sourceval get_low_memory_unused : unit -> bool
Sourceval set_low_memory_unused : bool -> unit
Sourceval get_zero_filled_memory : unit -> bool
Sourceval set_zero_filled_memory : bool -> unit
Sourceval get_fast_math : unit -> bool
Sourceval set_fast_math : bool -> unit
Sourceval get_generate_stack_ir : unit -> bool
Sourceval set_generate_stack_ir : bool -> unit
Sourceval get_optimize_stack_ir : unit -> bool
Sourceval set_optimize_stack_ir : bool -> unit
Sourceval get_pass_argument : string -> string option
Sourceval set_pass_argument : string -> string -> unit
Sourceval clear_pass_arguments : unit -> unit
Sourceval has_pass_to_skip : string -> bool
Sourceval add_pass_to_skip : string -> unit
Sourceval clear_passes_to_skip : unit -> unit
Sourceval get_always_inline_max_size : unit -> int
Sourceval set_always_inline_max_size : int -> unit
Sourceval get_flexible_inline_max_size : unit -> int
Sourceval set_flexible_inline_max_size : int -> unit
Sourceval get_one_caller_inline_max_size : unit -> int
Sourceval set_one_caller_inline_max_size : int -> unit
Sourceval get_allow_inlining_functions_with_loops : unit -> bool
Sourceval set_allow_inlining_functions_with_loops : bool -> unit
Sourceval set_colors_enabled : bool -> unit
Sourceval are_colors_enabled : unit -> bool