LLVM 20.0.0git
Classes | Macros | Functions
AMDGPURegBankLegalizeRules.cpp File Reference
#include "AMDGPURegBankLegalizeRules.h"
#include "AMDGPUInstrInfo.h"
#include "GCNSubtarget.h"
#include "llvm/CodeGen/GlobalISel/GenericMachineInstrs.h"
#include "llvm/CodeGen/MachineUniformityAnalysis.h"
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/Support/AMDGPUAddrSpace.h"

Go to the source code of this file.

Classes

class  Predicate
 

Macros

#define DEBUG_TYPE   "amdgpu-regbanklegalize"
 Definitions of RegBankLegalize Rules for all opcodes.
 

Functions

bool matchUniformityAndLLT (Register Reg, UniformityLLTOpPredicateID UniID, const MachineUniformityInfo &MUI, const MachineRegisterInfo &MRI)
 
UniformityLLTOpPredicateID LLTToId (LLT Ty)
 
UniformityLLTOpPredicateID LLTToBId (LLT Ty)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "amdgpu-regbanklegalize"

Definitions of RegBankLegalize Rules for all opcodes.

Implementation of container for all the Rules and search. Fast search for most common case when Rule.Predicate checks LLT and uniformity of register in operand 0.

Definition at line 24 of file AMDGPURegBankLegalizeRules.cpp.

Function Documentation

◆ LLTToBId()

UniformityLLTOpPredicateID LLTToBId ( LLT  Ty)

◆ LLTToId()

◆ matchUniformityAndLLT()

bool matchUniformityAndLLT ( Register  Reg,
UniformityLLTOpPredicateID  UniID,
const MachineUniformityInfo MUI,
const MachineRegisterInfo MRI 
)