LLVM 17.0.0git
|
#include "AMDGPU.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachinePostDominators.h"
#include "llvm/CodeGen/MachineSSAUpdater.h"
#include "llvm/InitializePasses.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "si-i1-copies" |
Functions | |
static unsigned | createLaneMaskReg (MachineFunction &MF) |
static unsigned | insertUndefLaneMask (MachineBasicBlock &MBB) |
INITIALIZE_PASS_BEGIN (SILowerI1Copies, DEBUG_TYPE, "SI Lower i1 Copies", false, false) INITIALIZE_PASS_END(SILowerI1Copies | |
static bool | isVRegCompatibleReg (const SIRegisterInfo &TRI, const MachineRegisterInfo &MRI, Register Reg) |
static void | instrDefsUsesSCC (const MachineInstr &MI, bool &Def, bool &Use) |
Variables | |
DEBUG_TYPE | |
SI Lower i1 | Copies |
SI Lower i1 | false |
#define DEBUG_TYPE "si-i1-copies" |
Definition at line 33 of file SILowerI1Copies.cpp.
|
static |
Definition at line 408 of file SILowerI1Copies.cpp.
References llvm::MachineFunction::getRegInfo(), llvm::MachineFunction::getSubtarget(), and MRI.
Referenced by insertUndefLaneMask().
INITIALIZE_PASS_BEGIN | ( | SILowerI1Copies | , |
DEBUG_TYPE | , | ||
"SI Lower i1 Copies" | , | ||
false | , | ||
false | |||
) |
|
static |
Definition at line 415 of file SILowerI1Copies.cpp.
References llvm::BuildMI(), createLaneMaskReg(), llvm::MachineBasicBlock::getFirstTerminator(), llvm::MachineBasicBlock::getParent(), llvm::MachineFunction::getSubtarget(), MBB, and TII.
|
static |
Definition at line 776 of file SILowerI1Copies.cpp.
References MI.
|
static |
Definition at line 481 of file SILowerI1Copies.cpp.
SI Lower i1 Copies |
Definition at line 397 of file SILowerI1Copies.cpp.
Referenced by propagateLocalCopies(), llvm::rdf::CopyPropagation::run(), and llvm::TailDuplicator::tailDuplicateAndUpdate().
DEBUG_TYPE |
Definition at line 397 of file SILowerI1Copies.cpp.
SI Lower i1 false |
Definition at line 397 of file SILowerI1Copies.cpp.