LLVM  14.0.0git
Classes | Namespaces | Functions
RegisterScavenging.h File Reference
#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"
Include dependency graph for RegisterScavenging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  llvm::RegScavenger


 This file implements support for optimizing divisions by a constant.


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

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.