LLVM  8.0.1
Public Member Functions | List of all members
llvm::LegalizationArtifactCombiner Class Reference

#include "llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h"

Public Member Functions

 LegalizationArtifactCombiner (MachineIRBuilder &B, MachineRegisterInfo &MRI, const LegalizerInfo &LI)
 
bool tryCombineAnyExt (MachineInstr &MI, SmallVectorImpl< MachineInstr *> &DeadInsts)
 
bool tryCombineZExt (MachineInstr &MI, SmallVectorImpl< MachineInstr *> &DeadInsts)
 
bool tryCombineSExt (MachineInstr &MI, SmallVectorImpl< MachineInstr *> &DeadInsts)
 
bool tryFoldImplicitDef (MachineInstr &MI, SmallVectorImpl< MachineInstr *> &DeadInsts)
 Try to fold G_[ASZ]EXT (G_IMPLICIT_DEF). More...
 
bool tryCombineMerges (MachineInstr &MI, SmallVectorImpl< MachineInstr *> &DeadInsts)
 
bool tryCombineInstruction (MachineInstr &MI, SmallVectorImpl< MachineInstr *> &DeadInsts)
 Try to combine away MI. More...
 

Detailed Description

Definition at line 27 of file LegalizationArtifactCombiner.h.

Constructor & Destructor Documentation

◆ LegalizationArtifactCombiner()

llvm::LegalizationArtifactCombiner::LegalizationArtifactCombiner ( MachineIRBuilder B,
MachineRegisterInfo MRI,
const LegalizerInfo LI 
)
inline

Definition at line 33 of file LegalizationArtifactCombiner.h.

Member Function Documentation

◆ tryCombineAnyExt()

bool llvm::LegalizationArtifactCombiner::tryCombineAnyExt ( MachineInstr MI,
SmallVectorImpl< MachineInstr *> &  DeadInsts 
)
inline

◆ tryCombineInstruction()

bool llvm::LegalizationArtifactCombiner::tryCombineInstruction ( MachineInstr MI,
SmallVectorImpl< MachineInstr *> &  DeadInsts 
)
inline

◆ tryCombineMerges()

bool llvm::LegalizationArtifactCombiner::tryCombineMerges ( MachineInstr MI,
SmallVectorImpl< MachineInstr *> &  DeadInsts 
)
inline

◆ tryCombineSExt()

bool llvm::LegalizationArtifactCombiner::tryCombineSExt ( MachineInstr MI,
SmallVectorImpl< MachineInstr *> &  DeadInsts 
)
inline

◆ tryCombineZExt()

bool llvm::LegalizationArtifactCombiner::tryCombineZExt ( MachineInstr MI,
SmallVectorImpl< MachineInstr *> &  DeadInsts 
)
inline

◆ tryFoldImplicitDef()

bool llvm::LegalizationArtifactCombiner::tryFoldImplicitDef ( MachineInstr MI,
SmallVectorImpl< MachineInstr *> &  DeadInsts 
)
inline

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