LLVM  7.0.0svn
Public Member Functions | List of all members
llvm::CombinerHelper Class Reference

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

Public Member Functions

 CombinerHelper (MachineIRBuilder &B)
 
bool tryCombineCopy (MachineInstr &MI)
 If MI is COPY, try to combine it. More...
 
bool tryCombine (MachineInstr &MI)
 Try to transform MI by using all of the above combine functions. More...
 

Detailed Description

Definition at line 27 of file CombinerHelper.h.

Constructor & Destructor Documentation

◆ CombinerHelper()

CombinerHelper::CombinerHelper ( MachineIRBuilder B)

Definition at line 19 of file CombinerHelper.cpp.

Member Function Documentation

◆ tryCombine()

bool CombinerHelper::tryCombine ( MachineInstr MI)

Try to transform MI by using all of the above combine functions.

Returns true if changed.

Definition at line 39 of file CombinerHelper.cpp.

References tryCombineCopy().

◆ tryCombineCopy()

bool CombinerHelper::tryCombineCopy ( MachineInstr MI)

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