|
LLVM 23.0.0git
|
#include "Target/AMDGPU/SILowerI1Copies.h"
Protected Attributes | |
| bool | IsWave32 = false |
| MachineFunction * | MF = nullptr |
| MachineDominatorTree * | DT = nullptr |
| MachinePostDominatorTree * | PDT = nullptr |
| MachineRegisterInfo * | MRI = nullptr |
| const GCNSubtarget * | ST = nullptr |
| const SIInstrInfo * | TII = nullptr |
| MachineRegisterInfo::VRegAttrs | LaneMaskRegAttrs |
| const AMDGPU::LaneMaskConstants * | LMC = nullptr |
| DenseSet< Register > | PhiRegisters |
Definition at line 39 of file SILowerI1Copies.h.
| PhiLoweringHelper::PhiLoweringHelper | ( | MachineFunction * | MF, |
| MachineDominatorTree * | DT, | ||
| MachinePostDominatorTree * | PDT ) |
Definition at line 442 of file SILowerI1Copies.cpp.
|
virtualdefault |
|
pure virtual |
Referenced by lowerPhis().
|
pure virtual |
References MI.
Referenced by lowerPhis().
|
pure virtual |
Referenced by lowerPhis().
|
pure virtual |
Referenced by lowerPhis().
| MachineBasicBlock::iterator PhiLoweringHelper::getSaluInsertionAtEnd | ( | MachineBasicBlock & | MBB | ) | const |
Return a point at the end of the given MBB to insert SALU instructions for lane mask calculation.
Take terminators and SCC into account.
Definition at line 697 of file SILowerI1Copies.cpp.
References I, instrDefsUsesSCC(), llvm_unreachable, and MBB.
Referenced by lowerPhis().
|
inline |
Definition at line 71 of file SILowerI1Copies.h.
References LaneMaskRegAttrs.
|
inline |
Definition at line 66 of file SILowerI1Copies.h.
References LaneMaskRegAttrs, and MRI.
Referenced by lowerPhis().
Definition at line 644 of file SILowerI1Copies.cpp.
References isLaneMaskReg(), LMC, MI, and MRI.
Definition at line 75 of file SILowerI1Copies.h.
References MRI, Reg, ST, and TII.
Referenced by isConstantLaneMask().
| bool PhiLoweringHelper::lowerPhis | ( | ) |
Definition at line 452 of file SILowerI1Copies.cpp.
References llvm::SSAUpdater::AddAvailableValue(), llvm::Incoming::Block, buildMergeLaneMasks(), llvm::SmallVectorImpl< T >::clear(), collectIncomingValuesFromPhi(), constrainAsLaneMask(), llvm::createLaneMaskReg(), llvm::dbgs(), DT, llvm::SmallVectorTemplateCommon< T, typename >::empty(), getCandidatesForLowering(), getSaluInsertionAtEnd(), llvm::SSAUpdater::GetValueInMiddleOfBlock(), llvm::SSAUpdater::Initialize(), initializeLaneMaskRegisterAttributes(), insertUndefLaneMask(), llvm::Register::isValid(), LaneMaskRegAttrs, LLVM_DEBUG, markAsLaneMask(), MBB, MF, MI, MRI, PDT, PhiRegisters, llvm::Incoming::Reg, replaceDstReg(), llvm::sort(), TII, and llvm::Incoming::UpdatedReg.
|
pure virtual |
Referenced by lowerPhis().
|
pure virtual |
References MBB.
Referenced by lowerPhis().
|
protected |
Definition at line 48 of file SILowerI1Copies.h.
Referenced by lowerPhis(), and PhiLoweringHelper().
|
protected |
Definition at line 46 of file SILowerI1Copies.h.
|
protected |
Definition at line 53 of file SILowerI1Copies.h.
Referenced by initializeLaneMaskRegisterAttributes(), initializeLaneMaskRegisterAttributes(), and lowerPhis().
|
protected |
Definition at line 54 of file SILowerI1Copies.h.
Referenced by isConstantLaneMask(), and PhiLoweringHelper().
|
protected |
Definition at line 47 of file SILowerI1Copies.h.
Referenced by lowerPhis(), and PhiLoweringHelper().
|
protected |
Definition at line 50 of file SILowerI1Copies.h.
Referenced by initializeLaneMaskRegisterAttributes(), isConstantLaneMask(), isLaneMaskReg(), lowerPhis(), and PhiLoweringHelper().
|
protected |
Definition at line 49 of file SILowerI1Copies.h.
Referenced by lowerPhis(), and PhiLoweringHelper().
Definition at line 57 of file SILowerI1Copies.h.
Referenced by lowerPhis().
|
protected |
Definition at line 51 of file SILowerI1Copies.h.
Referenced by isLaneMaskReg(), and PhiLoweringHelper().
|
protected |
Definition at line 52 of file SILowerI1Copies.h.
Referenced by isLaneMaskReg(), lowerPhis(), and PhiLoweringHelper().