cranelift_codegen_meta

Module gen_settings

Source
Expand description

Generate the ISA-specific settings.

Enumsยง

ParentGroup ๐Ÿ”’
SettingOrPreset ๐Ÿ”’

Functionsยง

gen_constructor ๐Ÿ”’
Emits the constructor of the Flags structure.
gen_descriptors ๐Ÿ”’
Emits DESCRIPTORS, ENUMERATORS, HASH_TABLE and PRESETS.
gen_display ๐Ÿ”’
gen_enum_all ๐Ÿ”’
Generates a all() function with all options for this enum
gen_enum_types ๐Ÿ”’
Emit real enum for the Enum settings.
gen_getter ๐Ÿ”’
Emit a getter function for setting.
gen_getters ๐Ÿ”’
Emits getters for each setting value.
gen_group ๐Ÿ”’
gen_iterator ๐Ÿ”’
Generates the iter function.
gen_pred_getter ๐Ÿ”’
gen_template ๐Ÿ”’
gen_to_and_from_str ๐Ÿ”’
Emit Display and FromStr implementations for enum settings.
generate ๐Ÿ”’