Module mem2reg

Source

Constants§

MEM2REG_NAME

Functions§

compute_livein
create_mem2reg_pass
promote_locals
Promote locals to registers. We promote only locals of copy types, whose every use is in a get_local without offsets, and the result of such a get_local is used only in a load or a store.
promote_to_registers
Promote memory values that are accessed via load/store to SSA registers.