LLVM 20.0.0git
Classes | Namespaces | Functions
RegisterScavenging.h File Reference

This file declares the machine register scavenger class. More...

#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/LiveRegUnits.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/MC/LaneBitmask.h"

Go to the source code of this file.

Classes

class  llvm::RegScavenger
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

void llvm::scavengeFrameVirtualRegs (MachineFunction &MF, RegScavenger &RS)
 Replaces all frame index virtual registers with physical registers.
 

Detailed Description

This file declares the machine register scavenger class.

It can provide information such as unused register at any point in a machine basic block. It also provides a mechanism to make registers available by evicting them to spill slots.

Definition in file RegisterScavenging.h.