LLVM 22.0.0git
M68kCollapseMOVEMPass.cpp File Reference

MOVEM is an instruction that moves multiple registers a time according to the given mask. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "m68k-collapse-movem"
#define PASS_NAME   "M68k MOVEM collapser pass"

Detailed Description

MOVEM is an instruction that moves multiple registers a time according to the given mask.

Thus sometimes it's pretty expensive. This file contains a pass that collapses sequential MOVEM instructions into a single one.

Definition in file M68kCollapseMOVEMPass.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "m68k-collapse-movem"

Definition at line 32 of file M68kCollapseMOVEMPass.cpp.

◆ PASS_NAME

#define PASS_NAME   "M68k MOVEM collapser pass"

Definition at line 33 of file M68kCollapseMOVEMPass.cpp.