9#ifndef LLVM_CODEGEN_REGALLOCCOMMON_H
10#define LLVM_CODEGEN_REGALLOCCOMMON_H
17class TargetRegisterClass;
18class TargetRegisterInfo;
19class MachineRegisterInfo;
23typedef std::function<
bool(
const TargetRegisterInfo &
TRI,
unsigned const MachineRegisterInfo * MRI
unsigned const TargetRegisterInfo * TRI
Promote Memory to Register
This is an optimization pass for GlobalISel generic memory operations.
std::function< bool(const TargetRegisterInfo &TRI, const MachineRegisterInfo &MRI, const Register Reg)> RegAllocFilterFunc
Filter function for register classes during regalloc.