LLVM 22.0.0git
LiveRegUnits.cpp File Reference

Go to the source code of this file.

Functions

static void addBlockLiveIns (LiveRegUnits &LiveUnits, const MachineBasicBlock &MBB)
 Add live-in registers of basic block MBB to LiveUnits.
static void addBlockLiveOuts (LiveRegUnits &LiveUnits, const MachineBasicBlock &MBB)
 Add live-out registers of basic block MBB to LiveUnits.
static void addCalleeSavedRegs (LiveRegUnits &LiveUnits, const MachineFunction &MF)
 Adds all callee saved registers to LiveUnits.

Function Documentation

◆ addBlockLiveIns()

void addBlockLiveIns ( LiveRegUnits & LiveUnits,
const MachineBasicBlock & MBB )
static

Add live-in registers of basic block MBB to LiveUnits.

Definition at line 88 of file LiveRegUnits.cpp.

References llvm::LiveRegUnits::addRegMasked(), and MBB.

Referenced by llvm::LiveRegUnits::addLiveIns().

◆ addBlockLiveOuts()

void addBlockLiveOuts ( LiveRegUnits & LiveUnits,
const MachineBasicBlock & MBB )
static

Add live-out registers of basic block MBB to LiveUnits.

Definition at line 95 of file LiveRegUnits.cpp.

References llvm::LiveRegUnits::addRegMasked(), and MBB.

Referenced by llvm::LiveRegUnits::addLiveOuts().

◆ addCalleeSavedRegs()

void addCalleeSavedRegs ( LiveRegUnits & LiveUnits,
const MachineFunction & MF )
static