LLVM 20.0.0git
Macros
M68kCollapseMOVEMPass.cpp File Reference

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

#include "M68k.h"
#include "M68kFrameLowering.h"
#include "M68kInstrInfo.h"
#include "M68kMachineFunction.h"
#include "M68kSubtarget.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/EHPersonalities.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/Support/MathExtras.h"

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.