Skip to main content

Module functions

Module functions 

Source

Modulesยง

add_use
advance_location
after_inst_for_n_loop
align_position
alloc_spill
allocate_pages_impl_code_allocator
allocate_pages_impl_code_allocator_alt_b
analyze_bytecode_types
any_argument_match
append
append_block_set
append_blocks
append_label_regset
append_register_set
append_vm_constant
apply_builtin_call
apply_substitutions_ir_utils
apply_substitutions_ir_utils_alt_b
assemble_helpers_code_gen_a_64
assemble_helpers_code_gen_x_64
before_inst_for_n_prep
bind_native_protos
build_argument_type_checks
build_bytecode_blocks
build_entry_function_code_gen_a_64
build_entry_function_code_gen_x_64
builtin_check_double
builtin_check_int_64
builtin_load_double
builtin_load_int_64
byte_reg
byteswap
call_arith_helper
call_barrier_object
call_barrier_table_fast
call_epilog_c
call_fallback
call_get_table
call_length_helper
call_prolog
call_set_table
call_step_gc
can_invalidate_safe_env
cast_reg
check_object_barrier_conditions
collect_direct_block_jump_path
compare_ir_utils
compare_ir_utils_alt_b
compare_ir_utils_alt_c
compile_code_gen_context
compile_code_gen_context_alt_b
compile_code_gen_context_alt_c
compile_code_gen_context_alt_d
compile_internal
@interface-stub
compute_block_live_in_reg_set
compute_block_ordering
compute_cfg_block_edges
compute_cfg_dominance_tree_children
compute_cfg_immediate_dominators
compute_cfg_info
compute_cfg_live_in_out_reg_sets
compute_iterated_dominance_frontier_for_defs
compute_native_exec_data_size
condition_op
const_prop_in_block
const_prop_in_block_chain
const_prop_in_block_chains
const_prop_in_inst
convert_number_to_index_or_jump
countlz_bit_utils
countlz_bit_utils_alt_b
Node: cxx:Function:Luau.CodeGen:CodeGen/src/BitUtils.h:35:countlz Source: CodeGen/src/BitUtils.h Graph edges:
countrz_bit_utils
Node: cxx:Function:Luau.CodeGen:CodeGen/src/BitUtils.h:25:countrz Source: CodeGen/src/BitUtils.h Graph edges:
countrz_bit_utils_alt_b
Node: cxx:Function:Luau.CodeGen:CodeGen/src/BitUtils.h:54:countrz Source: CodeGen/src/BitUtils.h Graph edges:
create_block_unwind_info
create_code_gen_context
create_code_gen_context_alt_b
create_code_gen_context_alt_c
create_code_gen_context_alt_d
create_linear_blocks
create_native_function
@interface-stub
create_native_proto_exec_data_code_gen_context
create_native_proto_exec_data_native_proto_exec_data
create_shared_code_gen_context_code_gen_context
create_shared_code_gen_context_code_gen_context_alt_b
create_shared_code_gen_context_code_gen_context_alt_c
define_cfa_expression
define_cfa_expression_offset
define_saved_register_location
destroy_block_unwind_info
destroy_native_proto_exec_data
destroy_shared_code_gen_context
disable_native_execution_for_function
dom_children
dump
dump_dot
dword_reg
emit_abort
emit_add_offset
emit_builtin_emit_builtins_x_64
emit_builtin_ir_lowering_a_64
emit_builtin_math_frexp
emit_builtin_math_modf
emit_clear_native_flag_code_gen_a_64
emit_clear_native_flag_emit_common_x_64
emit_continue_call
emit_exit_code_gen_a_64
emit_exit_emit_common_x_64
emit_fallback_emit_common_x_64
emit_fallback_ir_lowering_a_64
emit_inst_call
emit_inst_for_g_loop
emit_inst_return
emit_inst_set_list
emit_interrupt_code_gen_a_64
emit_interrupt_emit_common_x_64
emit_invoke_libm_1_p
emit_return_code_gen_a_64
emit_return_emit_common_x_64
emit_update_base_emit_common_a_64
emit_update_base_emit_common_x_64
emit_update_pc_for_exit_code_gen_a_64
emit_update_pc_for_exit_emit_common_x_64
execute_dupclosure
execute_forgprep
Node: cxx:Function:Luau.CodeGen:CodeGen/src/CodeGenUtils.cpp:762:execute_forgprep Source: CodeGen/src/CodeGenUtils.cpp Graph edges:
execute_getglobal
execute_gettableks
execute_getvarargs_const
execute_getvarargs_mult_ret
execute_namecall
execute_prepvarargs
execute_setglobal
execute_setlist
execute_settableks
find_common_dominator
find_dynamic_unwind_sections
find_reg_type
flush_instruction_cache_code_allocator
flush_instruction_cache_code_allocator_alt_b
fold_constants
forg_loop_node_iter
forg_loop_non_table_fallback
forg_loop_non_table_fallback_deprecated
forg_loop_table_iter
forg_prep_xnext_fallback
format_g
free_pages_impl_code_allocator
free_pages_impl_code_allocator_alt_b
free_spill
gather_functions
gather_functions_helper
generate_vm_exit_blocks
get_assembly
@interface-stub
get_assembly_from_ir
@interface-stub
get_assembly_from_ir_impl
@interface-stub
get_assembly_impl
@interface-stub
get_block_kind_name
get_block_kind_priority
get_bytecode_constant_tag
get_bytecode_type_name
get_cmd_name
get_cmd_value_kind
get_code_gen_context
get_condition_fp
get_condition_int_64
get_condition_int_emit_common_x_64
get_condition_int_ir_lowering_a_64
get_const_value_kind
get_counter_data
get_cpu_features_a_64
get_cpu_features_x_64
get_current_x_64_abi
get_double_bits
get_float_bits
get_fmov_imm_fp_32
get_fmov_imm_fp_64
get_full_stack_size
get_import
get_initialized_fallback
get_instruction_count_code_gen_assembly
get_instruction_count_code_gen_lower
get_inverse_condition_condition_a_64
get_inverse_condition_condition_x_64
get_jump_target
get_jump_target_extra_live_in
get_live_in_out_value_count
get_live_in_value_count
get_live_out_value_count
get_loop_step_k
get_memory_size
get_native_context_offset
get_native_proto_exec_data_header_native_proto_exec_data
get_native_proto_exec_data_header_native_proto_exec_data_alt_b
get_negated_condition_condition_x_64
get_negated_condition_ir_utils
get_next_block
get_next_inst_use
get_non_vol_xmm_storage_size
get_op_ir_data
get_op_ir_data_alt_b
get_op_length
get_reg_tag
get_reload_address
get_reload_offset
get_scale_encoding
get_sorted_block_order
get_table_node_at_cached_slot
get_tag_name
get_xmm_register_count
handle_builtin_effects
has_op
has_result
has_side_effects
has_typed_parameters
init_functions
init_header_functions_code_gen_a_64
init_header_functions_code_gen_x_64
initialize_execution_callbacks
is_block_terminator
is_compatible_constant
is_custom_userdata_bytecode_type
is_direct_compare
is_entry_block
is_expected_or_unknown_bytecode_type
is_fast_call
is_gco
is_inst_use_for_op
is_jump_d
is_native_execution_enabled
is_non_terminating_jump
is_printable_string_constant
is_pseudo
is_skip_c
is_supported
is_unsafe_to_sink
is_unwind_supported
is_userdata_bytecode_type
jit_rng_random
jit_rng_seed
jump_if_falsy
jump_if_tag_is
jump_if_tag_is_not
jump_if_truthy
jump_on_number_cmp
kill_ir_utils
kill_ir_utils_alt_b
kill_ir_utils_alt_c
kill_unused_blocks
load_bytecode_type_info
load_double_or_constant
log_function_header
log_function_types
log_perf_function
log_perf_functions
lower_function
@interface-stub
lower_impl
lower_ir_code_gen_lower
@interface-stub
lower_ir_code_gen_lower_alt_b
@interface-stub
lrotate
Node: cxx:Function:Luau.CodeGen:CodeGen/src/BitUtils.h:73:lrotate Source: CodeGen/src/BitUtils.h Graph edges:
luau_codegen_compile
luau_codegen_create
luau_codegen_supported
luau_constant
luau_constant_address
luau_constant_tag
luau_constant_value
luau_node_key_tag
luau_node_key_value
luau_reg
luau_reg_address
luau_reg_extra
luau_reg_tag
luau_reg_value
luau_reg_value_int
luau_reg_value_int_64
luau_reg_value_vector
make_pages_executable_code_allocator
make_pages_executable_code_allocator_alt_b
make_pages_not_executable_code_allocator
make_pages_not_executable_code_allocator_alt_b
make_pages_read_only_code_allocator
make_pages_read_only_code_allocator_alt_b
mark_dead_stores_in_block
mark_dead_stores_in_block_chain
mark_dead_stores_in_block_chains
mark_dead_stores_in_inst
new_userdata
on_close_state
on_destroy_function
on_disable
Node: cxx:Function:Luau.CodeGen:CodeGen/src/CodeGen.cpp:100:on_disable
on_enter
on_enter_disabled
opcode_to_host_metamethod
operator_add_operand_x_64
operator_add_operand_x_64_alt_b
operator_add_operand_x_64_alt_c
operator_add_operand_x_64_alt_d
operator_add_operand_x_64_alt_e
operator_deref
operator_sub
optimize_memory_operands_x_64_optimize_final_x_64
optimize_memory_operands_x_64_optimize_final_x_64_alt_b
Node: cxx:Function:Luau.CodeGen:CodeGen/src/OptimizeFinalX64.cpp:134:optimize_memory_operands_x_64
pad_to_detail_column
predecessors
prepare_reg_type_info_lookups
Node: cxx:Function:Luau.CodeGen:CodeGen/src/BytecodeAnalysis.cpp:119:prepare_reg_type_info_lookups Source: CodeGen/src/BytecodeAnalysis.cpp Graph edges:
produces_dirty_high_register_bits
propagate_tags_from_predecessors
qword_reg
read
read_var_int
refine_reg_type
refine_upvalue_type
reg_index_to_dw_reg_x_64
remove_block_use
remove_inst_use
remove_use
replace_inst_operand_ir_utils
replace_ir_utils
replace_ir_utils_alt_b
require_variadic_sequence
rrotate
Node: cxx:Function:Luau.CodeGen:CodeGen/src/BitUtils.h:83:rrotate Source: CodeGen/src/BitUtils.h Graph edges:
safe_integer_constant
same_underlying_register
save_block_exit_state
set_luau_reg
set_native_execution_enabled
set_perf_log
set_userdata_remapper
setup_block_entry_state_optimize_const_prop
setup_block_entry_state_optimize_dead_store
substitute
substitute_with_truncated_uint
successors
summarize_bytecode
tm_to_host_metamethod
to_dot
to_dot_cfg
to_dot_dj_graph
to_string_code_gen
to_string_detailed_ir_dump
to_string_detailed_ir_dump_alt_b
to_string_ir_dump
to_string_ir_dump_alt_c
to_string_ir_dump_alt_d
to_string_ir_dump_alt_e
to_string_ir_dump_alt_f
to_string_ir_dump_alt_g
translate_binary_numeric_fallback_if_required
translate_buffer_args_and_check_bounds
translate_builtin
translate_builtin_2_number_to_number_libm
translate_builtin_assert
translate_builtin_bit_32_bnot
translate_builtin_bit_32_extract
translate_builtin_bit_32_extract_k
translate_builtin_bit_32_multiarg_op
translate_builtin_bit_32_replace
translate_builtin_bit_32_rotate
translate_builtin_bit_32_shift
translate_builtin_bit_32_unary
translate_builtin_buffer_read
translate_builtin_buffer_write
translate_builtin_int_64_binary
translate_builtin_int_64_bnot
translate_builtin_int_64_clamp
translate_builtin_int_64_compare
translate_builtin_int_64_create
translate_builtin_int_64_extract
translate_builtin_int_64_min_max
translate_builtin_int_64_multiarg_op
translate_builtin_int_64_neg
translate_builtin_int_64_rotate
translate_builtin_int_64_shift
translate_builtin_int_64_to_number
translate_builtin_int_64_unary
translate_builtin_math_clamp
translate_builtin_math_deg_rad
translate_builtin_math_is_nan
translate_builtin_math_lerp
translate_builtin_math_log
translate_builtin_math_min_max
translate_builtin_math_unary
translate_builtin_number_to_2_number
translate_builtin_number_to_number_libm
translate_builtin_string_len
translate_builtin_table_insert
translate_builtin_type
translate_builtin_typeof
translate_builtin_vector
translate_builtin_vector_clamp
translate_builtin_vector_cross
translate_builtin_vector_dot
translate_builtin_vector_lerp
translate_builtin_vector_magnitude
translate_builtin_vector_map_1
translate_builtin_vector_map_1_x_4
translate_builtin_vector_min_max
translate_builtin_vector_normalize
translate_fast_call_n
translate_inst_and_x
translate_inst_binary
translate_inst_binary_k
translate_inst_binary_numeric
translate_inst_binary_rk
translate_inst_capture
translate_inst_close_upvals
translate_inst_cmp_proto
translate_inst_concat
translate_inst_dup_table
translate_inst_for_g_loop_ipairs
translate_inst_for_g_prep_inext
translate_inst_for_g_prep_next
translate_inst_for_n_loop
translate_inst_for_n_prep
translate_inst_get_global
translate_inst_get_import
translate_inst_get_table
translate_inst_get_table_ks
translate_inst_get_table_n
translate_inst_get_upval
translate_inst_jump
translate_inst_jump_back
translate_inst_jump_if
translate_inst_jump_if_cond
translate_inst_jump_if_eq
translate_inst_jump_if_eq_shortcut
translate_inst_jump_x
translate_inst_jumpx_eq_b
translate_inst_jumpx_eq_b_shortcut
translate_inst_jumpx_eq_n
translate_inst_jumpx_eq_n_shortcut
translate_inst_jumpx_eq_nil
translate_inst_jumpx_eq_nil_shortcut
translate_inst_jumpx_eq_s
translate_inst_jumpx_eq_s_shortcut
translate_inst_length
translate_inst_load_b
translate_inst_load_constant
translate_inst_load_k
translate_inst_load_kx
translate_inst_load_n
translate_inst_load_nil
translate_inst_minus
translate_inst_move
translate_inst_namecall
translate_inst_new_closure
translate_inst_new_table
translate_inst_not
translate_inst_or_x
translate_inst_set_global
translate_inst_set_table
translate_inst_set_table_ks
translate_inst_set_table_n
translate_inst_set_upval
try_create_linear_block
try_find_local
try_find_local_name
try_find_upvalue_name
try_get_luau_tag_for_bc_type
try_get_next_block_in_chain
try_get_operand_tag
try_get_tag_for_typename
try_replace_tag_with_full_store
try_replace_value_with_full_store
try_replace_vector_value_with_full_store
update_last_use_for_op
update_last_use_locations
update_last_use_locations_in_block
update_remaining_uses
update_use_counts
userdata_remapper_wrap
visit_arguments
visit_fde_entries
visit_vm_reg_defs_uses_ir_visit_use_def
visit_vm_reg_defs_uses_ir_visit_use_def_alt_b
vm_const_op
vm_exit_op
vm_reg_op
vm_upvalue_op
word_reg
writef_32
writef_64
writeu_8
writeu_16
writeu_32
writeu_64
writeuleb_128