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

Classes

struct  CvtF32UByteMatchInfo
 
struct  FMinFMaxLegacyInfo
 

Public Member Functions

 AMDGPUPostLegalizerCombinerHelper (MachineIRBuilder &B, CombinerHelper &Helper)
 
bool matchFMinFMaxLegacy (MachineInstr &MI, FMinFMaxLegacyInfo &Info)
 
void applySelectFCmpToFMinToFMaxLegacy (MachineInstr &MI, const FMinFMaxLegacyInfo &Info)
 
bool matchUCharToFloat (MachineInstr &MI)
 
void applyUCharToFloat (MachineInstr &MI)
 
bool matchCvtF32UByteN (MachineInstr &MI, CvtF32UByteMatchInfo &MatchInfo)
 
void applyCvtF32UByteN (MachineInstr &MI, const CvtF32UByteMatchInfo &MatchInfo)
 
bool matchRemoveFcanonicalize (MachineInstr &MI, Register &Reg)
 

Protected Attributes

MachineIRBuilderB
 
MachineFunctionMF
 
MachineRegisterInfoMRI
 
CombinerHelperHelper
 

Detailed Description

Definition at line 32 of file AMDGPUPostLegalizerCombiner.cpp.

Constructor & Destructor Documentation

◆ AMDGPUPostLegalizerCombinerHelper()

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

Definition at line 40 of file AMDGPUPostLegalizerCombiner.cpp.

Member Function Documentation

◆ applyCvtF32UByteN()

void AMDGPUPostLegalizerCombinerHelper::applyCvtF32UByteN ( MachineInstr MI,
const CvtF32UByteMatchInfo MatchInfo 
)

◆ applySelectFCmpToFMinToFMaxLegacy()

void AMDGPUPostLegalizerCombinerHelper::applySelectFCmpToFMinToFMaxLegacy ( MachineInstr MI,
const FMinFMaxLegacyInfo Info 
)

◆ applyUCharToFloat()

void AMDGPUPostLegalizerCombinerHelper::applyUCharToFloat ( MachineInstr MI)

◆ matchCvtF32UByteN()

bool AMDGPUPostLegalizerCombinerHelper::matchCvtF32UByteN ( MachineInstr MI,
CvtF32UByteMatchInfo MatchInfo 
)

◆ matchFMinFMaxLegacy()

bool AMDGPUPostLegalizerCombinerHelper::matchFMinFMaxLegacy ( MachineInstr MI,
FMinFMaxLegacyInfo Info 
)

◆ matchRemoveFcanonicalize()

bool AMDGPUPostLegalizerCombinerHelper::matchRemoveFcanonicalize ( MachineInstr MI,
Register Reg 
)

◆ matchUCharToFloat()

bool AMDGPUPostLegalizerCombinerHelper::matchUCharToFloat ( MachineInstr MI)

Member Data Documentation

◆ B

MachineIRBuilder& AMDGPUPostLegalizerCombinerHelper::B
protected

Definition at line 34 of file AMDGPUPostLegalizerCombiner.cpp.

◆ Helper

CombinerHelper& AMDGPUPostLegalizerCombinerHelper::Helper
protected

Definition at line 37 of file AMDGPUPostLegalizerCombiner.cpp.

◆ MF

MachineFunction& AMDGPUPostLegalizerCombinerHelper::MF
protected

Definition at line 35 of file AMDGPUPostLegalizerCombiner.cpp.

◆ MRI

MachineRegisterInfo& AMDGPUPostLegalizerCombinerHelper::MRI
protected

Definition at line 36 of file AMDGPUPostLegalizerCombiner.cpp.


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