Module Clflags
Command line flags
module Int_arg_helper : sig ... endOptimization parameters represented as ints indexed by round number.
module Float_arg_helper : sig ... endOptimization parameters represented as floats indexed by round number.
val set_int_arg :
int option ->
Clflags.Int_arg_helper.parsed Stdlib.ref ->
int ->
int option ->
unitval set_float_arg :
int option ->
Clflags.Float_arg_helper.parsed Stdlib.ref ->
float ->
float option ->
unitmodule Dwarf_config_defaults : sig ... endval objfiles : string list Stdlib.refval ccobjs : string list Stdlib.refval dllibs : string list Stdlib.refval cmi_file : string option Stdlib.refval compile_only : bool Stdlib.refval output_name : string option Stdlib.refval include_dirs : string list Stdlib.refval include_manifests : string list Stdlib.refval no_std_include : bool Stdlib.refval no_cwd : bool Stdlib.refval print_types : bool Stdlib.refval make_archive : bool Stdlib.refval debug : bool Stdlib.refval debug_full : bool Stdlib.refval dwarf_c_toolchain_flag : string Stdlib.refval dwarf_fission : Clflags.dwarf_fission Stdlib.refval dwarf_pedantic : bool Stdlib.refval gdwarf_config_shape_reduce_depth : int option Stdlib.refval gdwarf_config_shape_eval_depth : int option Stdlib.refval gdwarf_config_max_cms_files_per_unit : int option Stdlib.refval gdwarf_config_max_cms_files_per_variable : int option Stdlib.refval gdwarf_config_max_type_to_shape_depth : int option Stdlib.refval gdwarf_config_max_shape_reduce_steps_per_variable : int option Stdlib.refval gdwarf_config_max_evaluation_steps_per_variable : int option Stdlib.refval gdwarf_config_shape_reduce_fuel : int option Stdlib.refval gdwarf_fidelity : Clflags.gdwarf_fidelity option Stdlib.refval gdwarf_fidelity_of_string : string -> Clflags.gdwarf_fidelity optionval set_gdwarf_fidelity : Clflags.gdwarf_fidelity -> unitval unsafe : bool Stdlib.refval use_linscan : bool Stdlib.refval link_everything : bool Stdlib.refval custom_runtime : bool Stdlib.refval no_check_prims : bool Stdlib.refval bytecode_compatible_32 : bool Stdlib.refval output_c_object : bool Stdlib.refval output_complete_object : bool Stdlib.refval output_complete_executable : bool Stdlib.refval all_ccopts : string list Stdlib.refval classic : bool Stdlib.refval nopervasives : bool Stdlib.refval match_context_rows : int Stdlib.refval safer_matching : bool Stdlib.refval open_modules : string list Stdlib.refval preprocessor : string option Stdlib.refval all_ppx : string list Stdlib.refval absname : bool Stdlib.refval locs : bool Stdlib.refval directory : string option Stdlib.refval annotations : bool Stdlib.refval binary_annotations : bool Stdlib.refval binary_annotations_cms : bool Stdlib.refval shape_format : Clflags.shape_format Stdlib.refval store_occurrences : bool Stdlib.refval use_threads : bool Stdlib.refval noassert : bool Stdlib.refval verbose : bool Stdlib.refval verbose_types : bool Stdlib.refval noprompt : bool Stdlib.refval nopromptcont : bool Stdlib.refval init_file : string option Stdlib.refval noinit : bool Stdlib.refval noversion : bool Stdlib.refval use_prims : string Stdlib.refval use_runtime : string Stdlib.refval plugin : bool Stdlib.refval principal : bool Stdlib.refval real_paths : bool Stdlib.refval recursive_types : bool Stdlib.refval strict_sequence : bool Stdlib.refval strict_formats : bool Stdlib.refval applicative_functors : bool Stdlib.refval make_runtime : bool Stdlib.refval c_compiler : string option Stdlib.refval no_auto_link : bool Stdlib.refval dllpaths : string list Stdlib.refval make_package : bool Stdlib.refval for_package : string option Stdlib.refval error_size : int Stdlib.refval float_const_prop : bool Stdlib.refval transparent_modules : bool Stdlib.refval unique_ids : bool Stdlib.refval locations : bool Stdlib.refval parameters : string list Stdlib.refval as_parameter : bool Stdlib.refval as_argument_for : string option Stdlib.refval instantiate : bool Stdlib.refval dump_source : bool Stdlib.refval dump_parsetree : bool Stdlib.refval dump_typedtree : bool Stdlib.refval dump_shape : bool Stdlib.refval dump_slambda : bool Stdlib.refval dump_rawlambda : bool Stdlib.refval dump_lambda : bool Stdlib.refval dump_blambda : bool Stdlib.refval dump_letreclambda : bool Stdlib.refval dump_rawclambda : bool Stdlib.refval dump_clambda : bool Stdlib.refval dump_rawflambda : bool Stdlib.refval dump_flambda : bool Stdlib.refval dump_flambda_let : int option Stdlib.refval dump_instr : bool Stdlib.refval keep_camlprimc_file : bool Stdlib.refval keep_asm_file : bool Stdlib.refval optimize_for_speed : bool Stdlib.refval dump_cmm : bool Stdlib.refval dump_cse : bool Stdlib.refval dump_linear : bool Stdlib.refval debug_ocaml : bool Stdlib.refval keep_startup_file : bool Stdlib.refval native_code : bool Stdlib.refval jsir : bool Stdlib.refval inline_threshold : Clflags.Float_arg_helper.parsed Stdlib.refval inlining_report : bool Stdlib.refval simplify_rounds : int option Stdlib.refval default_simplify_rounds : int Stdlib.refval inline_max_unroll : Clflags.Int_arg_helper.parsed Stdlib.refval inline_toplevel_threshold : Clflags.Int_arg_helper.parsed Stdlib.refval inline_call_cost : Clflags.Int_arg_helper.parsed Stdlib.refval inline_alloc_cost : Clflags.Int_arg_helper.parsed Stdlib.refval inline_prim_cost : Clflags.Int_arg_helper.parsed Stdlib.refval inline_branch_cost : Clflags.Int_arg_helper.parsed Stdlib.refval inline_indirect_cost : Clflags.Int_arg_helper.parsed Stdlib.refval inline_lifting_benefit : Clflags.Int_arg_helper.parsed Stdlib.refval inline_branch_factor : Clflags.Float_arg_helper.parsed Stdlib.refval dont_write_files : bool Stdlib.refval dlcode : bool Stdlib.refval pic_code : bool Stdlib.refval runtime_variant : string Stdlib.refval ocamlrunparam : string Stdlib.refval with_runtime : bool Stdlib.refval force_slash : bool Stdlib.refval keep_docs : bool Stdlib.refval keep_locs : bool Stdlib.refval opaque : bool Stdlib.refval timings_precision : int Stdlib.refval profile_columns : Clflags.profile_column list Stdlib.refval profile_granularity : Clflags.profile_granularity_level Stdlib.refval profile_output_name : string option Stdlib.refval flambda_invariant_checks : Clflags.flambda_invariant_checks Stdlib.refval unbox_closures : bool Stdlib.refval unbox_closures_factor : int Stdlib.refval unbox_free_vars_of_closures : bool Stdlib.refval unbox_specialised_args : bool Stdlib.refval clambda_checks : bool Stdlib.refval cmm_invariants : bool Stdlib.refval inline_max_depth : Clflags.Int_arg_helper.parsed Stdlib.refval remove_unused_arguments : bool Stdlib.refval dump_flambda_verbose : bool Stdlib.refval dump_jsir : bool Stdlib.refval classic_inlining : bool Stdlib.refval afl_instrument : bool Stdlib.refval afl_inst_ratio : int Stdlib.refval function_sections : bool Stdlib.refval probes : bool Stdlib.refval emit_optimized_probes : bool Stdlib.refval llvm_backend : bool Stdlib.refval all_passes : string list Stdlib.refval dump_into_file : bool Stdlib.refval dump_into_csv : bool Stdlib.refval dump_dir : string option Stdlib.refval color : Misc.Color.setting option Stdlib.refval color_reader : Misc.Color.setting Clflags.env_readerval error_style : Misc.Error_style.setting option Stdlib.refval error_style_reader : Misc.Error_style.setting Clflags.env_readerval unboxed_types : bool Stdlib.refval dump_debug_uids : bool Stdlib.refval dump_debug_uid_tables : bool Stdlib.refval insn_sched : bool Stdlib.refmodule Opt_flag_handler : sig ... endmodule Compiler_ir : sig ... endmodule Compiler_pass : sig ... endval stop_after : Clflags.Compiler_pass.t option Stdlib.refval should_stop_after : Clflags.Compiler_pass.t -> boolval set_save_ir_after : Clflags.Compiler_pass.t -> bool -> unitval set_save_ir_before : Clflags.Compiler_pass.t -> bool -> unitval should_save_ir_after : Clflags.Compiler_pass.t -> boolval should_save_ir_before : Clflags.Compiler_pass.t -> boolmodule Register_allocator : sig ... endval arg_spec : (string * Stdlib.Arg.spec * string) list Stdlib.refval add_arguments : string -> (string * Stdlib.Arg.spec * string) list -> unitval zero_alloc_check : Zero_alloc_annotations.Check.t Stdlib.refval zero_alloc_assert : Zero_alloc_annotations.Assert.t Stdlib.refval no_auto_include_otherlibs : bool Stdlib.refval dissector : bool Stdlib.refval dissector_partition_size : float option Stdlib.refval ddissector : bool Stdlib.refval ddissector_sizes : bool Stdlib.refval ddissector_verbose : bool Stdlib.refval ddissector_partitions : bool Stdlib.refval ddissector_inputs : string option Stdlib.ref