LLVM 20.0.0git
Macros | Functions
AMDGPURegBankLegalizeHelper.cpp File Reference
#include "AMDGPURegBankLegalizeHelper.h"
#include "AMDGPUGlobalISelUtils.h"
#include "AMDGPUInstrInfo.h"
#include "AMDGPURegisterBankInfo.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
#include "llvm/CodeGen/MachineUniformityAnalysis.h"

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 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 22 of file AMDGPURegBankLegalizeHelper.cpp.

Function Documentation

◆ verifyRegBankOnOperands()

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

Definition at line 664 of file AMDGPURegBankLegalizeHelper.cpp.

References MI, and MRI.

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