LLVM: lib/Target/AMDGPU/SILowerI1Copies.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define DEBUG_TYPE "si-i1-copies"
Functions
static Register insertUndefLaneMask (MachineBasicBlock *MBB, MachineRegisterInfo *MRI, MachineRegisterInfo::VRegAttrs LaneMaskRegAttrs)
static bool isVRegCompatibleReg (const SIRegisterInfo &TRI, const MachineRegisterInfo &MRI, Register Reg)
static void instrDefsUsesSCC (const MachineInstr &MI, bool &Def, bool &Use)
static bool runFixI1Copies (MachineFunction &MF, MachineDominatorTree &MDT, MachinePostDominatorTree &MPDT)
Lower all instructions that def or use vreg_1 registers.
INITIALIZE_PASS_BEGIN (SILowerI1CopiesLegacy, DEBUG_TYPE, "SI Lower i1 Copies", false, false) INITIALIZE_PASS_END(SILowerI1CopiesLegacy
Variables
DEBUG_TYPE
SI Lower i1 Copies
SI Lower i1 false

DEBUG_TYPE

#define DEBUG_TYPE "si-i1-copies"

INITIALIZE_PASS_BEGIN()

insertUndefLaneMask()

instrDefsUsesSCC()

isVRegCompatibleReg()

runFixI1Copies()

Copies

DEBUG_TYPE

false