LLVM 21.0.0git
Public Member Functions | List of all members
llvm::AMDGPU::SetOfRulesForOpcode Class Reference

#include "Target/AMDGPU/AMDGPURegBankLegalizeRules.h"

Public Member Functions

 SetOfRulesForOpcode ()
 
 SetOfRulesForOpcode (FastRulesTypes FastTypes)
 
const RegBankLLTMappingfindMappingForMI (const MachineInstr &MI, const MachineRegisterInfo &MRI, const MachineUniformityInfo &MUI) const
 
void addRule (RegBankLegalizeRule Rule)
 
void addFastRuleDivergent (UniformityLLTOpPredicateID Ty, RegBankLLTMapping RuleApplyIDs)
 
void addFastRuleUniform (UniformityLLTOpPredicateID Ty, RegBankLLTMapping RuleApplyIDs)
 

Detailed Description

Definition at line 207 of file AMDGPURegBankLegalizeRules.h.

Constructor & Destructor Documentation

◆ SetOfRulesForOpcode() [1/2]

SetOfRulesForOpcode::SetOfRulesForOpcode ( )

Definition at line 161 of file AMDGPURegBankLegalizeRules.cpp.

◆ SetOfRulesForOpcode() [2/2]

SetOfRulesForOpcode::SetOfRulesForOpcode ( FastRulesTypes  FastTypes)

Definition at line 163 of file AMDGPURegBankLegalizeRules.cpp.

Member Function Documentation

◆ addFastRuleDivergent()

void SetOfRulesForOpcode::addFastRuleDivergent ( UniformityLLTOpPredicateID  Ty,
RegBankLLTMapping  RuleApplyIDs 
)

Definition at line 234 of file AMDGPURegBankLegalizeRules.cpp.

References assert().

◆ addFastRuleUniform()

void SetOfRulesForOpcode::addFastRuleUniform ( UniformityLLTOpPredicateID  Ty,
RegBankLLTMapping  RuleApplyIDs 
)

Definition at line 241 of file AMDGPURegBankLegalizeRules.cpp.

References assert().

◆ addRule()

void SetOfRulesForOpcode::addRule ( RegBankLegalizeRule  Rule)

Definition at line 230 of file AMDGPURegBankLegalizeRules.cpp.

◆ findMappingForMI()

const RegBankLLTMapping & SetOfRulesForOpcode::findMappingForMI ( const MachineInstr MI,
const MachineRegisterInfo MRI,
const MachineUniformityInfo MUI 
) const

The documentation for this class was generated from the following files: