LLVM  14.0.0git
Classes | Public Member Functions | Protected Attributes | List of all members
AMDGPUPreLegalizerCombinerHelper Class Reference
Collaboration diagram for AMDGPUPreLegalizerCombinerHelper:
Collaboration graph
[legend]

Classes

struct  ClampI64ToI16MatchInfo
 

Public Member Functions

 AMDGPUPreLegalizerCombinerHelper (MachineIRBuilder &B, CombinerHelper &Helper)
 
bool matchClampI64ToI16 (MachineInstr &MI, MachineRegisterInfo &MRI, MachineFunction &MF, ClampI64ToI16MatchInfo &MatchInfo)
 
void applyClampI64ToI16 (MachineInstr &MI, const ClampI64ToI16MatchInfo &MatchInfo)
 

Protected Attributes

MachineIRBuilderB
 
MachineFunctionMF
 
MachineRegisterInfoMRI
 
CombinerHelperHelper
 

Detailed Description

Definition at line 32 of file AMDGPUPreLegalizerCombiner.cpp.

Constructor & Destructor Documentation

◆ AMDGPUPreLegalizerCombinerHelper()

AMDGPUPreLegalizerCombinerHelper::AMDGPUPreLegalizerCombinerHelper ( MachineIRBuilder B,
CombinerHelper Helper 
)
inline

Definition at line 40 of file AMDGPUPreLegalizerCombiner.cpp.

Member Function Documentation

◆ applyClampI64ToI16()

void AMDGPUPreLegalizerCombinerHelper::applyClampI64ToI16 ( MachineInstr MI,
const ClampI64ToI16MatchInfo MatchInfo 
)

◆ matchClampI64ToI16()

bool AMDGPUPreLegalizerCombinerHelper::matchClampI64ToI16 ( MachineInstr MI,
MachineRegisterInfo MRI,
MachineFunction MF,
ClampI64ToI16MatchInfo MatchInfo 
)

Member Data Documentation

◆ B

MachineIRBuilder& AMDGPUPreLegalizerCombinerHelper::B
protected

Definition at line 34 of file AMDGPUPreLegalizerCombiner.cpp.

◆ Helper

CombinerHelper& AMDGPUPreLegalizerCombinerHelper::Helper
protected

Definition at line 37 of file AMDGPUPreLegalizerCombiner.cpp.

◆ MF

MachineFunction& AMDGPUPreLegalizerCombinerHelper::MF
protected

Definition at line 35 of file AMDGPUPreLegalizerCombiner.cpp.

◆ MRI

MachineRegisterInfo& AMDGPUPreLegalizerCombinerHelper::MRI
protected

Definition at line 36 of file AMDGPUPreLegalizerCombiner.cpp.


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