LLVM 22.0.0git
AMDGPURegBankLegalizeHelper.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "amdgpu-regbanklegalize"
 Implements actual lowering algorithms for each ID that can be used in Rule.OperandMapping.

Functions

static bool isSignedBFE (MachineInstr &MI)
static bool verifyRegBankOnOperands (MachineInstr &MI, const RegisterBank *RB, MachineRegisterInfo &MRI, unsigned StartOpIdx, unsigned EndOpIdx)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-regbanklegalize"

Implements actual lowering algorithms for each ID that can be used in Rule.OperandMapping.

Similar to legalizer helper but with register banks.

Definition at line 27 of file AMDGPURegBankLegalizeHelper.cpp.

Function Documentation

◆ isSignedBFE()

bool isSignedBFE ( MachineInstr & MI)
static

Definition at line 445 of file AMDGPURegBankLegalizeHelper.cpp.

References llvm::dyn_cast(), and MI.

◆ verifyRegBankOnOperands()

bool verifyRegBankOnOperands ( MachineInstr & MI,
const RegisterBank * RB,
MachineRegisterInfo & MRI,
unsigned StartOpIdx,
unsigned EndOpIdx )
static

Definition at line 1264 of file AMDGPURegBankLegalizeHelper.cpp.

References MI, and MRI.

Referenced by llvm::AMDGPU::RegBankLegalizeHelper::applyMappingTrivial().